All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Akari Tsuyukusa" <akkun11.open@gmail.com>
Cc: conor+dt@kernel.org, devicetree@vger.kernel.org, robh@kernel.org,
	linux-watchdog@vger.kernel.org
Subject: Re: [PATCH 7/7] arm: dts: mediatek: mt6589: add reset support for wdt
Date: Thu, 16 Jul 2026 16:32:51 +0000	[thread overview]
Message-ID: <20260716163252.3D6821F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260716161923.266315-8-akkun11.open@gmail.com>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] The dt-binding schema fails to enforce `#reset-cells` as a required property for watchdog variants that act as reset providers, such as `mediatek,mt6589-wdt`.
--

--- Patch [7]: [PATCH 7/7] arm: dts: mediatek: mt6589: add reset support for wdt ---
commit 3940ed1252e6cfe8fc145910821de71c2c72776d
Author: Akari Tsuyukusa <akkun11.open@gmail.com>

arm: dts: mediatek: mt6589: add reset support for wdt

This commit updates the MT6589 watchdog device tree node to support TOPRGU
resets by adding the #reset-cells property.

> diff --git a/arch/arm/boot/dts/mediatek/mt6589.dtsi b/arch/arm/boot/dts/mediatek/mt6589.dtsi
> index c6babc8ad2ba6..4d29ed495d31e 100644
> --- a/arch/arm/boot/dts/mediatek/mt6589.dtsi
> +++ b/arch/arm/boot/dts/mediatek/mt6589.dtsi
> @@ -136,6 +136,7 @@ uart3: serial@11009000 {
>  		wdt: watchdog@10000000 {
>  			compatible = "mediatek,mt6589-wdt";
>  			reg = <0x10000000 0x44>;
> +			#reset-cells = <1>;

[Severity: Medium]
Does the device tree binding schema for mediatek,mtk-wdt need an update
alongside this change?

Adding #reset-cells here indicates this watchdog variant now acts as a reset
provider. According to the dt-bindings subsystem guidelines, when hardware
gains new provider capabilities, the corresponding standard properties (like
#reset-cells) must be added to the required list in the schema with
appropriate constraints.

Without an allOf with if-then conditional block in
Documentation/devicetree/bindings/watchdog/mediatek,mtk-wdt.yaml to enforce
#reset-cells as required for mediatek,mt6589-wdt, functionally incomplete
device tree nodes missing this property will silently pass dt_binding_check
validation.

>  		};
>  	};
>  };

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260716161923.266315-1-akkun11.open@gmail.com?part=7

      reply	other threads:[~2026-07-16 16:32 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-16 16:19 [PATCH 0/7] Add reset support to MT6589 wdt and remove fallback compatibles Akari Tsuyukusa
2026-07-16 16:19 ` [PATCH 1/7] watchdog: mtk_wdt: add explicit compatibles for SoCs using mt6589 fallback Akari Tsuyukusa
2026-07-16 16:37   ` sashiko-bot
2026-07-16 16:19 ` [PATCH 2/7] dt-bindings: watchdog: mediatek,mtk-wdt: add compatibles for all SoCs Akari Tsuyukusa
2026-07-16 16:19 ` [PATCH 3/7] arm/arm64: dts: mediatek: drop mt6589 fallback from watchdog Akari Tsuyukusa
2026-07-16 16:36   ` sashiko-bot
2026-07-16 18:35   ` Roman Vivchar
2026-07-16 16:19 ` [PATCH 4/7] dt-bindings: watchdog: mediatek,mtk-wdt: remove mt6589 fallback items Akari Tsuyukusa
2026-07-16 16:49   ` sashiko-bot
2026-07-16 16:19 ` [PATCH 5/7] dt-bindings: reset: Add bindings for MediaTek MT6589 reset controller Akari Tsuyukusa
2026-07-16 16:47   ` sashiko-bot
2026-07-16 16:19 ` [PATCH 6/7] watchdog: mtk_wdt: add reset controller support for MT6589 Akari Tsuyukusa
2026-07-16 16:33   ` sashiko-bot
2026-07-16 16:19 ` [PATCH 7/7] arm: dts: mediatek: mt6589: add reset support for wdt Akari Tsuyukusa
2026-07-16 16:32   ` sashiko-bot [this message]

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=20260716163252.3D6821F000E9@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=akkun11.open@gmail.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-watchdog@vger.kernel.org \
    --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 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.