diff options
author | NeilBrown <neilb@suse.de> | 2013-10-31 17:05:50 +1100 |
---|---|---|
committer | Anton Vorontsov <anton@enomsg.org> | 2013-11-12 22:35:45 -0800 |
commit | ec0b380245d7b7d4d8e4201facca780a14352cda (patch) | |
tree | 3257053e219e8818f2ef2f0d5df89aec8fa49934 /arch/arm | |
parent | 588bd5918baca940a52802045f3b388358dc6917 (diff) | |
download | linux-ec0b380245d7b7d4d8e4201facca780a14352cda.tar.gz linux-ec0b380245d7b7d4d8e4201facca780a14352cda.tar.bz2 linux-ec0b380245d7b7d4d8e4201facca780a14352cda.zip |
twl4030_charger: Add devicetree support
This allows the charger to be enabled with devicetree, and allows the
parameters for charging the backup battery to be set.
Signed-off-by: NeilBrown <neilb@suse.de>
Acked-by: Kumar Gala <galak@codeaurora.org>
Acked-by: Grant Likely <grant.likely@linaro.org>
Signed-off-by: Anton Vorontsov <anton@enomsg.org>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/boot/dts/twl4030.dtsi | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/twl4030.dtsi b/arch/arm/boot/dts/twl4030.dtsi index ae6a17aed9ee..5a12540b1d0f 100644 --- a/arch/arm/boot/dts/twl4030.dtsi +++ b/arch/arm/boot/dts/twl4030.dtsi @@ -19,6 +19,12 @@ interrupts = <11>; }; + charger: bci { + compatible = "ti,twl4030-bci"; + interrupts = <9>, <2>; + bci3v1-supply = <&vusb3v1>; + }; + watchdog { compatible = "ti,twl4030-wdt"; }; |