From patchwork Wed Nov 2 19:19:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 13028915 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 214C3C4332F for ; Wed, 2 Nov 2022 19:20:54 +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: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:In-Reply-To:References: List-Owner; bh=jVDAw/ATh9lAhvYyeBIpN3JllB639nW22maISZO/i5A=; b=U5jivAj+uql/RX zvsmIyCnWOtn7sHgR30BXXg8dNWGmwL5U1Kqa3UNodpe2MT7sdqwd89ggmZWyHktic09VaTrw/UeY faweJdMvLO9q8ThKjIaokHjjbL8p5f6o9xvX9A1MgqYCukfF8WkHs8qHLi8//Dkj7YMKIL6J/gxQL 28CcT8sSt2gkshnSb6AC+6b1jd/ULbuPLkexUCag+aFjdnm28JTT3HlbvbsiJVn9KAdRQkqmJSBfS JNKsOEQ2yugIztNw7yW63ZwglsiFRNeiPKb23SNyhBwF0GV7xLUAkhz0oWfmONMmjRa9KlQg44FUA 3FZLe7mwZlgSvUXYfjuw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oqJHJ-00DfMR-VJ; Wed, 02 Nov 2022 19:19:58 +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 1oqJHG-00DfHr-R8 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 4A45184F39; 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=kDm/86LDFC7Nm5KQUYMr9hFV/SCDf1ScDu5B7IvAOrE=; h=From:To:Cc:Subject:Date:From; b=tJg4quUi99I4sOld8xRVeYkXmkhVrU73xH7u8mOso9wAbSifnTGpQxjd/942JrUI5 XEjt296HmP0b69pJF8dPOO3GYA813fyaWJO25EJSAj4Es1ThRLLgaq2Q6gxdlrjzuK A8TahILbVSd/60Xe5uE7P1qB4QhzWGnawOPHUIYLIEovTpuuuMGkE6H/qjZLc9+6SK sFH1yvWe9JqJN8NkEGP3jS3fcPBw4+88Fg/wqt7KzEcHzzUSePqp115iMeyMPPV2pp WK+IzgjHrMGXcvvUxqtNlhcXcUVdIFonvRBRYi3r1yUtf/BdsvzXuTWtLpmn0q3plL S4O1RFoOTSoTw== From: Marek Vasut To: linux-arm-kernel@lists.infradead.org Cc: Marek Vasut , Fabio Estevam , Peng Fan , Shawn Guo , Stefan Agner , NXP Linux Team Subject: [PATCH 1/3] ARM: dts: imx7: Fix NAND controller size-cells Date: Wed, 2 Nov 2022 20:19:45 +0100 Message-Id: <20221102191947.120844-1-marex@denx.de> X-Mailer: git-send-email 2.35.1 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_051505_546AE32C X-CRM114-Status: GOOD ( 12.76 ) 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: e7495a45a76de ("ARM: dts: imx7: add GPMI NAND and APBH DMA") Signed-off-by: Marek Vasut --- Cc: Fabio Estevam Cc: Peng Fan Cc: Shawn Guo Cc: Stefan Agner Cc: NXP Linux Team To: linux-arm-kernel@lists.infradead.org --- arch/arm/boot/dts/imx7s.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 = ; 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 = ; From patchwork Wed Nov 2 19:19:47 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 13028917 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 A5B07C4332F for ; Wed, 2 Nov 2022 19:21:20 +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=7zOvFWacEWwCd34OD+ivzGkQFXVt4/F9spbL8QH+RUw=; b=H8krc+Nmeuvnvt oSMMvCUc/KnytKlQTFJj+RB1SkELU/SUesrupqsR/mbermp5/hqgSTMYGaChqIc3arhOocGPiLR4N IRha55MSIHo4LX0M/XMl1IHhNFNoilSGr/F7npgLJenRtS3UeMjBzxbDVe2hi2edUpFI5xZHucErE Kc9LOyUhh+xMP6EhKkbykT6z+DSQV66JTZBoZ1ckGCAz1XPWfTHqOhSnMlourBwO33J4ADN74oJ86 M2hMJSa+zMr0aXYbMEO8N+CKEJfXmFyeZQruQgeMSenuPJ1fnjVL5oLyCNWC0yYsNh1vNPgnXXhbp iK5I6fIIi+FT31QgzhuA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oqJHj-00DftW-1D; Wed, 02 Nov 2022 19:20:23 +0000 Received: from phobos.denx.de ([2a01:238:438b:c500:173d:9f52:ddab:ee01]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oqJHH-00DfIE-Eb 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 DB0308509E; 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=1667416794; bh=B3Pp4bnjM4/ki125itxtw4gvs+c/7MH6cjbai/8wt30=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fUdsRIfXU5VnDpr9MIIEgQvbLMLU2KuFyUSvOxbqu1KTaTzVFAKFOC6dFJZvR+ehR qhhuaZfWVKO7s1oaQKdA/bm/TG2N0Aid/RtvtMSXXPSfxrDjnoTSQsJgemPhvZdwvF dRxl9oY0aJTC45hzMqS4TsrSkqu24iI3746ByOgn17M6A/RUCzlcXL/dqlfEB+7Pl4 heSl1c5cugPY/02WkgMiX2bZSoF7RDBWLRhwG8ScdZsPTIu0Rb8Ozmus3GNcJSx3VL 4E0n85hbKW1qcKMnolZ00ksRwssSzNd8fJZYSooet1HX6GuVA/c/rwCZ0zxn1W9zSj VgPTQpCZU9mWg== From: Marek Vasut To: linux-arm-kernel@lists.infradead.org Cc: Marek Vasut , Fabio Estevam , Peng Fan , Shawn Guo , NXP Linux Team Subject: [PATCH 3/3] arm64: dts: imx8mn: Fix NAND controller size-cells Date: Wed, 2 Nov 2022 20:19:47 +0100 Message-Id: <20221102191947.120844-3-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_668583_7265DD1D X-CRM114-Status: GOOD ( 12.72 ) 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) " Fixes: 6c3debcbae47a ("arm64: dts: freescale: Add i.MX8MN dtsi support") Signed-off-by: Marek Vasut --- Cc: Fabio Estevam Cc: Peng Fan Cc: Shawn Guo Cc: NXP Linux Team To: linux-arm-kernel@lists.infradead.org --- arch/arm64/boot/dts/freescale/imx8mn.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mn.dtsi b/arch/arm64/boot/dts/freescale/imx8mn.dtsi index e9223ab52979e..607c97009399e 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mn.dtsi @@ -1172,7 +1172,7 @@ dma_apbh: dma-controller@33000000 { gpmi: nand-controller@33002000 { compatible = "fsl,imx8mn-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 = ;