From: Krzysztof Kozlowski Date: Wed, 12 Jul 2023 07:45:53 +0000 (+0200) Subject: dt-bindings: gpio: snps,dw-apb: allow gpio-line-names X-Git-Tag: v6.6.17~4100^2~74 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=320630c45e6668c7b9b59489068cd1f85637a6ff;p=platform%2Fkernel%2Flinux-rpi.git dt-bindings: gpio: snps,dw-apb: allow gpio-line-names Allow the GPIO controller subnode to define GPIO names. Already used in at least on DTS: bitmain/bm1880-sophon-edge.dtb: gpio@50027000: gpio-controller@0: 'gpio-line-names' does not match any of the regexes: 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski Acked-by: Serge Semin Acked-by: Rob Herring Signed-off-by: Bartosz Golaszewski --- diff --git a/Documentation/devicetree/bindings/gpio/snps,dw-apb-gpio.yaml b/Documentation/devicetree/bindings/gpio/snps,dw-apb-gpio.yaml index b391cc1..209f03b 100644 --- a/Documentation/devicetree/bindings/gpio/snps,dw-apb-gpio.yaml +++ b/Documentation/devicetree/bindings/gpio/snps,dw-apb-gpio.yaml @@ -61,6 +61,10 @@ patternProperties: '#gpio-cells': const: 2 + gpio-line-names: + minItems: 1 + maxItems: 32 + ngpios: default: 32 minimum: 1