[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220913074639.31932-1-alexandre.torgue@foss.st.com>
Date: Tue, 13 Sep 2022 09:46:39 +0200
From: Alexandre Torgue <alexandre.torgue@...s.st.com>
To: Linus Walleij <linus.walleij@...aro.org>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>
CC: <linux-arm-kernel@...ts.infradead.org>,
<devicetree@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<linux-gpio@...r.kernel.org>,
<linux-stm32@...md-mailman.stormreply.com>,
Alexandre Torgue <alexandre.torgue@...s.st.com>,
Fabien Dessenne <fabien.dessenne@...s.st.com>
Subject: [PATCH] dt-bindings: pinctrl: stm32: add missing entries for gpio subnodes
Add "interrupt-controller" and gpio-line-names to gpio subnodes in order to
fix dtb validation.
Signed-off-by: Alexandre Torgue <alexandre.torgue@...s.st.com>
diff --git a/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml
index d35dcc4f0242..92582cccbb1b 100644
--- a/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml
+++ b/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml
@@ -65,6 +65,10 @@ patternProperties:
'#gpio-cells':
const: 2
+ interrupt-controller: true
+ '#interrupt-cells':
+ const: 2
+
reg:
maxItems: 1
clocks:
@@ -80,6 +84,8 @@ patternProperties:
minimum: 1
maximum: 16
+ gpio-line-names: true
+
st,bank-name:
description:
Should be a name string for this bank as specified in the datasheet.
--
2.17.1
Powered by blists - more mailing lists