linux-arm-msm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "David Lanzendörfer" <david.lanzendoerfer@o2s.ch>
To: linux-arm-msm@vger.kernel.org
Subject: [PATCH] introducing internal_phy_reset()
Date: Fri, 16 Jul 2010 12:30:53 +0200	[thread overview]
Message-ID: <201007161230.54163.david.lanzendoerfer@o2s.ch> (raw)

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


             reply	other threads:[~2010-07-16 10:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-16 10:30 David Lanzendörfer [this message]
2010-07-22 20:28 ` [PATCH] introducing internal_phy_reset() Daniel Walker
2010-07-22 23:16   ` Timothy Meade

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201007161230.54163.david.lanzendoerfer@o2s.ch \
    --to=david.lanzendoerfer@o2s.ch \
    --cc=linux-arm-msm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).