aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2012-04-12 17:46:49 -0400
committerStephen Warren <swarren@nvidia.com>2012-04-25 17:22:09 -0400
commitaa607ebf93a5fc26275a575781399df971dd1b91 (patch)
tree93dcb6f1af5f6d7e64663a4ce9e45e889866309e /drivers/usb
parent60d148b9f838b718e4808061ee6d5833de77fd9c (diff)
ARM: tegra: add USB ULPI PHY reset GPIO to device tree
ULPI PHYs have a reset signal, and different boards use a different GPIO for this task. Add a property to device tree to represent this. I'm not sure if adding this property to the EHCI controller node is entirely correct; perhaps eventually we should have explicit separate nodes for the various PHYs. However, we don't have that right now, so this binding seems like a reasonable choice. Cc: <devicetree-discuss@lists.ozlabs.org> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: <linux-usb@vger.kernel.org> Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/host/ehci-tegra.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/usb/host/ehci-tegra.c b/drivers/usb/host/ehci-tegra.c
index 9692bef159f5..14532fe04f5e 100644
--- a/drivers/usb/host/ehci-tegra.c
+++ b/drivers/usb/host/ehci-tegra.c
@@ -708,8 +708,9 @@ static int tegra_ehci_probe(struct platform_device *pdev)
708 } 708 }
709 } 709 }
710 710
711 tegra->phy = tegra_usb_phy_open(instance, hcd->regs, pdata->phy_config, 711 tegra->phy = tegra_usb_phy_open(&pdev->dev, instance, hcd->regs,
712 TEGRA_USB_PHY_MODE_HOST); 712 pdata->phy_config,
713 TEGRA_USB_PHY_MODE_HOST);
713 if (IS_ERR(tegra->phy)) { 714 if (IS_ERR(tegra->phy)) {
714 dev_err(&pdev->dev, "Failed to open USB phy\n"); 715 dev_err(&pdev->dev, "Failed to open USB phy\n");
715 err = -ENXIO; 716 err = -ENXIO;