linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V4 0/5] Add XHCI, EHCI and OHCI support for Broadcom STB SoS's
@ 2018-11-09 14:01 Al Cooper
  2018-11-09 14:01 ` [PATCH V4 1/5] dt-bindings: Add Broadcom STB USB support Al Cooper
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Al Cooper @ 2018-11-09 14:01 UTC (permalink / raw)
  To: linux-kernel
  Cc: Al Cooper, Alan Stern, Alban Bedel, Alex Elder, Andrew Morton,
	Arnd Bergmann, Avi Fishman, bcm-kernel-feedback-list,
	Bjorn Andersson, Chunfeng Yun, David S. Miller, devicetree,
	Dmitry Osipenko, Greg Kroah-Hartman, Gustavo A. R. Silva,
	Hans de Goede, James Hogan, Johan Hovold, Kees Cook, linux-usb,
	Lu Baolu, Mark Rutland, Martin Blumenstingl, Mathias Nyman,
	Mathias Nyman, Mauro Carvalho Chehab, Rishabh Bhatnagar,
	Rob Herring, Roger Quadros

V4 - Rename hcd phy flag "suspend_without_phy_exit" to
     "phy_supplies_usb_clock" to more closely reflect
     the actaual hardware. Add the device tree property
     "suspend-without-phy-exit" to set the flag. Remove the code
     that sets the flag in the OHCI, EHCI and XHCI drivers which
     means that the ohci_platform.c driver can be used without
     any modifications.
   
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 (5):
  dt-bindings: Add Broadcom STB USB support
  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: 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  |  24 ++
 Documentation/devicetree/bindings/usb/usb-hcd.txt  |   3 +
 Documentation/devicetree/bindings/usb/usb-xhci.txt |   1 +
 MAINTAINERS                                        |   9 +
 arch/arm/configs/multi_v7_defconfig                |   1 +
 arch/arm64/configs/defconfig                       |   1 +
 drivers/usb/core/hcd.c                             |   8 +-
 drivers/usb/core/phy.c                             |  28 +-
 drivers/usb/core/phy.h                             |   9 +-
 drivers/usb/host/Kconfig                           |  26 ++
 drivers/usb/host/Makefile                          |  18 +-
 drivers/usb/host/ehci-brcm.c                       | 286 +++++++++++++++++++++
 drivers/usb/host/xhci-brcm.c                       |  16 ++
 drivers/usb/host/xhci-brcm.h                       |  16 ++
 drivers/usb/host/xhci-plat.c                       |   8 +
 include/linux/usb/hcd.h                            |   6 +
 16 files changed, 439 insertions(+), 21 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/usb/brcm,bcm7445-ehci.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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2018-11-26 21:57 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-09 14:01 [PATCH V4 0/5] Add XHCI, EHCI and OHCI support for Broadcom STB SoS's Al Cooper
2018-11-09 14:01 ` [PATCH V4 1/5] dt-bindings: Add Broadcom STB USB support Al Cooper
2018-11-26 21:57   ` Rob Herring
2018-11-09 14:01 ` [PATCH V4 2/5] usb: core: Add ability to skip phy exit on suspend and init on resume Al Cooper
2018-11-09 14:01 ` [PATCH V4 3/5] usb: xhci: xhci-plat: Add support for Broadcom STB SoC's Al Cooper
2018-11-09 14:01 ` [PATCH V4 4/5] usb: ehci: Add new EHCI driver " Al Cooper
2018-11-09 14:02 ` [PATCH V4 5/5] usb: host: Add ability to build new Broadcom STB USB drivers Al Cooper
2018-11-10  5:48   ` kbuild test robot
2018-11-10  5:48   ` [PATCH] usb: host: fix platform_no_drv_owner.cocci warnings kbuild test robot

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).