linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH v2 0/2] mtd: rawnand: meson: add Amlogic NAND driver support
@ 2018-07-19  9:46 Yixun Lan
  2018-07-19  9:46 ` [RFC PATCH v2 1/2] dt-bindings: nand: meson: add Amlogic NAND controller driver Yixun Lan
  2018-07-19  9:46 ` [RFC PATCH v2 2/2] mtd: rawnand: meson: add support for Amlogic NAND flash controller Yixun Lan
  0 siblings, 2 replies; 18+ messages in thread
From: Yixun Lan @ 2018-07-19  9:46 UTC (permalink / raw)
  To: Boris Brezillon, linux-mtd
  Cc: Yixun Lan, David Woodhouse, Brian Norris, Marek Vasut,
	Richard Weinberger, Jerome Brunet, Neil Armstrong,
	Martin Blumenstingl, Carlo Caione, Kevin Hilman, Rob Herring,
	Jian Hu, Liang Yang, linux-amlogic, linux-arm-kernel,
	linux-kernel, devicetree

  These two patches try to add initial NAND driver support for Amlogic Meson
SoCs, current it has been tested on GXL(p212) and AXG(s400) platform.

  Note this patch series actually depend on the eMMC clkc patch[2] which
still not merged.

Changes since v1 at [1]:
   - adopt property amlogic,nand-enable-scrambler - thanks Martin
   - drop nand pins in DT
   - convert clk access to emmc clkc model 
   - fix regiser field definition alignment
   - convert devm_kmalloc to kmalloc API
   - drop nand-user-mode 
   - parse cs id from DT
   - rework n2m, m2n function
   - explain why insert two "IDLE" command
   - implement exec_op()
   - drop meson_nfc_get_nand_chip_dts()
   - release resource once error occur in meson_nfc_nand_chips_init(), 
   - call nand_cleanup(nand) once mtd_device_register fail

Items not addressed in this version:
   - convert to ECC conf helper() 
   - how to construct mtd->name

[1] https://lkml.kernel.org/r/20180613161314.14894-1-yixun.lan@amlogic.com
[2] https://lkml.kernel.org/r/20180712211244.11428-1-yixun.lan@amlogic.com

Liang Yang (1):
  dt-bindings: nand: meson: add Amlogic NAND controller driver

Yixun Lan (1):
  mtd: rawnand: meson: add support for Amlogic NAND flash controller

 .../bindings/mtd/amlogic,meson-nand.txt       |   95 ++
 drivers/mtd/nand/raw/Kconfig                  |   10 +
 drivers/mtd/nand/raw/Makefile                 |    1 +
 drivers/mtd/nand/raw/meson_nand.c             | 1333 +++++++++++++++++
 4 files changed, 1439 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/mtd/amlogic,meson-nand.txt
 create mode 100644 drivers/mtd/nand/raw/meson_nand.c

-- 
2.18.0


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

end of thread, other threads:[~2018-08-29 10:31 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-19  9:46 [RFC PATCH v2 0/2] mtd: rawnand: meson: add Amlogic NAND driver support Yixun Lan
2018-07-19  9:46 ` [RFC PATCH v2 1/2] dt-bindings: nand: meson: add Amlogic NAND controller driver Yixun Lan
2018-07-19  9:57   ` Boris Brezillon
2018-07-19 10:07     ` Yixun Lan
2018-07-19  9:46 ` [RFC PATCH v2 2/2] mtd: rawnand: meson: add support for Amlogic NAND flash controller Yixun Lan
2018-08-01 21:50   ` Boris Brezillon
2018-08-02 14:04     ` Yixun Lan
2018-08-17 13:03     ` Liang Yang
2018-08-17 13:56       ` Boris Brezillon
2018-08-21  3:33         ` Liang Yang
2018-08-22 14:08         ` Liang Yang
2018-08-24 12:48           ` Boris Brezillon
2018-08-28 13:21             ` Liang Yang
2018-08-28 13:26               ` Boris Brezillon
2018-08-29 10:08                 ` Liang Yang
2018-08-29 10:29                   ` Liang Yang
2018-08-29 10:31                     ` Boris Brezillon
2018-08-17  8:46   ` Boris Brezillon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).