]> rtime.felk.cvut.cz Git - can-eth-gw-linux.git/commitdiff
ARM: dts: Add twl6030-usb data
authorKishon Vijay Abraham I <kishon@ti.com>
Wed, 19 Sep 2012 09:32:06 +0000 (15:02 +0530)
committerBenoit Cousson <b-cousson@ti.com>
Mon, 29 Oct 2012 15:56:29 +0000 (16:56 +0100)
Add twl6030-usb data node in twl6030 device tree file. twl6030-usb is the
comparator driver for USB that detects VBUS and ID events. The dt data is
comprised of two interrupts, one for ID and one for VBUS and a phandle to the
regulator.

Acked-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Benoit Cousson <b-cousson@ti.com>
arch/arm/boot/dts/omap4-panda.dts
arch/arm/boot/dts/omap4-sdp.dts
arch/arm/boot/dts/twl6030.dtsi

index e8f927cbb376b37ed3d30465cad847a57d9f8ce6..32baf65a7ea2c0933b3847fc6fb5e5de4fb6f543 100644 (file)
 &dmic {
        status = "disabled";
 };
+
+&twl_usb_comparator {
+       usb-supply = <&vusb>;
+};
index 5b7e04fbff500cf28b3338552b396745b30cac68..0f57bdf7c2df650b8827665b1a52311540238700 100644 (file)
 &mcbsp3 {
        status = "disabled";
 };
+
+&twl_usb_comparator {
+       usb-supply = <&vusb>;
+};
index 123e2c40218a4385361d6175d5259a77cb46199a..9996cfc5ee809a8854817757aded21e59b861161 100644 (file)
@@ -86,4 +86,9 @@
        clk32kg: regulator-clk32kg {
                compatible = "ti,twl6030-clk32kg";
        };
+
+       twl_usb_comparator: usb-comparator {
+               compatible = "ti,twl6030-usb";
+               interrupts = <4>, <10>;
+       };
 };