diff options
author | Tony Lindgren <tony@atomide.com> | 2017-06-01 07:26:37 -0700 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2017-06-12 09:07:13 -0700 |
commit | c3d28e537999bc7c7d39ca09d11252137e1fee02 (patch) | |
tree | 4d338e9d8cad9967212da4ec473545a6d3cd4f1b /arch/arm/boot/dts/motorola-cpcap-mapphone.dtsi | |
parent | fcd104b50fd0a8b638ab01b2e17252d16868aa49 (diff) | |
download | lwn-c3d28e537999bc7c7d39ca09d11252137e1fee02.tar.gz lwn-c3d28e537999bc7c7d39ca09d11252137e1fee02.zip |
ARM: dts: omap4-droid4: Configure CPCAP battery driver
Configure CPCAP battery driver.
Cc: devicetree@vger.kernel.org
Cc: Marcel Partap <mpartap@gmx.net>
Cc: Michael Scott <michael.scott@linaro.org>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/motorola-cpcap-mapphone.dtsi')
-rw-r--r-- | arch/arm/boot/dts/motorola-cpcap-mapphone.dtsi | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/motorola-cpcap-mapphone.dtsi b/arch/arm/boot/dts/motorola-cpcap-mapphone.dtsi index f5aeb3959afd..1eb5da1dc8f0 100644 --- a/arch/arm/boot/dts/motorola-cpcap-mapphone.dtsi +++ b/arch/arm/boot/dts/motorola-cpcap-mapphone.dtsi @@ -26,6 +26,22 @@ #io-channel-cells = <1>; }; + cpcap_battery: battery { + compatible = "motorola,cpcap-battery"; + interrupts-extended = < + &cpcap 6 0 &cpcap 5 0 &cpcap 3 0 + &cpcap 20 0 &cpcap 54 0 + >; + interrupt-names = + "eol", "lowbph", "lowbpl", + "chrgcurr1", "battdetb"; + io-channels = <&cpcap_adc 0 &cpcap_adc 1 + &cpcap_adc 5 &cpcap_adc 6>; + io-channel-names = "battdetb", "battp", + "chg_isense", "batti"; + power-supplies = <&cpcap_charger>; + }; + cpcap_charger: charger { compatible = "motorola,mapphone-cpcap-charger"; interrupts-extended = < |