ARM: dts: omap4-droid4: Configure CPCAP battery driver
PATCH 1/1 ARM: dts: omap4-droid4: Configure CPCAP battery driver
Configure CPCAP battery driver.
Cc Marcel Partap <[email protected]>
Cc Michael Scott <[email protected]>
Cc Sebastian Reichel <sebastian.reichel-ZGY8ohtN/[email protected]>
Signed-off-by Tony Lindgren <[email protected]>
--- arch/arm/boot/dts/motorola-cpcap-mapphone.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+)
arch/arm/boot/dts/motorola-cpcap-mapphone.dtsi +16 -0
@@ -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 = <
Signature · 5 lines
2.13.0 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): 20170612072138.30203-1-tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org
Sebastian Reichel
Reviewed-byHi,
Quoted 7 lines · Tony Lindgren
Configure CPCAP battery driver.
Cc Marcel Partap <[email protected]>Cc Michael Scott <[email protected]>Cc Sebastian Reichel <sebastian.reichel-ZGY8ohtN/[email protected]>Signed-off-by Tony Lindgren <[email protected]>
-- Sebastian
Quoted 36 lines
--- arch/arm/boot/dts/motorola-cpcap-mapphone.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+)arch/arm/boot/dts/motorola-cpcap-mapphone.dtsi +16
-0@@ -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 = <Signature · 5 lines
2.13.0 -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html