[PATCH 0/3] usb: Add driver for USB signal re-mapper

Al Cooper alcooperx at gmail.com
Wed Aug 12 16:20:15 EDT 2020


The Broadcom 7211 has new functionality that allows some USB low
speed side band signals, that go from the XHCI host controller to
pins on the chip, to be remapped to use any GPIO pin instead of the
limited set selectable by hardware. This can be done without changing
the standard driver for the host controller. There is currently
support for three USB signals, PWRON, VBUS_PRESENT and PWRFLT. This
driver will allow the remapping of any of these three signals based
on settings in the Device Tree node for the driver. The driver was
written so that it could handle additional signals added in the
future by just adding the correct properties to the DT node.

Al Cooper (3):
  dt-bindings: Add support for Broadcom USB pin map driver
  usb: Add driver to allow any GPIO to be used for 7211 USB signals
  usb: Add Kconfig and Makefile changes to build brcmstb-usb-pinmap

 .../bindings/usb/brcm,usb-pinmap.yaml         |  63 ++++
 MAINTAINERS                                   |   8 +
 drivers/usb/host/Kconfig                      |   4 +
 drivers/usb/host/Makefile                     |   1 +
 drivers/usb/host/brcmstb-usb-pinmap.c         | 348 ++++++++++++++++++
 5 files changed, 424 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/usb/brcm,usb-pinmap.yaml
 create mode 100644 drivers/usb/host/brcmstb-usb-pinmap.c

-- 
2.17.1




More information about the linux-arm-kernel mailing list