summaryrefslogtreecommitdiff
path: root/drivers/mfd/bd9571mwv.c
diff options
context:
space:
mode:
authorDien Pham <dien.pham.ry@renesas.com>2018-10-03 16:58:41 +0300
committerLee Jones <lee.jones@linaro.org>2019-01-03 11:32:42 +0300
commitb0aff01e7aa6ad2d6998ef1323843212d1db8b04 (patch)
tree4fc42cbf3f99dd2c33bc8c58de9d309282373a03 /drivers/mfd/bd9571mwv.c
parent10628e3ecf544fa2e4e24f8e112d95c37884dc98 (diff)
downloadlinux-b0aff01e7aa6ad2d6998ef1323843212d1db8b04.tar.xz
mfd: bd9571mwv: Add volatile register to make DVFS work
Because BD9571MWV_DVFS_MONIVDAC is not defined in the volatile table, the physical register value is not updated by regmap and DVFS doesn't work as expected. Fix it! Fixes: d3ea21272094 ("mfd: Add ROHM BD9571MWV-M MFD PMIC driver") Signed-off-by: Dien Pham <dien.pham.ry@renesas.com> [wsa: rebase, add 'Fixes', reword commit message] Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Reviewed-by: Marek Vasut <marek.vasut@gmail.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/bd9571mwv.c')
-rw-r--r--drivers/mfd/bd9571mwv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/bd9571mwv.c b/drivers/mfd/bd9571mwv.c
index 503979c81dae..fab3cdc27ed6 100644
--- a/drivers/mfd/bd9571mwv.c
+++ b/drivers/mfd/bd9571mwv.c
@@ -59,6 +59,7 @@ static const struct regmap_access_table bd9571mwv_writable_table = {
};
static const struct regmap_range bd9571mwv_volatile_yes_ranges[] = {
+ regmap_reg_range(BD9571MWV_DVFS_MONIVDAC, BD9571MWV_DVFS_MONIVDAC),
regmap_reg_range(BD9571MWV_GPIO_IN, BD9571MWV_GPIO_IN),
regmap_reg_range(BD9571MWV_GPIO_INT, BD9571MWV_GPIO_INT),
regmap_reg_range(BD9571MWV_INT_INTREQ, BD9571MWV_INT_INTREQ),