pm2301: Update watchdog for pm2xxx support
authorLoic Pallardy <loic.pallardy@stericsson.com>
Thu, 10 May 2012 13:33:56 +0000 (15:33 +0200)
committerLee Jones <lee.jones@linaro.org>
Wed, 23 Jan 2013 14:39:15 +0000 (14:39 +0000)
commite07a56453b14b929cf01bf032cc3e3220094609c
tree78fff3a900cdb885a58da090575e66656a6861c8
parente3455002d04276c256a531f7175dce0f7d1cb78a
pm2301: Update watchdog for pm2xxx support

AB and PMxxx doesn't have same watchdog refresh period. Add watchdog
to refresh period parameters in x500 charger structure, this should
kick watchdog every 30sec. The AC charging should also kick both
pm2xxx and the AB charger watchdog.

Signed-off-by: Rajkumar Kasirajan <rajkumar.kasirajan@stericsson.com>
Signed-off-by: Loic Pallardy <loic.pallardy@stericsson.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Reviewed-by: Michel JAOUEN <michel.jaouen@stericsson.com>
Reviewed-by: Marcus COOPER <marcus.xm.cooper@stericsson.com>
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
Tested-by: Michel JAOUEN <michel.jaouen@stericsson.com>
Tested-by: Jonas ABERG <jonas.aberg@stericsson.com>
drivers/power/ab8500_charger.c
drivers/power/abx500_chargalg.c
drivers/power/pm2301_charger.c
drivers/power/pm2301_charger.h
include/linux/mfd/abx500/ux500_chargalg.h