Commit ccd68737 authored by Neil Armstrong's avatar Neil Armstrong Committed by Linus Walleij

dt-bindings: pinctrl: amlogic,meson-pinctrl: allow gpio-line-names

Allow gpio-line-names property for the gpio subnodes.

Fixes: 94df03a4 ("dt-bindings: pinctrl: Convert Amlogic Meson pinctrl binding")
Signed-off-by: default avatarNeil Armstrong <neil.armstrong@linaro.org>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20230707-topic-amlogic-upstream-pinctrl-fix-bindings-v2-1-2160060446d7@linaro.orgSigned-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 49104893
......@@ -36,6 +36,10 @@ patternProperties:
- const: mux
- const: gpio
gpio-line-names:
minItems: 62 # A1
maxItems: 82 # S4
unevaluatedProperties:
type: object
$ref: amlogic,meson-pinctrl-common.yaml#/$defs/meson-pins
......
......@@ -36,6 +36,9 @@ patternProperties:
- const: ds
- const: gpio
gpio-line-names:
maxItems: 15
unevaluatedProperties:
type: object
$ref: amlogic,meson-pinctrl-common.yaml#/$defs/meson-pins
......
......@@ -38,6 +38,9 @@ patternProperties:
- const: mux
- const: ds
gpio-line-names:
maxItems: 85
unevaluatedProperties:
type: object
$ref: amlogic,meson-pinctrl-common.yaml#/$defs/meson-pins
......
......@@ -44,6 +44,10 @@ patternProperties:
- const: pull
- const: gpio
gpio-line-names:
minItems: 11 # GXL
maxItems: 16 # Meson8
unevaluatedProperties:
type: object
$ref: amlogic,meson-pinctrl-common.yaml#/$defs/meson-pins
......
......@@ -45,6 +45,10 @@ patternProperties:
- const: pull-enable
- const: gpio
gpio-line-names:
minItems: 86 # AXG
maxItems: 120 # Meson8
unevaluatedProperties:
type: object
$ref: amlogic,meson-pinctrl-common.yaml#/$defs/meson-pins
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment