From: Mikko Perttunen Date: Wed, 17 Jul 2013 07:37:49 +0000 (+0300) Subject: usb: tegra: Use regulators instead of GPIOs for USB PHY VBUS X-Git-Tag: v3.12-rc1~186^2~77^2~52 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5b8c8b6d3b4697f28b818d8784e3e4b2a290022;p=pandora-kernel.git usb: tegra: Use regulators instead of GPIOs for USB PHY VBUS The tegra ehci driver has enabled USB vbus regulators directly using GPIOs and the device tree attribute nvidia,vbus-gpio. This is ugly and causes error messages on boot when both the regulator driver and the ehci driver want access to the same GPIO. After this patch, usb vbus regulators for tegra usb phy devices are specified with the device tree attribute vbus-supply = <&x> where x is a regulator defined in the device tree. The old nvidia,vbus-gpio property is no longer supported. Signed-off-by: Mikko Perttunen Reviewed-by: Stephen Warren Tested-by: Stephen Warren Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed