ab8500-charger: Add support for autopower on AB8505 and AB9540
authorNicolas Guion <nicolas.guion@stericsson.com>
Wed, 23 May 2012 13:59:43 +0000 (15:59 +0200)
committerLee Jones <lee.jones@linaro.org>
Wed, 23 Jan 2013 14:39:17 +0000 (14:39 +0000)
commitb016322293c7e3b7efb1835603d149c03d00b0df
treedbbff0317c7660f86d1fbe91886adef5f1ac4334
parentc9ade0fca3f7939194677353097b16c9795df46b
ab8500-charger: Add support for autopower on AB8505 and AB9540

Accessing autopower register fails on the AB8505 and ab9540 as
the fallback software control register has moved.

Signed-off-by: Marcus Cooper <marcus.xm.cooper@stericsson.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Reviewed-by: Mattias WALLIN <mattias.wallin@stericsson.com>
Reviewed-by: Nicolas GUION <nicolas.guion@stericsson.com>
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
Tested-by: Jonas ABERG <jonas.aberg@stericsson.com>
drivers/power/ab8500_charger.c