Files
linux/arch/arm/mach-omap2
Pekon Gupta 2e5b5c4269 ARM: OMAP2+: gpmc: fix: DT ONENAND child nodes not probed when MTD_ONENAND is built as module
commit 980386d2d6 upstream.

Fixes: commit 75d3625e0e
       ARM: OMAP2+: gpmc: add DT bindings for OneNAND

OMAP SoC(s) depend on GPMC controller driver to parse GPMC DT child nodes and
register them platform_device for ONENAND driver to probe later. However this does
not happen if generic MTD_ONENAND framework is built as module (CONFIG_MTD_ONENAND=m).

Therefore, when MTD/ONENAND and MTD/ONENAND/OMAP2 modules are loaded, they are unable
to find any matching platform_device and remain un-binded. This causes on board
ONENAND flash to remain un-detected.

This patch causes GPMC controller to parse DT nodes when
CONFIG_MTD_ONENAND=y || CONFIG_MTD_ONENAND=m

Signed-off-by: Pekon Gupta <pekon@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-03-06 22:06:08 -08:00
..
2013-06-12 08:00:35 -07:00
2012-09-20 15:02:23 -07:00
2012-12-24 09:36:38 -07:00
2013-01-11 11:24:18 -08:00
2013-01-11 11:24:18 -08:00
2013-10-13 22:49:06 -06:00
2013-01-11 11:24:18 -08:00
2012-09-20 15:02:22 -07:00
2012-09-20 15:03:59 -07:00
2012-09-20 15:04:00 -07:00
2012-09-20 15:04:01 -07:00
2012-09-20 15:04:03 -07:00
2013-05-08 17:07:40 -07:00
2013-10-08 10:37:29 -07:00
2013-10-13 22:48:46 -06:00
2013-01-11 11:24:18 -08:00
2013-01-11 11:24:18 -08:00
2013-01-11 11:24:18 -08:00
2012-10-18 16:23:20 -07:00
2013-10-08 14:45:57 -07:00
2013-06-12 08:07:23 -07:00
2013-08-16 09:39:56 -07:00
2012-11-05 15:08:23 -08:00
2012-09-12 02:57:10 -06:00