mirror of
https://github.com/torvalds/linux.git
synced 2024-12-11 13:41:55 +00:00
6ff862f6a8
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>
95 lines
1.9 KiB
Plaintext
95 lines
1.9 KiB
Plaintext
/*
|
|
* Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
|
|
/*
|
|
* Integrated Power Management Chip
|
|
* http://www.ti.com/lit/ds/symlink/twl6030.pdf
|
|
*/
|
|
&twl {
|
|
compatible = "ti,twl6030";
|
|
interrupt-controller;
|
|
#interrupt-cells = <1>;
|
|
|
|
rtc {
|
|
compatible = "ti,twl4030-rtc";
|
|
interrupts = <11>;
|
|
};
|
|
|
|
vaux1: regulator-vaux1 {
|
|
compatible = "ti,twl6030-vaux1";
|
|
regulator-min-microvolt = <1000000>;
|
|
regulator-max-microvolt = <3000000>;
|
|
};
|
|
|
|
vaux2: regulator-vaux2 {
|
|
compatible = "ti,twl6030-vaux2";
|
|
regulator-min-microvolt = <1200000>;
|
|
regulator-max-microvolt = <2800000>;
|
|
};
|
|
|
|
vaux3: regulator-vaux3 {
|
|
compatible = "ti,twl6030-vaux3";
|
|
regulator-min-microvolt = <1000000>;
|
|
regulator-max-microvolt = <3000000>;
|
|
};
|
|
|
|
vmmc: regulator-vmmc {
|
|
compatible = "ti,twl6030-vmmc";
|
|
regulator-min-microvolt = <1200000>;
|
|
regulator-max-microvolt = <3000000>;
|
|
};
|
|
|
|
vpp: regulator-vpp {
|
|
compatible = "ti,twl6030-vpp";
|
|
regulator-min-microvolt = <1800000>;
|
|
regulator-max-microvolt = <2500000>;
|
|
};
|
|
|
|
vusim: regulator-vusim {
|
|
compatible = "ti,twl6030-vusim";
|
|
regulator-min-microvolt = <1200000>;
|
|
regulator-max-microvolt = <2900000>;
|
|
};
|
|
|
|
vdac: regulator-vdac {
|
|
compatible = "ti,twl6030-vdac";
|
|
};
|
|
|
|
vana: regulator-vana {
|
|
compatible = "ti,twl6030-vana";
|
|
};
|
|
|
|
vcxio: regulator-vcxio {
|
|
compatible = "ti,twl6030-vcxio";
|
|
regulator-always-on;
|
|
};
|
|
|
|
vusb: regulator-vusb {
|
|
compatible = "ti,twl6030-vusb";
|
|
};
|
|
|
|
v1v8: regulator-v1v8 {
|
|
compatible = "ti,twl6030-v1v8";
|
|
regulator-always-on;
|
|
};
|
|
|
|
v2v1: regulator-v2v1 {
|
|
compatible = "ti,twl6030-v2v1";
|
|
regulator-always-on;
|
|
};
|
|
|
|
clk32kg: regulator-clk32kg {
|
|
compatible = "ti,twl6030-clk32kg";
|
|
};
|
|
|
|
twl_usb_comparator: usb-comparator {
|
|
compatible = "ti,twl6030-usb";
|
|
interrupts = <4>, <10>;
|
|
};
|
|
};
|