mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-28 13:34:38 +08:00
a709bd585f
- A new driver for TI BQ24735 Battery Chargers, courtesy of NVidia. - Device tree bindings for TWL4030 chips. - Random fixes and cleanups. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (GNU/Linux) iQIcBAABAgAGBQJSiXSwAAoJEGgI9fZJve1bJBgQAJKXIYXqZG5AwCqtFXltN0S5 qYmxiaxUekQyesBxRNNb6LwgWEBUF+lQtmfhDpSaHwi6aRc7pmSQaVw6tfD1dpBe bAEHrWu1YD8v6rwhrhB91kv9F81ea06pfUtyUAwDpbchGq/VaN/tsUT4uO5E/AIT K7tWZzjmGyQ79186HUnDxmgb0lA1PPDypsuv/pP1KgrioKNPHskDqhLeS2YuCe6J WUHiGb3cDB8Tu2+Af5OIxXio5J74486KvjlH1K9+ziixUrU0P380D26JshklgIsG qWc1hu9DSO+r76N7HV0EzbpJNqZNEFJiXaXSozgA/yRtJy+ISEIVXJE9oDwW7SxH thLveZTck6VQ6CyggAh2nn9KPVrpFYUcy+HFshpM7V4xugjcAe9Bq9i5cWwJHvn9 Xy4G2s2MS81PFdKEGc9JjSwvXULTRTMAe5gMMfwAqnn+Xuf2+KSCtTlOnPkON/sa cNraBFTSVi33yCEHS9BO7BKbb5ikPNtAaAB+4VszwMQbUysPld7WvEpEOIUOaoJO EYgsM1VOLV0cYO5Qwu9Yxplrjmz/l+kNxAgtCW21SV14DjUbnV9ZuhL5Gx4jbLyY T1uiREtzpTUGoKhZHqWHKXtoEUW+d48nkDXbO+IbKmKPTF6bn0TuZmW0sNU/ZHb8 yNJPZKinHfUE6heJCX2X =rT+j -----END PGP SIGNATURE----- Merge tag 'for-v3.13' of git://git.infradead.org/battery-2.6 Pull battery updates from Anton Vorontsov: "Highlights: - A new driver for TI BQ24735 Battery Chargers, courtesy of NVidia. - Device tree bindings for TWL4030 chips. - Random fixes and cleanups" * tag 'for-v3.13' of git://git.infradead.org/battery-2.6: pm2301-charger: Remove unneeded NULL checks twl4030_charger: Add devicetree support power_supply: Fix documentation for TEMP_*ALERT* properties max17042_battery: Support regmap to access device's registers max17042_battery: Use SIMPLE_DEV_PM_OPS charger-manager : Replace kzalloc to devm_kzalloc and remove uneccessary code bq2415x_charger: Fix max battery regulation voltage tps65090-charger: Use "IS_ENABLED(CONFIG_OF)" for DT code tps65090-charger: Drop devm_free_irq of devm_ allocated irq power_supply: Add support for bq24735 charger pm2301-charger: Staticize pm2xxx_charger_die_therm_mngt pm2301-charger: Check return value of regulator_enable ab8500-charger: Remove redundant break ab8500-charger: Check return value of regulator_enable isp1704_charger: Fix driver to work with changes introduced in v3.5
149 lines
2.9 KiB
Plaintext
149 lines
2.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
|
|
*/
|
|
&twl {
|
|
compatible = "ti,twl4030";
|
|
interrupt-controller;
|
|
#interrupt-cells = <1>;
|
|
|
|
rtc {
|
|
compatible = "ti,twl4030-rtc";
|
|
interrupts = <11>;
|
|
};
|
|
|
|
charger: bci {
|
|
compatible = "ti,twl4030-bci";
|
|
interrupts = <9>, <2>;
|
|
bci3v1-supply = <&vusb3v1>;
|
|
};
|
|
|
|
watchdog {
|
|
compatible = "ti,twl4030-wdt";
|
|
};
|
|
|
|
vaux1: regulator-vaux1 {
|
|
compatible = "ti,twl4030-vaux1";
|
|
};
|
|
|
|
vaux2: regulator-vaux2 {
|
|
compatible = "ti,twl4030-vaux2";
|
|
};
|
|
|
|
vaux3: regulator-vaux3 {
|
|
compatible = "ti,twl4030-vaux3";
|
|
};
|
|
|
|
vaux4: regulator-vaux4 {
|
|
compatible = "ti,twl4030-vaux4";
|
|
};
|
|
|
|
vcc: regulator-vdd1 {
|
|
compatible = "ti,twl4030-vdd1";
|
|
regulator-min-microvolt = <600000>;
|
|
regulator-max-microvolt = <1450000>;
|
|
};
|
|
|
|
vdac: regulator-vdac {
|
|
compatible = "ti,twl4030-vdac";
|
|
regulator-min-microvolt = <1800000>;
|
|
regulator-max-microvolt = <1800000>;
|
|
};
|
|
|
|
vio: regulator-vio {
|
|
compatible = "ti,twl4030-vio";
|
|
};
|
|
|
|
vintana1: regulator-vintana1 {
|
|
compatible = "ti,twl4030-vintana1";
|
|
};
|
|
|
|
vintana2: regulator-vintana2 {
|
|
compatible = "ti,twl4030-vintana2";
|
|
};
|
|
|
|
vintdig: regulator-vintdig {
|
|
compatible = "ti,twl4030-vintdig";
|
|
};
|
|
|
|
vmmc1: regulator-vmmc1 {
|
|
compatible = "ti,twl4030-vmmc1";
|
|
regulator-min-microvolt = <1850000>;
|
|
regulator-max-microvolt = <3150000>;
|
|
};
|
|
|
|
vmmc2: regulator-vmmc2 {
|
|
compatible = "ti,twl4030-vmmc2";
|
|
regulator-min-microvolt = <1850000>;
|
|
regulator-max-microvolt = <3150000>;
|
|
};
|
|
|
|
vusb1v5: regulator-vusb1v5 {
|
|
compatible = "ti,twl4030-vusb1v5";
|
|
};
|
|
|
|
vusb1v8: regulator-vusb1v8 {
|
|
compatible = "ti,twl4030-vusb1v8";
|
|
};
|
|
|
|
vusb3v1: regulator-vusb3v1 {
|
|
compatible = "ti,twl4030-vusb3v1";
|
|
};
|
|
|
|
vpll1: regulator-vpll1 {
|
|
compatible = "ti,twl4030-vpll1";
|
|
};
|
|
|
|
vpll2: regulator-vpll2 {
|
|
compatible = "ti,twl4030-vpll2";
|
|
regulator-min-microvolt = <1800000>;
|
|
regulator-max-microvolt = <1800000>;
|
|
};
|
|
|
|
vsim: regulator-vsim {
|
|
compatible = "ti,twl4030-vsim";
|
|
regulator-min-microvolt = <1800000>;
|
|
regulator-max-microvolt = <3000000>;
|
|
};
|
|
|
|
twl_gpio: gpio {
|
|
compatible = "ti,twl4030-gpio";
|
|
gpio-controller;
|
|
#gpio-cells = <2>;
|
|
interrupt-controller;
|
|
#interrupt-cells = <1>;
|
|
};
|
|
|
|
usb2_phy: twl4030-usb {
|
|
compatible = "ti,twl4030-usb";
|
|
interrupts = <10>, <4>;
|
|
usb1v5-supply = <&vusb1v5>;
|
|
usb1v8-supply = <&vusb1v8>;
|
|
usb3v1-supply = <&vusb3v1>;
|
|
usb_mode = <1>;
|
|
#phy-cells = <0>;
|
|
};
|
|
|
|
twl_pwm: pwm {
|
|
compatible = "ti,twl4030-pwm";
|
|
#pwm-cells = <2>;
|
|
};
|
|
|
|
twl_pwmled: pwmled {
|
|
compatible = "ti,twl4030-pwmled";
|
|
#pwm-cells = <2>;
|
|
};
|
|
|
|
twl_pwrbutton: pwrbutton {
|
|
compatible = "ti,twl4030-pwrbutton";
|
|
interrupts = <8>;
|
|
};
|
|
};
|