summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/gpio
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzk@kernel.org>2020-08-25 21:35:21 +0200
committerKrzysztof Kozlowski <krzk@kernel.org>2020-09-04 17:04:38 +0200
commit8c0aa567146b1df5e74f732cd4c2aee376d8c082 (patch)
tree58cfb93ad7ea6a52802857b3c27768a6bc260a44 /Documentation/devicetree/bindings/gpio
parentdfb49cc231a483b80ceba73579df5208080ba7d0 (diff)
downloadlinux-8c0aa567146b1df5e74f732cd4c2aee376d8c082.tar.bz2
dt-bindings: gpio: fsl-imx-gpio: Add power-domains
Parse also optional power-domains property to fix dtbs_check warnings like: arch/arm64/boot/dts/freescale/imx8qxp-ai_ml.dt.yaml: gpio@5d080000: 'power-domains' 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-5-krzk@kernel.org
Diffstat (limited to 'Documentation/devicetree/bindings/gpio')
-rw-r--r--Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml b/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml
index 620a52f944e8..de0b9b5f6a70 100644
--- a/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml
+++ b/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml
@@ -53,6 +53,9 @@ properties:
gpio-ranges: true
+ power-domains:
+ maxItems: 1
+
patternProperties:
"^(hog-[0-9]+|.+-hog(-[0-9]+)?)$":
type: object