LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Sneeker Yeh <sneeker.yeh@gmail.com>
To: Rob Herring <robh+dt@kernel.org>, Pawel Moll <pawel.moll@arm.com>,
Mark Rutland <mark.rutland@arm.com>,
Ian Campbell <ijc+devicetree@hellion.org.uk>,
Kumar Gala <galak@codeaurora.org>, Felipe Balbi <balbi@ti.com>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Mathias Nyman <mathias.nyman@intel.com>,
Grant Likely <grant.likely@linaro.org>,
Huang Rui <ray.huang@amd.com>,
Kishon Vijay Abraham I <kishon@ti.com>,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-usb@vger.kernel.org, linux-omap@vger.kernel.org
Cc: Andy Green <andy.green@linaro.org>,
Jassi Brar <jaswinder.singh@linaro.org>,
Sneeker Yeh <Sneeker.Yeh@tw.fujitsu.com>
Subject: [PATCH v2 0/5] Add support for Fujitsu USB host controller
Date: Mon, 19 Jan 2015 15:56:44 +0800 [thread overview]
Message-ID: <1421654209-6486-1-git-send-email-Sneeker.Yeh@tw.fujitsu.com> (raw)
These patches add support for XHCI compliant Host controller found
on Fujitsu Socs, and are based on http://lwn.net/Articles/629162/
The first patch is to add Fujitsu glue layer of Synopsis DesignWare USB3 driver
and last four patch is about quirk implementation of errata in Synopsis
DesignWare USB3 IP.
Patch 1 introduces Fujitsu Specific Glue layer in Synopsis DesignWare USB3 IP
driver.
Patch 2 is to add a revison number 3.00a of Synopsis DesignWare USB3 IP
core driver.
Patch 3 introduces using a quirk based on a errata of Synopsis
DesignWare USB3 IP which is versions < 3.00a and has hardware configuration
DWC_USB3_SUSPEND_ON_DISCONNECT_EN=1, which cannot be read from software. As a
result this quirk has to be enabled via platform data or device tree.
Patch 4 is to set Synopsis quirk in xhci platform driver based on xhci platform
data.
Patch 5 introduces a quirk with device disconnection management necessary
Synopsys Designware USB3 IP with versions < 3.00a and hardware configuration
DWC_USB3_SUSPEND_ON_DISCONNECT_EN=1. It solves a problem where without the
quirk, that host controller will die after a usb device is disconnected from
port of root hub.
Successfully tested on Fujitsu mb86s7x board.
Changes since v1 (RFC):
[https://lkml.org/lkml/2014/12/15/929]
- based on Arnd's comment, remove entire unnecessary Fujitsu EHCI/OHCI glue,
- based on Felipe's comment, fix mis-using of runtime-pm API and setting dma
mask, remove unnecessary comment, and refactor suspend/resume handler in
Fujitsu Specific Glue layer in dwc3,
- based on Felipe's comment, add more commit log and comments in Synopsis
quirk implementation, and separate it into four patches.
Sneeker Yeh (5):
usb: dwc3: add Fujitsu Specific Glue layer
usb: dwc3: add revision number DWC3_REVISION_300A
usb: dwc3: Add quirk for Synopsis device disconnection errata
xhci: Platform: Set Synopsis device disconnection quirk based on
platform data
xhci: add a quirk for device disconnection errata for Synopsis
Designware USB3 core
Documentation/devicetree/bindings/usb/dwc3.txt | 17 ++
.../devicetree/bindings/usb/fujitsu-dwc3.txt | 33 ++++
drivers/usb/dwc3/Kconfig | 11 ++
drivers/usb/dwc3/Makefile | 1 +
drivers/usb/dwc3/core.c | 6 +
drivers/usb/dwc3/core.h | 2 +
drivers/usb/dwc3/dwc3-mb86s70.c | 206 ++++++++++++++++++++
drivers/usb/dwc3/host.c | 4 +
drivers/usb/dwc3/platform_data.h | 1 +
drivers/usb/host/xhci-hub.c | 4 +
drivers/usb/host/xhci-plat.c | 3 +
drivers/usb/host/xhci.c | 29 +++
drivers/usb/host/xhci.h | 24 +++
include/linux/usb/xhci_pdriver.h | 4 +
14 files changed, 345 insertions(+)
create mode 100644 Documentation/devicetree/bindings/usb/fujitsu-dwc3.txt
create mode 100644 drivers/usb/dwc3/dwc3-mb86s70.c
--
1.7.9.5
next reply other threads:[~2015-01-19 7:58 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-19 7:56 Sneeker Yeh [this message]
2015-01-19 7:56 ` [PATCH v2 1/5] usb: dwc3: add Fujitsu Specific Glue layer Sneeker Yeh
2015-01-19 14:48 ` Felipe Balbi
2015-01-19 7:56 ` [PATCH v2 2/5] usb: dwc3: add revision number DWC3_REVISION_300A Sneeker Yeh
2015-01-19 14:46 ` Felipe Balbi
2015-01-19 19:45 ` John Youn
2015-01-19 20:00 ` Felipe Balbi
2015-01-21 8:57 ` Sneeker Yeh
2015-01-19 7:56 ` [PATCH v2 3/5] usb: dwc3: Add quirk for Synopsis device disconnection errata Sneeker Yeh
2015-01-19 14:50 ` Felipe Balbi
2015-01-21 9:02 ` Sneeker Yeh
2015-01-23 16:20 ` Felipe Balbi
2015-01-19 7:56 ` [PATCH v2 4/5] xhci: Platform: Set Synopsis device disconnection quirk based on platform data Sneeker Yeh
2015-01-19 14:51 ` Felipe Balbi
2015-01-21 8:55 ` Sneeker Yeh
2015-01-19 7:56 ` [PATCH v2 5/5] xhci: add a quirk for device disconnection errata for Synopsis Designware USB3 core Sneeker Yeh
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=1421654209-6486-1-git-send-email-Sneeker.Yeh@tw.fujitsu.com \
--to=sneeker.yeh@gmail.com \
--cc=Sneeker.Yeh@tw.fujitsu.com \
--cc=andy.green@linaro.org \
--cc=balbi@ti.com \
--cc=devicetree@vger.kernel.org \
--cc=galak@codeaurora.org \
--cc=grant.likely@linaro.org \
--cc=gregkh@linuxfoundation.org \
--cc=ijc+devicetree@hellion.org.uk \
--cc=jaswinder.singh@linaro.org \
--cc=kishon@ti.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=mathias.nyman@intel.com \
--cc=pawel.moll@arm.com \
--cc=ray.huang@amd.com \
--cc=robh+dt@kernel.org \
--subject='Re: [PATCH v2 0/5] Add support for Fujitsu USB host controller' \
/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
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).