diff mbox series

[3/9] dt-bindings: pinctrl: qcom,sm6350-tlmm: add gpio-line-names

Message ID 20221230135645.56401-3-krzysztof.kozlowski@linaro.org
State Superseded
Headers show
Series [1/9] dt-bindings: pinctrl: qcom,sc8280xp-lpass-lpi: correct pins pattern | expand

Commit Message

Krzysztof Kozlowski Dec. 30, 2022, 1:56 p.m. UTC
Allow gpio-line-names property (quite commonly used) and constrain
gpio-reserved-ranges.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 .../devicetree/bindings/pinctrl/qcom,sm6350-tlmm.yaml    | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

Comments

Rob Herring Jan. 8, 2023, 8:09 p.m. UTC | #1
On Fri, 30 Dec 2022 14:56:39 +0100, Krzysztof Kozlowski wrote:
> Allow gpio-line-names property (quite commonly used) and constrain
> gpio-reserved-ranges.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
>  .../devicetree/bindings/pinctrl/qcom,sm6350-tlmm.yaml    | 9 ++++++++-
>  1 file changed, 8 insertions(+), 1 deletion(-)
> 

Reviewed-by: Rob Herring <robh@kernel.org>
Krzysztof Kozlowski Jan. 13, 2023, 10:50 a.m. UTC | #2
On Fri, 30 Dec 2022 14:56:39 +0100, Krzysztof Kozlowski wrote:
> Allow gpio-line-names property (quite commonly used) and constrain
> gpio-reserved-ranges.
> 
> 

Applied, thanks!

[3/9] dt-bindings: pinctrl: qcom,sm6350-tlmm: add gpio-line-names
      https://git.kernel.org/krzk/linux-dt/c/d3431ec2f7cc0bb77f367d27d68fc79650ece864

Best regards,
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sm6350-tlmm.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sm6350-tlmm.yaml
index 41e3e0afc9a8..b099649e58f7 100644
--- a/Documentation/devicetree/bindings/pinctrl/qcom,sm6350-tlmm.yaml
+++ b/Documentation/devicetree/bindings/pinctrl/qcom,sm6350-tlmm.yaml
@@ -26,7 +26,14 @@  properties:
   interrupt-controller: true
   "#interrupt-cells": true
   gpio-controller: true
-  gpio-reserved-ranges: true
+
+  gpio-reserved-ranges:
+    minItems: 1
+    maxItems: 78
+
+  gpio-line-names:
+    maxItems: 156
+
   "#gpio-cells": true
   gpio-ranges: true
   wakeup-parent: true