Hello. On 05/29/2014 05:32 AM, Yoshihiro Shimoda wrote:
From: Gregory CLEMENT <gregory.clement@xxxxxxxxxxxxxxxxxx>
This commit extends the xhci-plat so that it can optionally be passed a reference to a PHY through the Device Tree. It will be useful for the Armada 375 SoCs. If no PHY is provided then the behavior of the driver is unchanged.
As for the clock, to achieve this, it adds a 'struct phy *' member in xhci_hcd. While only used for now in xhci-plat, here again, it might be used by other drivers in the future.
Signed-off-by: Gregory CLEMENT <gregory.clement@xxxxxxxxxxxxxxxxxx> Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@xxxxxxxxxxx> --- drivers/usb/host/xhci-plat.c | 27 ++++++++++++++++++++++++++- drivers/usb/host/xhci.h | 2 ++ 2 files changed, 28 insertions(+), 1 deletion(-)
I've already posted a patch adding generic PHY support to all USB HCDs about 1.5 months ago, which should make this patch unneeded.
WBR, Sergei -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html