Re: [PATCH v3 13/19] dt-bindings: nvmem: imx-ocotp: Update i.MX 8M compatibles
From: Rob Herring
Date: Fri Aug 28 2020 - 18:26:49 EST
On Tue, 25 Aug 2020 21:35:30 +0200, Krzysztof Kozlowski wrote:
> DTSes with new i.MX 8M SoCs use two compatibles so update the binding to
> fix dtbs_check warnings like:
>
> arch/arm64/boot/dts/freescale/imx8mn-evk.dt.yaml: efuse@30350000: compatible:1: 'syscon' was expected
> From schema: Documentation/devicetree/bindings/nvmem/imx-ocotp.yaml
>
> arch/arm64/boot/dts/freescale/imx8mn-evk.dt.yaml: efuse@30350000:
> compatible: ['fsl,imx8mn-ocotp', 'fsl,imx8mm-ocotp', 'syscon'] is too long
>
> arch/arm64/boot/dts/freescale/imx8mn-evk.dt.yaml: efuse@30350000:
> compatible: Additional items are not allowed ('syscon' was unexpected)
>
> Signed-off-by: Krzysztof Kozlowski <krzk@xxxxxxxxxx>
>
> ---
>
> Changes since v2:
> 1. Remove moved compatibles.
> ---
> .../devicetree/bindings/nvmem/imx-ocotp.yaml | 38 +++++++++++--------
> 1 file changed, 23 insertions(+), 15 deletions(-)
>
Reviewed-by: Rob Herring <robh@xxxxxxxxxx>