Linux Watchdog driver development
 help / color / mirror / Atom feed
* [PATCH 0/3] watchdog: starfive: Add jhb100 support
@ 2026-12-04 13:53 Henry Qin
  2026-12-04 13:53 ` [PATCH 1/3] dt-bindings: watchdog: starfive,jh7100-wdt: Remove jh8100 Henry Qin
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Henry Qin @ 2026-12-04 13:53 UTC (permalink / raw)
  To: Wim Van Sebroeck, Guenter Roeck, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Xingyu Wu, Ziv Xu
  Cc: Henry Qin, linux-watchdog, devicetree, linux-kernel

JHB100 is a StarFive RISC-V SoC for datacenter BMC (Baseboard
Management Controller). This series adds support for its watchdog to
the starfive-wdt driver.

Patch 1 removes the jh8100 compatible from the binding. There is no
JH8100 hardware available, no device tree uses it and the driver has no
match entry for it.

Patch 2 adds the jhb100 compatible. The JHB100 watchdog has an APB and a
core clock like the other variants, but only a single core reset.

Patch 3 adds the driver support. Compared to JH7110, the JHB100 watchdog
uses a different register layout and lock key, and restarts the counter
by writing a key to a RESTART register.

The series is based on watchdog-next. The JHB100 device tree nodes for
the watchdog will be sent separately on top of the JHB100 base device
tree series [1].

Testing:

- JHB100 EVB, with CONFIG_PM=y and CONFIG_PM=n. Tested start/stop,
  ping, changing the timeout while running and while stopped, timeleft,
  magic close, nowayout, early_enable, reboot with the watchdog running
  and the system reset on timeout. With CONFIG_PM=y the watchdog clocks
  are gated while the watchdog is stopped.

  The JHB100 clock drivers and device tree are not upstream yet, so
  this was tested on a 6.18 based vendor kernel. The driver is the one
  from this series, except that devm_kzalloc_obj() is replaced by
  devm_kzalloc(), which is what 6.18 provides. The 6.18 watchdog core
  does not have the core changes queued in watchdog-next. In particular,
  without commit 7ad760b1be33 ("watchdog: core: Don't report time left
  for a stopped watchdog") reading timeleft of a stopped watchdog with
  CONFIG_PM=y accesses the clock gated registers and hangs the bus, so
  timeleft was only read while the watchdog was running there.

- VisionFive 2 (JH7110): watchdog-next with this series, CONFIG_PM=y.
  Same tests plus unbind/bind while running, no regression seen.

[1] https://lore.kernel.org/all/20260806122553.182449-1-changhuang.liang@starfivetech.com/

Henry Qin (3):
  dt-bindings: watchdog: starfive,jh7100-wdt: Remove jh8100
  dt-bindings: watchdog: starfive,jh7100-wdt: Add jhb100 support
  watchdog: starfive: Add jhb100 support

 .../watchdog/starfive,jh7100-wdt.yaml         | 17 +++---
 drivers/watchdog/Kconfig                      |  4 +-
 drivers/watchdog/starfive-wdt.c               | 53 ++++++++++++++++++-
 3 files changed, 60 insertions(+), 14 deletions(-)


base-commit: df146790ce61af674924e65a80b71a98484cfc7a
-- 
2.43.0


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

* [PATCH 1/3] dt-bindings: watchdog: starfive,jh7100-wdt: Remove jh8100
  2026-12-04 13:53 [PATCH 0/3] watchdog: starfive: Add jhb100 support Henry Qin
@ 2026-12-04 13:53 ` Henry Qin
  2026-12-04 13:53 ` [PATCH 2/3] dt-bindings: watchdog: starfive,jh7100-wdt: Add jhb100 support Henry Qin
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 6+ messages in thread
From: Henry Qin @ 2026-12-04 13:53 UTC (permalink / raw)
  To: Wim Van Sebroeck, Guenter Roeck, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Xingyu Wu, Ziv Xu
  Cc: Henry Qin, linux-watchdog, devicetree, linux-kernel

There is no JH8100 hardware available, no device tree uses
"starfive,jh8100-wdt" and the driver has no match entry for it.
Remove the compatible together with the single reset variant that was
only added for it.

Signed-off-by: Henry Qin <henry.qin@starfivetech.com>
---
 .../watchdog/starfive,jh7100-wdt.yaml         | 34 ++++---------------
 1 file changed, 6 insertions(+), 28 deletions(-)

diff --git a/Documentation/devicetree/bindings/watchdog/starfive,jh7100-wdt.yaml b/Documentation/devicetree/bindings/watchdog/starfive,jh7100-wdt.yaml
index e21f807b0b69..ff8d2fa8621e 100644
--- a/Documentation/devicetree/bindings/watchdog/starfive,jh7100-wdt.yaml
+++ b/Documentation/devicetree/bindings/watchdog/starfive,jh7100-wdt.yaml
@@ -21,14 +21,9 @@ description:
 
 properties:
   compatible:
-    oneOf:
-      - enum:
-          - starfive,jh7100-wdt
-          - starfive,jh7110-wdt
-      - items:
-          - enum:
-              - starfive,jh8100-wdt
-          - const: starfive,jh7110-wdt
+    enum:
+      - starfive,jh7100-wdt
+      - starfive,jh7110-wdt
 
   reg:
     maxItems: 1
@@ -47,8 +42,9 @@ properties:
       - const: core
 
   resets:
-    minItems: 1
-    maxItems: 2
+    items:
+      - description: APB reset
+      - description: Core reset
 
 required:
   - compatible
@@ -60,24 +56,6 @@ required:
 allOf:
   - $ref: watchdog.yaml#
 
-  - if:
-      properties:
-        compatible:
-          contains:
-            enum:
-              - starfive,jh8100-wdt
-    then:
-      properties:
-        resets:
-          items:
-            - description: Core reset
-    else:
-      properties:
-        resets:
-          items:
-            - description: APB reset
-            - description: Core reset
-
 unevaluatedProperties: false
 
 examples:
-- 
2.43.0


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

* [PATCH 2/3] dt-bindings: watchdog: starfive,jh7100-wdt: Add jhb100 support
  2026-12-04 13:53 [PATCH 0/3] watchdog: starfive: Add jhb100 support Henry Qin
  2026-12-04 13:53 ` [PATCH 1/3] dt-bindings: watchdog: starfive,jh7100-wdt: Remove jh8100 Henry Qin
