rawnand: omap_gpmc: driver model support
Status from this message: applied to nand-next
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest8 patches 8 repliesApplied
- v114 patches 39 repliesSuperseded
Changes in v2 from the cover letter
- Fixed build warning and failures for am335x_guardian, chiliboard, and cm_t32
- use __maybe_unused struct nand_chip to fix build warning
- make elm_probe() a NOP if ELM_BASE is defined. This should not interfere with existing platforms that don't use Driver Model for ELM driver.
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | mtd: rawnand: omap_gpmc: Fix BCH6/16 HW based correctiondrivers/ | +223 | 1 reply | |
| 2/8 | mtd: rawnand: nand_base: Allow base driver to be used in SPL without nand_bbtdrivers/ | +17 | 0 replies | |
| 3/8 | dt-bindings: mtd: Add ti, gpmc-nand DT binding documentationdoc/ | +129 | 0 replies | |
| 4/8 | mtd: rawnand: omap_gpmc: support u-boot driver modeldrivers/ drivers/ | +64 | 0 replies | |
| 5/8 | mtd: rawnand: omap_gpmc: Add SPL NAND supportdrivers/ drivers/ drivers/ | +46 | 0 replies | |
| 6/8 | mtd: rawnand: omap_gpmc: Enable SYS_NAND_PAGE_COUNT for OMAP_GPMCdrivers/ | +2 | 0 replies | |
| 7/8 | dt-bindings: mtd: Add ti, elm DT binding documentationdoc/ | +72 | 0 replies | |
| 8/8 | mtd: rawnand: omap_elm: u-boot driver model supportdrivers/ drivers/ drivers/ | +51 | 6 replies |
Reviews trailers per patch
1 of 8 patches has a Reviewed-by or Acked-by.
| Patch | Michael Trimarchi |
|---|---|
| 1/8 | R-b A-b |
| 2/8 | |
| 3/8 | |
| 4/8 | |
| 5/8 | |
| 6/8 | |
| 7/8 | |
| 8/8 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [u-boot][PATCH v2 0/8] rawnand: omap_gpmc: driver model support
Hi Michael & Dario,
This series adds driver model support for rawnand: omap_gpmc and omap_elm drivers.
This will enable the driver to be used on K2/K3 platforms as well.
This series along with remaining patches required to get NAND working on AM6x EVM is available here
https://github.com/rogerq/u-boot/commits/for-v2023.01/am64-nand-base-2.0
cheers,
-roger
Changelog:
v2:
- Fixed build warning and failures for am335x_guardian, chiliboard, and cm_t32
- use __maybe_unused struct nand_chip to fix build warning
- make elm_probe() a NOP if ELM_BASE is defined. This should not interfere with existing platforms that don't use Driver Model for ELM driver.
Roger Quadros (8):
mtd: rawnand: omap_gpmc: Fix BCH6/16 HW based correction
mtd: rawnand: nand_base: Allow base driver to be used in SPL without
nand_bbt
dt-bindings: mtd: Add ti,gpmc-nand DT binding documentation
mtd: rawnand: omap_gpmc: support u-boot driver model
mtd: rawnand: omap_gpmc: Add SPL NAND support
mtd: rawnand: omap_gpmc: Enable SYS_NAND_PAGE_COUNT for OMAP_GPMC
dt-bindings: mtd: Add ti,elm DT binding documentation
mtd: rawnand: omap_elm: u-boot driver model support
doc/device-tree-bindings/mtd/ti,elm.yaml | 72 +++
.../mtd/ti,gpmc-nand.yaml | 129 +++++
drivers/mtd/nand/raw/Kconfig | 9 +-
drivers/mtd/nand/raw/Makefile | 2 +-
drivers/mtd/nand/raw/nand_base.c | 18 +-
drivers/mtd/nand/raw/omap_elm.c | 35 +-
.../mtd => drivers/mtd/nand/raw}/omap_elm.h | 6 +
drivers/mtd/nand/raw/omap_gpmc.c | 441 +++++++++++++-----
8 files changed, 604 insertions(+), 108 deletions(-)
create mode 100644 doc/device-tree-bindings/mtd/ti,elm.yaml
create mode 100644 doc/device-tree-bindings/mtd/ti,gpmc-nand.yaml
rename {include/linux/mtd => drivers/mtd/nand/raw}/omap_elm.h (97%)Signature · 1 line
2.34.1