linux/arch/arm/mach-omap2
Pekon Gupta 6b187b21c9 ARM: OMAP2+: gpmc: fix: DT NAND child nodes not probed when MTD_NAND is built as module
Fixes: commit bc6b1e7b86f5d8e4a6fc1c0189e64bba4077efe0
       ARM: OMAP: gpmc: add DT bindings for GPMC timings and NAND

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

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

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

CC: <stable@vger.kernel.org> # 3.9.x+
Signed-off-by: Pekon Gupta <pekon@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2014-02-13 15:10:42 -08:00
..
2013-06-12 08:00:35 -07:00
2012-09-20 15:02:23 -07:00
2013-09-06 13:21:16 -07:00
2013-02-21 14:58:40 -08: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
2014-01-17 12:35:48 -08:00
2013-10-13 22:49:06 -06:00
2013-05-02 09:03:55 -07:00
2013-11-11 17:34:56 +09:00
2013-01-11 11:24:18 -08:00
2013-02-21 15:27:22 -08:00
2013-02-21 15:27:22 -08:00
2013-02-21 15:27:22 -08:00
2013-11-11 16:49:45 +09:00
2012-09-20 15:02:22 -07:00
2014-02-13 14:57:13 -08: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-12-28 21:38:16 -08:00
2013-10-13 22:48:46 -06:00
2013-02-21 15:27:22 -08: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
2013-02-21 15:27:22 -08:00