aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/usb/twlxxxx-usb.txt
diff options
context:
space:
mode:
authorKishon Vijay Abraham I <kishon@ti.com>2012-09-06 20:27:08 +0530
committerFelipe Balbi <balbi@ti.com>2012-09-06 20:16:07 +0300
commitff0a1f39400a8d2c02343bd22d295517d72e58ec (patch)
tree8c3f4ceeb399372cfe3b3d86b11a8c7cbb262cbc /Documentation/devicetree/bindings/usb/twlxxxx-usb.txt
parentusb: otg: make twl6030_usb as a comparator driver to omap_usb2 (diff)
downloadlinux-dev-ff0a1f39400a8d2c02343bd22d295517d72e58ec.tar.xz
linux-dev-ff0a1f39400a8d2c02343bd22d295517d72e58ec.zip
usb: twl6030: Add dt support for twl6030 usb
Add device tree support for twl6030 usb driver. Update the Documentation with device tree binding information. Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'Documentation/devicetree/bindings/usb/twlxxxx-usb.txt')
-rw-r--r--Documentation/devicetree/bindings/usb/twlxxxx-usb.txt21
1 files changed, 21 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/usb/twlxxxx-usb.txt b/Documentation/devicetree/bindings/usb/twlxxxx-usb.txt
new file mode 100644
index 000000000000..930f9ff2952a
--- /dev/null
+++ b/Documentation/devicetree/bindings/usb/twlxxxx-usb.txt
@@ -0,0 +1,21 @@
+USB COMPARATOR OF TWL CHIPS
+
+TWL6030 USB COMPARATOR
+ - compatible : Should be "ti,twl6030-usb"
+ - interrupts : Two interrupt numbers to the cpu should be specified. First
+ interrupt number is the otg interrupt number that raises ID interrupts when
+ the controller has to act as host and the second interrupt number is the
+ usb interrupt number that raises VBUS interrupts when the controller has to
+ act as device
+ - usb-supply : phandle to the regulator device tree node. It should be vusb
+ if it is twl6030 or ldousb if it is twl6025 subclass.
+
+twl6030-usb {
+ compatible = "ti,twl6030-usb";
+ interrupts = < 4 10 >;
+};
+
+Board specific device node entry
+&twl6030-usb {
+ usb-supply = <&vusb>;
+};