mbox series

[v4,0/2] AM62: Add support for AM62 USB wrapper driver

Message ID 20220414103211.16202-1-a-govindraju@ti.com
Headers show
Series AM62: Add support for AM62 USB wrapper driver | expand

Message

Aswath Govindraju April 14, 2022, 10:32 a.m. UTC
The following series of patches add support for AM62 USB wrapper driver
and its corresponding bindings.

changes since v3:
- Removed the VBUS_VALID interrupt servicing as mode valid bit
  need not be switched based on the connect/disconnect event.
  The mode valid bit is being set during probe and cleared
  during remove
- As VBUS_VALID interrupt is not being used, removed the interrupts
  property from the bindings. As there is change in the dt-bindings
  I did not pick the reviewed-by tags from the earlier version of
  the series.

changes since v2:
- Removed the implementation of detecting the role from the wrapper
  driver and moved the implementation to using linux,extcon-usb-gpio
  driver for role detection.
- Updated the binding documentation and example to reflect the same.

changes since v1:
- Fixed the error with dev_pm_ops uninitialization, in patch 2.
  This was reported by kernel test bot
- In patch 1, made correction in grammer of clocks property description
  and added maxItems in the interrupts property based on comments
  received from Roger
- In patch 1, corrected the title, fixed the description of
  ti,syscon-phy-pll-refclk, added pattern properties and child node
  in the example based on the comments from Krzysztof. 

Aswath Govindraju (2):
  dt-bindings: usb: Add documentation for AM62 USB Wrapper module
  drivers: usb: dwc3: Add AM62 USB wrapper driver

 .../devicetree/bindings/usb/ti,am62-usb.yaml  | 103 ++++++
 drivers/usb/dwc3/Kconfig                      |   9 +
 drivers/usb/dwc3/Makefile                     |   1 +
 drivers/usb/dwc3/dwc3-am62.c                  | 332 ++++++++++++++++++
 4 files changed, 445 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/usb/ti,am62-usb.yaml
 create mode 100644 drivers/usb/dwc3/dwc3-am62.c