@ 2026-12-04 13:53 ` Henry Qin
  2026-12-04 13:53 ` [PATCH 3/3] watchdog: starfive: " Henry Qin
  2026-12-04 18:55 ` [PATCH 0/3] " Guenter Roeck
  3 siblings, 0 replies; 6+ messages in thread
From: Henry Qin @ 2026-12-04 13:53 UTC (permalink / raw)
  To: Wim Van Sebroeck, Guenter Roeck, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Xingyu Wu, Ziv Xu
  Cc: Henry Qin, linux-watchdog, devicetree, linux-kernel

Add the compatible for the watchdog in the StarFive JHB100 SoC. It has
an APB and a core clock like the other variants, but only a single core
reset.

The register layout differs from JH7110, so it does not use
starfive,jh7110-wdt as fallback.

Signed-off-by: Henry Qin <henry.qin@starfivetech.com>
---
 .../watchdog/starfive,jh7100-wdt.yaml         | 25 ++++++++++++++++---
 1 file changed, 21 insertions(+), 4 deletions(-)

diff --git a/Documentation/devicetree/bindings/watchdog/starfive,jh7100-wdt.yaml b/Documentation/devicetree/bindings/watchdog/starfive,jh7100-wdt.yaml
index ff8d2fa8621e..996218fea802 100644
--- a/Documentation/devicetree/bindings/watchdog/starfive,jh7100-wdt.yaml
+++ b/Documentation/devicetree/bindings/watchdog/starfive,jh7100-wdt.yaml
@@ -4,7 +4,7 @@
 $id: http://devicetree.org/schemas/watchdog/starfive,jh7100-wdt.yaml#
 $schema: http://devicetree.org/meta-schemas/core.yaml#
 
-title: StarFive Watchdog for JH7100 and JH7110 SoC
+title: StarFive Watchdog for JH7100, JH7110 and JHB100 SoC
 
 maintainers:
   - Xingyu Wu <xingyu.wu@starfivetech.com>
@@ -24,6 +24,7 @@ properties:
     enum:
       - starfive,jh7100-wdt
       - starfive,jh7110-wdt
+      - starfive,jhb100-wdt
 
   reg:
     maxItems: 1
@@ -42,9 +43,8 @@ properties:
       - const: core
 
   resets:
-    items:
-      - description: APB reset
-      - description: Core reset
+    minItems: 1
+    maxItems: 2
 
 required:
   - compatible
@@ -56,6 +56,23 @@ required:
 allOf:
   - $ref: watchdog.yaml#
 
+  - if:
+      properties:
+        compatible:
+          contains:
+            const: starfive,jhb100-wdt
+    then:
+      properties:
+        resets:
+          items:
+            - description: Core reset
+    else:
+      properties:
+        resets:
+          items:
+            - description: APB reset
+            - description: Core reset
+
 unevaluatedProperties: false
 
 examples:
-- 
2.43.0


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

* [PATCH 3/3] watchdog: starfive: Add jhb100 support
  2026-12-04 13:53 [PATCH 0/3] watchdog: starfive: Add jhb100 support Henry Qin
  2026-12-04 13:53 ` [PATCH 1/3] dt-bindings: watchdog: starfive,jh7100-wdt: Remove jh8100 Henry Qin
  2026-12-04 13:53 ` [PATCH 2/3] dt-bindings: watchdog: starfive,jh7100-wdt: Add jhb100 support Henry Qin
@ 2026-12-04 13:53 ` Henry Qin
  2026-12-04 14:35   ` sashiko-bot
  2026-12-04 18:55 ` [PATCH 0/3] " Guenter Roeck
  3 siblings, 1 reply; 6+ messages in thread
