diff mbox series

ARM: dts: imx53: Adjust the ecspi compatible

Message ID 20230924184320.752899-1-festevam@gmail.com (mailing list archive)
State New, archived
Headers show
Series ARM: dts: imx53: Adjust the ecspi compatible | expand

Commit Message

Fabio Estevam Sept. 24, 2023, 6:43 p.m. UTC
From: Fabio Estevam <festevam@denx.de>

Per fsl-imx-cspi.yaml, "fsl,imx53-ecspi" should not contain addtional
compatible entries.

Change it accordingly to fix the following schema warning:

spi@63fac000: compatible: 'oneOf' conditional failed, one must be fixed:
	['fsl,imx53-ecspi', 'fsl,imx51-ecspi'] is too long

Signed-off-by: Fabio Estevam <festevam@denx.de>
---
 arch/arm/boot/dts/nxp/imx/imx53.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Shawn Guo Sept. 25, 2023, 4:04 a.m. UTC | #1
On Sun, Sep 24, 2023 at 03:43:20PM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <festevam@denx.de>
> 
> Per fsl-imx-cspi.yaml, "fsl,imx53-ecspi" should not contain addtional
> compatible entries.
> 
> Change it accordingly to fix the following schema warning:
> 
> spi@63fac000: compatible: 'oneOf' conditional failed, one must be fixed:
> 	['fsl,imx53-ecspi', 'fsl,imx51-ecspi'] is too long
> 
> Signed-off-by: Fabio Estevam <festevam@denx.de>

Applied, thanks!
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/nxp/imx/imx53.dtsi b/arch/arm/boot/dts/nxp/imx/imx53.dtsi
index 0ebc35e6e985..07658e477095 100644
--- a/arch/arm/boot/dts/nxp/imx/imx53.dtsi
+++ b/arch/arm/boot/dts/nxp/imx/imx53.dtsi
@@ -275,7 +275,7 @@  uart3: serial@5000c000 {
 				ecspi1: spi@50010000 {
 					#address-cells = <1>;
 					#size-cells = <0>;
-					compatible = "fsl,imx53-ecspi", "fsl,imx51-ecspi";
+					compatible = "fsl,imx53-ecspi";
 					reg = <0x50010000 0x4000>;
 					interrupts = <36>;
 					clocks = <&clks IMX5_CLK_ECSPI1_IPG_GATE>,
@@ -701,7 +701,7 @@  owire: owire@63fa4000 {
 			ecspi2: spi@63fac000 {
 				#address-cells = <1>;
 				#size-cells = <0>;
-				compatible = "fsl,imx53-ecspi", "fsl,imx51-ecspi";
+				compatible = "fsl,imx53-ecspi";
 				reg = <0x63fac000 0x4000>;
 				interrupts = <37>;
 				clocks = <&clks IMX5_CLK_ECSPI2_IPG_GATE>,