[PATCH v2 0/6] mtd: nand: sunxi: Convert to devicetree and the driver model
Andre Przywara
andre.przywara at arm.com
Fri Apr 14 12:25:52 CEST 2023
On Sun, 22 Jan 2023 16:06:30 -0600
Samuel Holland <samuel at sholland.org> 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(-)
>
More information about the U-Boot
mailing list