diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2020-09-12 12:36:59 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2020-09-12 12:36:59 +0300 |
commit | 0a2d411b56b7c661e753bbea568f6b04c4a961c5 (patch) | |
tree | 16b1f4fb0dde24bc3f93c31883ba58816fff1135 /Documentation/devicetree/bindings/gpio | |
parent | feeaefd378cae2f6840f879d6123ef265f8aee79 (diff) | |
parent | 8c0aa567146b1df5e74f732cd4c2aee376d8c082 (diff) | |
download | linux-0a2d411b56b7c661e753bbea568f6b04c4a961c5.tar.xz |
Merge tag 'imx-gpio-5.10' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux into devel
NXP i.MX GPIO bindings for v5.10
Few NXP i.MX GPIO controller bindings cleanup.
Diffstat (limited to 'Documentation/devicetree/bindings/gpio')
-rw-r--r-- | Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml | 43 |
1 files changed, 37 insertions, 6 deletions
diff --git a/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml b/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml index 0b223abe8cfb..de0b9b5f6a70 100644 --- a/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml +++ b/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml @@ -11,12 +11,21 @@ maintainers: properties: compatible: - enum: - - fsl,imx1-gpio - - fsl,imx21-gpio - - fsl,imx31-gpio - - fsl,imx35-gpio - - fsl,imx7d-gpio + oneOf: + - enum: + - fsl,imx1-gpio + - fsl,imx21-gpio + - fsl,imx31-gpio + - fsl,imx35-gpio + - fsl,imx7d-gpio + - items: + - enum: + - fsl,imx8mm-gpio + - fsl,imx8mn-gpio + - fsl,imx8mp-gpio + - fsl,imx8mq-gpio + - fsl,imx8qxp-gpio + - const: fsl,imx35-gpio reg: maxItems: 1 @@ -42,6 +51,28 @@ properties: gpio-controller: true + gpio-ranges: true + + power-domains: + maxItems: 1 + +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 |