From: sashiko-bot@kernel.org
To: "David Yang" <mmyangfl@gmail.com>, linux-watchdog@vger.kernel.org
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v2 1/4] dt-bindings: watchdog: hisilicon,histb-wdt: Add HiSilicon STB watchdog
Date: Tue, 24 Nov 2026 01:35:58 +0000 [thread overview]
Message-ID: <sashiko-outbox-230349@kernel.org> (raw)
In-Reply-To: <20261124012755.328774-2-mmyangfl@gmail.com>
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] dt-bindings: watchdog: non-canonical property order in
hisilicon,histb-wdt
--
commit cd75fa6a3636ea21f523ddd842b008cc17e1bb93
Author: David Yang <mmyangfl@gmail.com>
dt-bindings: watchdog: hisilicon,histb-wdt: Add HiSilicon STB watchdog
This commit adds the Device Tree binding schema for the watchdog controller
found on HiSilicon STB SoCs.
> 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 0000000000000..427225c9aa46e
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/watchdog/hisilicon,histb-wdt.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>;
> + };
[Severity: Low]
Could clocks be placed before interrupts in both the properties block and
the example node to follow the standard DT binding property order
(compatible, reg, clocks, interrupts)?
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261124012755.328774-1-mmyangfl@gmail.com?part=1
next prev parent reply other threads:[~2026-11-24 1:36 UTC|newest]
Thread overview: 6+ 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 ` [PATCH v2 1/4] dt-bindings: watchdog: hisilicon,histb-wdt: Add HiSilicon STB watchdog David Yang
2026-11-24 1:35 ` sashiko-bot [this message]
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
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=sashiko-outbox-230349@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=linux-watchdog@vger.kernel.org \
--cc=mmyangfl@gmail.com \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
/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