Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp1850607lqa; Tue, 30 Apr 2024 00:35:31 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCV0qo39aAWY/MSd6/YNiAalh6COQsc0Ioo0NKGWDSnwym2YNrlrexGDffbwuEWN4xTnnWv3xjmN0ZNmEOozDG4fJl71GIrpmWqLmOenOw== X-Google-Smtp-Source: AGHT+IGfKaixvxcCabuzBpxBofcllOn8/agSrFVyUF4wa7HXqNsXbIJzQaDVJ+F9KDXjh+gy2Nbi X-Received: by 2002:a05:620a:2992:b0:78e:d0ae:e217 with SMTP id r18-20020a05620a299200b0078ed0aee217mr11448817qkp.66.1714462530895; Tue, 30 Apr 2024 00:35:30 -0700 (PDT) Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id wi20-20020a05620a571400b0078d6bf06f0dsi28551920qkn.266.2024.04.30.00.35.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Apr 2024 00:35:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-163485-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@kernel.org header.s=k20201202 header.b=L7J0PFyB; arc=fail (body hash mismatch); spf=pass (google.com: domain of linux-kernel+bounces-163485-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-163485-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 525631C21D85 for ; Tue, 30 Apr 2024 07:35:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A707240860; Tue, 30 Apr 2024 07:35:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="L7J0PFyB" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 95C6C3AC2B; Tue, 30 Apr 2024 07:35:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714462509; cv=none; b=BrdXOvTKnewoZ3YT8bt7qGBQK71zusJRgdaT9AcDDQKN/lqBgfs3cOp6B5opGbMEsWYjwa9vmkPf3jRzTiqlCghHD5H2M5YTneKAZrxd7CnhwF9Gkd/PhhlHOMvVvkg+IG4r2wiE6/GFewJRBBcBtZ7rFdbLF0MiPCnhnBIhR14= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714462509; c=relaxed/simple; bh=eL+Ia3NO3S1rbXyCocCNbARCF1TD21Bkxt4AjnrqoTI=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=lyfyDdQBNEWqSljDyQNgfxM2zk7CHxk6+i9vsb+cDGxP57VQE5P1O53yKY7y98bJvU/Nu78e5PL6WQs02pyDLf0JP4DaGJHdb9V+2UQo8wYul/pANrnEZo7GmrHl/GUasGI7ubACcIuPDLjhVdQh8eHUYNgh88mFdOU7OTvPaIM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=L7J0PFyB; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 24FD6C2BBFC; Tue, 30 Apr 2024 07:35:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714462509; bh=eL+Ia3NO3S1rbXyCocCNbARCF1TD21Bkxt4AjnrqoTI=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=L7J0PFyBwVGayQDrAxTV0fpcArAsWw6UCFPH3Ay2QUUJX41bEA4oV2EfkKvvaguH8 u1ma9o0JF2a4Z8QJ+/NcFWhp1OF3lqjLGKCwDO/+jbbUtehc3s6+uMk9jkDJUjhVxG K4JSXObuihbfP7BWCyr2sENAHck1XyJ+ZVU9sp7jdVVlphcG0PcwQCsv3WvjHWO95g Rtl362FM6e6ekRRRGhwkU1WivKeF9avhahv6K/ATnG+tvFxpKLcK3BxhvglndOXRnj iWvvnL1lEKqUAKdwo+O/ia4gs0VShuDcWmc6NG9/Pk12Gc/1lB5DuXAI6o3oKIy00V WcEEneur0dODg== Message-ID: Date: Tue, 30 Apr 2024 09:35:03 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v4 10/17] dt-bindings: i2c: i2c-fsi: Convert to json-schema To: Eddie James , 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, andi.shyti@kernel.org References: <20240429210131.373487-1-eajames@linux.ibm.com> <20240429210131.373487-11-eajames@linux.ibm.com> From: Krzysztof Kozlowski Content-Language: en-US Autoc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Xjg+AX1hHFVKmvl3VBHIsBv0oDcsQWXqY+NaFahT0lRPjYtrTa1v3tem/ JoFzZ4B0p27K+qQCF2R96hVvuEyjzBmdq2esyE6zIqftdo4MOJho8uctOiWbwNNq2U9pPWmu 4vXVFBYIGmpyNPYzRm0QPwARAQABwsF8BBgBCgAmAhsMFiEEm9B+DgxR+NWWd7dUG5NDfTtB YpsFAmA872oFCRRflLYACgkQG5NDfTtBYpvScw/9GrqBrVLuJoJ52qBBKUBDo4E+5fU1bjt0 Gv0nh/hNJuecuRY6aemU6HOPNc2t8QHMSvwbSF+Vp9ZkOvrM36yUOufctoqON+wXrliEY0J4 ksR89ZILRRAold9Mh0YDqEJc1HmuxYLJ7lnbLYH1oui8bLbMBM8S2Uo9RKqV2GROLi44enVt vdrDvo+CxKj2K+d4cleCNiz5qbTxPUW/cgkwG0lJc4I4sso7l4XMDKn95c7JtNsuzqKvhEVS oic5by3fbUnuI0cemeizF4QdtX2uQxrP7RwHFBd+YUia7zCcz0//rv6FZmAxWZGy5arNl6Vm lQqNo7/Poh8WWfRS+xegBxc6hBXahpyUKphAKYkah+m+I0QToCfnGKnPqyYIMDEHCS/RfqA5 t8F+O56+oyLBAeWX7XcmyM6TGeVfb+OZVMJnZzK0s2VYAuI0Rl87FBFYgULdgqKV7R7WHzwD uZwJCLykjad45hsWcOGk3OcaAGQS6NDlfhM6O9aYNwGL6tGt/6BkRikNOs7VDEa4/HlbaSJo 7FgndGw1kWmkeL6oQh7wBvYll2buKod4qYntmNKEicoHGU+x91Gcan8mCoqhJkbqrL7+nXG2 5Q/GS5M9RFWS+nYyJh+c3OcfKqVcZQNANItt7+ULzdNJuhvTRRdC3g9hmCEuNSr+CLMdnRBY fv0= In-Reply-To: <20240429210131.373487-11-eajames@linux.ibm.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 29/04/2024 23:01, Eddie James wrote: > Convert to json-schema for the FSI-attached I2C controller. > > Signed-off-by: Eddie James > --- > Changes since v3: > - Update MAINTAINERS > - Change commit message to match similar commits > > .../devicetree/bindings/i2c/i2c-fsi.txt | 40 ------------- > .../devicetree/bindings/i2c/ibm,i2c-fsi.yaml | 58 +++++++++++++++++++ Please split independent patches to separate patchsets, so they can be reviewed and picked up by respective maintainers. I don't see any dependency here. Neither in 1st patch. > MAINTAINERS | 2 +- > 3 files changed, 59 insertions(+), 41 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..8ff5585a3aa5 > --- /dev/null > +++ b/Documentation/devicetree/bindings/i2c/ibm,i2c-fsi.yaml > @@ -0,0 +1,58 @@ > +# 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. > + > +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 { > + compatible = "ibm,i2c-fsi"; > + reg = <0x1800 0x400>; > + #address-cells = <1>; > + #size-cells = <0>; > + > + i2c-bus@0 { > + reg = <0>; > + #address-cells = <1>; > + #size-cells = <0>; This does not look right. Why do you have multiple i2c-bus children? I do not think i2c-controller.yaml schema allows this. Best regards, Krzysztof