]> asedeno.scripts.mit.edu Git - linux.git/commit
ARM: dts: motorola-cpcap-mapphone: Configure calibration interrupt
authorTony Lindgren <tony@atomide.com>
Sun, 19 Jan 2020 19:45:01 +0000 (11:45 -0800)
committerTony Lindgren <tony@atomide.com>
Thu, 23 Jan 2020 18:00:01 +0000 (10:00 -0800)
commit36f808f2f1e9edb6fb129002a5ae71551b925225
treee2805eacbdb706256b2fcf8548785bbc96398672
parenta5ebccc822d8f84cd899e3e64f770f2bd4d7951b
ARM: dts: motorola-cpcap-mapphone: Configure calibration interrupt

We added coulomb counter calibration support With commit 0cb90f071f73
("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 <merlijn@wizzup.org>
Cc: Pavel Machek <pavel@ucw.cz>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/motorola-cpcap-mapphone.dtsi