public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH v3 0/9] Add DM support for atmel NAND driver
@ 2022-10-25 10:51 Balamanikandan Gunasundar
  2022-10-25 10:51 ` [PATCH v3 1/9] nand: atmel: Add DM based " Balamanikandan Gunasundar
                   ` (9 more replies)
  0 siblings, 10 replies; 17+ messages in thread
From: Balamanikandan Gunasundar @ 2022-10-25 10:51 UTC (permalink / raw)
  To: u-boot
  Cc: sandeep.sheriker, eugen.hristev, dario.binacchi, michael,
	durai.manickamkr, sergiu.moga, balamanikandan.gunasundar,
	mihai.sain, hs, tudor.ambarus, sjg, kettenis, ascull, ye.li,
	peng.fan, Hari.PrasathGE

Change include:

- Adapt GPIO descriptor apis for U-Boot. Use
  gpio_request_by_name_nodev, dm_gpio_get_value etc.
- Use U_BOOT_DRIVER instead of platform_driver.
- Replace struct platform_device with struct udevice
- Check the status of nfc exec operation by polling the status
  register instead of interrupt based handling
- DMA operations not supported. Remove it
- Adapt DT parsing to U-Boot APIs

Note:

I need some advise or help in alligning the DT with Linux as per the
discussion.
https://lore.kernel.org/all/CABGWkvoLDez=yWzpXgO2s+gVs0aUDCEUAYSa8zo_+wGVf4LWAQ@mail.gmail.com/

v3:

- Do not check return values while requesting optional gpio pins
  (cs-gpios and rb-gpios)
- Commit message for adding SMC helper function reworded
- The unwanted indentation in the DT is fixed. The changes are made on
  top of "275943dba4 ARM: dts: at91: sam9x60ek: fix indentation for
  pinctrl sub-nodes"

v2:

- Add linux reference version in the commit message from which the
  driver is ported from
- Reword the commit message to describe the changes clearly

Balamanikandan Gunasundar (9):
  nand: atmel: Add DM based NAND driver
  nand: atmel: Add pmecc driver
  mfd: syscon: Add atmel-matrix registers definition
  memory: atmel-ebi: add Atmel EBI (External Bus Interface) driver
  mfd: syscon: atmel-smc: Add new helpers to ease SMC regs manipulation
  configs: at91: sam9x60ek: Enable DM based nand driver
  ARM: dts: at91: sam9x60: Add nodes for EBI and NAND
  ARM: dts: at91: sam9x60ek: Enable NAND support
  board: sam9x60ek: remove nand init from board file

 MAINTAINERS                                  |    1 +
 arch/arm/dts/sam9x60.dtsi                    |   42 +
 arch/arm/dts/sam9x60ek.dts                   |  103 +
 board/atmel/sam9x60ek/sam9x60ek.c            |   59 -
 configs/sam9x60ek_mmc_defconfig              |    9 +-
 configs/sam9x60ek_nandflash_defconfig        |    9 +-
 configs/sam9x60ek_qspiflash_defconfig        |    8 +-
 drivers/Kconfig                              |    2 +
 drivers/Makefile                             |    1 +
 drivers/memory/Kconfig                       |    7 +
 drivers/memory/Makefile                      |    1 +
 drivers/memory/atmel_ebi.c                   |   37 +
 drivers/mfd/Kconfig                          |    4 +
 drivers/mfd/Makefile                         |    1 +
 drivers/mfd/atmel-smc.c                      |  364 +++
 drivers/mtd/nand/raw/Kconfig                 |    8 +
 drivers/mtd/nand/raw/Makefile                |    1 +
 drivers/mtd/nand/raw/atmel/Makefile          |    5 +
 drivers/mtd/nand/raw/atmel/nand-controller.c | 2286 ++++++++++++++++++
 drivers/mtd/nand/raw/atmel/pmecc.c           |  965 ++++++++
 drivers/mtd/nand/raw/atmel/pmecc.h           |   94 +
 include/configs/sam9x60ek.h                  |    5 -
 include/linux/mfd/syscon/atmel-matrix.h      |  112 +
 include/linux/mfd/syscon/atmel-smc.h         |  119 +
 24 files changed, 4170 insertions(+), 73 deletions(-)
 create mode 100644 drivers/memory/atmel_ebi.c
 create mode 100644 drivers/mfd/Kconfig
 create mode 100644 drivers/mfd/Makefile
 create mode 100644 drivers/mfd/atmel-smc.c
 create mode 100644 drivers/mtd/nand/raw/atmel/Makefile
 create mode 100644 drivers/mtd/nand/raw/atmel/nand-controller.c
 create mode 100644 drivers/mtd/nand/raw/atmel/pmecc.c
 create mode 100644 drivers/mtd/nand/raw/atmel/pmecc.h
 create mode 100644 include/linux/mfd/syscon/atmel-matrix.h
 create mode 100644 include/linux/mfd/syscon/atmel-smc.h

-- 
2.25.1


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

end of thread, other threads:[~2022-12-09  7:56 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-25 10:51 [PATCH v3 0/9] Add DM support for atmel NAND driver Balamanikandan Gunasundar
2022-10-25 10:51 ` [PATCH v3 1/9] nand: atmel: Add DM based " Balamanikandan Gunasundar
2022-10-25 11:06   ` Michael Nazzareno Trimarchi
2022-10-26  5:00     ` Balamanikandan.Gunasundar
2022-10-26  5:40     ` Balamanikandan.Gunasundar
2022-10-25 10:51 ` [PATCH v3 2/9] nand: atmel: Add pmecc driver Balamanikandan Gunasundar
2022-10-25 10:51 ` [PATCH v3 3/9] mfd: syscon: Add atmel-matrix registers definition Balamanikandan Gunasundar
2022-10-25 10:51 ` [PATCH v3 4/9] memory: atmel-ebi: add Atmel EBI (External Bus Interface) driver Balamanikandan Gunasundar
2022-10-25 10:51 ` [PATCH v3 5/9] mfd: syscon: atmel-smc: Add new helpers to ease SMC regs manipulation Balamanikandan Gunasundar
2022-10-25 10:51 ` [PATCH v3 6/9] configs: at91: sam9x60ek: Enable DM based nand driver Balamanikandan Gunasundar
2022-10-25 10:51 ` [PATCH v3 7/9] ARM: dts: at91: sam9x60: Add nodes for EBI and NAND Balamanikandan Gunasundar
2022-10-25 10:51 ` [PATCH v3 8/9] ARM: dts: at91: sam9x60ek: Enable NAND support Balamanikandan Gunasundar
2022-10-25 10:51 ` [PATCH v3 9/9] board: sam9x60ek: remove nand init from board file Balamanikandan Gunasundar
2022-12-08 16:12 ` [PATCH v3 0/9] Add DM support for atmel NAND driver Eugen.Hristev
2022-12-08 16:18   ` Michael Nazzareno Trimarchi
2022-12-09  7:52     ` Eugen.Hristev
2022-12-09  7:55       ` Michael Nazzareno Trimarchi

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