mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 0/4] NXP IFC nand driver
@ 2021-07-28 12:47 Renaud Barbier
  2021-07-28 12:47 ` [PATCH 1/4] ARM: atomic.h: add 64-bit counter support Renaud Barbier
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Renaud Barbier @ 2021-07-28 12:47 UTC (permalink / raw)
  To: barebox; +Cc: Renaud Barbier

These patches add the NXP IFC nand driver and enables it for the
Layescape SOC. Tested on the ls1046ardb evaluation board with UBI/UBIFS.

The driver makes use of the ls10146ardb DTS to probe the device.
Originally, adapted for our NXP P1014 based platforms(not upstream), it
allows to pass the chip select number using platform data.

Additional I/O operations and atomic 64-bit counters are added to support
the 64-bit platform, driver and UBIFS.

Renaud Barbier (4):
  ARM: atomic.h: add 64-bit counter support
  arm: 64-bit device specific operation
  nand: add NXP IFC nand driver
  ls1046ardb: enable IFC NAND.

 arch/arm/boards/ls1046ardb/board.c            |   26 +
 arch/arm/configs/layerscape_defconfig         |   12 +
 arch/arm/lib64/Makefile                       |    2 +-
 arch/arm/lib64/io.c                           |   98 ++
 .../mach-layerscape/include/mach/fsl_ifc.h    |   16 +
 .../mach-layerscape/include/mach/layerscape.h |    3 +
 drivers/mtd/nand/Kconfig                      |    6 +
 drivers/mtd/nand/Makefile                     |    1 +
 drivers/mtd/nand/fsl_ifc.h                    |  116 ++
 drivers/mtd/nand/nand_fsl_ifc.c               | 1037 +++++++++++++++++
 include/asm-generic/atomic-long.h             |    3 +-
 include/asm-generic/atomic.h                  |   49 +
 include/linux/fsl_ifc.h                       |  306 +++++
 13 files changed, 1673 insertions(+), 2 deletions(-)
 create mode 100644 arch/arm/lib64/io.c
 create mode 100644 arch/arm/mach-layerscape/include/mach/fsl_ifc.h
 create mode 100644 drivers/mtd/nand/fsl_ifc.h
 create mode 100644 drivers/mtd/nand/nand_fsl_ifc.c
 create mode 100644 include/linux/fsl_ifc.h

-- 
2.27.0


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox


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

end of thread, other threads:[~2021-07-29 18:21 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-28 12:47 [PATCH 0/4] NXP IFC nand driver Renaud Barbier
2021-07-28 12:47 ` [PATCH 1/4] ARM: atomic.h: add 64-bit counter support Renaud Barbier
2021-07-29  9:58   ` Ahmad Fatoum
2021-07-28 12:47 ` [PATCH 2/4] arm: 64-bit device specific operation Renaud Barbier
2021-07-29 10:00   ` Ahmad Fatoum
2021-07-28 12:47 ` [PATCH 3/4] nand: add NXP IFC nand driver Renaud Barbier
2021-07-29 10:11   ` Ahmad Fatoum
2021-07-28 12:47 ` [PATCH 4/4] ls1046ardb: enable IFC NAND Renaud Barbier
2021-07-29 10:13   ` Ahmad Fatoum
2021-07-29 18:19     ` Barbier, Renaud

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