* [PATCH 2/3] [OMAP] USB: Add omap7xx-specific pin muxing
@ 2009-11-22 21:27 Cory Maccarrone
2009-12-04 23:25 ` [APPLIED] " Tony Lindgren
0 siblings, 1 reply; 2+ messages in thread
From: Cory Maccarrone @ 2009-11-22 21:27 UTC (permalink / raw)
To: linux-omap
This adds the initialization for the pin muxing required
for USB to function properly on omap7xx hardware.
Signed-off-by: Cory Maccarrone <darkstar6262@gmail.com>
---
arch/arm/plat-omap/usb.c | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/arch/arm/plat-omap/usb.c b/arch/arm/plat-omap/usb.c
index 51033a4..d3bf17c 100644
--- a/arch/arm/plat-omap/usb.c
+++ b/arch/arm/plat-omap/usb.c
@@ -137,7 +137,13 @@ static u32 __init omap_usb0_init(unsigned nwires, unsigned is_device)
if (is_device) {
if (cpu_is_omap24xx())
omap_cfg_reg(J20_24XX_USB0_PUEN);
- else
+ else if (cpu_is_omap7xx()) {
+ omap_cfg_reg(AA17_7XX_USB_DM);
+ omap_cfg_reg(W16_7XX_USB_PU_EN);
+ omap_cfg_reg(W17_7XX_USB_VBUSI);
+ omap_cfg_reg(W18_7XX_USB_DMCK_OUT);
+ omap_cfg_reg(W19_7XX_USB_DCRST);
+ } else
omap_cfg_reg(W4_USB_PUEN);
}
--
1.6.3.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [APPLIED] [PATCH 2/3] [OMAP] USB: Add omap7xx-specific pin muxing
2009-11-22 21:27 [PATCH 2/3] [OMAP] USB: Add omap7xx-specific pin muxing Cory Maccarrone
@ 2009-12-04 23:25 ` Tony Lindgren
0 siblings, 0 replies; 2+ messages in thread
From: Tony Lindgren @ 2009-12-04 23:25 UTC (permalink / raw)
To: linux-omap
This patch has been applied to the linux-omap
by youw fwiendly patch wobot.
Branch in linux-omap: for-next-vol2
Initial commit ID (Likely to change): dd1a4ddb989eded52aac34a85cea2f2b122fbc84
PatchWorks
http://patchwork.kernel.org/patch/62078/
Git (Likely to change, and takes a while to get mirrored)
http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap-2.6.git;a=commit;h=dd1a4ddb989eded52aac34a85cea2f2b122fbc84
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-12-04 23:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-22 21:27 [PATCH 2/3] [OMAP] USB: Add omap7xx-specific pin muxing Cory Maccarrone
2009-12-04 23:25 ` [APPLIED] " Tony Lindgren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox