dt-bindings: gpio: fsl-imx-gpio: Add gpio-ranges property
authorKrzysztof Kozlowski <krzk@kernel.org>
Tue, 25 Aug 2020 19:35:19 +0000 (21:35 +0200)
committerKrzysztof Kozlowski <krzk@kernel.org>
Fri, 4 Sep 2020 15:04:32 +0000 (17:04 +0200)
The GPIO controller node can have gpio-ranges property.  This fixes
dtbs_check warnings like:

  arch/arm64/boot/dts/freescale/imx8mm-evk.dt.yaml: gpio@30200000: 'gpio-ranges' does not match any of the regexes: 'pinctrl-[0-9]+'
    From schema: Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20200825193536.7332-3-krzk@kernel.org
Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml

index 454db20c2d1a77678c05d6a47b5f11b2c702221b..dffd9171ea66c97476b287c56bd0581df756a8dd 100644 (file)
@@ -51,6 +51,8 @@ properties:
 
   gpio-controller: true
 
+  gpio-ranges: true
+
 required:
   - compatible
   - reg