ARM: OMAP2+: Fix eMMC on n900 with device tree
authorTony Lindgren <tony@atomide.com>
Mon, 25 Nov 2013 22:23:45 +0000 (14:23 -0800)
committerTony Lindgren <tony@atomide.com>
Mon, 25 Nov 2013 22:23:45 +0000 (14:23 -0800)
commitedd5eb4e99e4153ea7be05390fda542d986bf28d
tree98bf319485e262b9445c710ece9828fc037e6f53
parent26f67a31265d459aa6f93b0a1ecbd64e7435519d
ARM: OMAP2+: Fix eMMC on n900 with device tree

Looks like we need to configure the regulators and use the pdata
quirk to make eMMC work with device tree.

It seems that mostly vaux3 is used, and only some earlier revisions
used vmmc2. This has been tested to work on devices where the
system_rev passed by the bootloader has versions 0x0010, 0x2101
and 0x2204.

Cc: devicetree@vger.kernel.org
Cc: Pavel Machek <pavel@ucw.cz>
Cc: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Sebastian Reichel <sre@debian.org>
[tony@atomide.com: updated with pinctrl changes and comments from Sebastian]
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/omap3-n900.dts
arch/arm/mach-omap2/pdata-quirks.c