Skip to content

PowerPC: Add 44x NDFC device-tree aware support

Valentine Barshak linux-mtd linuxppc-dev 1 version NAK

Status from this message: NACK.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 8 repliesNAK

Patches in v1

#Subject and filesSizeRepliesApplied
1/2PowerPC: Add 44x NDFC device-tree aware supportdrivers/mtd/nand/Kconfig drivers/mtd/nand/Makefile drivers/mtd/nand/ndfc_of.c +1 more+461 -03 replies
2/2PowerPC: NDFC entry for PowerPC 440EPx Sequoia DTSarch/powerpc/boot/dts/sequoia.dts+0 -02 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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.