summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzk@kernel.org>2020-09-20 21:58:45 +0200
committerLinus Walleij <linus.walleij@linaro.org>2020-09-29 13:51:42 +0200
commit20199b5c8358b32dab63c4f598e07f6edbf80034 (patch)
tree0d8bc0d6d52520a6546d65fb4b41b70edc646832 /Documentation
parent36eccdb58fb55d2bea6a0e62932e4d7e5192d409 (diff)
downloadlinux-stable-20199b5c8358b32dab63c4f598e07f6edbf80034.tar.gz
linux-stable-20199b5c8358b32dab63c4f598e07f6edbf80034.tar.bz2
linux-stable-20199b5c8358b32dab63c4f598e07f6edbf80034.zip
dt-bindings: gpio: pl061: add gpio-line-names
Describe common "gpio-line-names" property to fix dtbs_check warnings like: arch/arm64/boot/dts/hisilicon/hi3670-hikey970.dt.yaml: gpio@e8a0b000: 'gpio-line-names' does not match any of the regexes: 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Reviewed-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20200920195848.27075-1-krzk@kernel.org Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/gpio/pl061-gpio.yaml3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/gpio/pl061-gpio.yaml b/Documentation/devicetree/bindings/gpio/pl061-gpio.yaml
index 313b17229247..bd35cbf7fa09 100644
--- a/Documentation/devicetree/bindings/gpio/pl061-gpio.yaml
+++ b/Documentation/devicetree/bindings/gpio/pl061-gpio.yaml
@@ -51,7 +51,10 @@ properties:
gpio-controller: true
+ gpio-line-names: true
+
gpio-ranges:
+ minItems: 1
maxItems: 8
required: