From: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
To: gregkh@linuxfoundation.org, stern@rowland.harvard.edu,
linux@prisktech.co.nz, robh+dt@kernel.org, mark.rutland@arm.com
Cc: linux-usb@vger.kernel.org, linux-renesas-soc@vger.kernel.org,
Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Subject: [PATCH 0/2] usb: host: ehci-platform: add a quirk to avoid stuck
Date: Fri, 17 Jan 2020 19:54:05 +0900 [thread overview]
Message-ID: <1579258447-28135-1-git-send-email-yoshihiro.shimoda.uh@renesas.com> (raw)
Since EHCI/OHCI controllers on R-Car Gen3 SoCs are possible to
be getting stuck very rarely after a full/low usb device was
disconnected. To detect/recover from such a situation, the controllers
require a special way which poll the EHCI PORTSC register and changes
the OHCI functional state.
So, this patch adds a polling timer into the ehci-platform driver,
and if the ehci driver detects the issue by the EHCI PORTSC register,
the ehci driver removes a companion device (= the OHCI controller)
to change the OHCI functional state to USB Reset once. And then,
the ehci driver adds the companion device again.
Yoshihiro Shimoda (2):
dt-bindings: usb: generic-ehci: add a quirk property to avoid stuck
usb: host: ehci-platform: add a quirk to avoid stuck
.../devicetree/bindings/usb/generic-ehci.yaml | 5 +
drivers/usb/host/ehci-platform.c | 104 +++++++++++++++++++++
2 files changed, 109 insertions(+)
--
2.7.4
next reply other threads:[~2020-01-17 10:54 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-17 10:54 Yoshihiro Shimoda [this message]
2020-01-17 10:54 ` [PATCH 1/2] dt-bindings: usb: generic-ehci: add a quirk property to avoid stuck Yoshihiro Shimoda
2020-01-17 16:03 ` Geert Uytterhoeven
2020-01-20 8:05 ` Yoshihiro Shimoda
2020-01-23 8:17 ` Yoshihiro Shimoda
2020-01-23 8:57 ` Geert Uytterhoeven
2020-01-23 12:06 ` Yoshihiro Shimoda
2020-01-17 10:54 ` [PATCH 2/2] usb: host: ehci-platform: add a quirk " Yoshihiro Shimoda
2020-01-17 16:26 ` Alan Stern
2020-01-20 9:33 ` Yoshihiro Shimoda
2020-01-20 15:12 ` Alan Stern
2020-01-21 1:37 ` Yoshihiro Shimoda
2020-01-21 15:09 ` Alan Stern
2020-01-22 11:05 ` Yoshihiro Shimoda
2020-01-22 14:58 ` Alan Stern
2020-01-23 12:05 ` Yoshihiro Shimoda
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=1579258447-28135-1-git-send-email-yoshihiro.shimoda.uh@renesas.com \
--to=yoshihiro.shimoda.uh@renesas.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=linux@prisktech.co.nz \
--cc=mark.rutland@arm.com \
--cc=robh+dt@kernel.org \
--cc=stern@rowland.harvard.edu \
/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).