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 phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 65D78C77B6E for ; Fri, 14 Apr 2023 10:26:08 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 81C1985DD1; Fri, 14 Apr 2023 12:26:05 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=arm.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 3791D85627; Fri, 14 Apr 2023 12:26:03 +0200 (CEST) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by phobos.denx.de (Postfix) with ESMTP id 284FF85D9D for ; Fri, 14 Apr 2023 12:25:57 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=andre.przywara@arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 93ECB2F4; Fri, 14 Apr 2023 03:26:40 -0700 (PDT) Received: from donnerap.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id F34F33F587; Fri, 14 Apr 2023 03:25:54 -0700 (PDT) Date: Fri, 14 Apr 2023 11:25:52 +0100 From: Andre Przywara To: Samuel Holland Cc: Jagan Teki , Michael Trimarchi , Dario Binacchi , Hans de Goede , Lukasz Majewski , Sean Anderson , Simon Glass , u-boot@lists.denx.de Subject: Re: [PATCH v2 0/6] mtd: nand: sunxi: Convert to devicetree and the driver model Message-ID: <20230414112552.60e3b3a5@donnerap.cambridge.arm.com> In-Reply-To: <20230122220637.41496-1-samuel@sholland.org> References: <20230122220637.41496-1-samuel@sholland.org> Organization: ARM X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.32; aarch64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean On Sun, 22 Jan 2023 16:06:30 -0600 Samuel Holland wrote: Hi, > This series converts the sunxi NAND driver to get its resources (clocks, > resets, pins) from the devicetree, and probe using the driver model. > > In addition to the immediate cleanup, this allows backporting more > patches (bugfixes, newer SoC support) from the Linux driver. so I cannot test this, and raw NAND support seems dodgy at best in general, but in the interest of getting the non-DM legacy out of our drivers, I will take it. Not sure if any actual (mainline) users are out there, I guess we will see ;-) Queued for sunxi/master. Cheers, Andre > Changes in v2: > - Fix A80 bus clock/reset bit positions > > Samuel Holland (6): > clk: sunxi: Add NAND clocks and resets > pinctrl: sunxi: Add NAND pinmuxes > mtd: nand: sunxi: Remove an unnecessary check > mtd: nand: sunxi: Convert from fdtdec to ofnode > mtd: nand: sunxi: Convert to the driver model > mtd: nand: sunxi: Pass the device to the init function > > board/sunxi/board.c | 5 +- > drivers/clk/sunxi/clk_a10.c | 2 + > drivers/clk/sunxi/clk_a10s.c | 2 + > drivers/clk/sunxi/clk_a23.c | 3 + > drivers/clk/sunxi/clk_a31.c | 6 + > drivers/clk/sunxi/clk_a64.c | 3 + > drivers/clk/sunxi/clk_a80.c | 8 ++ > drivers/clk/sunxi/clk_a83t.c | 3 + > drivers/clk/sunxi/clk_h3.c | 3 + > drivers/clk/sunxi/clk_h6.c | 6 + > drivers/clk/sunxi/clk_h616.c | 6 + > drivers/clk/sunxi/clk_r40.c | 3 + > drivers/mtd/nand/raw/sunxi_nand.c | 173 ++++++++++++-------------- > drivers/pinctrl/sunxi/pinctrl-sunxi.c | 13 ++ > include/fdtdec.h | 1 - > lib/fdtdec.c | 1 - > 16 files changed, 138 insertions(+), 100 deletions(-) >