]> git.baikalelectronics.ru Git - kernel.git/commit
phy: Renesas R-Car Gen2 PHY driver
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Tue, 22 Jul 2014 19:27:14 +0000 (23:27 +0400)
committerKishon Vijay Abraham I <kishon@ti.com>
Wed, 24 Sep 2014 09:48:31 +0000 (15:18 +0530)
commit09625da3549f349347d35b6e2c8f91d57f612226
tree933473b42ec28e4ffcd9ea598b384aca6056d5a1
parentcca37dd8c801f9fa2dc783c9b6c38dd57f6743e5
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>
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]