public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH v2 0/6] mtd: nand: sunxi: Convert to devicetree and the driver model
@ 2023-01-22 22:06 Samuel Holland
  2023-01-22 22:06 ` [PATCH v2 1/6] clk: sunxi: Add NAND clocks and resets Samuel Holland
                   ` (6 more replies)
  0 siblings, 7 replies; 13+ messages in thread
From: Samuel Holland @ 2023-01-22 22:06 UTC (permalink / raw)
  To: Andre Przywara, Jagan Teki, Michael Trimarchi
  Cc: Samuel Holland, Dario Binacchi, Hans de Goede, Lukasz Majewski,
	Sean Anderson, Simon Glass, u-boot

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


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2023-04-14 10:47 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-22 22:06 [PATCH v2 0/6] mtd: nand: sunxi: Convert to devicetree and the driver model Samuel Holland
2023-01-22 22:06 ` [PATCH v2 1/6] clk: sunxi: Add NAND clocks and resets Samuel Holland
2023-01-27 22:59   ` Andre Przywara
2023-02-12 17:55   ` Sean Anderson
2023-01-22 22:06 ` [PATCH v2 2/6] pinctrl: sunxi: Add NAND pinmuxes Samuel Holland
2023-01-22 22:06 ` [PATCH v2 3/6] mtd: nand: sunxi: Remove an unnecessary check Samuel Holland
2023-01-22 22:06 ` [PATCH v2 4/6] mtd: nand: sunxi: Convert from fdtdec to ofnode Samuel Holland
2023-04-14  9:56   ` Andre Przywara
2023-01-22 22:06 ` [PATCH v2 5/6] mtd: nand: sunxi: Convert to the driver model Samuel Holland
2023-01-22 22:06 ` [PATCH v2 6/6] mtd: nand: sunxi: Pass the device to the init function Samuel Holland
2023-04-14 10:23   ` Andre Przywara
2023-04-14 10:46     ` Michael Nazzareno Trimarchi
2023-04-14 10:25 ` [PATCH v2 0/6] mtd: nand: sunxi: Convert to devicetree and the driver model Andre Przywara

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox