phy: Renesas R-Car Gen2 PHY driver
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Tue, 22 Jul 2014 19:27:14 +0000 (23:27 +0400)
committerSimon Horman <horms+renesas@verge.net.au>
Fri, 5 Dec 2014 04:13:41 +0000 (13:13 +0900)
commit48a9789faa52767f50a9b7a6695516f7069b14fc
tree04449026724bb5ff43c0eee1f0fe641d66f4fb42
parent3f24140ff66ec61af497d4fb6d9bae0d9ebf2aca
phy: Renesas R-Car Gen2 PHY driver

This PHY, though formally being a part of Renesas USBHS controller, contains the
UGCTRL2 register that controls multiplexing of the USB ports (Renesas calls them
channels) to the different USB controllers: channel 0 can be connected to either
PCI EHCI/OHCI or USBHS controllers, channel 2 can be connected to PCI EHCI/OHCI
or xHCI controllers.

This is a new driver for this USB PHY currently already supported under drivers/
usb/phy/. The reason for writing the new driver was the requirement that the
multiplexing  of USB channels to the controller be dynamic, depending on what
USB drivers  are loaded,  rather than static as provided by the old driver. The
infrastructure provided by drivers/phy/phy-core.c  seems to fit that purpose
ideally. The new driver only  supports device tree probing  for now.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
(cherry picked from commit 1233f59f745b237d85f12aa9cf12ffab469f322d)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Conflicts:
drivers/phy/Kconfig
drivers/phy/Makefile
Documentation/devicetree/bindings/phy/rcar-gen2-phy.txt [new file with mode: 0644]
drivers/phy/Kconfig
drivers/phy/Makefile
drivers/phy/phy-rcar-gen2.c [new file with mode: 0644]