Commit eb617dc6 authored by Dien Pham's avatar Dien Pham Committed by Greg Kroah-Hartman

mfd: bd9571mwv: Add volatile register to make DVFS work

[ Upstream commit b0aff01e ]

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: d3ea2127 ("mfd: Add ROHM BD9571MWV-M MFD PMIC driver")
Signed-off-by: default avatarDien Pham <dien.pham.ry@renesas.com>
[wsa: rebase, add 'Fixes', reword commit message]
Signed-off-by: default avatarWolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: default avatarMarek Vasut <marek.vasut@gmail.com>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 2990096c
...@@ -59,6 +59,7 @@ static const struct regmap_access_table bd9571mwv_writable_table = { ...@@ -59,6 +59,7 @@ static const struct regmap_access_table bd9571mwv_writable_table = {
}; };
static const struct regmap_range bd9571mwv_volatile_yes_ranges[] = { 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_IN, BD9571MWV_GPIO_IN),
regmap_reg_range(BD9571MWV_GPIO_INT, BD9571MWV_GPIO_INT), regmap_reg_range(BD9571MWV_GPIO_INT, BD9571MWV_GPIO_INT),
regmap_reg_range(BD9571MWV_INT_INTREQ, BD9571MWV_INT_INTREQ), regmap_reg_range(BD9571MWV_INT_INTREQ, BD9571MWV_INT_INTREQ),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment