2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-21 03:33:59 +08:00

dt-bindings: thermal: imx8mm-thermal: Add i.MX 8M Nano compatible

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/imx8mn-evk.dt.yaml: tmu@30260000:
    compatible:0: 'fsl,imx8mn-tmu' is not one of ['fsl,imx8mm-tmu', 'fsl,imx8mp-tmu']
    From schema: Documentation/devicetree/bindings/thermal/imx8mm-thermal.yaml

  arch/arm64/boot/dts/freescale/imx8mn-evk.dt.yaml: tmu@30260000:
    compatible: ['fsl,imx8mn-tmu', 'fsl,imx8mm-tmu'] is too long

  arch/arm64/boot/dts/freescale/imx8mn-evk.dt.yaml: tmu@30260000:
    compatible: Additional items are not allowed ('fsl,imx8mm-tmu' was unexpected)

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Rob Herring <robh@kernel.org>
This commit is contained in:
Krzysztof Kozlowski 2020-09-04 17:23:57 +02:00 committed by Rob Herring
parent e446eba153
commit c0310e49d3

View File

@ -18,9 +18,13 @@ description: |
properties:
compatible:
enum:
- fsl,imx8mm-tmu
- fsl,imx8mp-tmu
oneOf:
- enum:
- fsl,imx8mm-tmu
- fsl,imx8mp-tmu
- items:
- const: fsl,imx8mn-tmu
- const: fsl,imx8mm-tmu
reg:
maxItems: 1