From: Henry Qin @ 2026-12-04 13:53 UTC (permalink / raw)
  To: Wim Van Sebroeck, Guenter Roeck, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Xingyu Wu, Ziv Xu
  Cc: Henry Qin, linux-watchdog, devicetree, linux-kernel

Add support for the watchdog in the StarFive JHB100 SoC.

Compared to JH7110, the JHB100 watchdog uses a different register
layout and lock key. The counter is restarted by writing a key to the
RESTART register, and it is reloaded from LOAD when the watchdog is
enabled and whenever the restart key is written.

The CONTROL register is set up so that the watchdog resets the system
on the first timeout.

Signed-off-by: Henry Qin <henry.qin@starfivetech.com>
---
 drivers/watchdog/Kconfig        |  4 +--
 drivers/watchdog/starfive-wdt.c | 53 ++++++++++++++++++++++++++++++++-
 2 files changed, 54 insertions(+), 3 deletions(-)

diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
index 3abbff003fce..88cfee265209 100644
--- a/drivers/watchdog/Kconfig
+++ b/drivers/watchdog/Kconfig
@@ -2169,8 +2169,8 @@ config STARFIVE_WATCHDOG
 	select WATCHDOG_CORE
 	default ARCH_STARFIVE
 	help
-	  Say Y here to support the watchdog of StarFive JH7100 and JH7110
-	  SoC. This driver can also be built as a module if choose M.
+	  Say Y here to support the watchdog of StarFive JH7100, JH7110 and
+	  JHB100 SoC. This driver can also be built as a module if choose M.
 
 # S390 Architecture
 
diff --git a/drivers/watchdog/starfive-wdt.c b/drivers/watchdog/starfive-wdt.c
index 24909afacd4e..045b922c76ab 100644
--- a/drivers/watchdog/starfive-wdt.c
+++ b/drivers/watchdog/starfive-wdt.c
@@ -5,6 +5,7 @@
  * Copyright (C) 2022 StarFive Technology Co., Ltd.
  */
 
+#include <linux/bits.h>
 #include <linux/clk.h>
 #include <linux/iopoll.h>
 #include <linux/module.h>
@@ -41,16 +42,38 @@
 #define STARFIVE_WDT_JH7110_IMS		0x014
 #define STARFIVE_WDT_JH7110_LOCK	0xc00	/* write 0x1ACCE551 to unlock */
 
+/*
+ * JHB100 Watchdog register define
+ *
+ * The counter is reloaded from LOAD when the watchdog is enabled and
+ * whenever the restart key is written to RESTART.
+ */
+#define STARFIVE_WDT_JHB100_CONTROL	0x000	/*
+						 * [0]: watchdog enable
+						 * [1]: 1 mean reset on the first timeout
+						 * [4]: reset enable
+						 */
+#define STARFIVE_WDT_JHB100_LOAD	0x00c
+#define STARFIVE_WDT_JHB100_VALUE	0x010
+#define STARFIVE_WDT_JHB100_RESTART	0x014	/* write 0xb8c12ba8 to restart the counter */
+#define STARFIVE_WDT_JHB100_LOCK	0x018	/* write 0xa7a0e19c to unlock */
+
 /* WDOGCONTROL */
 #define STARFIVE_WDT_ENABLE			0x1
 #define STARFIVE_WDT_EN_SHIFT			0
 #define STARFIVE_WDT_RESET_EN			0x1
 #define STARFIVE_WDT_JH7100_RST_EN_SHIFT	0
 #define STARFIVE_WDT_JH7110_RST_EN_SHIFT	1
