diff options
author | Kishon Vijay Abraham I <kishon@ti.com> | 2012-09-06 20:27:08 +0530 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2012-09-06 20:16:07 +0300 |
commit | ff0a1f39400a8d2c02343bd22d295517d72e58ec (patch) | |
tree | 8c3f4ceeb399372cfe3b3d86b11a8c7cbb262cbc /Documentation | |
parent | 0e98de67bacba812b1b465b90a3f940d24401c27 (diff) | |
download | linux-ff0a1f39400a8d2c02343bd22d295517d72e58ec.tar.gz linux-ff0a1f39400a8d2c02343bd22d295517d72e58ec.tar.bz2 linux-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')
-rw-r--r-- | Documentation/devicetree/bindings/usb/twlxxxx-usb.txt | 21 |
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>; +}; |