mbox series

[00/12] Add USB2.0 support

Message ID 1554123232-58942-1-git-send-email-biju.das@bp.renesas.com (mailing list archive)
Headers show
Series Add USB2.0 support | expand

Message

Biju Das April 1, 2019, 12:53 p.m. UTC
This series adds USB 2.0 support for the RZ/G1C SoC. RZ/G1C
SoC is similar to R-Car Gen2 SoC, but there are some differences

- It has a shared pll reset register for hsusb0/hsusb1 and this register 
  reside in hsusb0 block.

- Each USB host needs to deassert the pll reset of hsusb block apart from
  initializing interrupt enable,OVC detection timer and suspend/resume timer
  register.

To address the above scenarios, created a ehci-r8a77470 host controller
driver.

This patchset is based on linux_next next-20190401 branch.

V1-->V2
 * Incorporated Rob's review comment
   Ref: https://patchwork.kernel.org/patch/10655853/
 * Incorporated Shimoda-San's review comment
   Ref: https://patchwork.kernel.org/patch/10655855/
 * Created ehci-r8a77470 host driver.

Biju Das (12):
  dt-bindings: phy: rcar-gen2: Add r8a77470 support
  phy: renesas: phy-rcar-gen2: Add support for r8a77470
  dt-bindings: usb: ehci-r8a77470 devicetree binding document
  usb: host: ehci-r8a77470: Add EHCI support for Renesas RZ/G1C devices
  ARM: shmobile: Enable USB [EO]HCI HCD PLATFORM support in
    shmobile_defconfig
  dt-bindings: usb: renesas_usbhs: Add support for r8a77470
  ARM: dts: r8a77470: Add USB PHY DT support
  ARM: dts: iwg23s-sbc: Enable USB Phy[01]
  ARM: dts: r8a77470: Add USB2.0 Host (EHCI/OHCI) device
  ARM: dts: iwg23s-sbc: Enable USB USB2.0 Host
  ARM: dts: r8a77470: Add HSUSB device nodes
  ARM: dts: iwg23s-sbc: Enable HS-USB

 .../devicetree/bindings/phy/rcar-gen2-phy.txt      |  57 +++-
 .../devicetree/bindings/usb/ehci-r8a77470.txt      |  35 +++
 .../devicetree/bindings/usb/renesas_usbhs.txt      |   1 +
 arch/arm/boot/dts/r8a77470-iwg23s-sbc.dts          |  36 +++
 arch/arm/boot/dts/r8a77470.dtsi                    | 121 ++++++++
 arch/arm/configs/shmobile_defconfig                |   2 +
 drivers/phy/renesas/phy-rcar-gen2.c                |  88 +++++-
 drivers/usb/host/Kconfig                           |   9 +
 drivers/usb/host/Makefile                          |   1 +
 drivers/usb/host/ehci-r8a77470.c                   | 327 +++++++++++++++++++++
 10 files changed, 671 insertions(+), 6 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/usb/ehci-r8a77470.txt
 create mode 100644 drivers/usb/host/ehci-r8a77470.c