From patchwork Wed Nov 2 19:19:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 13028916 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B90FAC4332F for ; Wed, 2 Nov 2022 19:21:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=pdTiMUjPI5ujilc5QRM5SciQ/FmxFLM/Bcx8gG98pLc=; b=lzEAUkivALoFc+ 25tUgDFDsO5jscNNHYRjI7i9fd2f/czrfe3xnKNyz5xK16oKlAWyZP6s44WtqFdUlhAstloTLnnVK vrvUQrMowBs/MmRdI++fSMgBSaTa6IQpVNL2G4T+FQJjqvDndEpbBL5+RNsEWkF2mIISNG0VpQpGi nwt6ELGoBH84pf0qjogLcH79YBoHaD9XHaU2DSxHoW3dXpppLIMiP2sdaXPzk3xcWG1YLPKyZlpLj COhUAUMbTttfB7XJFtKRml8fvU3eTfO9CWId4zc31KxvhrNKv+CxakP0iGtpwD3vNtTIh0mKZSHFQ R94m3NkdePZ9HYhkPErQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oqJHV-00Dfcz-4v; Wed, 02 Nov 2022 19:20:09 +0000 Received: from phobos.denx.de ([85.214.62.61]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oqJHH-00DfHz-2I for linux-arm-kernel@lists.infradead.org; Wed, 02 Nov 2022 19:19:56 +0000 Received: from tr.lan (ip-86-49-120-218.bb.vodafone.cz [86.49.120.218]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: marex@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 9295185072; Wed, 2 Nov 2022 20:19:53 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1667416793; bh=tFLWHTiwHr8KRq6L6piaG+DvKgjuKy5CR4LVzaVMdE0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=CHBXHO7ubofSfCqtJD6LbI1bJgKAICePUTTVngtiO5lF1lwGiMqdNk5jiooeIfEr2 hSmnMab9YmsTZFwdYwtSXuo3WysbGLHCHV1IjBebNDD6/N4Td4YpKKfiYKgAmHWhre 9IQQGsliWHXCgik2B/CDWMpQE4B9djna1U3JBZsfEBWMGmQDj3+iOZEs25EAvJKpAA GJo9pFhGmtxznr8kc+pc36iT4N2Bvs/oGY2lNAhTyt6BPM2llSdRfoJ39zwoGK868o bPu6M5pYMS3MhbcsqL2QfF7D9LyX4DyxT3kaWP1ybDDSaGIEF7hOw/VSQoi/Pj7f6l AktWHem9EKnwg== From: Marek Vasut To: linux-arm-kernel@lists.infradead.org Cc: Marek Vasut , Fabio Estevam , Jacky Bai , Peng Fan , Shawn Guo , NXP Linux Team Subject: [PATCH 2/3] arm64: dts: imx8mm: Fix NAND controller size-cells Date: Wed, 2 Nov 2022 20:19:46 +0100 Message-Id: <20221102191947.120844-2-marex@denx.de> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20221102191947.120844-1-marex@denx.de> References: <20221102191947.120844-1-marex@denx.de> MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221102_121955_331988_1A292717 X-CRM114-Status: GOOD ( 12.92 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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: a05ea40eb384e ("arm64: dts: imx: Add i.mx8mm dtsi support") Signed-off-by: Marek Vasut --- Cc: Fabio Estevam Cc: Jacky Bai Cc: Peng Fan Cc: Shawn Guo Cc: NXP Linux Team To: linux-arm-kernel@lists.infradead.org --- arch/arm64/boot/dts/freescale/imx8mm.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mm.dtsi b/arch/arm64/boot/dts/freescale/imx8mm.dtsi index e18c3ac83b287..6995bed5044cc 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm.dtsi @@ -1315,10 +1315,10 @@ dma_apbh: dma-controller@33000000 { clocks = <&clk IMX8MM_CLK_NAND_USDHC_BUS_RAWNAND_CLK>; }; - gpmi: nand-controller@33002000{ + gpmi: nand-controller@33002000 { compatible = "fsl,imx8mm-gpmi-nand", "fsl,imx7d-gpmi-nand"; #address-cells = <1>; - #size-cells = <1>; + #size-cells = <0>; reg = <0x33002000 0x2000>, <0x33004000 0x4000>; reg-names = "gpmi-nand", "bch"; interrupts = ;