+#define STARFIVE_WDT_JHB100_RST_EN_SHIFT	4
+#define STARFIVE_WDT_JHB100_RST_MODE		BIT(1)
 
 /* WDOGLOCK */
 #define STARFIVE_WDT_JH7100_UNLOCK_KEY		0x378f0765
 #define STARFIVE_WDT_JH7110_UNLOCK_KEY		0x1acce551
+#define STARFIVE_WDT_JHB100_UNLOCK_KEY		0xa7a0e19c
+
+/* WDOGRESTART */
+#define STARFIVE_WDT_JHB100_RESTART_KEY		0xb8c12ba8
 
 /* WDOGINTCLR */
 #define STARFIVE_WDT_INTCLR			0x1
@@ -89,8 +112,11 @@ struct starfive_wdt_variant {
 	unsigned int int_clr;		/* Watchdog Interrupt Clear Register */
 	unsigned int unlock;		/* Watchdog Lock Register */
 	unsigned int int_status;	/* Watchdog Interrupt Status Register */
+	unsigned int restart;		/* Watchdog Counter Restart Register */
 
 	u32 unlock_key;
+	u32 restart_key;
+	u32 rst_mode;			/* control bits to reset on the first timeout */
 	char enrst_shift;
 	char en_shift;
 	bool intclr_check;		/*  whether need to check it before clearing interrupt */
@@ -144,6 +170,23 @@ static const struct starfive_wdt_variant starfive_wdt_jh7110_variant = {
 	.double_timeout = true,
 };
 
+/* Register layout and configuration for the JHB100 */
+static const struct starfive_wdt_variant starfive_wdt_jhb100_variant = {
+	.control = STARFIVE_WDT_JHB100_CONTROL,
+	.load = STARFIVE_WDT_JHB100_LOAD,
+	.enable = STARFIVE_WDT_JHB100_CONTROL,
+	.value = STARFIVE_WDT_JHB100_VALUE,
+	.unlock = STARFIVE_WDT_JHB100_LOCK,
+	.unlock_key = STARFIVE_WDT_JHB100_UNLOCK_KEY,
+	.restart = STARFIVE_WDT_JHB100_RESTART,
+	.restart_key = STARFIVE_WDT_JHB100_RESTART_KEY,
+	.rst_mode = STARFIVE_WDT_JHB100_RST_MODE,
+	.enrst_shift = STARFIVE_WDT_JHB100_RST_EN_SHIFT,
+	.en_shift = STARFIVE_WDT_EN_SHIFT,
+	.intclr_check = false,
+	.double_timeout = false,
+};
+
 static int starfive_wdt_enable_clock(struct starfive_wdt *wdt)
 {
 	int ret;
@@ -225,6 +268,7 @@ static void starfive_wdt_enable_reset(struct starfive_wdt *wdt)
 
 	val = readl(wdt->base + wdt->variant->control);
 	val |= STARFIVE_WDT_RESET_EN << wdt->variant->enrst_shift;
+	val |= wdt->variant->rst_mode;
 	writel(val, wdt->base + wdt->variant->control);
 }
 
@@ -255,7 +299,12 @@ static int starfive_wdt_int_clr(struct starfive_wdt *wdt)
 			return dev_err_probe(wdt->wdd.parent, ret,
 					     "watchdog is not ready to clear interrupt.\n");
 	}
-	writel(STARFIVE_WDT_INTCLR, wdt->base + wdt->variant->int_clr);
+
+	/* JHB100 restarts the counter by writing the restart key */
+	if (wdt->variant->restart)
+		writel(wdt->variant->restart_key, wdt->base + wdt->variant->restart);
+	else
+		writel(STARFIVE_WDT_INTCLR, wdt->base + wdt->variant->int_clr);
 
 	return 0;
 }
