public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH v2 0/6] mtd: nand: raw: Collected improvements
@ 2024-03-20  9:02 Alexander Dahl
  2024-03-20  9:02 ` [PATCH v2 1/6] mtd: nand: raw: Use macro nand_to_mtd() where appropriate Alexander Dahl
                   ` (6 more replies)
  0 siblings, 7 replies; 19+ messages in thread
From: Alexander Dahl @ 2024-03-20  9:02 UTC (permalink / raw)
  To: Dario Binacchi, Michael Trimarchi
  Cc: Balamanikandan Gunasundar, Eugen Hristev, Mihai Sain, Li Bin,
	u-boot

Hello everyone,

while working on NAND flash support for a custom board based on the at91
SAM9X60 SoC I stumbled over some issues in the raw nand subsystem.

Four of six patches are minor fixes.

Patch 4 introduces a new subcommand for the new atmel nand controller
driver.  Patch 6 introduces a new subcommand for the nand command to
override ONFI timing mode.  Both are are for debugging purposes only and
thus optional, and need to be enabled through menu.  Both helped me a
lot when investigating issues.

Series is based on upstream next branch, but should also apply to master
cleanly.

Greets
Alex

v1:

Link: https://lore.kernel.org/u-boot/20240307091014.39796-1-ada@thorsis.com/T/#t

v2:

- rebased on recent next
- collected tags
- improved patch 4 after feedback from Mihai
- added new patch 5 with another help text fix
- added new patch 6 with a new debug command
- reworded cover letter

See per patch changes in patches for more detailed changes.

Alexander Dahl (6):
  mtd: nand: raw: Use macro nand_to_mtd() where appropriate
  mtd: nand: raw: Port another option flag from Linux
  mtd: nand: raw: Fix (most) Kconfig indentation
  mtd: nand: raw: atmel: Introduce optional debug commands
  mtd: nand: raw: atmel: Fix comment in timings preparation
  cmd: nand: Add new optional sub-command 'onfi'

 cmd/Kconfig                                  |  10 +
 cmd/nand.c                                   |  61 ++++
 drivers/mtd/nand/raw/Kconfig                 | 115 +++----
 drivers/mtd/nand/raw/atmel/nand-controller.c | 299 ++++++++++++++++++-
 drivers/mtd/nand/raw/nand_base.c             |   8 +-
 include/linux/mtd/rawnand.h                  |   8 +
 6 files changed, 441 insertions(+), 60 deletions(-)


base-commit: f048104999db28d49362201eaebfc91adb14f47c
-- 
2.39.2


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

end of thread, other threads:[~2024-04-15  6:32 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-20  9:02 [PATCH v2 0/6] mtd: nand: raw: Collected improvements Alexander Dahl
2024-03-20  9:02 ` [PATCH v2 1/6] mtd: nand: raw: Use macro nand_to_mtd() where appropriate Alexander Dahl
2024-03-20  9:02 ` [PATCH v2 2/6] mtd: nand: raw: Port another option flag from Linux Alexander Dahl
2024-03-20  9:02 ` [PATCH v2 3/6] mtd: nand: raw: Fix (most) Kconfig indentation Alexander Dahl
2024-03-20  9:02 ` [PATCH v2 4/6] mtd: nand: raw: atmel: Introduce optional debug commands Alexander Dahl
2024-03-20  9:02 ` [PATCH v2 5/6] mtd: nand: raw: atmel: Fix comment in timings preparation Alexander Dahl
2024-03-20 12:25   ` Michael Nazzareno Trimarchi
2024-03-20  9:02 ` [PATCH v2 6/6] cmd: nand: Add new optional sub-command 'onfi' Alexander Dahl
2024-03-20 12:48   ` Mihai.Sain
2024-03-20 14:08   ` Mihai.Sain
2024-03-21  9:16     ` Michael Nazzareno Trimarchi
2024-03-22 10:02       ` Mihai.Sain
2024-03-22 11:46         ` Alexander Dahl
2024-03-22 11:54           ` Michael Nazzareno Trimarchi
2024-03-22 12:02             ` Alexander Dahl
2024-03-22 12:34               ` Michael Nazzareno Trimarchi
2024-04-14 13:41 ` [PATCH v2 0/6] mtd: nand: raw: Collected improvements Dario Binacchi
2024-04-15  6:13   ` Alexander Dahl
2024-04-15  6:32     ` Dario Binacchi

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