linux-usb.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* lpc32xx and stotg04
@ 2020-07-23 21:27 Trevor Woerner
  2020-07-29 17:28 ` Alexandre Belloni
  0 siblings, 1 reply; 7+ messages in thread
From: Trevor Woerner @ 2020-07-23 21:27 UTC (permalink / raw)
  To: alexandre.belloni, jamesg; +Cc: linux-usb

Hi Alexandre and James,

I too am working with a board that uses the lpc32xx SoC (the lpc3240, to be
specific) and has a stotg04 for the USB transceiver instead of the isp1301.

I can't get the USB to work.

My guess is that I don't have the device tree correct.

I could embarrass myself by showing you what combinations I've tried but I
thought maybe I'd ask and see if either of you could provide a DT snippet
describing how to hook up the stotg04 to the i2cusb. Admittedly I'm quite
fuzzy when it comes to device trees.

I'm also a bit fuzzy on USB. I want to plug usb sticks into my device (which,
by my understanding, is the opposite of OTG). So additionally I want to enable
ohci and not usbd?

In one DT incantation (the one showing the most promise so far) on startup
'lsusb' shows two usb devices. The moment I plug a USB drive into my device I
get:

	[  433.268009] usb-ohci 31020000.ohci: controller won't resume
	[  433.273603] usb-ohci 31020000.ohci: HC died; cleaning up
	[  433.280566] usb 1-1: USB disconnect, device number 2

And afterwards only one device is listed by 'lsusb'.

Currently I'm using a 5.0 kernel and a 5.4 kernel, but I could use any kernel
(upstream, ideally). In either case, it doesn't seem possible to deselect the
isp1301 from the kernel config? It gets selected automatically. If I'm using
the stotg04 instead of the isp1301, do I need a way to turn off the isp1301?

Best regards,
	Trevor

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

end of thread, other threads:[~2020-07-30 18:51 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-23 21:27 lpc32xx and stotg04 Trevor Woerner
2020-07-29 17:28 ` Alexandre Belloni
2020-07-29 17:49   ` [PATCH] usb: ohci-nxp: add support for stotg04 phy Alexandre Belloni
2020-07-29 18:00     ` Sergei Shtylyov
2020-07-30  6:43       ` Greg KH
2020-07-30 11:35         ` Alexandre Belloni
2020-07-30 18:51   ` lpc32xx and stotg04 Trevor Woerner

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