mbox series

[0/7] Add the Renesas USBF controller support

Message ID 20221107135825.583877-1-herve.codina@bootlin.com (mailing list archive)
Headers show
Series Add the Renesas USBF controller support | expand


Herve Codina Nov. 7, 2022, 1:58 p.m. UTC

This series add support for the Renesas USBF controller (USB Device
Controller) available in the Renesas RZ/N1 SoC.

The first three patches are related to the H2MODE bit from CFG_USB
register. This register is managed by the Renesas sysctrl driver.
The H2MODE bit allows to configure the internal USB Port interface
for two hosts or one host and one device.

The next patches are related to the USBF controller with a new
binding definition, the driver itself and myself as a maintainer
of this controller.

Best regards,
Herve Codina

Herve Codina (7):
  soc: renesas: r9a06g032-sysctrl: Export function to get H2MODE from
    CFG_USB register
  dt-bindings: clock: renesas,r9a06g032-sysctrl: Add h2mode property
  soc: renesas: r9a06g032-sysctrl: Handle h2mode device-tree property
  dt-bindings: usb: add the Renesas USBF controller binding
  usb: gadget: udc: add Renesas RZ/N1 USBF controller support
  ARM: dts: r9a06g032: Add the USBF controller node
  MAINTAINERS: add the Renesas RZ/N1 USBF controller entry

 .../clock/renesas,r9a06g032-sysctrl.yaml      |   10 +
 .../devicetree/bindings/usb/renesas,usbf.yaml |   64 +
 MAINTAINERS                                   |    8 +
 arch/arm/boot/dts/r9a06g032.dtsi              |   11 +
 drivers/clk/renesas/r9a06g032-clocks.c        |   39 +
 drivers/usb/gadget/udc/Kconfig                |   11 +
 drivers/usb/gadget/udc/Makefile               |    1 +
 drivers/usb/gadget/udc/renesas_usbf.c         | 3455 +++++++++++++++++
 include/linux/soc/renesas/r9a06g032-sysctrl.h |    2 +
 9 files changed, 3601 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/usb/renesas,usbf.yaml
 create mode 100644 drivers/usb/gadget/udc/renesas_usbf.c