ARM: OMAP: gpmc: add DT bindings for GPMC timings and NAND
authorDaniel Mack <zonque@gmail.com>
Fri, 14 Dec 2012 10:36:44 +0000 (11:36 +0100)
committerTony Lindgren <tony@atomide.com>
Tue, 15 Jan 2013 22:50:15 +0000 (14:50 -0800)
commitbc6b1e7b86f5d8e4a6fc1c0189e64bba4077efe0
treeddf01fdfc247be244e453139a10af05c7b50b602
parentf50a0380897d2a5e61b251b07c50ee48fa298cfd
ARM: OMAP: gpmc: add DT bindings for GPMC timings and NAND

This patch adds basic DT bindings for OMAP GPMC.

The actual peripherals are instantiated from child nodes within the GPMC
node, and the only type of device that is currently supported is NAND.

Code was added to parse the generic GPMC timing parameters and some
documentation with examples on how to use them.

Successfully tested on an AM33xx board.

Signed-off-by: Daniel Mack <zonque@gmail.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
[tony@atomide.com: updated to apply]
Signed-off-by: Tony Lindgren <tony@atomide.com>
Documentation/devicetree/bindings/bus/ti-gpmc.txt [new file with mode: 0644]
Documentation/devicetree/bindings/mtd/gpmc-nand.txt [new file with mode: 0644]
arch/arm/mach-omap2/gpmc.c