From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B3CC0CA0EF1 for ; Tue, 12 Sep 2023 16:14:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=/SrXfXkyrjrf2kG4k4xD8C5YteJBi5JXVwT/Yg3ldKs=; b=X+CdxQhqLKPlOc K8H+rypYaRgnZblS3kT4Um9xgX2D0jFvoiWHwrmxjbTtAVd3g5HSUOS8ANDD/u83ZUx7A/k4LzSXt jIMf5Hc6/MKe1Rmn+JLgkhK2fnwXVuGg0buUxk9ubN0cF71VobLJOwbndItytBZcmUZ/i0OEhbm6n QfT/bjO+mZm/4KNtm88YLtfL9DTPu6AMkdtX0eJ1Q1880qL5HV27tyA6GukRGvgCAjcgprXvbHGds 8WA0M2dEYXsQngZMXUmazoWHmiIY1UORODfqY1YVp0P6eYH8XDCN5WaHWZZKZJJ23OPX2ieH30rot +lXndsYpph/q7k5p9yAg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qg61G-003ng4-2W; Tue, 12 Sep 2023 16:13:42 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qg61E-003nfW-0J for linux-arm-kernel@lists.infradead.org; Tue, 12 Sep 2023 16:13:41 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 74FE3614CA; Tue, 12 Sep 2023 16:13:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 291C0C433C7; Tue, 12 Sep 2023 16:13:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1694535218; bh=tw7bZjPuERTtpnVWWfpcJwoid3z5iuiOaPViE4RtTF4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=WNepentB0mkvKzqJsiNeBPY4kYIJY231j6uaWCBerhUB7wBpn/9X78+sdrcAwcV4O l0yKnXQ1zXFSiw7lXNSzTxQTzQXfNlnj+9gs9vJZBw24zOpbc5oH5dXBE7f0oGorVY DYNKQ1cx71OC1cO15fjH0QOAKUgPaOpWnmJ3caSG3XDzAOP7ayi42MuXtSwyAXxedP J2yO4M1NwFHnP75JvWVKfh3j6ZT97CWrH3lvHQLKoq3IWYsxBf+YWDrpNADxh0fFFT Q8W50hVj59uA6PesHilofMSr+2764nbn4niaQ1nIpkSzwcITvHJOP26jSN0wx3rgHY EECFSLWAHpxAg== Received: (nullmailer pid 876590 invoked by uid 1000); Tue, 12 Sep 2023 16:13:35 -0000 Date: Tue, 12 Sep 2023 11:13:35 -0500 From: Rob Herring To: Claudiu Cc: geert+renesas@glider.be, mturquette@baylibre.com, sboyd@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, ulf.hansson@linaro.org, linus.walleij@linaro.org, gregkh@linuxfoundation.org, jirislaby@kernel.org, magnus.damm@gmail.com, catalin.marinas@arm.com, will@kernel.org, prabhakar.mahadev-lad.rj@bp.renesas.com, biju.das.jz@bp.renesas.com, quic_bjorande@quicinc.com, arnd@arndb.de, konrad.dybcio@linaro.org, neil.armstrong@linaro.org, nfraprado@collabora.com, rafal@milecki.pl, wsa+renesas@sang-engineering.com, linux-renesas-soc@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org, linux-gpio@vger.kernel.org, linux-serial@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Claudiu Beznea Subject: Re: [PATCH 29/37] dt-bindings: pinctrl: renesas: document RZ/G3S SoC Message-ID: <20230912161335.GA866121-robh@kernel.org> References: <20230912045157.177966-1-claudiu.beznea.uj@bp.renesas.com> <20230912045157.177966-30-claudiu.beznea.uj@bp.renesas.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230912045157.177966-30-claudiu.beznea.uj@bp.renesas.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230912_091340_214235_2EEB22EC X-CRM114-Status: GOOD ( 18.80 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Sep 12, 2023 at 07:51:49AM +0300, Claudiu wrote: > From: Claudiu Beznea > > Add documentation for pin controller found on RZ/G3S (R9A08G045) SoC. > Compared with RZ/G2{L,UL} RZ/G3S has 82 general-purpose IOs, no slew > rate and output impedance support and more values for drive strength > which needs to be expressed in microamp. > > Signed-off-by: Claudiu Beznea > --- > .../pinctrl/renesas,rzg2l-pinctrl.yaml | 26 +++++++++++++++---- > 1 file changed, 21 insertions(+), 5 deletions(-) > > diff --git a/Documentation/devicetree/bindings/pinctrl/renesas,rzg2l-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/renesas,rzg2l-pinctrl.yaml > index 145c5442f268..079e5be69330 100644 > --- a/Documentation/devicetree/bindings/pinctrl/renesas,rzg2l-pinctrl.yaml > +++ b/Documentation/devicetree/bindings/pinctrl/renesas,rzg2l-pinctrl.yaml > @@ -25,6 +25,7 @@ properties: > - enum: > - renesas,r9a07g043-pinctrl # RZ/G2UL{Type-1,Type-2} and RZ/Five > - renesas,r9a07g044-pinctrl # RZ/G2{L,LC} > + - renesas,r9a08g045-pinctrl # RZ/G3S > > - items: > - enum: > @@ -77,6 +78,26 @@ additionalProperties: > - $ref: pincfg-node.yaml# > - $ref: pinmux-node.yaml# > > + - if: > + properties: > + compatible: > + contains: > + enum: > + - renesas,r9a08g045-pinctrl > + then: > + properties: > + drive-strength-microamp: > + enum: [ 1900, 2200, 4000, 4400, 4500, 4700, 5200, 5300, 5700, > + 5800, 6000, 6050, 6100, 6550, 6800, 7000, 8000, 9000, > + 10000 ] > + else: > + properties: > + drive-strength: > + enum: [ 2, 4, 8, 12 ] > + output-impedance-ohms: > + enum: [ 33, 50, 66, 100 ] > + slew-rate: true > + > description: > Pin controller client devices use pin configuration subnodes (children > and grandchildren) for desired pin configuration. > @@ -89,14 +110,9 @@ additionalProperties: > alternate function configuration number using the RZG2L_PORT_PINMUX() > helper macro in . > pins: true > - drive-strength: > - enum: [ 2, 4, 8, 12 ] > - output-impedance-ohms: > - enum: [ 33, 50, 66, 100 ] Removing these entries will break things. Except that this binding is missing 'additionalProperties: false' at this level. That should be fixed first. I would suggest you keep these here and make the if/then schema just not allow properties (e.g. "drive-strength-microamp: false"). > power-source: > description: I/O voltage in millivolt. > enum: [ 1800, 2500, 3300 ] > - slew-rate: true > gpio-hog: true > gpios: true > input-enable: true > -- > 2.39.2 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel