mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-07-17 06:48:07 +00:00
88867c1d96
Move non-essential, outdated, best-effort pieces, as well, as those requiring extra non-standard dependencies besides oe-core. Signed-off-by: Denys Dmytriyenko <denys@ti.com>
45 lines
1.7 KiB
Diff
45 lines
1.7 KiB
Diff
From 3d2f0e2f29320d9c6a6e4d8d5aeff9127a2106cb Mon Sep 17 00:00:00 2001
|
|
From: Koen Kooi <koen@beagleboard.org>
|
|
Date: Tue, 11 Jan 2011 17:13:35 +0000
|
|
Subject: [PATCH 01/28] omap3: beaglexm: fix EHCI power up GPIO dir
|
|
|
|
EHCI enable power pin is inverted (active high) in comparison
|
|
to vanilla beagle which is active low. Handle this case conditionally.
|
|
|
|
Without this fix, Beagle XM 4 port EHCI will not function and no
|
|
networking will be available
|
|
|
|
[nm@ti.com: split up, added descriptive changelogs]
|
|
Signed-off-by: Nishanth Menon <nm@ti.com>
|
|
Signed-off-by: Koen Kooi <koen@beagleboard.org>
|
|
Signed-off-by: Tony Lindgren <tony@atomide.com>
|
|
---
|
|
arch/arm/mach-omap2/board-omap3beagle.c | 10 ++++++++--
|
|
1 files changed, 8 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c
|
|
index 6c12760..af1166b 100644
|
|
--- a/arch/arm/mach-omap2/board-omap3beagle.c
|
|
+++ b/arch/arm/mach-omap2/board-omap3beagle.c
|
|
@@ -297,9 +297,15 @@ static int beagle_twl_gpio_setup(struct device *dev,
|
|
gpio_request(gpio + 1, "EHCI_nOC");
|
|
gpio_direction_input(gpio + 1);
|
|
|
|
- /* TWL4030_GPIO_MAX + 0 == ledA, EHCI nEN_USB_PWR (out, active low) */
|
|
+ /*
|
|
+ * TWL4030_GPIO_MAX + 0 == ledA, EHCI nEN_USB_PWR (out, XM active
|
|
+ * high / others active low)
|
|
+ */
|
|
gpio_request(gpio + TWL4030_GPIO_MAX, "nEN_USB_PWR");
|
|
- gpio_direction_output(gpio + TWL4030_GPIO_MAX, 0);
|
|
+ if (omap3_beagle_get_rev() == OMAP3BEAGLE_BOARD_XM)
|
|
+ gpio_direction_output(gpio + TWL4030_GPIO_MAX, 1);
|
|
+ else
|
|
+ gpio_direction_output(gpio + TWL4030_GPIO_MAX, 0);
|
|
|
|
/* TWL4030_GPIO_MAX + 1 == ledB, PMU_STAT (out, active low LED) */
|
|
gpio_leds[2].gpio = gpio + TWL4030_GPIO_MAX + 1;
|
|
--
|
|
1.6.6.1
|
|
|