[PATCH v6 0/5] Add EHCI and OHCI drivers for STi SoC's

From: Peter Griffin
Date: Mon Sep 08 2014 - 08:04:59 EST


Hi,

I believe all feedback has been incorporated, and this series has also been rebased on
3.17-rc3.

It 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 v5:
- Remove shared header file and duplicate private structure to help readability
and keep driver self contained, based on Arnd feedback.
- Rebased on 3.17-rc3

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 | 375 ++++++++++++++++++++++
drivers/usb/host/ohci-st.c | 349 ++++++++++++++++++++
7 files changed, 811 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

--
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/