dt-bindings: gpio: pl061: add gpio-line-names
authorKrzysztof Kozlowski <krzk@kernel.org>
Sun, 20 Sep 2020 19:58:45 +0000 (21:58 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 29 Sep 2020 11:51:42 +0000 (13:51 +0200)
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>
Documentation/devicetree/bindings/gpio/pl061-gpio.yaml

index 313b172..bd35cbf 100644 (file)
@@ -51,7 +51,10 @@ properties:
 
   gpio-controller: true
 
+  gpio-line-names: true
+
   gpio-ranges:
+    minItems: 1
     maxItems: 8
 
 required: