diff mbox series

[1/3] ARM: dts: imx7: Fix NAND controller size-cells

Message ID 20221102191947.120844-1-marex@denx.de (mailing list archive)
State New, archived
Headers show
Series [1/3] ARM: dts: imx7: Fix NAND controller size-cells | expand

Commit Message

Marek Vasut Nov. 2, 2022, 7:19 p.m. UTC
The NAND controller size-cells should be 0 per DT bindings.
Fix the following warning produces by DT bindings check:
"
nand-controller@33002000: #size-cells:0:0: 0 was expected
nand-controller@33002000: Unevaluated properties are not allowed ('#address-cells', '#size-cells' were unexpected)
"
Fix the missing space in node name too.

Fixes: e7495a45a76de ("ARM: dts: imx7: add GPMI NAND and APBH DMA")
Signed-off-by: Marek Vasut <marex@denx.de>
---
Cc: Fabio Estevam <festevam@denx.de>
Cc: Peng Fan <peng.fan@nxp.com>
Cc: Shawn Guo <shawnguo@kernel.org>
Cc: Stefan Agner <stefan@agner.ch>
Cc: NXP Linux Team <linux-imx@nxp.com>
To: linux-arm-kernel@lists.infradead.org
---
 arch/arm/boot/dts/imx7s.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Shawn Guo Nov. 11, 2022, 6:14 a.m. UTC | #1
On Wed, Nov 02, 2022 at 08:19:45PM +0100, Marek Vasut wrote:
> The NAND controller size-cells should be 0 per DT bindings.
> Fix the following warning produces by DT bindings check:
> "
> nand-controller@33002000: #size-cells:0:0: 0 was expected
> nand-controller@33002000: Unevaluated properties are not allowed ('#address-cells', '#size-cells' were unexpected)
> "
> Fix the missing space in node name too.
> 
> Fixes: e7495a45a76de ("ARM: dts: imx7: add GPMI NAND and APBH DMA")
> Signed-off-by: Marek Vasut <marex@denx.de>

Applied all, thanks!
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/imx7s.dtsi b/arch/arm/boot/dts/imx7s.dtsi
index 0fc9e6b8b05dc..03d2e8544a4eb 100644
--- a/arch/arm/boot/dts/imx7s.dtsi
+++ b/arch/arm/boot/dts/imx7s.dtsi
@@ -1270,10 +1270,10 @@  dma_apbh: dma-apbh@33000000 {
 			clocks = <&clks IMX7D_NAND_USDHC_BUS_RAWNAND_CLK>;
 		};
 
-		gpmi: nand-controller@33002000{
+		gpmi: nand-controller@33002000 {
 			compatible = "fsl,imx7d-gpmi-nand";
 			#address-cells = <1>;
-			#size-cells = <1>;
+			#size-cells = <0>;
 			reg = <0x33002000 0x2000>, <0x33004000 0x4000>;
 			reg-names = "gpmi-nand", "bch";
 			interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;