[PATCH 0/6] mtd: nand: sunxi: Convert to devicetree and the driver model

Icenowy Zheng uwu at icenowy.me
Thu Jul 14 08:47:11 CEST 2022


在 2022-07-14星期四的 07:38 +0200,Michael Nazzareno Trimarchi写道:
> Hi Samuel
> 
> On Thu, Jul 14, 2022 at 5:15 AM Samuel Holland <samuel at sholland.org>
> wrote:
> > 
> > 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.
> > 
> > 
> > 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(-)
> > 
> 
> Was in our roadmap and thank you for it. We are looking for sunxi
> boards that have nand, can you please point where we can find them?

NTC C.H.I.P. ? Although NTC does not exist now (well maybe partly
because C.H.I.P. uses NAND)

> 
> We are still in the process of setting up our account, anyway we will
> review it quickly.
> 
> Michael
> 
> > --
> > 2.35.1
> > 



More information about the U-Boot mailing list