]> git.baikalelectronics.ru Git - kernel.git/commit
dt-bindings: serial: fsl-lpuart: Fix compatible matching
authorKrzysztof Kozlowski <krzk@kernel.org>
Fri, 4 Sep 2020 15:23:54 +0000 (17:23 +0200)
committerRob Herring <robh@kernel.org>
Mon, 14 Sep 2020 22:48:19 +0000 (16:48 -0600)
commit7c58d97952d010feaba0f398996a2bebd216702e
tree3d2788df2e0f5124dd25817344aadfca2be11601
parent5658d4f8a625ec88b442318ed6641c1746c02ae4
dt-bindings: serial: fsl-lpuart: Fix compatible matching

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@kernel.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/serial/fsl-lpuart.yaml