]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf61aef47085d973240a5fb99f334143549a48f59
tree98bf319485e262b9445c710ece9828fc037e6f53
parent64fdbc7342668293bb819947710fc5bb363c3aef
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