Merge branch 'fix/intel' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie...
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / usb / usb-nop-xceiv.txt
index 1bd37faba05b9c3aab70a0ec305107f308ba7665..4dc6a8ee307156ea1f09083900e49536e0a94b6a 100644 (file)
@@ -2,6 +2,7 @@ USB NOP PHY
 
 Required properties:
 - compatible: should be usb-nop-xceiv
+- #phy-cells: Must be 0
 
 Optional properties:
 - clocks: phandle to the PHY clock. Use as per Documentation/devicetree
@@ -13,10 +14,15 @@ Optional properties:
 - clock-frequency: the clock frequency (in Hz) that the PHY clock must
   be configured to.
 
-- vcc-supply: phandle to the regulator that provides RESET to the PHY.
+- vcc-supply: phandle to the regulator that provides power to the PHY.
 
 - reset-gpios: Should specify the GPIO for reset.
 
+- vbus-detect-gpio: should specify the GPIO detecting a VBus insertion
+                    (see Documentation/devicetree/bindings/gpio/gpio.txt)
+- vbus-regulator : should specifiy the regulator supplying current drawn from
+  the VBus line (see Documentation/devicetree/bindings/regulator/regulator.txt).
+
 Example:
 
        hsusb1_phy {
@@ -26,8 +32,12 @@ Example:
                clock-names = "main_clk";
                vcc-supply = <&hsusb1_vcc_regulator>;
                reset-gpios = <&gpio1 7 GPIO_ACTIVE_LOW>;
+               vbus-detect-gpio = <&gpio2 13 GPIO_ACTIVE_HIGH>;
+               vbus-regulator = <&vbus_regulator>;
+               #phy-cells = <0>;
        };
 
 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 GPIO 7 controls RESET.
+GPIO 13 detects VBus insertion, and accordingly notifies the vbus-regulator.