diff options
author | Kishon Vijay Abraham I <kishon@ti.com> | 2012-09-19 05:32:06 -0400 |
---|---|---|
committer | Benoit Cousson <b-cousson@ti.com> | 2012-10-29 11:56:29 -0400 |
commit | 6ff862f6a8bd54184f81fa36b9231b641607d2c0 (patch) | |
tree | b46ac5df0b316feb29aa1223ae747e7c7ea6b632 | |
parent | 1c48ddbaa61aa017fefacac1bce233227933d18e (diff) |
ARM: dts: Add twl6030-usb data
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>
-rw-r--r-- | arch/arm/boot/dts/omap4-panda.dts | 4 | ||||
-rw-r--r-- | arch/arm/boot/dts/omap4-sdp.dts | 4 | ||||
-rw-r--r-- | arch/arm/boot/dts/twl6030.dtsi | 5 |
3 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/omap4-panda.dts b/arch/arm/boot/dts/omap4-panda.dts index e8f927cbb376..32baf65a7ea2 100644 --- a/arch/arm/boot/dts/omap4-panda.dts +++ b/arch/arm/boot/dts/omap4-panda.dts | |||
@@ -184,3 +184,7 @@ | |||
184 | &dmic { | 184 | &dmic { |
185 | status = "disabled"; | 185 | status = "disabled"; |
186 | }; | 186 | }; |
187 | |||
188 | &twl_usb_comparator { | ||
189 | usb-supply = <&vusb>; | ||
190 | }; | ||
diff --git a/arch/arm/boot/dts/omap4-sdp.dts b/arch/arm/boot/dts/omap4-sdp.dts index 5b7e04fbff50..0f57bdf7c2df 100644 --- a/arch/arm/boot/dts/omap4-sdp.dts +++ b/arch/arm/boot/dts/omap4-sdp.dts | |||
@@ -406,3 +406,7 @@ | |||
406 | &mcbsp3 { | 406 | &mcbsp3 { |
407 | status = "disabled"; | 407 | status = "disabled"; |
408 | }; | 408 | }; |
409 | |||
410 | &twl_usb_comparator { | ||
411 | usb-supply = <&vusb>; | ||
412 | }; | ||
diff --git a/arch/arm/boot/dts/twl6030.dtsi b/arch/arm/boot/dts/twl6030.dtsi index 123e2c40218a..9996cfc5ee80 100644 --- a/arch/arm/boot/dts/twl6030.dtsi +++ b/arch/arm/boot/dts/twl6030.dtsi | |||
@@ -86,4 +86,9 @@ | |||
86 | clk32kg: regulator-clk32kg { | 86 | clk32kg: regulator-clk32kg { |
87 | compatible = "ti,twl6030-clk32kg"; | 87 | compatible = "ti,twl6030-clk32kg"; |
88 | }; | 88 | }; |
89 | |||
90 | twl_usb_comparator: usb-comparator { | ||
91 | compatible = "ti,twl6030-usb"; | ||
92 | interrupts = <4>, <10>; | ||
93 | }; | ||
89 | }; | 94 | }; |