@@ -606,6 +655,7 @@ static const struct dev_pm_ops starfive_wdt_pm_ops = {
 static const struct of_device_id starfive_wdt_match[] = {
 	{ .compatible = "starfive,jh7100-wdt", .data = &starfive_wdt_jh7100_variant },
 	{ .compatible = "starfive,jh7110-wdt", .data = &starfive_wdt_jh7110_variant },
+	{ .compatible = "starfive,jhb100-wdt", .data = &starfive_wdt_jhb100_variant },
 	{ /* sentinel */ }
 };
 MODULE_DEVICE_TABLE(of, starfive_wdt_match);
@@ -623,5 +673,6 @@ module_platform_driver(starfive_wdt_driver);
 
 MODULE_AUTHOR("Xingyu Wu <xingyu.wu@starfivetech.com>");
 MODULE_AUTHOR("Samin Guo <samin.guo@starfivetech.com>");
+MODULE_AUTHOR("Henry Qin <henry.qin@starfivetech.com>");
 MODULE_DESCRIPTION("StarFive Watchdog Device Driver");
 MODULE_LICENSE("GPL");
-- 
2.43.0


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

* Re: [PATCH 3/3] watchdog: starfive: Add jhb100 support
  2026-12-04 13:53 ` [PATCH 3/3] watchdog: starfive: " Henry Qin
@ 2026-12-04 14:35   ` sashiko-bot
  0 siblings, 0 replies; 6+ messages in thread
From: sashiko-bot @ 2026-12-04 14:35 UTC (permalink / raw)
  To: Henry Qin; +Cc: linux-watchdog, devicetree, robh, conor+dt

Thank you for your contribution! Sashiko AI review found 2 potential
issues to consider:
- [Medium] watchdog: starfive: starfive_wdt_start() discards wdt->reload
  on JHB100 resume
- [Low] watchdog: starfive: starfive_wdt_int_clr() writes RESTART before
  LOAD
--

commit ee0848390c3f02cfdb4636176c3d8234c91dfb17
Author: Henry Qin <henry.qin@starfivetech.com>

watchdog: starfive: Add jhb100 support

This commit adds watchdog support for the StarFive JHB100 SoC, introducing
its register layout, unlock and restart keys, and first-timeout reset mode.

> diff --git a/drivers/watchdog/starfive-wdt.c b/drivers/watchdog/starfive-wdt.c
> index 24909afacd4ee..045b922c76ab8 100644
> --- a/drivers/watchdog/starfive-wdt.c
> +++ b/drivers/watchdog/starfive-wdt.c

[ ... ]

> @@ -144,6 +170,23 @@ static const struct starfive_wdt_variant starfive_wdt_jh7110_variant = {
>  	.double_timeout = true,
>  };
>  
> +/* Register layout and configuration for the JHB100 */
> +static const struct starfive_wdt_variant starfive_wdt_jhb100_variant = {
> +	.control = STARFIVE_WDT_JHB100_CONTROL,
> +	.load = STARFIVE_WDT_JHB100_LOAD,
> +	.enable = STARFIVE_WDT_JHB100_CONTROL,
> +	.value = STARFIVE_WDT_JHB100_VALUE,
> +	.unlock = STARFIVE_WDT_JHB100_LOCK,
> +	.unlock_key = STARFIVE_WDT_JHB100_UNLOCK_KEY,
> +	.restart = STARFIVE_WDT_JHB100_RESTART,
> +	.restart_key = STARFIVE_WDT_JHB100_RESTART_KEY,
> +	.rst_mode = STARFIVE_WDT_JHB100_RST_MODE,
> +	.enrst_shift = STARFIVE_WDT_JHB100_RST_EN_SHIFT,
> +	.en_shift = STARFIVE_WDT_EN_SHIFT,
> +	.intclr_check = false,
> +	.double_timeout = false,
> +};

[Severity: Medium]
Does leaving .reload unset here discard wdt->reload on JHB100 system resume?

On resume, starfive_wdt_resume() calls starfive_wdt_start(wdt, wdt->reload):

drivers/watchdog/starfive-wdt.c:starfive_wdt_start() {
    ...
	starfive_wdt_set_reload_count(wdt, count);
	if (count != wdt->count)
		starfive_wdt_set_count(wdt, wdt->count);
	starfive_wdt_enable(wdt);
    ...
}

With variant->reload unset, starfive_wdt_set_reload_count() only writes
wdt->reload to LOAD without latching the counter.  The next call then
overwrites LOAD with wdt->count before starfive_wdt_enable() reloads the
counter from LOAD, resetting the watchdog to the full timeout.

[ ... ]

> @@ -255,7 +299,12 @@ static int starfive_wdt_int_clr(struct starfive_wdt *wdt)
>  			return dev_err_probe(wdt->wdd.parent, ret,
>  					     "watchdog is not ready to clear interrupt.\n");
>  	}
> -	writel(STARFIVE_WDT_INTCLR, wdt->base + wdt->variant->int_clr);
> +
> +	/* JHB100 restarts the counter by writing the restart key */
> +	if (wdt->variant->restart)
> +		writel(wdt->variant->restart_key, wdt->base + wdt->variant->restart);
> +	else
> +		writel(STARFIVE_WDT_INTCLR, wdt->base + wdt->variant->int_clr);
>  
>  	return 0;
>  }

