Received: by 2002:ab2:1c04:0:b0:1f7:53ba:1ebe with SMTP id f4csp49430lqg; Fri, 26 Apr 2024 08:27:36 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCULe36j2Cx+5GkiDyqB8ELUUGIVQb0YIgJ0PCvC3OYfKsZh6jcMdFzoQBZ/cbWRw2mXwQMoU3LOeQtF3bIKuUS1YsZ34wNtJhqTCBSLbg== X-Google-Smtp-Source: AGHT+IH05qmMxyMWu7KynYsmCpbmNuWtOhleka9mQfu9/oCrCXBh2bgREv6xmC/byfhsuGjjd0LL X-Received: by 2002:a17:902:e74f:b0:1e3:e6cb:a07f with SMTP id p15-20020a170902e74f00b001e3e6cba07fmr4654686plf.26.1714145256682; Fri, 26 Apr 2024 08:27:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714145256; cv=pass; d=google.com; s=arc-20160816; b=dAe6ZEE8fBQhc9YxvPMOJErygLgYuB9kbYLMD+j37hHB47UfBi/b4+DIifOEPRt4Nm BVKEAAFzF63MKzssK7sAAZq1ntrFtANJbdrbgpNVyKix8dkLMH9k7KZMcZfyDK8+B9e4 KL+ieeJcrUPezul5jisNp94CVopvRL+UEonVtekGheC+sKno2HNSo/D16Vgm5YgPlx4y O44PLQqB9jFGD3wwekRIFOenNNjbAqNsRIBB9G/FnuytuYxajTHDkt3W4XWp4sA2oqy8 of8jFDlRBSgZr5nSutE63xTqC3yJ22LyIpWeLcX5/cVFBh48jwJdlD7Hm+uwKjgc39Zc flMQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:date:message-id:dkim-signature; bh=CViDKwrvpIv+cpI7v9ixPLgnbdWhkWZcrv5mb1eXGAg=; fh=cRawPwqSvjYJRXGWKEVd1ElXmDSD8xlaUASQ6xV2o04=; b=vDf1zbSy5B7FUneyhGkHe0C00maG4MZqHeE7ERHxsnrJQqVWOZGkmNxj8qjKQTQyOO ZL3gkmxr4ihrbE1XyWF72a9D5IT8VgMXQ7uoMYa892EAKMSswW3xMJf3AyH5X7ACIRmk gREmTLS4dUfAgbUAHg7KyuYPdSTnkGmI6vyJrrPjJQ3eeVeegHp6BFIa0lc/Ux/LV39F ERtV9b+Pp6Q21yx3oEVjQeQPt3Wufhn8b8yxpwoPXtDnqlQHxl+WtibQzRPVeh7q43tb wVVgrRBmEbWQtZFj9cAPniYS/bsL0FPq04HpvEcALTl5DbuiieGde8Geoh0PxL6c2UOY A64Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=iOoM7OFA; arc=pass (i=1 spf=pass spfdomain=linux.ibm.com dkim=pass dkdomain=ibm.com dmarc=pass fromdomain=linux.ibm.com); spf=pass (google.com: domain of linux-kernel+bounces-160278-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-160278-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id h5-20020a170902680500b001e85079b466si14659516plk.653.2024.04.26.08.27.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Apr 2024 08:27:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-160278-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=iOoM7OFA; arc=pass (i=1 spf=pass spfdomain=linux.ibm.com dkim=pass dkdomain=ibm.com dmarc=pass fromdomain=linux.ibm.com); spf=pass (google.com: domain of linux-kernel+bounces-160278-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-160278-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 647E328B5D4 for ; Fri, 26 Apr 2024 15:25:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0792E15574F; Fri, 26 Apr 2024 15:23:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b="iOoM7OFA" Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 274011494A7; Fri, 26 Apr 2024 15:23:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=148.163.156.1 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714145027; cv=none; b=djUyXKiK6IBLC9RrwattSiLd4oS7JhDgecB4miRBI6mTXRfrrfvoAeDJ9iCPy0dAxwh75JlUGduxr9wYohdfMc2+m5TWyDa7nDobjvqlIc99Am4t8FKJfw+/ZR+3ICkN3jHCYGYvL6SjTdQbMb+ySwRwJQqWhgfaYKgIbq0GAIM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714145027; c=relaxed/simple; bh=cQokOok50FvSBH5f38xOh7Sn6Oft1X7gWWsl8fdB21Y=; h=Message-ID:Date:Subject:To:Cc:References:From:In-Reply-To: Content-Type:MIME-Version; b=kR0AJIt21RPfAO0GuZKHNsNDBsQc3ZslVta7oeg36JEaPE3Al3Y89oB6tBiKJFt1QcRETcv92xZp6mIVGjGRGAs7EhISKE2DRaTmEdSg4ny4op7S7FldHKQPysYK6Qr23FnTAfYOWzx0Pc3fRqDyCT7cIEPzUpPiWoX6REvBYf4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.ibm.com; spf=pass smtp.mailfrom=linux.ibm.com; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b=iOoM7OFA; arc=none smtp.client-ip=148.163.156.1 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.ibm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.ibm.com Received: from pps.filterd (m0353727.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 43QFMHT8016235; Fri, 26 Apr 2024 15:23:35 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=message-id : date : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding : mime-version; s=pp1; bh=CViDKwrvpIv+cpI7v9ixPLgnbdWhkWZcrv5mb1eXGAg=; b=iOoM7OFA7Sckze2DMu6kLFQI/KSC236JyAMdQRD/jxA7fBFSMiEs6sokjWJuDIHp3Q+C hbYHvNnqOuzDWswN2T+i9hXI/tqP6sHp3g6in9Z8LRMSqK9fBqno5yVddiRTc4PMKTV5 2gImlAcvTVZvo9I5s9G6kiyWROO4j4tZa4KF0kpNU7BT2TOIMyIiOwY6Ms3EnbiPVYrC P4Wazhs7XsVMVgKMYC6CbUc38bVe/MQERKHZRPK277rBRlhgiN8u/lOmNgnD7CHCNeYr o76nVriHSuB+NZ6HTzovKWM+iMm/B29EK1438FdtcnsTjpYvHdfQYf5zVhnxvhY56XzD Tg== Received: from ppma21.wdc07v.mail.ibm.com (5b.69.3da9.ip4.static.sl-reverse.com [169.61.105.91]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3xreuj003j-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 26 Apr 2024 15:23:34 +0000 Received: from pps.filterd (ppma21.wdc07v.mail.ibm.com [127.0.0.1]) by ppma21.wdc07v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 43QCCfr9023065; Fri, 26 Apr 2024 15:23:33 GMT Received: from smtprelay03.wdc07v.mail.ibm.com ([172.16.1.70]) by ppma21.wdc07v.mail.ibm.com (PPS) with ESMTPS id 3xms1pgemr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 26 Apr 2024 15:23:33 +0000 Received: from smtpav06.dal12v.mail.ibm.com (smtpav06.dal12v.mail.ibm.com [10.241.53.105]) by smtprelay03.wdc07v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 43QFNUgm34668922 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 26 Apr 2024 15:23:32 GMT Received: from smtpav06.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 93CAF58060; Fri, 26 Apr 2024 15:23:30 +0000 (GMT) Received: from smtpav06.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 4A11558059; Fri, 26 Apr 2024 15:23:30 +0000 (GMT) Received: from [9.61.156.17] (unknown [9.61.156.17]) by smtpav06.dal12v.mail.ibm.com (Postfix) with ESMTP; Fri, 26 Apr 2024 15:23:30 +0000 (GMT) Message-ID: Date: Fri, 26 Apr 2024 10:23:30 -0500 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 10/14] dt-bindings: i2c: i2c-fsi: Switch to yaml format To: Krzysztof Kozlowski , linux-aspeed@lists.ozlabs.org Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fsi@lists.ozlabs.org, linux-spi@vger.kernel.org, linux-i2c@vger.kernel.org, lakshmiy@us.ibm.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, joel@jms.id.au, andrew@codeconstruct.com.au References: <20240425213701.655540-1-eajames@linux.ibm.com> <20240425213701.655540-11-eajames@linux.ibm.com> Content-Language: en-US From: Eddie James In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed X-TM-AS-GCONF: 00 X-Proofpoint-GUID: QQf-aFXFgQZ_OsX9OStiFZp3OJntPtn8 X-Proofpoint-ORIG-GUID: QQf-aFXFgQZ_OsX9OStiFZp3OJntPtn8 Content-Transfer-Encoding: 7bit X-Proofpoint-UnRewURL: 0 URL was un-rewritten Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1011,Hydra:6.0.650,FMLib:17.11.176.26 definitions=2024-04-26_12,2024-04-26_02,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 phishscore=0 spamscore=0 priorityscore=1501 impostorscore=0 mlxscore=0 adultscore=0 malwarescore=0 bulkscore=0 mlxlogscore=999 suspectscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2404010000 definitions=main-2404260103 On 4/26/24 01:29, Krzysztof Kozlowski wrote: > On 25/04/2024 23:36, Eddie James wrote: >> Switch to yaml for the FSI-attached I2C controller. >> >> Signed-off-by: Eddie James > Please use scripts/get_maintainers.pl to get a list of necessary people > and lists to CC (and consider --no-git-fallback argument). It might > happen, that command when run on an older kernel, gives you outdated > entries. Therefore please be sure you base your patches on recent Linux > kernel. > > Tools like b4 or scripts/get_maintainer.pl provide you proper list of > people, so fix your workflow. Tools might also fail if you work on some > ancient tree (don't, instead use mainline), work on fork of kernel > (don't, instead use mainline) or you ignore some maintainers (really > don't). Just use b4 and everything should be fine, although remember > about `b4 prep --auto-to-cc` if you added new patches to the patchset. > >> --- >> .../devicetree/bindings/i2c/i2c-fsi.txt | 40 ------------- >> .../devicetree/bindings/i2c/ibm,i2c-fsi.yaml | 59 +++++++++++++++++++ >> 2 files changed, 59 insertions(+), 40 deletions(-) >> delete mode 100644 Documentation/devicetree/bindings/i2c/i2c-fsi.txt >> create mode 100644 Documentation/devicetree/bindings/i2c/ibm,i2c-fsi.yaml >> > >> - }; >> diff --git a/Documentation/devicetree/bindings/i2c/ibm,i2c-fsi.yaml b/Documentation/devicetree/bindings/i2c/ibm,i2c-fsi.yaml >> new file mode 100644 >> index 000000000000..473a45de1b6c >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/i2c/ibm,i2c-fsi.yaml >> @@ -0,0 +1,59 @@ >> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) >> +%YAML 1.2 >> +--- >> +$id: http://devicetree.org/schemas/i2c/ibm,i2c-fsi.yaml# >> +$schema: http://devicetree.org/meta-schemas/core.yaml# >> + >> +title: IBM FSI-attached I2C controller >> + >> +maintainers: >> + - Eddie James >> + >> +description: >> + This I2C controller is an FSI CFAM engine, providing access to a number of >> + I2C busses. Therefore this node will always be a child of an FSI CFAM node; >> + see fsi.txt for details on FSI slave and CFAM nodes. > Here and in all other schemas - remove reference to fsi.txt. You are > going to drop this file once you convert everything, right? Good point, yes. > >> + >> +properties: >> + compatible: >> + enum: >> + - ibm,i2c-fsi >> + >> + reg: >> + items: >> + - description: FSI slave address >> + >> +required: >> + - compatible >> + - reg >> + >> +allOf: >> + - $ref: /schemas/i2c/i2c-controller.yaml# >> + >> +unevaluatedProperties: false >> + >> +examples: >> + - | >> + i2c@1800 { > So no wrapper node is needed. Drop the wrapper node in previous patchset > where you introduced one with warning. The other one is actually a child node of the equivalent spi controller, so it does need some sort of wrapper (address-cells and size-cells don't match). > > > Best regards, > Krzysztof >