dt-bindings: pinctrl: qcom,sm6350-tlmm: add gpio-line-names
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Fri, 30 Dec 2022 13:56:39 +0000 (14:56 +0100)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Fri, 13 Jan 2023 10:47:38 +0000 (11:47 +0100)
Allow gpio-line-names property (quite commonly used) and constrain
gpio-reserved-ranges.

Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20221230135645.56401-3-krzysztof.kozlowski@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Documentation/devicetree/bindings/pinctrl/qcom,sm6350-tlmm.yaml

index 41e3e0a..b099649 100644 (file)
@@ -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