RE: [PATCH] usb: xhci: handle uPD720201 and uPD720202 w/o ROM

From: Yoshihiro Shimoda
Date: Tue Jun 21 2016 - 02:22:01 EST


Hello,

> From: Christian Lamparter
> Sent: Tuesday, June 21, 2016 12:32 AM
>
> On Wednesday, June 08, 2016 12:14:57 AM Christian Lamparter wrote:
> > This patch adds a firmware check for the uPD720201K8-711-BAC-A
> > and uPD720202K8-711-BAA-A variant. Both of these chips are listed
> > in Renesas' R19UH0078EJ0500 Rev.5.00 "User's Manual: Hardware" as
> > devices which need a firmware in order to work as they do not have
> > support to load the firmware from an external ROM.
> >
> > Currently, the xhci-pci driver is unable to initialize the hcd in
> > this case. Instead it will wait for 30 seconds and cause a timeout
> > in xhci_handshake() and fails.
> >
> > [ 5.116990] xhci_hcd 0000:45:00.0: new USB bus registered ...
> > [ 32.335215] xhci_hcd 0000:45:00.0: can't setup: -110
> > [ 32.340179] xhci_hcd 0000:45:00.0: USB bus 2 deregistered
> > [ 32.345587] xhci_hcd 0000:45:00.0: init 0000:45:00.0 fail, -110
> > [ 32.351496] xhci_hcd: probe of 0000:45:00.0 failed with error -110
> >
> > Cc: Yoshihiro Shimoda <yoshihiro.shimoda.uh@xxxxxxxxxxx>
> > Signed-off-by: Christian Lamparter <chunkeey@xxxxxxxxx>
> Hello?
>
> Are there any news on this? Or is there anything else that I'm missing
> which blocks this patch? If it's because the device won't be working
> either with this patch, then please let me know.

Thank you for the patch with CC me.
However, I'm afraid but I don't know the detail of the Renesas xHCI PCI controller.
(My job is for R-Car environment for now.)

By the way, the issue seems similar with R-Car environment though :)
http://thread.gmane.org/gmane.linux.kernel.stable/175457/focus=140699

and fix patch for it:
http://thread.gmane.org/gmane.linux.kernel.stable/177524

Best regards,
Yoshihiro Shimoda

> either with this patch, then please let me know. If Renesas is willing
> to add the uPD720201/2 firmware (Like they did for their R-Car controllers)
> to linux-firmware, I can write the necessary firmware loader from
> the PDF for this device and put it into xhci-quirks.
>
> Regards,
> Christian