ARM Sunxi Platform Development
 help / color / mirror / Atom feed
* [PATCH v3] arm: dts: allwinner: t113s: enable watchdog for reboot
@ 2026-05-06 10:14 Michal Piekos
  2026-05-08 14:16 ` Chen-Yu Tsai
  0 siblings, 1 reply; 2+ messages in thread
From: Michal Piekos @ 2026-05-06 10:14 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Chen-Yu Tsai,
	Jernej Skrabec, Samuel Holland
  Cc: devicetree, linux-arm-kernel, linux-sunxi, linux-kernel,
	Michal Piekos

Reboot hangs on T113s boards because no restart handler is
available.

Enable the SoC watchdog whose driver registers a restart handler.

Tested on LCPI-PC-T113/F113.

Signed-off-by: Michal Piekos <michal.piekos@mmpsystems.pl>
---
Changes in v3:
- Fix referencing the node
- Link to v2: https://lore.kernel.org/r/20260425-t113-mangopi-reboot-hang-v2-1-fd343207a4be@mmpsystems.pl

Changes in v2:
- Moved watchdog enablement to SoC level dts following Jernej's
  suggestion
- Link to v1: https://lore.kernel.org/r/20260412-t113-mangopi-reboot-hang-v1-1-5002cfa6e0cc@mmpsystems.pl
---
 arch/arm/boot/dts/allwinner/sun8i-t113s.dtsi | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/boot/dts/allwinner/sun8i-t113s.dtsi b/arch/arm/boot/dts/allwinner/sun8i-t113s.dtsi
index 424f4a2487e2..3ca0897353be 100644
--- a/arch/arm/boot/dts/allwinner/sun8i-t113s.dtsi
+++ b/arch/arm/boot/dts/allwinner/sun8i-t113s.dtsi
@@ -90,3 +90,7 @@ cpu-crit {
 		};
 	};
 };
+
+&wdt {
+	status = "okay";
+};

---
base-commit: 74fe02ce122a6103f207d29fafc8b3a53de6abaf
change-id: 20260412-t113-mangopi-reboot-hang-c9a9def82e2b

Best regards,
--  
Michal Piekos <michal.piekos@mmpsystems.pl>


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

* Re: [PATCH v3] arm: dts: allwinner: t113s: enable watchdog for reboot
  2026-05-06 10:14 [PATCH v3] arm: dts: allwinner: t113s: enable watchdog for reboot Michal Piekos
@ 2026-05-08 14:16 ` Chen-Yu Tsai
  0 siblings, 0 replies; 2+ messages in thread
From: Chen-Yu Tsai @ 2026-05-08 14:16 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Jernej Skrabec,
	Samuel Holland, Michal Piekos
  Cc: devicetree, linux-arm-kernel, linux-sunxi, linux-kernel

On Wed, 06 May 2026 12:14:31 +0200, Michal Piekos wrote:
> Reboot hangs on T113s boards because no restart handler is
> available.
> 
> Enable the SoC watchdog whose driver registers a restart handler.
> 
> Tested on LCPI-PC-T113/F113.
> 
> [...]

Applied to sunxi/dt-for-7.2 in local tree, thanks!

[1/1] arm: dts: allwinner: t113s: enable watchdog for reboot
      commit: c6895beaf5eab889ebdaffeb6210ad1111f3e72e

Best regards,
-- 
Chen-Yu Tsai <wens@kernel.org>


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

end of thread, other threads:[~2026-05-08 14:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-06 10:14 [PATCH v3] arm: dts: allwinner: t113s: enable watchdog for reboot Michal Piekos
2026-05-08 14:16 ` Chen-Yu Tsai

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