Re: [PATCH v5] phy: Renesas R-Car Gen2 PHY driver
From: Kishon Vijay Abraham I <hidden>
Date: 2014-08-19 06:47:18
Also in:
linux-devicetree
On Tuesday 19 August 2014 03:54 AM, Sergei Shtylyov wrote:
Hello. On 07/22/2014 11:27 PM, Sergei Shtylyov wrote:quoted
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.quoted
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.quoted
Signed-off-by: Sergei Shtylyov <redacted>quoted
--- The patch is against the 'next' branch of Kishon's 'linux-phy.git' repo.Kishon, may I ask what was the problem with this patch? I don't see it in 3.17-rc1 and you've never replied though nearly a month has passed...
It was too late to make it to 3.17. Overall this patch looks much better. will take a closer look in a day. Thanks Kishon
WBR, Sergei