Commit b0aff01e authored by Dien Pham's avatar Dien Pham Committed by Lee Jones

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: 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>
parent 10628e3e
...@@ -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