Re: [PATCH v2 06/19] dt-bindings: pwm: imx-pwm: Add i.MX 8M compatibles

From: Rob Herring
Date: Mon Aug 24 2020 - 22:34:34 EST


On Mon, 24 Aug 2020 18:26:39 +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: pwm@30660000:
> compatible:0: 'fsl,imx8mm-pwm' is not one of ['fsl,imx1-pwm', 'fsl,imx27-pwm']
> From schema: Documentation/devicetree/bindings/pwm/imx-pwm.yaml
>
> arch/arm64/boot/dts/freescale/imx8mm-evk.dt.yaml: pwm@30660000:
> compatible: ['fsl,imx8mm-pwm', 'fsl,imx27-pwm'] is too long
>
> arch/arm64/boot/dts/freescale/imx8mm-evk.dt.yaml: pwm@30660000:
> compatible: Additional items are not allowed ('fsl,imx27-pwm' was unexpected)
>
> Signed-off-by: Krzysztof Kozlowski <krzk@xxxxxxxxxx>
> ---
> Documentation/devicetree/bindings/pwm/imx-pwm.yaml | 14 +++++++++++---
> 1 file changed, 11 insertions(+), 3 deletions(-)
>

Reviewed-by: Rob Herring <robh@xxxxxxxxxx>