]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mtd: sh_flctl: Add device tree support
authorBastian Hecht <hechtb@googlemail.com>
Fri, 19 Oct 2012 10:15:36 +0000 (12:15 +0200)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Mon, 12 Nov 2012 15:17:45 +0000 (17:17 +0200)
commitea6eb10bd75653fd994046cdd4e6a55bb77b50ee
tree460d67b45eeb73d175b762bf561fb12457be1766
parent7f629b7d19b36c94b159119d28c2ef982a76ee84
mtd: sh_flctl: Add device tree support

The flctl can now be probed via device tree setup in addition to the
existing platform data way.

SoC specific setup data is set in the .data member of the OF match, so
kept within the driver itself, while board/user specific setup - like
partitioning - is taken from the device tree.

Actual configuration is added for the SoC sh7372.

Signed-off-by: Bastian Hecht <hechtb@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Documentation/devicetree/bindings/mtd/flctl-nand.txt [new file with mode: 0644]
drivers/mtd/nand/sh_flctl.c