diff mbox series

arm64: dts: imx8dxl-ss-adma: Fix i2c compatible entries

Message ID 20230909164403.1084032-1-festevam@gmail.com (mailing list archive)
State New, archived
Headers show
Series arm64: dts: imx8dxl-ss-adma: Fix i2c compatible entries | expand

Commit Message

Fabio Estevam Sept. 9, 2023, 4:44 p.m. UTC
From: Fabio Estevam <festevam@denx.de>

Per i2c-imx-lpi2c.yaml, the imx8dxl lpi2c compatible should be:

compatible = "fsl,imx8dxl-lpi2c", "fsl,imx7ulp-lpi2c";

Change it accordingly to fix the following schema warning:

imx8dxl-evk.dtb: i2c@5a800000: compatible: 'oneOf' conditional failed, one must be fixed:
	['fsl,imx8dxl-lpi2c', 'fsl,imx8qxp-lpi2c', 'fsl,imx7ulp-lpi2c'] is too long
	'fsl,imx8dxl-lpi2c' is not one of ['fsl,imx7ulp-lpi2c']
	'fsl,imx7ulp-lpi2c' was expected
	from schema $id: http://devicetree.org/schemas/i2c/i2c-imx-lpi2c.yaml#

Signed-off-by: Fabio Estevam <festevam@denx.de>
---
 arch/arm64/boot/dts/freescale/imx8dxl-ss-adma.dtsi | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Comments

Krzysztof Kozlowski Sept. 10, 2023, 9:42 a.m. UTC | #1
On 09/09/2023 18:44, Fabio Estevam wrote:
> From: Fabio Estevam <festevam@denx.de>
> 
> Per i2c-imx-lpi2c.yaml, the imx8dxl lpi2c compatible should be:
> 
> compatible = "fsl,imx8dxl-lpi2c", "fsl,imx7ulp-lpi2c";
> 
> Change it accordingly to fix the following schema warning:


Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof
Shawn Guo Sept. 25, 2023, 2:04 a.m. UTC | #2
On Sat, Sep 09, 2023 at 01:44:03PM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <festevam@denx.de>
> 
> Per i2c-imx-lpi2c.yaml, the imx8dxl lpi2c compatible should be:
> 
> compatible = "fsl,imx8dxl-lpi2c", "fsl,imx7ulp-lpi2c";
> 
> Change it accordingly to fix the following schema warning:
> 
> imx8dxl-evk.dtb: i2c@5a800000: compatible: 'oneOf' conditional failed, one must be fixed:
> 	['fsl,imx8dxl-lpi2c', 'fsl,imx8qxp-lpi2c', 'fsl,imx7ulp-lpi2c'] is too long
> 	'fsl,imx8dxl-lpi2c' is not one of ['fsl,imx7ulp-lpi2c']
> 	'fsl,imx7ulp-lpi2c' was expected
> 	from schema $id: http://devicetree.org/schemas/i2c/i2c-imx-lpi2c.yaml#
> 
> Signed-off-by: Fabio Estevam <festevam@denx.de>

Applied, thanks!
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/freescale/imx8dxl-ss-adma.dtsi b/arch/arm64/boot/dts/freescale/imx8dxl-ss-adma.dtsi
index e2eeddf38aa3..a9095964ac91 100644
--- a/arch/arm64/boot/dts/freescale/imx8dxl-ss-adma.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8dxl-ss-adma.dtsi
@@ -16,22 +16,22 @@  &adc0 {
 };
 
 &i2c0 {
-	compatible = "fsl,imx8dxl-lpi2c", "fsl,imx8qxp-lpi2c", "fsl,imx7ulp-lpi2c";
+	compatible = "fsl,imx8dxl-lpi2c", "fsl,imx7ulp-lpi2c";
 	interrupts = <GIC_SPI 222 IRQ_TYPE_LEVEL_HIGH>;
 };
 
 &i2c1 {
-	compatible = "fsl,imx8dxl-lpi2c", "fsl,imx8qxp-lpi2c", "fsl,imx7ulp-lpi2c";
+	compatible = "fsl,imx8dxl-lpi2c", "fsl,imx7ulp-lpi2c";
 	interrupts = <GIC_SPI 223 IRQ_TYPE_LEVEL_HIGH>;
 };
 
 &i2c2 {
-	compatible = "fsl,imx8qxp-lpi2c", "fsl,imx7ulp-lpi2c";
+	compatible = "fsl,imx8dxl-lpi2c", "fsl,imx7ulp-lpi2c";
 	interrupts = <GIC_SPI 224 IRQ_TYPE_LEVEL_HIGH>;
 };
 
 &i2c3 {
-	compatible = "fsl,imx8qxp-lpi2c", "fsl,imx7ulp-lpi2c";
+	compatible = "fsl,imx8dxl-lpi2c", "fsl,imx7ulp-lpi2c";
 	interrupts = <GIC_SPI 225 IRQ_TYPE_LEVEL_HIGH>;
 };