Re: [PATCH v2 09/19] dt-bindings: mtd: gpmi-nand: Add i.MX 8M compatibles

Rob Herring
2020-08-25T02:36:08Z

On Mon, 24 Aug 2020 18:26:42 +0200, Krzysztof Kozlowski wrote:
> 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: nand-controller@33002000:
> compatible:0: 'fsl,imx8mm-gpmi-nand' is not one of ['fsl,imx23-gpmi-nand', 'fsl,imx28-gpmi-nand', 'fsl,imx6q-gpmi-nand', 'fsl,imx6sx-gpmi-nand', 'fsl,imx7d-gpmi-nand']
> From schema: Documentation/devicetree/bindings/mtd/gpmi-nand.yaml
>
> arch/arm64/boot/dts/freescale/imx8mm-evk.dt.yaml: nand-controller@33002000:
> compatible: ['fsl,imx8mm-gpmi-nand', 'fsl,imx7d-gpmi-nand'] is too long
>
> arch/arm64/boot/dts/freescale/imx8mm-evk.dt.yaml: nand-controller@33002000:
> compatible: Additional items are not allowed ('fsl,imx7d-gpmi-nand' was unexpected)
>
> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
> ---
> .../devicetree/bindings/mtd/gpmi-nand.yaml | 18 ++++++++++++------
> 1 file changed, 12 insertions(+), 6 deletions(-)
>

Reviewed-by: Rob Herring <robh@kernel.org>