public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] M5441x: Add NFC support
@ 2024-06-27 16:05 Jean-Michel Hautbois
  2024-06-27 16:05 ` [PATCH v2 1/2] arch: m68k: Add definitions for flash " Jean-Michel Hautbois
  2024-06-27 16:05 ` [PATCH v2 2/2] mtd: nand: Add support for M5441x NFC Jean-Michel Hautbois
  0 siblings, 2 replies; 9+ messages in thread
From: Jean-Michel Hautbois @ 2024-06-27 16:05 UTC (permalink / raw)
  To: Geert Uytterhoeven, Miquel Raynal, Richard Weinberger,
	Vignesh Raghavendra, Stefan Agner
  Cc: linux-m68k, linux-kernel, linux-mtd, Jean-Michel Hautbois

The M5441x has the same NFC IP as the VF610. It does not support
device-tree, so a few changes are needed in particular at probe time.

A new variant is also needed as the Reference Manual states that the
NFC_ROW_ADDR does not drive CS.

Tested on a custom board with a Micron RAW nand.

Signed-off-by: Jean-Michel Hautbois <jeanmichel.hautbois@yoseli.org>
---
Changes in v2:
- Removed uneeded ifdef
- Split the m5441x definitions in a separate patch
- Link to v1: https://lore.kernel.org/r/20240620-upstream-nfc-mcf5441x-v1-1-69b64807d7a6@yoseli.org

---
Jean-Michel Hautbois (2):
      arch: m68k: Add definitions for flash NFC support
      mtd: nand: Add support for M5441x NFC

 arch/m68k/include/asm/m5441xsim.h |   7 +++
 drivers/mtd/nand/raw/Kconfig      |   2 +-
 drivers/mtd/nand/raw/vf610_nfc.c  | 102 ++++++++++++++++++++++++++++----------
 3 files changed, 85 insertions(+), 26 deletions(-)
---
base-commit: afcd48134c58d6af45fb3fdb648f1260b20f2326
change-id: 20240620-upstream-nfc-mcf5441x-82e23b45e286

Best regards,
-- 
Jean-Michel Hautbois <jeanmichel.hautbois@yoseli.org>


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

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

end of thread, other threads:[~2024-07-03 14:55 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-27 16:05 [PATCH v2 0/2] M5441x: Add NFC support Jean-Michel Hautbois
2024-06-27 16:05 ` [PATCH v2 1/2] arch: m68k: Add definitions for flash " Jean-Michel Hautbois
2024-06-28  7:45   ` Miquel Raynal
2024-07-02 16:44     ` Jean-Michel Hautbois
2024-07-03 13:30       ` Greg Ungerer
2024-07-03 14:55         ` Miquel Raynal
2024-06-27 16:05 ` [PATCH v2 2/2] mtd: nand: Add support for M5441x NFC Jean-Michel Hautbois
2024-06-29 18:25   ` kernel test robot
2024-07-01 17:48   ` kernel test robot

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