From: Peter Griffin <peter.griffin@linaro.org>
To: linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, stern@rowland.harvard.edu,
gregkh@linuxfoundation.org, srinivas.kandagatla@gmail.com,
maxime.coquelin@st.com, patrice.chotard@st.com, arnd@arndb.de
Cc: peter.griffin@linaro.org, lee.jones@linaro.org,
linux-usb@vger.kernel.org, devicetree@vger.kernel.org
Subject: [PATCH RESEND v5 0/5] Add EHCI and OHCI drivers for STi SoC's
Date: Fri, 5 Sep 2014 18:23:44 +0100 [thread overview]
Message-ID: <1409937829-23708-1-git-send-email-peter.griffin@linaro.org> (raw)
Hi,
As part of the RESEND I've rebased this series on top of 3.17-rc3. I believe all
feedback has been addressed.
The series was re-worked from v2 onwards to split out the ehci and ohci parts
into their own drivers / devices like most other ARM platforms based on
feedback from Arnd Bergmann (see here http://www.spinics.net/lists/linux-usb/msg111124.html.
The ehci-platform & ohci-platform have been used as a basis for this in case we
wish to merge the drivers again in the future.
Changes since v4:
- Ensure suspend / resume callbacks are wrapped in #ifdef CONFIG_PM_SLEEP as otherwise we
will get linker 'unused function' warnings when this option is disabled.
- Only declare and reference pm_ops struct if CONFIG_PM_SLEEP is enabled, this saves a few bytes
Changes since v3:
- Make reset / power, clocks etc non optional dt options to simplify code
- Get rid of non DT boot code left over from *hci-platform drivers
- Remove DMA mask code
- Remove pre_setup func ptr and configure ahb2st bus convertor in ehci_platform_reset
- Unabstract and remove usb-st-common.c
- Have one kconfig which enables both ehci-st & ohci-st drivers
Changes since v2:
- Based on Arnd Berghman feedback, split out into 2 devices / drivers
- Base drivers oh ehci-platform.c & ohci-platform.c with required extensions
to allow possible re-merge in the furture.
Changes since v1:
- Correct s/OCHI/OHCI/ spelling
- Improve kconfig help message
- Various formating / spelling nits identified by Lee Jones
- Make driver depend on OF & remove node checks in code
- Use devm_ioremap_resource
- Remove unnecessary header files
Peter Griffin (5):
usb: host: ehci-st: Add EHCI support for ST STB devices
usb: host: ohci-st: Add OHCI driver support for ST STB devices
usb: host: ehci-st: Add ehci-st devicetree bindings documentation
usb: host: ohci-st: Add ohci-st devicetree bindings documentation
MAINTAINERS: Add ehci-st.c and ohci-st.c to ARCH/STI architecture
Documentation/devicetree/bindings/usb/ehci-st.txt | 39 +++
Documentation/devicetree/bindings/usb/ohci-st.txt | 37 +++
MAINTAINERS | 2 +
drivers/usb/host/Kconfig | 8 +
drivers/usb/host/Makefile | 1 +
drivers/usb/host/ehci-st.c | 365 ++++++++++++++++++++++
drivers/usb/host/ohci-st.c | 339 ++++++++++++++++++++
drivers/usb/host/usb-st-common.h | 31 ++
8 files changed, 822 insertions(+)
create mode 100644 Documentation/devicetree/bindings/usb/ehci-st.txt
create mode 100644 Documentation/devicetree/bindings/usb/ohci-st.txt
create mode 100644 drivers/usb/host/ehci-st.c
create mode 100644 drivers/usb/host/ohci-st.c
create mode 100644 drivers/usb/host/usb-st-common.h
--
1.9.1
next reply other threads:[~2014-09-05 17:23 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-05 17:23 Peter Griffin [this message]
2014-09-05 17:23 ` [PATCH RESEND v5 1/5] usb: host: ehci-st: Add EHCI support for ST STB devices Peter Griffin
2014-09-05 17:57 ` Arnd Bergmann
2014-09-05 18:16 ` Peter Griffin
2014-09-05 18:30 ` Arnd Bergmann
2014-09-05 17:23 ` [PATCH RESEND v5 2/5] usb: host: ohci-st: Add OHCI driver " Peter Griffin
2014-09-05 17:23 ` [PATCH RESEND v5 3/5] usb: host: ehci-st: Add ehci-st devicetree bindings documentation Peter Griffin
2014-09-05 17:23 ` [PATCH RESEND v5 4/5] usb: host: ohci-st: Add ohci-st " Peter Griffin
[not found] ` <1409937829-23708-1-git-send-email-peter.griffin-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2014-09-05 17:23 ` [PATCH RESEND v5 5/5] MAINTAINERS: Add ehci-st.c and ohci-st.c to ARCH/STI architecture Peter Griffin
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=1409937829-23708-1-git-send-email-peter.griffin@linaro.org \
--to=peter.griffin@linaro.org \
--cc=arnd@arndb.de \
--cc=devicetree@vger.kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=lee.jones@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=maxime.coquelin@st.com \
--cc=patrice.chotard@st.com \
--cc=srinivas.kandagatla@gmail.com \
--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).