diff options
author | Koen Kooi | 2011-06-17 09:26:17 +0200 |
---|---|---|
committer | Albert ARIBAUD | 2011-09-04 11:36:20 +0200 |
commit | f44047df3b365e0fdd9be367971ade81b9afdf15 (patch) | |
tree | 8fe222b37d9221f3fbae9aa0c51fd1c70e74771f /board/ti/beagle | |
parent | 69716c1900274a89bd5cbd1b0bb276ceaaa04f61 (diff) |
BeagleBoard: turn off clocks in ehci_stop
This fixes display problems in linux
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Joel A Fernandes <agnel.joel@gmail.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
Diffstat (limited to 'board/ti/beagle')
-rw-r--r-- | board/ti/beagle/beagle.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/board/ti/beagle/beagle.c b/board/ti/beagle/beagle.c index 776890104fc..a9585457766 100644 --- a/board/ti/beagle/beagle.c +++ b/board/ti/beagle/beagle.c @@ -356,6 +356,12 @@ int ehci_hcd_stop(void) pr_debug("Resetting OMAP3 EHCI\n"); omap_set_gpio_dataout(GPIO_PHY_RESET, 0); writel(OMAP_UHH_SYSCONFIG_SOFTRESET, OMAP3_UHH_BASE + OMAP_UHH_SYSCONFIG); + /* disable USB clocks */ + struct prcm *prcm_base = (struct prcm *)PRCM_BASE; + sr32(&prcm_base->iclken_usbhost, 0, 1, 0); + sr32(&prcm_base->fclken_usbhost, 0, 2, 0); + sr32(&prcm_base->iclken3_core, 2, 1, 0); + sr32(&prcm_base->fclken3_core, 2, 1, 0); return 0; } |