[Severity: Low]
Should writing the JHB100 RESTART key happen in
starfive_wdt_set_reload_count() instead of starfive_wdt_int_clr()?

In starfive_wdt_keepalive(), starfive_wdt_int_clr() runs before
starfive_wdt_set_reload_count(), so RESTART is written before LOAD and the
LOAD update does not take effect for that ping.  In starfive_wdt_start(),
it also writes RESTART while disabled and before LOAD is programmed.

Skipping the interrupt-clear write when variant->int_clr is unset and
extending variant->reload in starfive_wdt_set_reload_count() with a reload
key would keep LOAD written before RESTART and avoid duplicating the reload
mechanism.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261204135336.632-1-henry.qin@starfivetech.com?part=3

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

* Re: [PATCH 0/3] watchdog: starfive: Add jhb100 support
  2026-12-04 13:53 [PATCH 0/3] watchdog: starfive: Add jhb100 support Henry Qin
                   ` (2 preceding siblings ...)
  2026-12-04 13:53 ` [PATCH 3/3] watchdog: starfive: " Henry Qin
@ 2026-12-04 18:55 ` Guenter Roeck
  3 siblings, 0 replies; 6+ messages in thread
From: Guenter Roeck @ 2026-12-04 18:55 UTC (permalink / raw)
  To: Henry Qin, Wim Van Sebroeck, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Xingyu Wu, Ziv Xu
  Cc: linux-watchdog, devicetree, linux-kernel

Hi,

On 12/4/26 05:53, Henry Qin wrote:
> JHB100 is a StarFive RISC-V SoC for datacenter BMC (Baseboard
> Management Controller). This series adds support for its watchdog to
> the starfive-wdt driver.
> 
> Patch 1 removes the jh8100 compatible from the binding. There is no
> JH8100 hardware available, no device tree uses it and the driver has no
> match entry for it.
> 
> Patch 2 adds the jhb100 compatible. The JHB100 watchdog has an APB and a
> core clock like the other variants, but only a single core reset.
> 
> Patch 3 adds the driver support. Compared to JH7110, the JHB100 watchdog
> uses a different register layout and lock key, and restarts the counter
> by writing a key to a RESTART register.
> 
> The series is based on watchdog-next. The JHB100 device tree nodes for
> the watchdog will be sent separately on top of the JHB100 base device
> tree series [1].
> 

I never got feedback from anyone at Starfive for the Starfive watchdog
driver fixes queued in watchdog-next, meaning those fixes won't be
applied to Linux 7.4 (I had announced that a long time ago).

Given that, I consider adding functional changes to the driver as too
risky at this point. Any functional changes to the starfive-wdt driver
will have to wait until after the next commit window has closed.

Thanks,
Guenter


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

end of thread, other threads:[~2026-12-04 18:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-04 13:53 [PATCH 0/3] watchdog: starfive: Add jhb100 support Henry Qin
2026-12-04 13:53 ` [PATCH 1/3] dt-bindings: watchdog: starfive,jh7100-wdt: Remove jh8100 Henry Qin
2026-12-04 13:53 ` [PATCH 2/3] dt-bindings: watchdog: starfive,jh7100-wdt: Add jhb100 support Henry Qin
2026-12-04 13:53 ` [PATCH 3/3] watchdog: starfive: " Henry Qin
2026-12-04 14:35   ` sashiko-bot
2026-12-04 18:55 ` [PATCH 0/3] " Guenter Roeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox