From mboxrd@z Thu Jan 1 00:00:00 1970 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 222B8CCFA18 for ; Tue, 11 Nov 2025 07:22:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=1wobJU44FbdXVx/EG8UhsBKErOOVsOY4d7OoppyD2Ck=; b=CaqkLb1j37gNo8oFB68piteJF7 qlVJk0ZoSDLYuDO60YrBMZlnLD9tbmda+qpb6FWbmj/WIcT4m2GPjcXq7XYgukJLGbcHdB2bCeyvZ 81GvpUuW6AW69gYL5gpFLUybb988s+P9NSz82QVUSNldMFCsLvJsf5Bavak3jnf8pxzarRs17JCME GJVc8CONsK8esmiLeZXikKHtQmc/J2v/6njsjcV7tJtJaCMv/UsA1EsMy5i2FlNFgrBuANdEVH/s/ tcvbV9yZ0XERTrJG+1zYlYtJAdIUFmA6uVNZFUFs6OWPgEaPmKawnsAkxtYHX/RHD5nZBXL8OXmsk PswBT0YA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1vIihe-00000006gF9-3y29; Tue, 11 Nov 2025 07:22:10 +0000 Received: from mail11.truemail.it ([2001:4b7e:0:8::81]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1vIihb-00000006gEj-02Uz for linux-arm-kernel@lists.infradead.org; Tue, 11 Nov 2025 07:22:09 +0000 Received: from francesco-nb (248.201.173.83.static.wline.lns.sme.cust.swisscom.ch [83.173.201.248]) by mail11.truemail.it (Postfix) with ESMTPA id D4EB91F8F8; Tue, 11 Nov 2025 08:22:01 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dolcini.it; s=default; t=1762845722; bh=1wobJU44FbdXVx/EG8UhsBKErOOVsOY4d7OoppyD2Ck=; h=From:To:Subject; b=TG9lRsm8pjrZqpoqUUVuiGyTRhqidSf//xB2/+myPNdtsedGGCFUQnOf6MkUJ5Ld1 QoV+sZT//uxynxEgVpBQcRqc7HTwR06BZ+uXuUtfiBgbjn+h7/EPIQ7GCujyKqv0S8 7RL8r3FPG9y1xllJre/Z010UGeKL4fzptRm8avlFDsGx7wVbkif4TP5EJhlMpTZ5Co 5It5ydVvmtjpjALWUgE2RZ2+gIrcZ/UfOXz3lMn3fYaStjk4ms8s6QIPLMZDGjS488 mIK7DCq+Bmqs0J7321dm8/a72EjkrUv04gXMmqjmrBOXl7WolvYJhmXCI6c6zDLSxI AcNqW3bW8QREg== Date: Tue, 11 Nov 2025 08:21:58 +0100 From: Francesco Dolcini To: Frank Li Cc: Francesco Dolcini , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/3] ARM: dts: imx: move nand related property under nand@0 Message-ID: <20251111072158.GA8423@francesco-nb> References: <20251104-gpmi_dts-v1-0-886865393d0f@nxp.com> <20251104-gpmi_dts-v1-3-886865393d0f@nxp.com> <20251105115538.GA17091@francesco-nb> <20251107155201.GA119737@francesco-nb> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20251110_232207_956759_3A6B7B82 X-CRM114-Status: GOOD ( 32.42 ) 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 On Mon, Nov 10, 2025 at 11:12:49AM -0500, Frank Li wrote: > On Fri, Nov 07, 2025 at 04:52:01PM +0100, Francesco Dolcini wrote: > > Hello Frank, > > > > On Wed, Nov 05, 2025 at 10:29:05AM -0500, Frank Li wrote: > > > On Wed, Nov 05, 2025 at 12:55:38PM +0100, Francesco Dolcini wrote: > > > > On Tue, Nov 04, 2025 at 05:27:14PM -0500, Frank Li wrote: > > > > > Add child node nand@0 and move NAND related property under it to align > > > > > modern nand-controller.yaml. > > > > > > > > > > Fix below CHECK_DTBS warnings: > > > > > arch/arm/boot/dts/nxp/imx/imx6ull-colibri-aster.dtb: nand-controller@1806000 (fsl,imx6q-gpmi-nand): Unevaluated properties are not allowed ('nand-ecc-mode', 'nand-ecc-step-size', 'nand-ecc-strength', 'nand-on-flash-bbt' were unexpected) > > > > > from schema $id: http://devicetree.org/schemas/mtd/gpmi-nand.yaml# > > > > > > > > > > Since 2019 year, commit > > > > > (212e496935929 dt-bindings: mtd: Add YAML schemas for the generic NAND options) > > > > > NAND related property is preferred located under nand@ even though only > > > > > one NAND chip supported. > > > > > > > > > > Signed-off-by: Frank Li > > > > > --- > > > > > arch/arm/boot/dts/nxp/imx/imx6-logicpd-som.dtsi | 6 +++++- > > > > > arch/arm/boot/dts/nxp/imx/imx6qdl-icore.dtsi | 6 +++++- > > > > > arch/arm/boot/dts/nxp/imx/imx6qdl-phytec-pfla02.dtsi | 6 +++++- > > > > > arch/arm/boot/dts/nxp/imx/imx6qdl-phytec-phycore-som.dtsi | 6 +++++- > > > > > arch/arm/boot/dts/nxp/imx/imx6qdl-skov-cpu.dtsi | 6 +++++- > > > > > arch/arm/boot/dts/nxp/imx/imx6qdl-tx6.dtsi | 6 +++++- > > > > > arch/arm/boot/dts/nxp/imx/imx6ul-geam.dts | 6 +++++- > > > > > arch/arm/boot/dts/nxp/imx/imx6ul-isiot.dtsi | 6 +++++- > > > > > arch/arm/boot/dts/nxp/imx/imx6ul-phytec-phycore-som.dtsi | 6 +++++- > > > > > arch/arm/boot/dts/nxp/imx/imx6ul-tx6ul.dtsi | 6 +++++- > > > > > arch/arm/boot/dts/nxp/imx/imx6ull-colibri.dtsi | 12 ++++++++---- > > > > > arch/arm/boot/dts/nxp/imx/imx6ull-engicam-microgea.dtsi | 12 ++++++++---- > > > > > arch/arm/boot/dts/nxp/imx/imx6ull-myir-mys-6ulx.dtsi | 6 +++++- > > > > > arch/arm/boot/dts/nxp/imx/imx6ulz-bsh-smm-m2.dts | 6 +++++- > > > > > arch/arm/boot/dts/nxp/imx/imx7-colibri.dtsi | 8 ++++++-- > > > > > 15 files changed, 82 insertions(+), 22 deletions(-) > > > > > > > > > > > > > Was any of these changes tested? Is the driver able to cope with the > > > > binding change? > > > > > > I have not board to do direct test. This format is used at imx8 platform, > > > which use the same gpmi driver. > > > > > > This properties are parsed at mtd common part > > > drivers/mtd/nand/raw/nand_base.c > > > > > > If you have one of above board to test it, it will be appericated. > > > > I did a minimal boot test, on colibri-imx6ull, and the board was booting > > fine, with Linux 6.18.0-rc4 and this patch applied. > > > > I am wondering if there is any impact with the bootloader, this DT is > > used as it is also in U-Boot, and there the NAND driver is for sure > > different. Any comment on this? I was not able to test this combination. > > Uboot should have theirself tree, which copy dts and not direct use it. > I worry uboot parser kernel's dtb to do some hot fix for specific boards. > But most likely not related these proptetry, maybe just add partitions. U-Boot just sync the device tree from Linux, copying those, for some boards (depending on the usage of the so called OF_UPSTREAM). You cannot think at this change affecting only Linux. Francesco