[PATCH v2 0/6] mtd: nand: sunxi: Convert to devicetree and the driver model
Samuel Holland
samuel at sholland.org
Sun Jan 22 23:06:30 CET 2023
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.
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(-)
--
2.37.4
More information about the U-Boot
mailing list