From: David Virag <virag.david003@gmail.com>
To: Paul Menzel <pmenzel@molgen.mpg.de>,
Wim Van Sebroeck <wim@linux-watchdog.org>,
Guenter Roeck <linux@roeck-us.net>
Cc: Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Peter Griffin <peter.griffin@linaro.org>,
Alim Akhtar <alim.akhtar@samsung.com>,
Umer Uddin <umer.uddin@mentallysanemainliners.org>,
linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-samsung-soc@vger.kernel.org
Subject: Re: [PATCH 0/3] Add the Exynos7885 watchdog
Date: Sat, 05 Dec 2026 19:22:24 +0100 [thread overview]
Message-ID: <bdc6ed3c39f191be3c9a53dac54d3cc258cfcb0f.camel@gmail.com> (raw)
In-Reply-To: <c8862d7bcf900f7fe10a2b7ce41db083e22d251f.camel@gmail.com>
On Sat, 2026-12-05 at 17:44 +0100, David Virag wrote:
> On Fri, 2026-12-04 at 18:48 +0100, Paul Menzel wrote:
> > The Exynos7885 has the usual Samsung watchdog at 0x10060000,
> > controlled
> > through the PMU like on Exynos7, but with bit 24 in DISABLE_WDT,
> > MASK_WDT_RESET and RST_STAT. Add the compatible, the driver variant
> > and
> > the SoC node (disabled).
> >
> > The values come from Samsung’s kernel source for the SM-T510 (Linux
> > 4.4) [1]: the samsung,exynos8-wdt variant of s3c2410_wdt.c, which
> > the
> > SoC uses, with mask and reset status bit 24 [2], and the watchdog
> > node
> > of the SoC device tree [3].
> >
> > Patches 1 and 2 are for the watchdog tree, patch 3 for the Samsung
> > SoC
> > tree.
> >
> > Tested on the Samsung Galaxy Tab A 10.1 (2019, Wi-Fi, SM-T510) with
> > a
> > board device tree that enables the node (not upstream yet – it is
> > meant
> > to share a dtsi with the SM-T515, exynos7885-gta3xllte): the timer
> > runs
> > and is petted through /dev/watchdog, an unexpected close resets the
> > SoC
> > after the 60 s margin, and RST_STAT bit 24 shows the watchdog reset
> > in
> > the next boot. dt_binding_check, and dtbs_check of the Exynos7885
> > boards with the node enabled, report nothing.
> >
> > I found no other work on this watchdog on the lists.
> >
> > Claude Code (claude-opus-5-5) helped with this series: it looked up
> > the
> > values in Samsung’s kernel source and device tree for the SM-T510,
> > wrote the changes and commit messages, ran the checks, and ran the
> > tests
> > on the tablet. Each patch carries a note saying so.
> >
> > [1]:
> > https://github.com/gta3xlwifi-dev/android_kernel_gta3xlwifi/tree/00e4b9481434f9b0b644925a9bb2feaf3940219d
> > [2]:
> > https://github.com/gta3xlwifi-dev/android_kernel_gta3xlwifi/blob/00e4b9481434f9b0b644925a9bb2feaf3940219d/drivers/watchdog/s3c2410_wdt.c#L181-L200
> > [3]:
> > https://github.com/gta3xlwifi-dev/android_kernel_gta3xlwifi/blob/00e4b9481434f9b0b644925a9bb2feaf3940219d/arch/arm64/boot/dts/exynos/dtbo/exynos7885.dts#L1976-L1984
> >
> > Paul Menzel (3):
> > dt-bindings: watchdog: samsung-wdt: Add Exynos7885 compatible
> > watchdog: s3c2410_wdt: Add Exynos7885 support
> > arm64: dts: exynos: exynos7885: Add the watchdog
> >
> > .../devicetree/bindings/watchdog/samsung-wdt.yaml | 4 +++-
> > arch/arm64/boot/dts/exynos/exynos7885.dtsi | 11
> > +++++++++++
> > drivers/watchdog/s3c2410_wdt.c | 12
> > ++++++++++++
> > 3 files changed, 26 insertions(+), 1 deletion(-)
> >
> >
> > base-commit: 0b5bb03d26a268f2606e3f574b277a1105136328
>
> For the whole set:
>
> Exynos7885 has two watchdogs. The other one is present at 0x10050000
> like on the Exynos850. The IRQ I haven't tested but I suspect it to
> be
> 232. As for the PMU registers, I currently have no information.
>
> This is the reason I haven't submitted WDT patches so far, as the
> other
> WDT is kind of undocumented currently.
>
> If information on this gets discovered, then at least the DT bindings
> will probably be wrong, as samsung,cluster-index will be needed.
Update: From manual testing on jackpotlte, I can confirm that the IRQ
is 232, and the PMU registers are the same, but use bit 23 for the
other WDT (both rst_stat_bt and mask_bit). The other WDT is perfectly
functional.
Best regards,
David
next prev parent reply other threads:[~2026-12-05 18:22 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
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 [this message]
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=bdc6ed3c39f191be3c9a53dac54d3cc258cfcb0f.camel@gmail.com \
--to=virag.david003@gmail.com \
--cc=alim.akhtar@samsung.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=linux-watchdog@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=peter.griffin@linaro.org \
--cc=pmenzel@molgen.mpg.de \
--cc=robh@kernel.org \
--cc=umer.uddin@mentallysanemainliners.org \
--cc=wim@linux-watchdog.org \
/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.