Skip to content

Commit

Permalink
ARM: dts: Add twl6030-usb data
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Kishon Vijay Abraham I authored and Benoit Cousson committed Oct 29, 2012
1 parent 1c48ddb commit 6ff862f
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
4 changes: 4 additions & 0 deletions arch/arm/boot/dts/omap4-panda.dts
Original file line number Diff line number Diff line change
Expand Up @@ -184,3 +184,7 @@
&dmic {
status = "disabled";
};

&twl_usb_comparator {
usb-supply = <&vusb>;
};
4 changes: 4 additions & 0 deletions arch/arm/boot/dts/omap4-sdp.dts
Original file line number Diff line number Diff line change
Expand Up @@ -406,3 +406,7 @@
&mcbsp3 {
status = "disabled";
};

&twl_usb_comparator {
usb-supply = <&vusb>;
};
5 changes: 5 additions & 0 deletions arch/arm/boot/dts/twl6030.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,9 @@
clk32kg: regulator-clk32kg {
compatible = "ti,twl6030-clk32kg";
};

twl_usb_comparator: usb-comparator {
compatible = "ti,twl6030-usb";
interrupts = <4>, <10>;
};
};

0 comments on commit 6ff862f

Please sign in to comment.