linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] mfd: da9062: make register CONFIG_I writable
@ 2021-11-24  8:32 Andrej Picej
  2021-11-24  8:32 ` [PATCH 2/2] watchdog: da9062: reset board on watchdog timeout Andrej Picej
  0 siblings, 1 reply; 5+ messages in thread
From: Andrej Picej @ 2021-11-24  8:32 UTC (permalink / raw)
  To: support.opensource, wim, linux, linux-watchdog
  Cc: andrej.picej, y.bas, linux-kernel

From: Stefan Christ <s.christ@phytec.de>

Make the config register CONFIG_I writable to change the watchdog mode.

Signed-off-by: Stefan Christ <s.christ@phytec.de>
Signed-off-by: Andrej Picej <andrej.picej@norik.com>
---
 drivers/mfd/da9062-core.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/mfd/da9062-core.c b/drivers/mfd/da9062-core.c
index 01f8e10dfa55..7041ba53efb4 100644
--- a/drivers/mfd/da9062-core.c
+++ b/drivers/mfd/da9062-core.c
@@ -556,6 +556,7 @@ static const struct regmap_range da9062_aa_writeable_ranges[] = {
 	regmap_reg_range(DA9062AA_VBUCK3_B, DA9062AA_VBUCK3_B),
 	regmap_reg_range(DA9062AA_VLDO1_B, DA9062AA_VLDO4_B),
 	regmap_reg_range(DA9062AA_BBAT_CONT, DA9062AA_BBAT_CONT),
+	regmap_reg_range(DA9062AA_CONFIG_I, DA9062AA_CONFIG_I),
 	regmap_reg_range(DA9062AA_GP_ID_0, DA9062AA_GP_ID_19),
 };
 
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-11-30  9:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-24  8:32 [PATCH 1/2] mfd: da9062: make register CONFIG_I writable Andrej Picej
2021-11-24  8:32 ` [PATCH 2/2] watchdog: da9062: reset board on watchdog timeout Andrej Picej
2021-11-26 13:28   ` Adam Thomson
2021-11-29 12:12     ` Andrej Picej
2021-11-30  9:41       ` Adam Thomson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).