Commit bf276877 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski

dt-bindings: gpio: fsl-imx-gpio: Add i.MX 8 compatibles

DTSes with new i.MX 8 SoCs introduce their own compatibles so add them
to fix dtbs_check warnings like:

  arch/arm64/boot/dts/freescale/imx8mm-evk.dt.yaml: gpio@30200000:
    compatible:0: 'fsl,imx8mm-gpio' is not one of ['fsl,imx1-gpio', 'fsl,imx21-gpio', 'fsl,imx31-gpio', 'fsl,imx35-gpio', 'fsl,imx7d-gpio']
    From schema: Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml

  arch/arm64/boot/dts/freescale/imx8mm-evk.dt.yaml: gpio@30200000:
    compatible: ['fsl,imx8mm-gpio', 'fsl,imx35-gpio'] is too long

  arch/arm64/boot/dts/freescale/imx8mm-evk.dt.yaml: gpio@30200000:
    compatible: Additional items are not allowed ('fsl,imx35-gpio' was unexpected)
Signed-off-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20200825193536.7332-2-krzk@kernel.org
parent 9123e3a7
...@@ -11,12 +11,21 @@ maintainers: ...@@ -11,12 +11,21 @@ maintainers:
properties: properties:
compatible: compatible:
enum: oneOf:
- fsl,imx1-gpio - enum:
- fsl,imx21-gpio - fsl,imx1-gpio
- fsl,imx31-gpio - fsl,imx21-gpio
- fsl,imx35-gpio - fsl,imx31-gpio
- fsl,imx7d-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: reg:
maxItems: 1 maxItems: 1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment