Re: [PATCH v3 17/19] dt-bindings: serial: fsl-lpuart: Fix compatible matching

From: Rob Herring
Date: Fri Aug 28 2020 - 18:26:55 EST


On Tue, 25 Aug 2020 21:35:34 +0200, Krzysztof Kozlowski wrote:
> The i.MX 8QXP DTSes use two compatibles so update the binding to fix
> dtbs_check warnings like:
>
> arch/arm64/boot/dts/freescale/imx8qxp-mek.dt.yaml: serial@5a060000:
> compatible: ['fsl,imx8qxp-lpuart', 'fsl,imx7ulp-lpuart'] is too long
> From schema: Documentation/devicetree/bindings/serial/fsl-lpuart.yaml
>
> arch/arm64/boot/dts/freescale/imx8qxp-mek.dt.yaml: serial@5a060000:
> compatible: Additional items are not allowed ('fsl,imx7ulp-lpuart' was unexpected)
>
> Signed-off-by: Krzysztof Kozlowski <krzk@xxxxxxxxxx>
>
> ---
>
> Changes since v2:
> 1. Remove moved compatibles.
>
> Changes since v1:
> 1. New patch.
> ---
> .../devicetree/bindings/serial/fsl-lpuart.yaml | 17 ++++++++++-------
> 1 file changed, 10 insertions(+), 7 deletions(-)
>

Reviewed-by: Rob Herring <robh@xxxxxxxxxx>