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>
Thu, 15 Nov 2012 13:37:50 +0000 (15:37 +0200)
commit7c8f680e96edbd9896b13b5e6ff39bc5852dce2a
treeb9739bdc2f32c413b58d8599415aa76d525c1911
parent83738d87e3a0a4096e1419a65b8228130d183df6
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