From: Henry Qin <henry.qin@starfivetech.com>
To: Wim Van Sebroeck <wim@linux-watchdog.org>,
Guenter Roeck <linux@roeck-us.net>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Xingyu Wu <xingyu.wu@starfivetech.com>,
Ziv Xu <ziv.xu@starfivetech.com>
Cc: Henry Qin <henry.qin@starfivetech.com>,
linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: [PATCH 2/3] dt-bindings: watchdog: starfive,jh7100-wdt: Add jhb100 support
Date: Fri, 4 Dec 2026 13:53:35 +0000 [thread overview]
Message-ID: <20261204135336.632-3-henry.qin@starfivetech.com> (raw)
In-Reply-To: <20261204135336.632-1-henry.qin@starfivetech.com>
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
next prev parent reply other threads:[~2026-12-04 13:54 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2026-12-04 13:53 ` [PATCH 3/3] watchdog: starfive: Add jhb100 support Henry Qin
2026-12-04 14:35 ` sashiko-bot
2026-12-04 18:55 ` [PATCH 0/3] " Guenter Roeck
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261204135336.632-3-henry.qin@starfivetech.com \
--to=henry.qin@starfivetech.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-watchdog@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=robh@kernel.org \
--cc=wim@linux-watchdog.org \
--cc=xingyu.wu@starfivetech.com \
--cc=ziv.xu@starfivetech.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox