Commit e446eba1 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Rob Herring

dt-bindings: reset: fsl,imx7-src: Add i.MX 8M compatibles

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

  arch/arm64/boot/dts/freescale/imx8mm-evk.dt.yaml: reset-controller@30390000:
    compatible:0: 'fsl,imx8mm-src' is not one of ['fsl,imx7d-src', 'fsl,imx8mq-src', 'fsl,imx8mp-src']
    From schema: Documentation/devicetree/bindings/reset/fsl,imx7-src.yaml

  arch/arm64/boot/dts/freescale/imx8mm-evk.dt.yaml: reset-controller@30390000:
    compatible:1: 'syscon' was expected

  arch/arm64/boot/dts/freescale/imx8mm-evk.dt.yaml: reset-controller@30390000:
    compatible: ['fsl,imx8mm-src', 'fsl,imx8mq-src', 'syscon'] is too long
Signed-off-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent 10f77331
...@@ -22,12 +22,19 @@ description: | ...@@ -22,12 +22,19 @@ description: |
properties: properties:
compatible: compatible:
items: oneOf:
- enum: - items:
- fsl,imx7d-src - enum:
- fsl,imx8mq-src - fsl,imx7d-src
- fsl,imx8mp-src - fsl,imx8mq-src
- const: syscon - fsl,imx8mp-src
- const: syscon
- items:
- enum:
- fsl,imx8mm-src
- fsl,imx8mn-src
- const: fsl,imx8mq-src
- const: syscon
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