Commit ad50bff2 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: 's avatarDien Pham <dien.pham.ry@renesas.com>
[wsa: rebase, add 'Fixes', reword commit message]
Signed-off-by: 's avatarWolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: 's avatarMarek Vasut <marek.vasut@gmail.com>
Signed-off-by: 's avatarLee Jones <lee.jones@linaro.org>
Signed-off-by: 's avatarSasha Levin <sashal@kernel.org>
parent 47fa7bbc
......@@ -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),
......
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