phy: rcar-gen3-usb2: Add R-Car Gen3 USB2 PHY driver
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Mon, 30 Nov 2015 01:44:30 +0000 (10:44 +0900)
committerKishon Vijay Abraham I <kishon@ti.com>
Sun, 20 Dec 2015 09:51:37 +0000 (15:21 +0530)
commitf3b5a8d9b50d71b8c9fb72aa9c8ea948ad1a4ef9
tree65900f3c4180211a534a8038562261c3febea95e
parent708744628ba96ed4dfcac74a985eb66ad551f164
phy: rcar-gen3-usb2: Add R-Car Gen3 USB2 PHY driver

This patch adds support for R-Car generation 3 USB2 PHY driver.
This SoC has 3 EHCI/OHCI channels, and the channel 0 is shared
with the HSUSB (USB2.0 peripheral) device. And each channel has
independent registers about the PHYs.

So, the purpose of this driver is:
 1) initializes some registers of SoC specific to use the
    {ehci,ohci}-platform driver.

 2) detects id pin to select host or peripheral on the channel 0.

For now, this driver only supports 1) above.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Documentation/devicetree/bindings/phy/rcar-gen3-phy-usb2.txt [new file with mode: 0644]
drivers/phy/Kconfig
drivers/phy/Makefile
drivers/phy/phy-rcar-gen3-usb2.c [new file with mode: 0644]