summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/usb/usb-nop-xceiv.txt
diff options
context:
space:
mode:
authorRoger Quadros <rogerq@ti.com>2013-09-24 11:53:48 +0300
committerFelipe Balbi <balbi@ti.com>2013-10-04 09:29:03 -0500
commitbd27fa44e13830d2baa278d5702e766380659cb3 (patch)
tree2e5d979de074d710c507b2cf918a0a6974d00c5b /Documentation/devicetree/bindings/usb/usb-nop-xceiv.txt
parent8e933359ee2c3a861d5022b83110ce88ba3a2dda (diff)
downloadlinux-bd27fa44e13830d2baa278d5702e766380659cb3.tar.gz
usb: phy: generic: Don't use regulator framework for RESET line
Modelling the RESET line as a regulator supply wasn't a good idea as it kind of abuses the regulator framework and also makes adaptation code more complex. Instead, manage the RESET gpio line directly in the driver. Update the device tree binding information. This also makes us easy to migrate to a dedicated GPIO RESET controller whenever it becomes available. Signed-off-by: Roger Quadros <rogerq@ti.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'Documentation/devicetree/bindings/usb/usb-nop-xceiv.txt')
-rw-r--r--Documentation/devicetree/bindings/usb/usb-nop-xceiv.txt7
1 files changed, 3 insertions, 4 deletions
diff --git a/Documentation/devicetree/bindings/usb/usb-nop-xceiv.txt b/Documentation/devicetree/bindings/usb/usb-nop-xceiv.txt
index d7e272671c7e..1bd37faba05b 100644
--- a/Documentation/devicetree/bindings/usb/usb-nop-xceiv.txt
+++ b/Documentation/devicetree/bindings/usb/usb-nop-xceiv.txt
@@ -15,7 +15,7 @@ Optional properties:
- vcc-supply: phandle to the regulator that provides RESET to the PHY.
-- reset-supply: phandle to the regulator that provides power to the PHY.
+- reset-gpios: Should specify the GPIO for reset.
Example:
@@ -25,10 +25,9 @@ Example:
clocks = <&osc 0>;
clock-names = "main_clk";
vcc-supply = <&hsusb1_vcc_regulator>;
- reset-supply = <&hsusb1_reset_regulator>;
+ reset-gpios = <&gpio1 7 GPIO_ACTIVE_LOW>;
};
hsusb1_phy is a NOP USB PHY device that gets its clock from an oscillator
and expects that clock to be configured to 19.2MHz by the NOP PHY driver.
-hsusb1_vcc_regulator provides power to the PHY and hsusb1_reset_regulator
-controls RESET.
+hsusb1_vcc_regulator provides power to the PHY and GPIO 7 controls RESET.