diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2020-08-25 21:35:20 +0200 |
---|---|---|
committer | Krzysztof Kozlowski <krzk@kernel.org> | 2020-09-04 17:04:36 +0200 |
commit | dfb49cc231a483b80ceba73579df5208080ba7d0 (patch) | |
tree | 47aa4f5a1b5e570a8e78a609730262419dbef3e3 /Documentation/devicetree/bindings/gpio | |
parent | 0c77a86a6ede431ce892062b6276bcb2ef3df5f3 (diff) | |
download | linux-stable-dfb49cc231a483b80ceba73579df5208080ba7d0.tar.gz linux-stable-dfb49cc231a483b80ceba73579df5208080ba7d0.tar.bz2 linux-stable-dfb49cc231a483b80ceba73579df5208080ba7d0.zip |
dt-bindings: gpio: fsl-imx-gpio: Add parsing of hogs
Allow parsing GPIO controller children nodes with GPIO hogs to fix
warning:
arch/arm64/boot/dts/freescale/imx8mq-evk.dt.yaml: gpio@30240000: 'wl-reg-on' 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-4-krzk@kernel.org
Diffstat (limited to 'Documentation/devicetree/bindings/gpio')
-rw-r--r-- | Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml b/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml index dffd9171ea66..620a52f944e8 100644 --- a/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml +++ b/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml @@ -53,6 +53,23 @@ properties: gpio-ranges: true +patternProperties: + "^(hog-[0-9]+|.+-hog(-[0-9]+)?)$": + type: object + properties: + gpio-hog: true + gpios: true + input: true + output-high: true + output-low: true + line-name: true + + required: + - gpio-hog + - gpios + + additionalProperties: false + required: - compatible - reg |