All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Paul Menzel" <pmenzel@molgen.mpg.de>
Cc: linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org,
	robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH 3/3] arm64: dts: exynos: exynos7885: Add the watchdog
Date: Fri, 04 Dec 2026 18:10:47 +0000	[thread overview]
Message-ID: <sashiko-outbox-250386@kernel.org> (raw)
In-Reply-To: <20261204174814.453359-4-pmenzel@molgen.mpg.de>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Medium] arm64: dts: exynos7885: WDT_CLUSTER1 modeled as non-clustered
  watchdog
--

commit a9c7981ceded4bfc80d353124edf3ebc40ceb060
Author: Paul Menzel <pmenzel@molgen.mpg.de>

arm64: dts: exynos: exynos7885: Add the watchdog

This commit adds the watchdog node at 0x10060000 to the Exynos7885 SoC
device tree, disabled by default.

> diff --git a/arch/arm64/boot/dts/exynos/exynos7885.dtsi b/arch/arm64/boot/dts/exynos/exynos7885.dtsi
> index 6b994b487107e..24711ea9467de 100644
> --- a/arch/arm64/boot/dts/exynos/exynos7885.dtsi
> +++ b/arch/arm64/boot/dts/exynos/exynos7885.dtsi
> @@ -222,6 +222,17 @@ cmu_peri: clock-controller@10010000 {
>  				      "dout_peri_usi2";
>  		};
>  
> +		watchdog: watchdog@10060000 {
> +			compatible = "samsung,exynos7885-wdt";
> +			reg = <0x10060000 0x100>;
> +			interrupts = <GIC_SPI 233 IRQ_TYPE_LEVEL_HIGH>;
> +			clocks = <&cmu_peri CLK_GOUT_WDT1_PCLK>, <&oscclk>;
> +			clock-names = "watchdog", "watchdog_src";
> +			samsung,syscon-phandle = <&pmu_system_controller>;
> +
> +			status = "disabled";
> +		};

[Severity: Medium]
Should watchdog@10060000 include samsung,cluster-index = <1> and use the
watchdog_cl1 label instead of modeling WDT_CLUSTER1 as a non-clustered
watchdog?

Exynos7885 has two CPU clusters, and clk-exynos7885.c defines gates for
both cluster watchdogs (CLK_GOUT_WDT0_PCLK and CLK_GOUT_WDT1_PCLK).
Other multi-cluster Exynos SoCs like Exynos850 pair watchdog_cl0 and
watchdog_cl1 with samsung,cluster-index in s3c2410_get_wdt_drv_data().

Unless WDT_CLUSTER0 is unusable by Linux on Exynos7885, omitting
samsung,cluster-index here locks in a non-clustered DT ABI.  Enabling
WDT_CLUSTER0 later under samsung,exynos7885-wdt would then need fallback
quirks in s3c2410_wdt.c to avoid breaking existing DTBs.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261204174814.453359-1-pmenzel@molgen.mpg.de?part=3

  reply	other threads:[~2026-12-04 18:10 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-04 17:48 [PATCH 0/3] Add the Exynos7885 watchdog Paul Menzel
2026-12-04 17:48 ` [PATCH 1/3] dt-bindings: watchdog: samsung-wdt: Add Exynos7885 compatible Paul Menzel
2026-12-04 18:05   ` sashiko-bot
2026-12-04 17:48 ` [PATCH 2/3] watchdog: s3c2410_wdt: Add Exynos7885 support Paul Menzel
2026-12-04 18:11   ` sashiko-bot
2026-12-05 18:27     ` Guenter Roeck
2026-12-04 17:48 ` [PATCH 3/3] arm64: dts: exynos: exynos7885: Add the watchdog Paul Menzel
2026-12-04 18:10   ` sashiko-bot [this message]
2026-12-05 16:44 ` [PATCH 0/3] Add the Exynos7885 watchdog David Virag
2026-12-05 18:08   ` Guenter Roeck
2026-12-05 18:26     ` David Virag
2026-12-05 18:22   ` David Virag
2026-12-05 18:31     ` 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=sashiko-outbox-250386@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-watchdog@vger.kernel.org \
    --cc=pmenzel@molgen.mpg.de \
    --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.