Skip to content

Commit 36f808f

Browse files
committed
ARM: dts: motorola-cpcap-mapphone: Configure calibration interrupt
We added coulomb counter calibration support With commit 0cb90f0 ("power: supply: cpcap-battery: Add basic coulomb counter calibrate support"), but we also need to configure the related interrupt. Without the interrupt calibration happens based on a timeout after two seconds, with the interrupt the calibration just gets done a bit faster. Cc: Merlijn Wajer <[email protected]> Cc: Pavel Machek <[email protected]> Acked-by: Pavel Machek <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
1 parent a5ebccc commit 36f808f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

arch/arm/boot/dts/motorola-cpcap-mapphone.dtsi

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,12 @@
2727
compatible = "motorola,cpcap-battery";
2828
interrupts-extended = <
2929
&cpcap 6 0 &cpcap 5 0 &cpcap 3 0
30-
&cpcap 20 0 &cpcap 54 0
30+
&cpcap 20 0 &cpcap 54 0 &cpcap 57 0
3131
>;
3232
interrupt-names =
3333
"eol", "lowbph", "lowbpl",
34-
"chrgcurr1", "battdetb";
34+
"chrgcurr1", "battdetb",
35+
"cccal";
3536
io-channels = <&cpcap_adc 0 &cpcap_adc 1
3637
&cpcap_adc 5 &cpcap_adc 6>;
3738
io-channel-names = "battdetb", "battp",

0 commit comments

Comments
 (0)