PowerPC: Add 44x NDFC device-tree aware support
Status from this message: NACK.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | PowerPC: Add 44x NDFC device-tree aware supportdrivers/ drivers/ drivers/ +1 more | +461 | 3 replies | |
| 2/2 | PowerPC: NDFC entry for PowerPC 440EPx Sequoia DTSarch/ | +0 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] PowerPC: Add 44x NDFC device-tree aware support
I've worked in parallel with Stefan Roese on the new OF NDFC support.
This version (as well as Stefan's) is based on the original NDFC driver by Thomas Gleixner. The major difference is that the original implements each chip connected NDFC banks as a separate MTD device. Here I try to have one MTD device spread on all chips found. However, the chips should have equal ID's and sizes, but I've never seen several different chips attached to single ndfc. I'm adding ndfc_of as a separate file, since some other changes have also been made (e.g. all i/o is made with ndfc_readl/writel inline functions). The original version didn't handle driver removal well (it never calls del_mtd...),it's corrected here. I decided not to add ecc pos and oob layout to DTS, since we should be OK with the default ones with NDFC.
This stuff has been tested on PowerPC 440EPx Sequoia board.
Any comments are greatly appreciated.
Thanks,
Valentine.