From: David Yang <mmyangfl@gmail.com>
To: linux-watchdog@vger.kernel.org
Cc: David Yang <mmyangfl@gmail.com>,
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>, Wei Xu <xuwei5@hisilicon.com>,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 1/4] dt-bindings: watchdog: hisilicon,histb-wdt: Add HiSilicon STB watchdog
Date: Tue, 24 Nov 2026 09:27:35 +0800 [thread overview]
Message-ID: <20261124012755.328774-2-mmyangfl@gmail.com> (raw)
In-Reply-To: <20261124012755.328774-1-mmyangfl@gmail.com>
Add Device Tree binding schema for the watchdog controller found on
HiSilicon STB SoCs.
Signed-off-by: David Yang <mmyangfl@gmail.com>
---
.../watchdog/hisilicon,histb-wdt.yaml | 56 +++++++++++++++++++
1 file changed, 56 insertions(+)
create mode 100644 Documentation/devicetree/bindings/watchdog/hisilicon,histb-wdt.yaml
diff --git a/Documentation/devicetree/bindings/watchdog/hisilicon,histb-wdt.yaml b/Documentation/devicetree/bindings/watchdog/hisilicon,histb-wdt.yaml
new file mode 100644
index 000000000000..427225c9aa46
--- /dev/null
+++ b/Documentation/devicetree/bindings/watchdog/hisilicon,histb-wdt.yaml
@@ -0,0 +1,56 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/watchdog/hisilicon,histb-wdt.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: HiSilicon STB SoC Watchdog
+
+maintainers:
+ - David Yang <mmyangfl@gmail.com>
+
+description:
+ HiSilicon STB SoCs (Hi3716, Hi3796, Hi3798, etc.) integrate a watchdog device,
+ which triggers an interrupt after a configurable time period. If that
+ interrupt has not been serviced when the next interrupt would be triggered,
+ the reset signal is asserted.
+
+allOf:
+ - $ref: watchdog.yaml#
+
+properties:
+ compatible:
+ items:
+ - enum:
+ - hisilicon,hi3798cv200-wdt
+ - const: hisilicon,histb-wdt
+
+ reg:
+ maxItems: 1
+
+ interrupts:
+ maxItems: 1
+
+ clocks:
+ maxItems: 1
+
+ clock-frequency:
+ description: Frequency of clock in Hz
+
+required:
+ - compatible
+ - reg
+
+unevaluatedProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/clock/histb-clock.h>
+ #include <dt-bindings/interrupt-controller/arm-gic.h>
+
+ watchdog@8a2c000 {
+ compatible = "hisilicon,hi3798cv200-wdt", "hisilicon,histb-wdt";
+ reg = <0x8a2c000 0x1000>;
+ interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&crg HISTB_OSC_CLK>;
+ };
--
2.53.0
next prev parent reply other threads:[~2026-11-24 1:28 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-24 1:27 [PATCH v2 0/4] watchdog: histb: Add HiSilicon STB watchdog driver David Yang
2026-11-24 1:27 ` David Yang [this message]
2026-11-24 1:35 ` [PATCH v2 1/4] dt-bindings: watchdog: hisilicon,histb-wdt: Add HiSilicon STB watchdog sashiko-bot
2026-11-24 1:27 ` [PATCH v2 2/4] watchdog: histb: Add HiSilicon STB watchdog driver David Yang
2026-11-24 1:27 ` [PATCH v2 3/4] arm64: dts: hisilicon: hi3798cv200: Add watchdog node David Yang
2026-11-24 1:27 ` [PATCH v2 4/4] MAINTAINERS: Add HiSilicon STB drivers entry David Yang
2026-11-24 4:22 ` [PATCH v2 0/4] watchdog: histb: Add HiSilicon STB watchdog driver 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=20261124012755.328774-2-mmyangfl@gmail.com \
--to=mmyangfl@gmail.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.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=xuwei5@hisilicon.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.