Back to home page

OSCL-LXR

 
 

    


0001 USB COMPARATOR OF TWL CHIPS
0002 
0003 TWL6030 USB COMPARATOR
0004  - compatible : Should be "ti,twl6030-usb"
0005  - interrupts : Two interrupt numbers to the cpu should be specified. First
0006    interrupt number is the otg interrupt number that raises ID interrupts when
0007    the controller has to act as host and the second interrupt number is the
0008    usb interrupt number that raises VBUS interrupts when the controller has to
0009    act as device
0010  - usb-supply : phandle to the regulator device tree node. It should be vusb
0011    if it is twl6030 or ldousb if it is twl6032 subclass.
0012 
0013 twl6030-usb {
0014         compatible = "ti,twl6030-usb";
0015         interrupts = < 4 10 >;
0016 };
0017 
0018 Board specific device node entry
0019 &twl6030-usb {
0020         usb-supply = <&vusb>;
0021 };
0022 
0023 TWL4030 USB PHY AND COMPARATOR
0024  - compatible : Should be "ti,twl4030-usb"
0025  - interrupts : The interrupt numbers to the cpu should be specified. First
0026    interrupt number is the otg interrupt number that raises ID interrupts
0027    and VBUS interrupts. The second interrupt number is optional.
0028  - <supply-name>-supply : phandle to the regulator device tree node.
0029    <supply-name> should be vusb1v5, vusb1v8 and vusb3v1
0030  - usb_mode : The mode used by the phy to connect to the controller. "1"
0031    specifies "ULPI" mode and "2" specifies "CEA2011_3PIN" mode.
0032 
0033 If a sibling node is compatible "ti,twl4030-bci", then it will find
0034 this device and query it for USB power status.
0035 
0036 twl4030-usb {
0037         compatible = "ti,twl4030-usb";
0038         interrupts = < 10 4 >;
0039         usb1v5-supply = <&vusb1v5>;
0040         usb1v8-supply = <&vusb1v8>;
0041         usb3v1-supply = <&vusb3v1>;
0042         usb_mode = <1>;
0043 };