[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210715082536.1882077-2-aisheng.dong@nxp.com>
Date: Thu, 15 Jul 2021 16:25:30 +0800
From: Dong Aisheng <aisheng.dong@....com>
To: devicetree@...r.kernel.org
Cc: linux-arm-kernel@...ts.infradead.org, linux-imx@....com,
kernel@...gutronix.de, aisheng.dong@....com, dongas86@...il.com,
robh+dt@...nel.org, shawnguo@...nel.org,
Marc Kleine-Budde <mkl@...gutronix.de>,
Joakim Zhang <qiangqing.zhang@....com>,
linux-can@...r.kernel.org, netdev@...r.kernel.org
Subject: [PATCH 1/7] dt-bindings: can: flexcan: fix imx8mp compatbile
This patch fixes the following errors during make dtbs_check:
arch/arm64/boot/dts/freescale/imx8mp-evk.dt.yaml: can@...c0000: compatible: 'oneOf' conditional failed, one must be fixed:
['fsl,imx8mp-flexcan', 'fsl,imx6q-flexcan'] is too long
Additional items are not allowed ('fsl,imx6q-flexcan' was unexpected)
'fsl,imx8mp-flexcan' is not one of ['fsl,imx53-flexcan', 'fsl,imx35-flexcan']
'fsl,imx8mp-flexcan' is not one of ['fsl,imx7d-flexcan', 'fsl,imx6ul-flexcan', 'fsl,imx6sx-flexcan']
'fsl,imx8mp-flexcan' is not one of ['fsl,ls1028ar1-flexcan']
'fsl,imx25-flexcan' was expected
'fsl,lx2160ar1-flexcan' was expected
Cc: Marc Kleine-Budde <mkl@...gutronix.de>
Cc: Joakim Zhang <qiangqing.zhang@....com>
Cc: Rob Herring <robh+dt@...nel.org>
Cc: linux-can@...r.kernel.org
Cc: netdev@...r.kernel.org
Signed-off-by: Dong Aisheng <aisheng.dong@....com>
---
Documentation/devicetree/bindings/net/can/fsl,flexcan.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/net/can/fsl,flexcan.yaml b/Documentation/devicetree/bindings/net/can/fsl,flexcan.yaml
index 55bff1586b6f..ca9caac68777 100644
--- a/Documentation/devicetree/bindings/net/can/fsl,flexcan.yaml
+++ b/Documentation/devicetree/bindings/net/can/fsl,flexcan.yaml
@@ -18,7 +18,6 @@ properties:
oneOf:
- enum:
- fsl,imx8qm-flexcan
- - fsl,imx8mp-flexcan
- fsl,imx6q-flexcan
- fsl,imx28-flexcan
- fsl,imx25-flexcan
@@ -33,6 +32,7 @@ properties:
- const: fsl,imx25-flexcan
- items:
- enum:
+ - fsl,imx8mp-flexcan
- fsl,imx7d-flexcan
- fsl,imx6ul-flexcan
- fsl,imx6sx-flexcan
--
2.25.1
Powered by blists - more mailing lists