linux-arm-msm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] introducing internal_phy_reset()
@ 2010-07-16 10:30 David Lanzendörfer
  2010-07-22 20:28 ` Daniel Walker
  0 siblings, 1 reply; 3+ messages in thread
From: David Lanzendörfer @ 2010-07-16 10:30 UTC (permalink / raw)
  To: linux-arm-msm

Hi, the following function should work for hsusb.
I only need to know now, where it should be added to platform data exactly.
Best regards
	leviathan
---
 arch/arm/mach-msm/board-trout.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-msm/board-trout.c b/arch/arm/mach-msm/board-trout.c
index bc0afa4..59d7640 100644
--- a/arch/arm/mach-msm/board-trout.c
+++ b/arch/arm/mach-msm/board-trout.c
@@ -29,6 +29,7 @@
 
 #include "devices.h"
 #include "board-trout.h"
+#include "proc_comm.h"
 
 extern int trout_init_mmc(unsigned int);
 
@@ -63,6 +64,11 @@ static void __init trout_init_irq(void)
 	msm_init_irq();
 }
 
+static void internal_phy_reset(void)
+{
+	msm_proc_comm(PCOM_MSM_HSUSB_PHY_RESET,NULL,NULL);
+}
+
 static void __init trout_fixup(struct machine_desc *desc, struct tag *tags,
 				char **cmdline, struct meminfo *mi)
 {
-- 
1.6.4.4


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

end of thread, other threads:[~2010-07-22 23:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-16 10:30 [PATCH] introducing internal_phy_reset() David Lanzendörfer
2010-07-22 20:28 ` Daniel Walker
2010-07-22 23:16   ` Timothy Meade

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).