Skip to contentSkip to conversation

arm: dts: mxs: Fix dt-schema warning for nand-controller (imx28)

PATCH New Lukasz Majewski 1 participant 2 messages Aug 27, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: dts: mxs: Fix dt-schema warning for nand-controller (imx28)

This change fixes following error:
nand-controller@8000c000: #size-cells:0:0: 0 was expected

When dt-schema is checked:
CROSS_COMPILE="arm-none-linux-gnueabihf-" ARCH=arm make -j4 dtbs_check W=1

---
 arch/arm/boot/dts/nxp/mxs/imx28.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/nxp/mxs/imx28.dtsi +1 -1
index 4817fba2d938..9655403b7f90 100644
@@ -99,7 +99,7 @@ perfmon: perfmon@80006000 {
 			gpmi: nand-controller@8000c000 {
 				compatible = "fsl,imx28-gpmi-nand";
 				#address-cells = <1>;
-				#size-cells = <1>;
+				#size-cells = <0>;
 				reg = <0x8000c000 0x2000>, <0x8000a000 0x2000>;
 				reg-names = "gpmi-nand", "bch";
 				interrupts = <41>;
Signature · 1 line
2.39.2
#1 lore raw

PATCH 1/1 arm: dts: mxs: Fix dt-schema warning for pinctrl compatible (imx28)

This change fixes following error:
pinctrl@80018000: compatible: ['fsl,imx28-pinctrl', 'simple-bus'] is too long

as the "simple-bus" is not required.

---
 arch/arm/boot/dts/nxp/mxs/imx28.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/nxp/mxs/imx28.dtsi +1 -1
index 9655403b7f90..73ca903b8723 100644
@@ -160,7 +160,7 @@ ssp3: spi@80016000 {
 			pinctrl: pinctrl@80018000 {
 				#address-cells = <1>;
 				#size-cells = <0>;
-				compatible = "fsl,imx28-pinctrl", "simple-bus";
+				compatible = "fsl,imx28-pinctrl";
 				reg = <0x80018000 0x2000>;
 
 				gpio0: gpio@0 {
Signature · 1 line
2.39.2