[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1541453493-34981-1-git-send-email-alcooperx@gmail.com>
Date: Mon, 5 Nov 2018 16:31:27 -0500
From: Al Cooper <alcooperx@...il.com>
To: linux-kernel@...r.kernel.org
Cc: Al Cooper <alcooperx@...il.com>,
Alan Stern <stern@...land.harvard.edu>,
Alban Bedel <albeu@...e.fr>, Alex Elder <elder@...aro.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Arnd Bergmann <arnd@...db.de>,
Avi Fishman <avifishman70@...il.com>,
bcm-kernel-feedback-list@...adcom.com,
Bjorn Andersson <bjorn.andersson@...aro.org>,
Chunfeng Yun <chunfeng.yun@...iatek.com>,
"David S. Miller" <davem@...emloft.net>,
devicetree@...r.kernel.org, Dmitry Osipenko <digetx@...il.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
"Gustavo A. R. Silva" <gustavo@...eddedor.com>,
Hans de Goede <hdegoede@...hat.com>,
James Hogan <jhogan@...nel.org>,
Jianguo Sun <sunjianguo1@...wei.com>,
Johan Hovold <johan@...nel.org>,
Kees Cook <keescook@...omium.org>, linux-usb@...r.kernel.org,
Lu Baolu <baolu.lu@...ux.intel.com>,
Mark Rutland <mark.rutland@....com>,
Martin Blumenstingl <martin.blumenstingl@...glemail.com>,
Mathias Nyman <mathias.nyman@...el.com>,
Mathias Nyman <mathias.nyman@...ux.intel.com>,
Mauro Carvalho Chehab <mchehab+samsung@...nel.org>,
Rishabh Bhatnagar <rishabhb@...eaurora.org>,
Rob Herring <robh+dt@...nel.org>, Roger Quadros <rogerq@...com>
Subject: [PATCH V3 0/6] Add XHCI, EHCI and OHCI support for Broadcom STB SoS's
V3 - Based on feedback
- Patch 3/6
In xhci-brcm.h, fixed incorrect function name when
CONFIG_USB_XHCI_BRCM is not defined. Found by kbuild test robot.
- Patch 4/6
In ohci-platform.c, use devm_kmemdup() instead of demv_kzalloc().
- Patch 5/6
In ehci-platform.c, use dma_coerce_mask_and_coherent()
instead of dma_coerce_mask_and_coherent(). Remove unneeded
#ifdef CONFIG_OF.
V2 - Based on feedback, the functionality for XHCI and OHCI was
moved from Broadcom platform drivers into the standard XHCI
and OHCI platform drivers. The EHCI functionality still uses
a Broadcom EHCI driver because of the workarounds needed for
bugs in the EHCI controller.
This adds support for the XHCI, EHCI and OHCI host controllers found
in Broadcom STB SoC's. These drivers depend on getting access to the
new Broadcom STB USB PHY driver through a device-tree phandle and
will fail if the driver is not available.
Al Cooper (6):
dt-bindings: Add Broadcom STB OHCI, EHCI and XHCI binding document
usb: core: Add ability to skip phy exit on suspend and init on resume
usb: xhci: xhci-plat: Add support for Broadcom STB SoC's
usb: ohci-platform: Add support for Broadcom STB SoC's
usb: ehci: Add new EHCI driver for Broadcom STB SoC's
usb: host: Add ability to build new Broadcom STB USB drivers
.../devicetree/bindings/usb/brcm,bcm7445-ehci.txt | 22 ++
.../devicetree/bindings/usb/brcm,bcm7445-ohci.txt | 22 ++
.../devicetree/bindings/usb/brcm,bcm7445-xhci.txt | 23 ++
MAINTAINERS | 9 +
drivers/usb/core/hcd.c | 8 +-
drivers/usb/core/phy.c | 18 +-
drivers/usb/core/phy.h | 9 +-
drivers/usb/host/Kconfig | 29 +++
drivers/usb/host/Makefile | 18 +-
drivers/usb/host/ehci-brcm.c | 287 +++++++++++++++++++++
drivers/usb/host/ohci-platform.c | 34 ++-
drivers/usb/host/xhci-brcm.c | 17 ++
drivers/usb/host/xhci-brcm.h | 16 ++
drivers/usb/host/xhci-plat.c | 8 +
include/linux/usb/hcd.h | 3 +
include/linux/usb/ohci_pdriver.h | 1 +
16 files changed, 499 insertions(+), 25 deletions(-)
create mode 100644 Documentation/devicetree/bindings/usb/brcm,bcm7445-ehci.txt
create mode 100644 Documentation/devicetree/bindings/usb/brcm,bcm7445-ohci.txt
create mode 100644 Documentation/devicetree/bindings/usb/brcm,bcm7445-xhci.txt
create mode 100644 drivers/usb/host/ehci-brcm.c
create mode 100644 drivers/usb/host/xhci-brcm.c
create mode 100644 drivers/usb/host/xhci-brcm.h
--
1.9.0.138.g2de3478
Powered by blists - more mailing lists