public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/3] BeagleBoard: turn off clocks in ehci_stop
@ 2011-08-16  2:36 Joel A Fernandes
  2011-08-16  2:36 ` [U-Boot] [PATCH 2/3] BeagleBoard: Added userbutton command Joel A Fernandes
  2011-08-16  2:36 ` [U-Boot] [PATCH 3/3] BeagleBoard: Configure DVI/S-video Joel A Fernandes
  0 siblings, 2 replies; 14+ messages in thread
From: Joel A Fernandes @ 2011-08-16  2:36 UTC (permalink / raw)
  To: u-boot

From: Koen Kooi <koen@dominion.thruhere.net>

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>
---
 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 7768901..a958545 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;
 }
 
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2011-09-11 16:39 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-16  2:36 [U-Boot] [PATCH 1/3] BeagleBoard: turn off clocks in ehci_stop Joel A Fernandes
2011-08-16  2:36 ` [U-Boot] [PATCH 2/3] BeagleBoard: Added userbutton command Joel A Fernandes
2011-09-08  6:13   ` Albert ARIBAUD
2011-09-08  8:05   ` Wolfgang Denk
2011-09-08 14:56     ` Joel A Fernandes
2011-09-08 15:03       ` Albert ARIBAUD
2011-09-08 15:10         ` Kridner, Jason
2011-09-08 15:27           ` Joel A Fernandes
2011-09-09  1:41           ` Joel A Fernandes
2011-09-09 14:19             ` Jason Kridner
2011-09-09 15:31               ` Joel A Fernandes
2011-09-09 17:00           ` Joel A Fernandes
2011-09-11 16:39     ` Joel A Fernandes
2011-08-16  2:36 ` [U-Boot] [PATCH 3/3] BeagleBoard: Configure DVI/S-video Joel A Fernandes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox