mfd: axp20x: Add missing registers, and mark more registers volatile
authorBruno Prémont <bonbons@linux-vserver.org>
Sat, 8 Aug 2015 15:58:40 +0000 (17:58 +0200)
committerLee Jones <lee.jones@linaro.org>
Wed, 12 Aug 2015 08:59:11 +0000 (09:59 +0100)
commit553ed4b5dff66dbb10c20599e493b72ec6af72ab
tree275e7bede68653709eb5daac41288a7556e7358f
parent3762aede11e516b7a392afdc1e070171e6f6cd00
mfd: axp20x: Add missing registers, and mark more registers volatile

Add an extra set of registers which is necessary tu support the PMICs
battery charger function, and mark registers which contain status bits,
gpio status, and adc readings as volatile.

Signed-off-by: Bruno Prémont <bonbons@linux-vserver.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/axp20x.c
include/linux/mfd/axp20x.h