linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ulpi: add i.MX25 & 35 internal PHY ID
@ 2010-10-04 12:23 Eric Bénard
  2010-10-04 14:54 ` Sergei Shtylyov
  0 siblings, 1 reply; 9+ messages in thread
From: Eric Bénard @ 2010-10-04 12:23 UTC (permalink / raw)
  To: linux-arm-kernel

without this patch, the initialization of the OTG port in host mode
fails with :
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
mxc-ehci mxc-ehci.0: initializing i.MX USB Controller
ULPI transceiver vendor/product ID 0x0000/0x0000
ULPI ID does not match any known transceiver.
mxc-ehci mxc-ehci.0: unable to init transceiver, probably missing

Signed-off-by: Eric B?nard <eric@eukrea.com>
---
 drivers/usb/otg/ulpi.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/drivers/usb/otg/ulpi.c b/drivers/usb/otg/ulpi.c
index ccc8195..e802e44 100644
--- a/drivers/usb/otg/ulpi.c
+++ b/drivers/usb/otg/ulpi.c
@@ -34,7 +34,10 @@
 /* ULPI hardcoded IDs, used for probing */
 static unsigned int ulpi_ids[] = {
 	ULPI_ID(0x04cc, 0x1504),	/* NXP ISP1504 */
-	ULPI_ID(0x0424, 0x0006),        /* SMSC USB3319 */
+	ULPI_ID(0x0424, 0x0006),	/* SMSC USB3319 */
+#if (defined(CONFIG_ARCH_MX25) || defined(CONFIG_ARCH_MX35))
+	ULPI_ID(0x0000, 0x0000),	/* i.MX25 & i.MX35 internal PHY */
+#endif
 };
 
 static int ulpi_set_otg_flags(struct otg_transceiver *otg)
-- 
1.7.0.4

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

end of thread, other threads:[~2010-10-05 16:51 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-04 12:23 [PATCH] ulpi: add i.MX25 & 35 internal PHY ID Eric Bénard
2010-10-04 14:54 ` Sergei Shtylyov
2010-10-04 15:15   ` Igor Grinberg
2010-10-05  5:42     ` Daniel Mack
2010-10-05 12:59       ` Igor Grinberg
2010-10-05 15:12         ` Eric Bénard
2010-10-05 15:42           ` Igor Grinberg
2010-10-05 15:50             ` Eric Bénard
2010-10-05 16:51               ` [PATCH] cpuimx25 & cpuimx35: fix OTG port registration in host mode Eric Bénard

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).