Message ID | 20211206064732.280375-2-andrej.picej@norik.com |
---|---|
State | New |
Headers | show |
Series | [v5,1/5] mfd: da9062: make register CONFIG_I writable | expand |
On 06 December 2021 06:47, Andrej Picej wrote: > Make the config register CONFIG_I writable to change the watchdog mode. > > Signed-off-by: Andrej Picej <andrej.picej@norik.com> > --- Reviewed-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com>
diff --git a/drivers/mfd/da9062-core.c b/drivers/mfd/da9062-core.c index 7041ba53efb4..20e5ce2a2354 100644 --- a/drivers/mfd/da9062-core.c +++ b/drivers/mfd/da9062-core.c @@ -453,6 +453,7 @@ static const struct regmap_range da9061_aa_writeable_ranges[] = { regmap_reg_range(DA9062AA_VBUCK1_B, DA9062AA_VBUCK4_B), regmap_reg_range(DA9062AA_VBUCK3_B, DA9062AA_VBUCK3_B), regmap_reg_range(DA9062AA_VLDO1_B, DA9062AA_VLDO4_B), + regmap_reg_range(DA9062AA_CONFIG_I, DA9062AA_CONFIG_I), regmap_reg_range(DA9062AA_GP_ID_0, DA9062AA_GP_ID_19), };
Make the config register CONFIG_I writable to change the watchdog mode. Signed-off-by: Andrej Picej <andrej.picej@norik.com> --- Chnages in v5: - new patch, make CONFIG_I writable also for da9061 version --- drivers/mfd/da9062-core.c | 1 + 1 file changed, 1 insertion(+)