浏览代码

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>
Kishon Vijay Abraham I 12 年之前
父节点
当前提交
6ff862f6a8
共有 3 个文件被更改,包括 13 次插入0 次删除
  1. 4 0
      arch/arm/boot/dts/omap4-panda.dts
  2. 4 0
      arch/arm/boot/dts/omap4-sdp.dts
  3. 5 0
      arch/arm/boot/dts/twl6030.dtsi

+ 4 - 0
arch/arm/boot/dts/omap4-panda.dts

@@ -184,3 +184,7 @@
 &dmic {
 	status = "disabled";
 };
+
+&twl_usb_comparator {
+	usb-supply = <&vusb>;
+};

+ 4 - 0
arch/arm/boot/dts/omap4-sdp.dts

@@ -406,3 +406,7 @@
 &mcbsp3 {
 	status = "disabled";
 };
+
+&twl_usb_comparator {
+	usb-supply = <&vusb>;
+};

+ 5 - 0
arch/arm/boot/dts/twl6030.dtsi

@@ -86,4 +86,9 @@
 	clk32kg: regulator-clk32kg {
 		compatible = "ti,twl6030-clk32kg";
 	};
+
+	twl_usb_comparator: usb-comparator {
+		compatible = "ti,twl6030-usb";
+		interrupts = <4>, <10>;
+	};
 };