Devicetree
 help / color / mirror / Atom feed
* [PATCH 0/3] Add the Exynos7885 watchdog
@ 2026-12-04 17:48 Paul Menzel
  2026-12-04 17:48 ` [PATCH 1/3] dt-bindings: watchdog: samsung-wdt: Add Exynos7885 compatible Paul Menzel
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Paul Menzel @ 2026-12-04 17:48 UTC (permalink / raw)
  To: Wim Van Sebroeck, Guenter Roeck
  Cc: Paul Menzel, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Peter Griffin, Alim Akhtar, David Virag, Umer Uddin,
	linux-watchdog, devicetree, linux-arm-kernel, linux-samsung-soc

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
-- 
2.54.0


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-12-04 18:11 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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-04 17:48 ` [PATCH 3/3] arm64: dts: exynos: exynos7885: Add the watchdog Paul Menzel
2026-12-04 18:10   ` sashiko-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox