aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Nelson <robertcnelson@gmail.com>2010-10-18 15:02:35 -0500
committerJohn Rigby <john.rigby@linaro.org>2010-10-21 11:21:28 -0600
commit89ee35bab30db0084dfd3c4c7d226c9888fa982f (patch)
treee96eb25f0da215a8748fa5394614f84262ac8d98
parent7b40c4b03dfc99ee68a5549a45502d853b6570ad (diff)
SRU: Fix DVI for Beagle xM rev A3
SRU Justification: Impact: With BeagleBoard xM rev A3 the DVI_PU is now used and connected to GPIO 2 on TPS65950. Without setting up this GPIO the DVI will be off, and the user will be unable to install and use the distro. Fix: The problem is fixed by setting up the GPIO 2 on TPS65950 for when running at Beagle xM. There's no problem when setting this GPIO in previous xM revisions as it's not connected. For more details please see http://beagleboard.org/hardware/design. Testcase: When booting with current kernel on xM A3 you should be unable to use the DVI. After applying the fix it should work the same way as with previous xM revisions. BugLink: https://bugs.launchpad.net/bugs/663642 Signed-off-by: Robert Nelson <robertcnelson@gmail.com> Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@canonical.com> Acked-by: Tim Gardner <tim.gardner@canonical.com> Acked-by: Leann Ogasawara <leann.ogasawara@canonical.com>
-rw-r--r--arch/arm/mach-omap2/board-omap3beagle.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c
index 8372f50dcb3..d928309f804 100644
--- a/arch/arm/mach-omap2/board-omap3beagle.c
+++ b/arch/arm/mach-omap2/board-omap3beagle.c
@@ -303,6 +303,10 @@ static int beagle_twl_gpio_setup(struct device *dev,
if (cpu_is_omap3630()) {
gpio_request(gpio + 1, "nDVI_PWR_EN");
gpio_direction_output(gpio + 1, 0);
+
+ /* On the xM A3 DVI_PUP was moved to an empty GPIO pin on the TPS65950 */
+ gpio_request(gpio + 2, "DVI_PUP");
+ gpio_direction_output(gpio + 2, 1);
/* TWL4030_GPIO_MAX + 0 == ledA, EHCI nEN_USB_PWR (out, active low) */
gpio_request(gpio + TWL4030_GPIO_MAX, "nEN_USB_PWR");