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 X-Spam-Level: X-Spam-Status: No, score=-6.9 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 761A4C43461 for ; Thu, 17 Sep 2020 19:14:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E629720717 for ; Thu, 17 Sep 2020 19:14:44 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=crapouillou.net header.i=@crapouillou.net header.b="dyOMV3sQ" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726501AbgIQTOm (ORCPT ); Thu, 17 Sep 2020 15:14:42 -0400 Received: from crapouillou.net ([89.234.176.41]:36240 "EHLO crapouillou.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726350AbgIQTNU (ORCPT ); Thu, 17 Sep 2020 15:13:20 -0400 X-Greylist: delayed 495 seconds by postgrey-1.27 at vger.kernel.org; Thu, 17 Sep 2020 15:12:47 EDT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1600369440; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=L3OBK4G1Rvv8T0Xnqj3/8Lbig0kqsWBBjd0US1g/rPo=; b=dyOMV3sQSIuXwuaky8QYur2ywbBqBFDkh4I8lC8CviZwJ4xXUpL4z0HKUxmZFgT1wCRV+i lmglasQwXio0xAlmn9AwPeNsR0gejQ1N0ipvwaxZk7O7qZVgtm6UVhMbStHccEmV266mP4 NNt/TuV+D6L8z9EtegHwMbZvBfl1a4o= Date: Thu, 17 Sep 2020 21:03:36 +0200 From: Paul Cercueil Subject: Re: [PATCH v2 09/13] dt-bindings: pinctrl: include common schema in GPIO controllers To: Krzysztof Kozlowski Cc: Linus Walleij , Bartosz Golaszewski , Rob Herring , Ray Jui , Scott Branden , bcm-kernel-feedback-list@broadcom.com, Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Manivannan Sadhasivam , Andy Gross , Bjorn Andersson , Palmer Dabbelt , Paul Walmsley , Hoan Tran , Serge Semin , Masahiro Yamada , Jacopo Mondi , Kieran Bingham , Laurent Pinchart , Niklas =?iso-8859-1?q?S=F6derlund?= , Mauro Carvalho Chehab , Charles Keepax , Richard Fitzgerald , Lee Jones , Maxime Coquelin , Alexandre Torgue , Andreas =?iso-8859-1?q?F=E4rber?= , Maxime Ripard , Chen-Yu Tsai , Matthias Brugger , Geert Uytterhoeven , Liam Girdwood , Mark Brown , Chris Packham , Anson Huang , Sungbo Eo , Stefan Agner , Srinivas Kandagatla , Magnus Damm , Yash Shah , Paul Kocialkowski , - , Matti Vaittinen , Amelie Delaunay , Cristian Ciocaltea , Andy Teng , Sean Wang , Sricharan R , Chris Brandt , Jaroslav Kysela , Takashi Iwai , linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-unisoc@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-riscv@lists.infradead.org, linux-media@vger.kernel.org, alsa-devel@alsa-project.org, linux-stm32@st-md-mailman.stormreply.com, linux-mediatek@lists.infradead.org, linux-renesas-soc@vger.kernel.org Message-Id: <0YGTGQ.TCQDDTXFCWNX2@crapouillou.net> In-Reply-To: <20200917165301.23100-10-krzk@kernel.org> References: <20200917165301.23100-1-krzk@kernel.org> <20200917165301.23100-10-krzk@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Hi, Le jeu. 17 sept. 2020 =E0 18:52, Krzysztof Kozlowski a=20 =E9crit : > Include the common GPIO schema in GPIO controllers to be sure all=20 > common > properties are properly validated. >=20 > Signed-off-by: Krzysztof Kozlowski Acked-by: Paul Cercueil Cheers, -Paul >=20 > --- >=20 > Changes since v1: > 1. New patch > --- > .../devicetree/bindings/pinctrl/actions,s500-pinctrl.yaml | 3=20 > +++ > .../bindings/pinctrl/allwinner,sun4i-a10-pinctrl.yaml | 1 + > .../devicetree/bindings/pinctrl/cirrus,lochnagar.yaml | 3=20 > +++ > Documentation/devicetree/bindings/pinctrl/ingenic,pinctrl.yaml | 3=20 > +++ > .../devicetree/bindings/pinctrl/mediatek,mt6779-pinctrl.yaml | 3=20 > +++ > Documentation/devicetree/bindings/pinctrl/pinctrl-mt8192.yaml | 3=20 > +++ > .../devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml | 3=20 > +++ > .../devicetree/bindings/pinctrl/qcom,msm8226-pinctrl.yaml | 3=20 > +++ > .../devicetree/bindings/pinctrl/qcom,sm8250-pinctrl.yaml | 3=20 > +++ > .../devicetree/bindings/pinctrl/renesas,rza2-pinctrl.yaml | 3=20 > +++ > .../devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml | 3=20 > +++ > 11 files changed, 31 insertions(+) >=20 > diff --git=20 > a/Documentation/devicetree/bindings/pinctrl/actions,s500-pinctrl.yaml=20 > b/Documentation/devicetree/bindings/pinctrl/actions,s500-pinctrl.yaml > index 33391d30c00c..51bfc214bba6 100644 > ---=20 > a/Documentation/devicetree/bindings/pinctrl/actions,s500-pinctrl.yaml > +++=20 > b/Documentation/devicetree/bindings/pinctrl/actions,s500-pinctrl.yaml > @@ -15,6 +15,9 @@ description: | > GPIO function selection & GPIO attributes configuration. Please=20 > refer to > pinctrl-bindings.txt in this directory for common binding part and=20 > usage. >=20 > +allOf: > + - $ref: /schemas/gpio/gpio-common.yaml# > + > properties: > compatible: > const: actions,s500-pinctrl > diff --git=20 > a/Documentation/devicetree/bindings/pinctrl/allwinner,sun4i-a10-pinctrl.y= aml=20 > b/Documentation/devicetree/bindings/pinctrl/allwinner,sun4i-a10-pinctrl.y= aml > index 7556be6e2754..55662f8d1f94 100644 > ---=20 > a/Documentation/devicetree/bindings/pinctrl/allwinner,sun4i-a10-pinctrl.y= aml > +++=20 > b/Documentation/devicetree/bindings/pinctrl/allwinner,sun4i-a10-pinctrl.y= aml > @@ -143,6 +143,7 @@ allOf: > # boards are defining it at the moment so it would generate a lot=20 > of > # warnings. >=20 > + - $ref: /schemas/gpio/gpio-common.yaml# > - if: > properties: > compatible: > diff --git=20 > a/Documentation/devicetree/bindings/pinctrl/cirrus,lochnagar.yaml=20 > b/Documentation/devicetree/bindings/pinctrl/cirrus,lochnagar.yaml > index 420d74856032..ed478b0ed4cc 100644 > --- a/Documentation/devicetree/bindings/pinctrl/cirrus,lochnagar.yaml > +++ b/Documentation/devicetree/bindings/pinctrl/cirrus,lochnagar.yaml > @@ -31,6 +31,9 @@ description: | > This binding must be part of the Lochnagar MFD binding: > [4] ../mfd/cirrus,lochnagar.yaml >=20 > +allOf: > + - $ref: /schemas/gpio/gpio-common.yaml# > + > properties: > compatible: > enum: > diff --git=20 > a/Documentation/devicetree/bindings/pinctrl/ingenic,pinctrl.yaml=20 > b/Documentation/devicetree/bindings/pinctrl/ingenic,pinctrl.yaml > index 44c04d11ae4c..ffa64832b4f9 100644 > --- a/Documentation/devicetree/bindings/pinctrl/ingenic,pinctrl.yaml > +++ b/Documentation/devicetree/bindings/pinctrl/ingenic,pinctrl.yaml > @@ -59,6 +59,9 @@ properties: > patternProperties: > "^gpio@[0-9]$": > type: object > + allOf: > + - $ref: /schemas/gpio/gpio-common.yaml# > + > properties: > compatible: > enum: > diff --git=20 > a/Documentation/devicetree/bindings/pinctrl/mediatek,mt6779-pinctrl.yaml=20 > b/Documentation/devicetree/bindings/pinctrl/mediatek,mt6779-pinctrl.yaml > index 152c151c27ad..7d0a4cb96f39 100644 > ---=20 > a/Documentation/devicetree/bindings/pinctrl/mediatek,mt6779-pinctrl.yaml > +++=20 > b/Documentation/devicetree/bindings/pinctrl/mediatek,mt6779-pinctrl.yaml > @@ -14,6 +14,9 @@ description: |+ > required property: > - compatible: "syscon" >=20 > +allOf: > + - $ref: /schemas/gpio/gpio-common.yaml# > + > properties: > compatible: > const: mediatek,mt6779-pinctrl > diff --git=20 > a/Documentation/devicetree/bindings/pinctrl/pinctrl-mt8192.yaml=20 > b/Documentation/devicetree/bindings/pinctrl/pinctrl-mt8192.yaml > index 5556def6b99b..bc8bc0ac1926 100644 > --- a/Documentation/devicetree/bindings/pinctrl/pinctrl-mt8192.yaml > +++ b/Documentation/devicetree/bindings/pinctrl/pinctrl-mt8192.yaml > @@ -12,6 +12,9 @@ maintainers: > description: | > The Mediatek's Pin controller is used to control SoC pins. >=20 > +allOf: > + - $ref: /schemas/gpio/gpio-common.yaml# > + > properties: > compatible: > const: mediatek,mt8192-pinctrl > diff --git=20 > a/Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml=20 > b/Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml > index c64c93206817..22a6b80b4c0e 100644 > ---=20 > a/Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml > +++=20 > b/Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml > @@ -13,6 +13,9 @@ description: | > This binding describes the Top Level Mode Multiplexer block found=20 > in the > IPQ6018 platform. >=20 > +allOf: > + - $ref: /schemas/gpio/gpio-common.yaml# > + > properties: > compatible: > const: qcom,ipq6018-pinctrl > diff --git=20 > a/Documentation/devicetree/bindings/pinctrl/qcom,msm8226-pinctrl.yaml=20 > b/Documentation/devicetree/bindings/pinctrl/qcom,msm8226-pinctrl.yaml > index 1f0f5757f9e1..9855d859fe61 100644 > ---=20 > a/Documentation/devicetree/bindings/pinctrl/qcom,msm8226-pinctrl.yaml > +++=20 > b/Documentation/devicetree/bindings/pinctrl/qcom,msm8226-pinctrl.yaml > @@ -13,6 +13,9 @@ description: | > This binding describes the Top Level Mode Multiplexer block found=20 > in the > MSM8226 platform. >=20 > +allOf: > + - $ref: /schemas/gpio/gpio-common.yaml# > + > properties: > compatible: > const: qcom,msm8226-pinctrl > diff --git=20 > a/Documentation/devicetree/bindings/pinctrl/qcom,sm8250-pinctrl.yaml=20 > b/Documentation/devicetree/bindings/pinctrl/qcom,sm8250-pinctrl.yaml > index 8508c57522fd..e5757b6ced40 100644 > ---=20 > a/Documentation/devicetree/bindings/pinctrl/qcom,sm8250-pinctrl.yaml > +++=20 > b/Documentation/devicetree/bindings/pinctrl/qcom,sm8250-pinctrl.yaml > @@ -13,6 +13,9 @@ description: | > This binding describes the Top Level Mode Multiplexer block found=20 > in the > SM8250 platform. >=20 > +allOf: > + - $ref: /schemas/gpio/gpio-common.yaml# > + > properties: > compatible: > const: qcom,sm8250-pinctrl > diff --git=20 > a/Documentation/devicetree/bindings/pinctrl/renesas,rza2-pinctrl.yaml=20 > b/Documentation/devicetree/bindings/pinctrl/renesas,rza2-pinctrl.yaml > index b7911a994f3a..4d7bf4340262 100644 > ---=20 > a/Documentation/devicetree/bindings/pinctrl/renesas,rza2-pinctrl.yaml > +++=20 > b/Documentation/devicetree/bindings/pinctrl/renesas,rza2-pinctrl.yaml > @@ -10,6 +10,9 @@ maintainers: > - Chris Brandt > - Geert Uytterhoeven >=20 > +allOf: > + - $ref: /schemas/gpio/gpio-common.yaml# > + > description: > The Renesas SoCs of the RZ/A2 series feature a combined Pin and=20 > GPIO > controller. > diff --git=20 > a/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml=20 > b/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml > index 72877544ca78..28b861362ba0 100644 > --- a/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml > +++ b/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml > @@ -56,6 +56,9 @@ properties: > patternProperties: > '^gpio@[0-9a-f]*$': > type: object > + allOf: > + - $ref: /schemas/gpio/gpio-common.yaml# > + > properties: > gpio-controller: true > '#gpio-cells': > -- > 2.17.1 >=20 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 X-Spam-Level: X-Spam-Status: No, score=-9.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2A69AC2BBD1 for ; Thu, 17 Sep 2020 19:04:26 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9DB4720878 for ; Thu, 17 Sep 2020 19:04:25 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="dgvQaDuM"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=crapouillou.net header.i=@crapouillou.net header.b="dyOMV3sQ" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9DB4720878 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=crapouillou.net Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Type: Content-Transfer-Encoding:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:To: Subject:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=lPeLI9b/oAsu5aj9UixGSjA6r+K0+PU+vvY5qnxHX3g=; b=dgvQaDuMsE3S8XjNj+SqKDZ9/ ZKiiPCqg81e3Mc0lb7k1xuoAJSr2ib7iDDvjEt/R4jYKs0mvo/6RE3tUnFs/7eq63LjbhbWdW/U1g GGC85jPqMD8T0FUaZbLletnAMEZdNTp133IjiOhtxOT0DMIZ9iv1HcI0aJu135xekDPRzIBhp1do/ ufR5aoPf2eD+uUeAT/vvSsaBLMlYsRJbRX4joZXBKyt5zwSnn77o2TjcSPENMS9X1RvtHUSs33wFP xRe3YwKk3j+IPUcy0NSj12PCh2zZgf+Zp3/jm4BDWvDWQHMARhOhti9cTfaX27/BNM/oZ74za+8mb xF7dkviLw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kIzCV-0004MH-4t; Thu, 17 Sep 2020 19:04:11 +0000 Received: from crapouillou.net ([89.234.176.41]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kIzCR-0004Kn-EU; Thu, 17 Sep 2020 19:04:08 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1600369440; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=L3OBK4G1Rvv8T0Xnqj3/8Lbig0kqsWBBjd0US1g/rPo=; b=dyOMV3sQSIuXwuaky8QYur2ywbBqBFDkh4I8lC8CviZwJ4xXUpL4z0HKUxmZFgT1wCRV+i lmglasQwXio0xAlmn9AwPeNsR0gejQ1N0ipvwaxZk7O7qZVgtm6UVhMbStHccEmV266mP4 NNt/TuV+D6L8z9EtegHwMbZvBfl1a4o= Date: Thu, 17 Sep 2020 21:03:36 +0200 From: Paul Cercueil Subject: Re: [PATCH v2 09/13] dt-bindings: pinctrl: include common schema in GPIO controllers To: Krzysztof Kozlowski Message-Id: <0YGTGQ.TCQDDTXFCWNX2@crapouillou.net> In-Reply-To: <20200917165301.23100-10-krzk@kernel.org> References: <20200917165301.23100-1-krzk@kernel.org> <20200917165301.23100-10-krzk@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200917_150407_841408_3D188D6A X-CRM114-Status: GOOD ( 17.24 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Amelie Delaunay , Geert Uytterhoeven , Matti Vaittinen , Linus Walleij , alsa-devel@alsa-project.org, Stefan Agner , Bjorn Andersson , Masahiro Yamada , Chris Brandt , Srinivas Kandagatla , Manivannan Sadhasivam , linux-riscv@lists.infradead.org, Fabio Estevam , linux-stm32@st-md-mailman.stormreply.com, Alexandre Torgue , linux-renesas-soc@vger.kernel.org, Laurent Pinchart , Anson Huang , Lee Jones , Takashi Iwai , Magnus Damm , Bartosz Golaszewski , Chen-Yu Tsai , Andy Gross , bcm-kernel-feedback-list@broadcom.com, NXP Linux Team , Andy Teng , Jacopo Mondi , Jaroslav Kysela , Sungbo Eo , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, Cristian Ciocaltea , Charles Keepax , Maxime Coquelin , Ray Jui , Sascha Hauer , Sean Wang , Maxime Ripard , linux-gpio@vger.kernel.org, Richard Fitzgerald , Rob Herring , linux-mediatek@lists.infradead.org, Paul Walmsley , Matthias Brugger , Sricharan R , Mauro Carvalho Chehab , Hoan Tran , linux-arm-kernel@lists.infradead.org, Niklas =?iso-8859-1?q?S=F6derlund?= , Scott Branden , linux-unisoc@lists.infradead.org, - , Chris Packham , Liam Girdwood , Serge Semin , linux-kernel@vger.kernel.org, Paul Kocialkowski , Yash Shah , Kieran Bingham , Palmer Dabbelt , Mark Brown , Pengutronix Kernel Team , linux-media@vger.kernel.org, Shawn Guo , Andreas =?iso-8859-1?q?F=E4rber?= Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1"; Format="flowed" Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org Hi, Le jeu. 17 sept. 2020 =E0 18:52, Krzysztof Kozlowski a = =E9crit : > Include the common GPIO schema in GPIO controllers to be sure all = > common > properties are properly validated. > = > Signed-off-by: Krzysztof Kozlowski Acked-by: Paul Cercueil Cheers, -Paul > = > --- > = > Changes since v1: > 1. New patch > --- > .../devicetree/bindings/pinctrl/actions,s500-pinctrl.yaml | 3 = > +++ > .../bindings/pinctrl/allwinner,sun4i-a10-pinctrl.yaml | 1 + > .../devicetree/bindings/pinctrl/cirrus,lochnagar.yaml | 3 = > +++ > Documentation/devicetree/bindings/pinctrl/ingenic,pinctrl.yaml | 3 = > +++ > .../devicetree/bindings/pinctrl/mediatek,mt6779-pinctrl.yaml | 3 = > +++ > Documentation/devicetree/bindings/pinctrl/pinctrl-mt8192.yaml | 3 = > +++ > .../devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml | 3 = > +++ > .../devicetree/bindings/pinctrl/qcom,msm8226-pinctrl.yaml | 3 = > +++ > .../devicetree/bindings/pinctrl/qcom,sm8250-pinctrl.yaml | 3 = > +++ > .../devicetree/bindings/pinctrl/renesas,rza2-pinctrl.yaml | 3 = > +++ > .../devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml | 3 = > +++ > 11 files changed, 31 insertions(+) > = > diff --git = > a/Documentation/devicetree/bindings/pinctrl/actions,s500-pinctrl.yaml = > b/Documentation/devicetree/bindings/pinctrl/actions,s500-pinctrl.yaml > index 33391d30c00c..51bfc214bba6 100644 > --- = > a/Documentation/devicetree/bindings/pinctrl/actions,s500-pinctrl.yaml > +++ = > b/Documentation/devicetree/bindings/pinctrl/actions,s500-pinctrl.yaml > @@ -15,6 +15,9 @@ description: | > GPIO function selection & GPIO attributes configuration. Please = > refer to > pinctrl-bindings.txt in this directory for common binding part and = > usage. > = > +allOf: > + - $ref: /schemas/gpio/gpio-common.yaml# > + > properties: > compatible: > const: actions,s500-pinctrl > diff --git = > a/Documentation/devicetree/bindings/pinctrl/allwinner,sun4i-a10-pinctrl.y= aml = > b/Documentation/devicetree/bindings/pinctrl/allwinner,sun4i-a10-pinctrl.y= aml > index 7556be6e2754..55662f8d1f94 100644 > --- = > a/Documentation/devicetree/bindings/pinctrl/allwinner,sun4i-a10-pinctrl.y= aml > +++ = > b/Documentation/devicetree/bindings/pinctrl/allwinner,sun4i-a10-pinctrl.y= aml > @@ -143,6 +143,7 @@ allOf: > # boards are defining it at the moment so it would generate a lot = > of > # warnings. > = > + - $ref: /schemas/gpio/gpio-common.yaml# > - if: > properties: > compatible: > diff --git = > a/Documentation/devicetree/bindings/pinctrl/cirrus,lochnagar.yaml = > b/Documentation/devicetree/bindings/pinctrl/cirrus,lochnagar.yaml > index 420d74856032..ed478b0ed4cc 100644 > --- a/Documentation/devicetree/bindings/pinctrl/cirrus,lochnagar.yaml > +++ b/Documentation/devicetree/bindings/pinctrl/cirrus,lochnagar.yaml > @@ -31,6 +31,9 @@ description: | > This binding must be part of the Lochnagar MFD binding: > [4] ../mfd/cirrus,lochnagar.yaml > = > +allOf: > + - $ref: /schemas/gpio/gpio-common.yaml# > + > properties: > compatible: > enum: > diff --git = > a/Documentation/devicetree/bindings/pinctrl/ingenic,pinctrl.yaml = > b/Documentation/devicetree/bindings/pinctrl/ingenic,pinctrl.yaml > index 44c04d11ae4c..ffa64832b4f9 100644 > --- a/Documentation/devicetree/bindings/pinctrl/ingenic,pinctrl.yaml > +++ b/Documentation/devicetree/bindings/pinctrl/ingenic,pinctrl.yaml > @@ -59,6 +59,9 @@ properties: > patternProperties: > "^gpio@[0-9]$": > type: object > + allOf: > + - $ref: /schemas/gpio/gpio-common.yaml# > + > properties: > compatible: > enum: > diff --git = > a/Documentation/devicetree/bindings/pinctrl/mediatek,mt6779-pinctrl.yaml = > b/Documentation/devicetree/bindings/pinctrl/mediatek,mt6779-pinctrl.yaml > index 152c151c27ad..7d0a4cb96f39 100644 > --- = > a/Documentation/devicetree/bindings/pinctrl/mediatek,mt6779-pinctrl.yaml > +++ = > b/Documentation/devicetree/bindings/pinctrl/mediatek,mt6779-pinctrl.yaml > @@ -14,6 +14,9 @@ description: |+ > required property: > - compatible: "syscon" > = > +allOf: > + - $ref: /schemas/gpio/gpio-common.yaml# > + > properties: > compatible: > const: mediatek,mt6779-pinctrl > diff --git = > a/Documentation/devicetree/bindings/pinctrl/pinctrl-mt8192.yaml = > b/Documentation/devicetree/bindings/pinctrl/pinctrl-mt8192.yaml > index 5556def6b99b..bc8bc0ac1926 100644 > --- a/Documentation/devicetree/bindings/pinctrl/pinctrl-mt8192.yaml > +++ b/Documentation/devicetree/bindings/pinctrl/pinctrl-mt8192.yaml > @@ -12,6 +12,9 @@ maintainers: > description: | > The Mediatek's Pin controller is used to control SoC pins. > = > +allOf: > + - $ref: /schemas/gpio/gpio-common.yaml# > + > properties: > compatible: > const: mediatek,mt8192-pinctrl > diff --git = > a/Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml = > b/Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml > index c64c93206817..22a6b80b4c0e 100644 > --- = > a/Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml > +++ = > b/Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml > @@ -13,6 +13,9 @@ description: | > This binding describes the Top Level Mode Multiplexer block found = > in the > IPQ6018 platform. > = > +allOf: > + - $ref: /schemas/gpio/gpio-common.yaml# > + > properties: > compatible: > const: qcom,ipq6018-pinctrl > diff --git = > a/Documentation/devicetree/bindings/pinctrl/qcom,msm8226-pinctrl.yaml = > b/Documentation/devicetree/bindings/pinctrl/qcom,msm8226-pinctrl.yaml > index 1f0f5757f9e1..9855d859fe61 100644 > --- = > a/Documentation/devicetree/bindings/pinctrl/qcom,msm8226-pinctrl.yaml > +++ = > b/Documentation/devicetree/bindings/pinctrl/qcom,msm8226-pinctrl.yaml > @@ -13,6 +13,9 @@ description: | > This binding describes the Top Level Mode Multiplexer block found = > in the > MSM8226 platform. > = > +allOf: > + - $ref: /schemas/gpio/gpio-common.yaml# > + > properties: > compatible: > const: qcom,msm8226-pinctrl > diff --git = > a/Documentation/devicetree/bindings/pinctrl/qcom,sm8250-pinctrl.yaml = > b/Documentation/devicetree/bindings/pinctrl/qcom,sm8250-pinctrl.yaml > index 8508c57522fd..e5757b6ced40 100644 > --- = > a/Documentation/devicetree/bindings/pinctrl/qcom,sm8250-pinctrl.yaml > +++ = > b/Documentation/devicetree/bindings/pinctrl/qcom,sm8250-pinctrl.yaml > @@ -13,6 +13,9 @@ description: | > This binding describes the Top Level Mode Multiplexer block found = > in the > SM8250 platform. > = > +allOf: > + - $ref: /schemas/gpio/gpio-common.yaml# > + > properties: > compatible: > const: qcom,sm8250-pinctrl > diff --git = > a/Documentation/devicetree/bindings/pinctrl/renesas,rza2-pinctrl.yaml = > b/Documentation/devicetree/bindings/pinctrl/renesas,rza2-pinctrl.yaml > index b7911a994f3a..4d7bf4340262 100644 > --- = > a/Documentation/devicetree/bindings/pinctrl/renesas,rza2-pinctrl.yaml > +++ = > b/Documentation/devicetree/bindings/pinctrl/renesas,rza2-pinctrl.yaml > @@ -10,6 +10,9 @@ maintainers: > - Chris Brandt > - Geert Uytterhoeven > = > +allOf: > + - $ref: /schemas/gpio/gpio-common.yaml# > + > description: > The Renesas SoCs of the RZ/A2 series feature a combined Pin and = > GPIO > controller. > diff --git = > a/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml = > b/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml > index 72877544ca78..28b861362ba0 100644 > --- a/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml > +++ b/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml > @@ -56,6 +56,9 @@ properties: > patternProperties: > '^gpio@[0-9a-f]*$': > type: object > + allOf: > + - $ref: /schemas/gpio/gpio-common.yaml# > + > properties: > gpio-controller: true > '#gpio-cells': > -- > 2.17.1 > = _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv 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 X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 91E55C43463 for ; Mon, 21 Sep 2020 08:25:01 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C0DDA20709 for ; Mon, 21 Sep 2020 08:25:00 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="r8BT0KEx"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=crapouillou.net header.i=@crapouillou.net header.b="dyOMV3sQ" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C0DDA20709 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=crapouillou.net Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 52DEF17E3; Mon, 21 Sep 2020 10:24:09 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 52DEF17E3 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1600676699; bh=vNTE0avxpKIo0jB24X7/2nVrOvpUbkZy0Ug8WGN4DR4=; h=Date:From:Subject:To:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=r8BT0KExbTtOT88yeXdBqSmMTPFJZJCglRGjDPSNOnOBi55fUyEfPgZjoSxdOk03b GgMVlQujqnDXlqthM8y7vxouBs6Hgo5iqyf9hCvRScoYYOk56Jq+6Q3Ac57doSZHJa A52vQ1lTfJRYb+BDmaOI7X8cWU1y+EXELEcyHCEs= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 4C195F8038F; Mon, 21 Sep 2020 10:11:07 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 6A1F7F80276; Thu, 17 Sep 2020 21:04:09 +0200 (CEST) Received: from crapouillou.net (crapouillou.net [89.234.176.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 58601F801EC for ; Thu, 17 Sep 2020 21:04:01 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 58601F801EC Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=crapouillou.net header.i=@crapouillou.net header.b="dyOMV3sQ" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1600369440; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=L3OBK4G1Rvv8T0Xnqj3/8Lbig0kqsWBBjd0US1g/rPo=; b=dyOMV3sQSIuXwuaky8QYur2ywbBqBFDkh4I8lC8CviZwJ4xXUpL4z0HKUxmZFgT1wCRV+i lmglasQwXio0xAlmn9AwPeNsR0gejQ1N0ipvwaxZk7O7qZVgtm6UVhMbStHccEmV266mP4 NNt/TuV+D6L8z9EtegHwMbZvBfl1a4o= Date: Thu, 17 Sep 2020 21:03:36 +0200 From: Paul Cercueil Subject: Re: [PATCH v2 09/13] dt-bindings: pinctrl: include common schema in GPIO controllers To: Krzysztof Kozlowski Message-Id: <0YGTGQ.TCQDDTXFCWNX2@crapouillou.net> In-Reply-To: <20200917165301.23100-10-krzk@kernel.org> References: <20200917165301.23100-1-krzk@kernel.org> <20200917165301.23100-10-krzk@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Mailman-Approved-At: Mon, 21 Sep 2020 10:10:23 +0200 Cc: Amelie Delaunay , Geert Uytterhoeven , Matti Vaittinen , Linus Walleij , alsa-devel@alsa-project.org, Stefan Agner , Bjorn Andersson , Masahiro Yamada , Chris Brandt , Srinivas Kandagatla , Manivannan Sadhasivam , linux-riscv@lists.infradead.org, Fabio Estevam , linux-stm32@st-md-mailman.stormreply.com, Alexandre Torgue , linux-renesas-soc@vger.kernel.org, Laurent Pinchart , Anson Huang , Lee Jones , Takashi Iwai , Magnus Damm , Bartosz Golaszewski , Chen-Yu Tsai , Andy Gross , bcm-kernel-feedback-list@broadcom.com, NXP Linux Team , Andy Teng , Jacopo Mondi , Sungbo Eo , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, Cristian Ciocaltea , Charles Keepax , Maxime Coquelin , Ray Jui , Sascha Hauer , Sean Wang , Maxime Ripard , linux-gpio@vger.kernel.org, Richard Fitzgerald , Rob Herring , linux-mediatek@lists.infradead.org, Paul Walmsley , Matthias Brugger , Sricharan R , Mauro Carvalho Chehab , Hoan Tran , linux-arm-kernel@lists.infradead.org, Niklas =?iso-8859-1?q?S=F6derlund?= , Scott Branden , linux-unisoc@lists.infradead.org, - , Chris Packham , Liam Girdwood , Serge Semin , linux-kernel@vger.kernel.org, Paul Kocialkowski , Yash Shah , Kieran Bingham , Palmer Dabbelt , Mark Brown , Pengutronix Kernel Team , linux-media@vger.kernel.org, Shawn Guo , Andreas =?iso-8859-1?q?F=E4rber?= X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" Hi, Le jeu. 17 sept. 2020 =E0 18:52, Krzysztof Kozlowski a=20 =E9crit : > Include the common GPIO schema in GPIO controllers to be sure all=20 > common > properties are properly validated. >=20 > Signed-off-by: Krzysztof Kozlowski Acked-by: Paul Cercueil Cheers, -Paul >=20 > --- >=20 > Changes since v1: > 1. New patch > --- > .../devicetree/bindings/pinctrl/actions,s500-pinctrl.yaml | 3=20 > +++ > .../bindings/pinctrl/allwinner,sun4i-a10-pinctrl.yaml | 1 + > .../devicetree/bindings/pinctrl/cirrus,lochnagar.yaml | 3=20 > +++ > Documentation/devicetree/bindings/pinctrl/ingenic,pinctrl.yaml | 3=20 > +++ > .../devicetree/bindings/pinctrl/mediatek,mt6779-pinctrl.yaml | 3=20 > +++ > Documentation/devicetree/bindings/pinctrl/pinctrl-mt8192.yaml | 3=20 > +++ > .../devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml | 3=20 > +++ > .../devicetree/bindings/pinctrl/qcom,msm8226-pinctrl.yaml | 3=20 > +++ > .../devicetree/bindings/pinctrl/qcom,sm8250-pinctrl.yaml | 3=20 > +++ > .../devicetree/bindings/pinctrl/renesas,rza2-pinctrl.yaml | 3=20 > +++ > .../devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml | 3=20 > +++ > 11 files changed, 31 insertions(+) >=20 > diff --git=20 > a/Documentation/devicetree/bindings/pinctrl/actions,s500-pinctrl.yaml=20 > b/Documentation/devicetree/bindings/pinctrl/actions,s500-pinctrl.yaml > index 33391d30c00c..51bfc214bba6 100644 > ---=20 > a/Documentation/devicetree/bindings/pinctrl/actions,s500-pinctrl.yaml > +++=20 > b/Documentation/devicetree/bindings/pinctrl/actions,s500-pinctrl.yaml > @@ -15,6 +15,9 @@ description: | > GPIO function selection & GPIO attributes configuration. Please=20 > refer to > pinctrl-bindings.txt in this directory for common binding part and=20 > usage. >=20 > +allOf: > + - $ref: /schemas/gpio/gpio-common.yaml# > + > properties: > compatible: > const: actions,s500-pinctrl > diff --git=20 > a/Documentation/devicetree/bindings/pinctrl/allwinner,sun4i-a10-pinctrl.y= aml=20 > b/Documentation/devicetree/bindings/pinctrl/allwinner,sun4i-a10-pinctrl.y= aml > index 7556be6e2754..55662f8d1f94 100644 > ---=20 > a/Documentation/devicetree/bindings/pinctrl/allwinner,sun4i-a10-pinctrl.y= aml > +++=20 > b/Documentation/devicetree/bindings/pinctrl/allwinner,sun4i-a10-pinctrl.y= aml > @@ -143,6 +143,7 @@ allOf: > # boards are defining it at the moment so it would generate a lot=20 > of > # warnings. >=20 > + - $ref: /schemas/gpio/gpio-common.yaml# > - if: > properties: > compatible: > diff --git=20 > a/Documentation/devicetree/bindings/pinctrl/cirrus,lochnagar.yaml=20 > b/Documentation/devicetree/bindings/pinctrl/cirrus,lochnagar.yaml > index 420d74856032..ed478b0ed4cc 100644 > --- a/Documentation/devicetree/bindings/pinctrl/cirrus,lochnagar.yaml > +++ b/Documentation/devicetree/bindings/pinctrl/cirrus,lochnagar.yaml > @@ -31,6 +31,9 @@ description: | > This binding must be part of the Lochnagar MFD binding: > [4] ../mfd/cirrus,lochnagar.yaml >=20 > +allOf: > + - $ref: /schemas/gpio/gpio-common.yaml# > + > properties: > compatible: > enum: > diff --git=20 > a/Documentation/devicetree/bindings/pinctrl/ingenic,pinctrl.yaml=20 > b/Documentation/devicetree/bindings/pinctrl/ingenic,pinctrl.yaml > index 44c04d11ae4c..ffa64832b4f9 100644 > --- a/Documentation/devicetree/bindings/pinctrl/ingenic,pinctrl.yaml > +++ b/Documentation/devicetree/bindings/pinctrl/ingenic,pinctrl.yaml > @@ -59,6 +59,9 @@ properties: > patternProperties: > "^gpio@[0-9]$": > type: object > + allOf: > + - $ref: /schemas/gpio/gpio-common.yaml# > + > properties: > compatible: > enum: > diff --git=20 > a/Documentation/devicetree/bindings/pinctrl/mediatek,mt6779-pinctrl.yaml=20 > b/Documentation/devicetree/bindings/pinctrl/mediatek,mt6779-pinctrl.yaml > index 152c151c27ad..7d0a4cb96f39 100644 > ---=20 > a/Documentation/devicetree/bindings/pinctrl/mediatek,mt6779-pinctrl.yaml > +++=20 > b/Documentation/devicetree/bindings/pinctrl/mediatek,mt6779-pinctrl.yaml > @@ -14,6 +14,9 @@ description: |+ > required property: > - compatible: "syscon" >=20 > +allOf: > + - $ref: /schemas/gpio/gpio-common.yaml# > + > properties: > compatible: > const: mediatek,mt6779-pinctrl > diff --git=20 > a/Documentation/devicetree/bindings/pinctrl/pinctrl-mt8192.yaml=20 > b/Documentation/devicetree/bindings/pinctrl/pinctrl-mt8192.yaml > index 5556def6b99b..bc8bc0ac1926 100644 > --- a/Documentation/devicetree/bindings/pinctrl/pinctrl-mt8192.yaml > +++ b/Documentation/devicetree/bindings/pinctrl/pinctrl-mt8192.yaml > @@ -12,6 +12,9 @@ maintainers: > description: | > The Mediatek's Pin controller is used to control SoC pins. >=20 > +allOf: > + - $ref: /schemas/gpio/gpio-common.yaml# > + > properties: > compatible: > const: mediatek,mt8192-pinctrl > diff --git=20 > a/Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml=20 > b/Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml > index c64c93206817..22a6b80b4c0e 100644 > ---=20 > a/Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml > +++=20 > b/Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml > @@ -13,6 +13,9 @@ description: | > This binding describes the Top Level Mode Multiplexer block found=20 > in the > IPQ6018 platform. >=20 > +allOf: > + - $ref: /schemas/gpio/gpio-common.yaml# > + > properties: > compatible: > const: qcom,ipq6018-pinctrl > diff --git=20 > a/Documentation/devicetree/bindings/pinctrl/qcom,msm8226-pinctrl.yaml=20 > b/Documentation/devicetree/bindings/pinctrl/qcom,msm8226-pinctrl.yaml > index 1f0f5757f9e1..9855d859fe61 100644 > ---=20 > a/Documentation/devicetree/bindings/pinctrl/qcom,msm8226-pinctrl.yaml > +++=20 > b/Documentation/devicetree/bindings/pinctrl/qcom,msm8226-pinctrl.yaml > @@ -13,6 +13,9 @@ description: | > This binding describes the Top Level Mode Multiplexer block found=20 > in the > MSM8226 platform. >=20 > +allOf: > + - $ref: /schemas/gpio/gpio-common.yaml# > + > properties: > compatible: > const: qcom,msm8226-pinctrl > diff --git=20 > a/Documentation/devicetree/bindings/pinctrl/qcom,sm8250-pinctrl.yaml=20 > b/Documentation/devicetree/bindings/pinctrl/qcom,sm8250-pinctrl.yaml > index 8508c57522fd..e5757b6ced40 100644 > ---=20 > a/Documentation/devicetree/bindings/pinctrl/qcom,sm8250-pinctrl.yaml > +++=20 > b/Documentation/devicetree/bindings/pinctrl/qcom,sm8250-pinctrl.yaml > @@ -13,6 +13,9 @@ description: | > This binding describes the Top Level Mode Multiplexer block found=20 > in the > SM8250 platform. >=20 > +allOf: > + - $ref: /schemas/gpio/gpio-common.yaml# > + > properties: > compatible: > const: qcom,sm8250-pinctrl > diff --git=20 > a/Documentation/devicetree/bindings/pinctrl/renesas,rza2-pinctrl.yaml=20 > b/Documentation/devicetree/bindings/pinctrl/renesas,rza2-pinctrl.yaml > index b7911a994f3a..4d7bf4340262 100644 > ---=20 > a/Documentation/devicetree/bindings/pinctrl/renesas,rza2-pinctrl.yaml > +++=20 > b/Documentation/devicetree/bindings/pinctrl/renesas,rza2-pinctrl.yaml > @@ -10,6 +10,9 @@ maintainers: > - Chris Brandt > - Geert Uytterhoeven >=20 > +allOf: > + - $ref: /schemas/gpio/gpio-common.yaml# > + > description: > The Renesas SoCs of the RZ/A2 series feature a combined Pin and=20 > GPIO > controller. > diff --git=20 > a/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml=20 > b/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml > index 72877544ca78..28b861362ba0 100644 > --- a/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml > +++ b/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml > @@ -56,6 +56,9 @@ properties: > patternProperties: > '^gpio@[0-9a-f]*$': > type: object > + allOf: > + - $ref: /schemas/gpio/gpio-common.yaml# > + > properties: > gpio-controller: true > '#gpio-cells': > -- > 2.17.1 >=20 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 X-Spam-Level: X-Spam-Status: No, score=-9.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2246EC43461 for ; Thu, 17 Sep 2020 19:04:26 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9756220853 for ; Thu, 17 Sep 2020 19:04:25 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="HjMhBhPz"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=crapouillou.net header.i=@crapouillou.net header.b="dyOMV3sQ" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9756220853 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=crapouillou.net Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Type: Content-Transfer-Encoding:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:To: Subject:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Qf1HOgXuxL5wpGPRKTrkKY+LnLsVH/bYfREfHGl/sOc=; b=HjMhBhPzMiRERjEoZjRjfq7SF FhYSZnH7CEsgDJwICjzoMGHn5xANV8VwSrFpNZHYy69CGVHlL7qr5cjQNF80KNxDHqIsy0fCDnWzV 2wIjyGXXdHtbPHMw6urIYF32HdNqlltGK4YzHIcd6BQaUA5PoStGkBBxlWkXvmSzW7tAqOniOb5Dn 2Xl5P7N98rlEfyoALj5+gb+Jcgc9SCKHflT7/s4H95luZ0LTjTd3o4+P754srExh0GbUdzrsjzve7 OPCGSTBdyR5wsFjC60CimeCJzJWfwvxn9wR/uuf3MDcrXM/Y09ncXkSt6ddd6RpTdRORTvQcHXRje d0ciaVghA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kIzCU-0004M6-G0; Thu, 17 Sep 2020 19:04:10 +0000 Received: from crapouillou.net ([89.234.176.41]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kIzCR-0004Kn-EU; Thu, 17 Sep 2020 19:04:08 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1600369440; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=L3OBK4G1Rvv8T0Xnqj3/8Lbig0kqsWBBjd0US1g/rPo=; b=dyOMV3sQSIuXwuaky8QYur2ywbBqBFDkh4I8lC8CviZwJ4xXUpL4z0HKUxmZFgT1wCRV+i lmglasQwXio0xAlmn9AwPeNsR0gejQ1N0ipvwaxZk7O7qZVgtm6UVhMbStHccEmV266mP4 NNt/TuV+D6L8z9EtegHwMbZvBfl1a4o= Date: Thu, 17 Sep 2020 21:03:36 +0200 From: Paul Cercueil Subject: Re: [PATCH v2 09/13] dt-bindings: pinctrl: include common schema in GPIO controllers To: Krzysztof Kozlowski Message-Id: <0YGTGQ.TCQDDTXFCWNX2@crapouillou.net> In-Reply-To: <20200917165301.23100-10-krzk@kernel.org> References: <20200917165301.23100-1-krzk@kernel.org> <20200917165301.23100-10-krzk@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200917_150407_841408_3D188D6A X-CRM114-Status: GOOD ( 17.24 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Amelie Delaunay , Geert Uytterhoeven , Matti Vaittinen , Linus Walleij , alsa-devel@alsa-project.org, Stefan Agner , Bjorn Andersson , Masahiro Yamada , Chris Brandt , Srinivas Kandagatla , Manivannan Sadhasivam , linux-riscv@lists.infradead.org, Fabio Estevam , linux-stm32@st-md-mailman.stormreply.com, Alexandre Torgue , linux-renesas-soc@vger.kernel.org, Laurent Pinchart , Anson Huang , Lee Jones , Takashi Iwai , Magnus Damm , Bartosz Golaszewski , Chen-Yu Tsai , Andy Gross , bcm-kernel-feedback-list@broadcom.com, NXP Linux Team , Andy Teng , Jacopo Mondi , Jaroslav Kysela , Sungbo Eo , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, Cristian Ciocaltea , Charles Keepax , Maxime Coquelin , Ray Jui , Sascha Hauer , Sean Wang , Maxime Ripard , linux-gpio@vger.kernel.org, Richard Fitzgerald , Rob Herring , linux-mediatek@lists.infradead.org, Paul Walmsley , Matthias Brugger , Sricharan R , Mauro Carvalho Chehab , Hoan Tran , linux-arm-kernel@lists.infradead.org, Niklas =?iso-8859-1?q?S=F6derlund?= , Scott Branden , linux-unisoc@lists.infradead.org, - , Chris Packham , Liam Girdwood , Serge Semin , linux-kernel@vger.kernel.org, Paul Kocialkowski , Yash Shah , Kieran Bingham , Palmer Dabbelt , Mark Brown , Pengutronix Kernel Team , linux-media@vger.kernel.org, Shawn Guo , Andreas =?iso-8859-1?q?F=E4rber?= Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1"; Format="flowed" Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org Hi, Le jeu. 17 sept. 2020 =E0 18:52, Krzysztof Kozlowski a = =E9crit : > Include the common GPIO schema in GPIO controllers to be sure all = > common > properties are properly validated. > = > Signed-off-by: Krzysztof Kozlowski Acked-by: Paul Cercueil Cheers, -Paul > = > --- > = > Changes since v1: > 1. New patch > --- > .../devicetree/bindings/pinctrl/actions,s500-pinctrl.yaml | 3 = > +++ > .../bindings/pinctrl/allwinner,sun4i-a10-pinctrl.yaml | 1 + > .../devicetree/bindings/pinctrl/cirrus,lochnagar.yaml | 3 = > +++ > Documentation/devicetree/bindings/pinctrl/ingenic,pinctrl.yaml | 3 = > +++ > .../devicetree/bindings/pinctrl/mediatek,mt6779-pinctrl.yaml | 3 = > +++ > Documentation/devicetree/bindings/pinctrl/pinctrl-mt8192.yaml | 3 = > +++ > .../devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml | 3 = > +++ > .../devicetree/bindings/pinctrl/qcom,msm8226-pinctrl.yaml | 3 = > +++ > .../devicetree/bindings/pinctrl/qcom,sm8250-pinctrl.yaml | 3 = > +++ > .../devicetree/bindings/pinctrl/renesas,rza2-pinctrl.yaml | 3 = > +++ > .../devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml | 3 = > +++ > 11 files changed, 31 insertions(+) > = > diff --git = > a/Documentation/devicetree/bindings/pinctrl/actions,s500-pinctrl.yaml = > b/Documentation/devicetree/bindings/pinctrl/actions,s500-pinctrl.yaml > index 33391d30c00c..51bfc214bba6 100644 > --- = > a/Documentation/devicetree/bindings/pinctrl/actions,s500-pinctrl.yaml > +++ = > b/Documentation/devicetree/bindings/pinctrl/actions,s500-pinctrl.yaml > @@ -15,6 +15,9 @@ description: | > GPIO function selection & GPIO attributes configuration. Please = > refer to > pinctrl-bindings.txt in this directory for common binding part and = > usage. > = > +allOf: > + - $ref: /schemas/gpio/gpio-common.yaml# > + > properties: > compatible: > const: actions,s500-pinctrl > diff --git = > a/Documentation/devicetree/bindings/pinctrl/allwinner,sun4i-a10-pinctrl.y= aml = > b/Documentation/devicetree/bindings/pinctrl/allwinner,sun4i-a10-pinctrl.y= aml > index 7556be6e2754..55662f8d1f94 100644 > --- = > a/Documentation/devicetree/bindings/pinctrl/allwinner,sun4i-a10-pinctrl.y= aml > +++ = > b/Documentation/devicetree/bindings/pinctrl/allwinner,sun4i-a10-pinctrl.y= aml > @@ -143,6 +143,7 @@ allOf: > # boards are defining it at the moment so it would generate a lot = > of > # warnings. > = > + - $ref: /schemas/gpio/gpio-common.yaml# > - if: > properties: > compatible: > diff --git = > a/Documentation/devicetree/bindings/pinctrl/cirrus,lochnagar.yaml = > b/Documentation/devicetree/bindings/pinctrl/cirrus,lochnagar.yaml > index 420d74856032..ed478b0ed4cc 100644 > --- a/Documentation/devicetree/bindings/pinctrl/cirrus,lochnagar.yaml > +++ b/Documentation/devicetree/bindings/pinctrl/cirrus,lochnagar.yaml > @@ -31,6 +31,9 @@ description: | > This binding must be part of the Lochnagar MFD binding: > [4] ../mfd/cirrus,lochnagar.yaml > = > +allOf: > + - $ref: /schemas/gpio/gpio-common.yaml# > + > properties: > compatible: > enum: > diff --git = > a/Documentation/devicetree/bindings/pinctrl/ingenic,pinctrl.yaml = > b/Documentation/devicetree/bindings/pinctrl/ingenic,pinctrl.yaml > index 44c04d11ae4c..ffa64832b4f9 100644 > --- a/Documentation/devicetree/bindings/pinctrl/ingenic,pinctrl.yaml > +++ b/Documentation/devicetree/bindings/pinctrl/ingenic,pinctrl.yaml > @@ -59,6 +59,9 @@ properties: > patternProperties: > "^gpio@[0-9]$": > type: object > + allOf: > + - $ref: /schemas/gpio/gpio-common.yaml# > + > properties: > compatible: > enum: > diff --git = > a/Documentation/devicetree/bindings/pinctrl/mediatek,mt6779-pinctrl.yaml = > b/Documentation/devicetree/bindings/pinctrl/mediatek,mt6779-pinctrl.yaml > index 152c151c27ad..7d0a4cb96f39 100644 > --- = > a/Documentation/devicetree/bindings/pinctrl/mediatek,mt6779-pinctrl.yaml > +++ = > b/Documentation/devicetree/bindings/pinctrl/mediatek,mt6779-pinctrl.yaml > @@ -14,6 +14,9 @@ description: |+ > required property: > - compatible: "syscon" > = > +allOf: > + - $ref: /schemas/gpio/gpio-common.yaml# > + > properties: > compatible: > const: mediatek,mt6779-pinctrl > diff --git = > a/Documentation/devicetree/bindings/pinctrl/pinctrl-mt8192.yaml = > b/Documentation/devicetree/bindings/pinctrl/pinctrl-mt8192.yaml > index 5556def6b99b..bc8bc0ac1926 100644 > --- a/Documentation/devicetree/bindings/pinctrl/pinctrl-mt8192.yaml > +++ b/Documentation/devicetree/bindings/pinctrl/pinctrl-mt8192.yaml > @@ -12,6 +12,9 @@ maintainers: > description: | > The Mediatek's Pin controller is used to control SoC pins. > = > +allOf: > + - $ref: /schemas/gpio/gpio-common.yaml# > + > properties: > compatible: > const: mediatek,mt8192-pinctrl > diff --git = > a/Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml = > b/Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml > index c64c93206817..22a6b80b4c0e 100644 > --- = > a/Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml > +++ = > b/Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml > @@ -13,6 +13,9 @@ description: | > This binding describes the Top Level Mode Multiplexer block found = > in the > IPQ6018 platform. > = > +allOf: > + - $ref: /schemas/gpio/gpio-common.yaml# > + > properties: > compatible: > const: qcom,ipq6018-pinctrl > diff --git = > a/Documentation/devicetree/bindings/pinctrl/qcom,msm8226-pinctrl.yaml = > b/Documentation/devicetree/bindings/pinctrl/qcom,msm8226-pinctrl.yaml > index 1f0f5757f9e1..9855d859fe61 100644 > --- = > a/Documentation/devicetree/bindings/pinctrl/qcom,msm8226-pinctrl.yaml > +++ = > b/Documentation/devicetree/bindings/pinctrl/qcom,msm8226-pinctrl.yaml > @@ -13,6 +13,9 @@ description: | > This binding describes the Top Level Mode Multiplexer block found = > in the > MSM8226 platform. > = > +allOf: > + - $ref: /schemas/gpio/gpio-common.yaml# > + > properties: > compatible: > const: qcom,msm8226-pinctrl > diff --git = > a/Documentation/devicetree/bindings/pinctrl/qcom,sm8250-pinctrl.yaml = > b/Documentation/devicetree/bindings/pinctrl/qcom,sm8250-pinctrl.yaml > index 8508c57522fd..e5757b6ced40 100644 > --- = > a/Documentation/devicetree/bindings/pinctrl/qcom,sm8250-pinctrl.yaml > +++ = > b/Documentation/devicetree/bindings/pinctrl/qcom,sm8250-pinctrl.yaml > @@ -13,6 +13,9 @@ description: | > This binding describes the Top Level Mode Multiplexer block found = > in the > SM8250 platform. > = > +allOf: > + - $ref: /schemas/gpio/gpio-common.yaml# > + > properties: > compatible: > const: qcom,sm8250-pinctrl > diff --git = > a/Documentation/devicetree/bindings/pinctrl/renesas,rza2-pinctrl.yaml = > b/Documentation/devicetree/bindings/pinctrl/renesas,rza2-pinctrl.yaml > index b7911a994f3a..4d7bf4340262 100644 > --- = > a/Documentation/devicetree/bindings/pinctrl/renesas,rza2-pinctrl.yaml > +++ = > b/Documentation/devicetree/bindings/pinctrl/renesas,rza2-pinctrl.yaml > @@ -10,6 +10,9 @@ maintainers: > - Chris Brandt > - Geert Uytterhoeven > = > +allOf: > + - $ref: /schemas/gpio/gpio-common.yaml# > + > description: > The Renesas SoCs of the RZ/A2 series feature a combined Pin and = > GPIO > controller. > diff --git = > a/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml = > b/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml > index 72877544ca78..28b861362ba0 100644 > --- a/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml > +++ b/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml > @@ -56,6 +56,9 @@ properties: > patternProperties: > '^gpio@[0-9a-f]*$': > type: object > + allOf: > + - $ref: /schemas/gpio/gpio-common.yaml# > + > properties: > gpio-controller: true > '#gpio-cells': > -- > 2.17.1 > = _______________________________________________ Linux-mediatek mailing list Linux-mediatek@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-mediatek