mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] arm: dts: mxs: Fix dt-schema warning for nand-controller (imx28)
@ 2024-08-27 15:14 Lukasz Majewski
  2024-08-27 15:14 ` [PATCH] arm: dts: mxs: Fix dt-schema warning for pinctrl compatible (imx28) Lukasz Majewski
  0 siblings, 1 reply; 2+ messages in thread
From: Lukasz Majewski @ 2024-08-27 15:14 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo, Sascha Hauer
  Cc: Pengutronix Kernel Team, Fabio Estevam, devicetree, imx,
	linux-arm-kernel, linux-kernel, Lukasz Majewski

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

Signed-off-by: Lukasz Majewski <lukma@denx.de>
---
 arch/arm/boot/dts/nxp/mxs/imx28.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/nxp/mxs/imx28.dtsi b/arch/arm/boot/dts/nxp/mxs/imx28.dtsi
index 4817fba2d938..9655403b7f90 100644
--- a/arch/arm/boot/dts/nxp/mxs/imx28.dtsi
+++ b/arch/arm/boot/dts/nxp/mxs/imx28.dtsi
@@ -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>;
-- 
2.39.2


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH] arm: dts: mxs: Fix dt-schema warning for pinctrl compatible (imx28)
  2024-08-27 15:14 [PATCH] arm: dts: mxs: Fix dt-schema warning for nand-controller (imx28) Lukasz Majewski
@ 2024-08-27 15:14 ` Lukasz Majewski
  0 siblings, 0 replies; 2+ messages in thread
From: Lukasz Majewski @ 2024-08-27 15:14 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo, Sascha Hauer
  Cc: Pengutronix Kernel Team, Fabio Estevam, devicetree, imx,
	linux-arm-kernel, linux-kernel, Lukasz Majewski

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

as the "simple-bus" is not required.

Signed-off-by: Lukasz Majewski <lukma@denx.de>
---
 arch/arm/boot/dts/nxp/mxs/imx28.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/nxp/mxs/imx28.dtsi b/arch/arm/boot/dts/nxp/mxs/imx28.dtsi
index 9655403b7f90..73ca903b8723 100644
--- a/arch/arm/boot/dts/nxp/mxs/imx28.dtsi
+++ b/arch/arm/boot/dts/nxp/mxs/imx28.dtsi
@@ -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 {
-- 
2.39.2


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-08-27 15:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-08-27 15:14 [PATCH] arm: dts: mxs: Fix dt-schema warning for nand-controller (imx28) Lukasz Majewski
2024-08-27 15:14 ` [PATCH] arm: dts: mxs: Fix dt-schema warning for pinctrl compatible (imx28) Lukasz Majewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®