devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] Add watchdog nodes to msm8226 & msm8974
@ 2023-10-11 16:33 Luca Weiss
  2023-10-11 16:33 ` [PATCH 1/3] dt-bindings: watchdog: qcom-wdt: Add MSM8226 and MSM8974 compatibles Luca Weiss
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Luca Weiss @ 2023-10-11 16:33 UTC (permalink / raw)
  To: ~postmarketos/upstreaming, phone-devel, Andy Gross,
	Bjorn Andersson, Konrad Dybcio, Wim Van Sebroeck, Guenter Roeck,
	Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Sai Prakash Ranjan
  Cc: linux-arm-msm, linux-watchdog, devicetree, linux-kernel,
	Luca Weiss, Matti Lehtimäki

Document the compatible for the watchdog found on both SoCs, and add
them to the SoC dtsi file. And especially for the case where the
bootloader has already enabled the watchdog we need to start petting it
on time, otherwise the system gets rebooted.

It's worth noting that the watchdog behaves a bit unexpectedly.
It appears the watchdog counts down significantly slower when there's no
load on the system and can last far longer than 30 seconds until they
bark. Only when putting load on the system, e.g. with stress-ng does the
watchdog interrupt fire and kill the system within an expected amount of
time.

This behavior has been observed on both msm8974 and msm8226 smartphones.

Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
---
Matti Lehtimäki (3):
      dt-bindings: watchdog: qcom-wdt: Add MSM8226 and MSM8974 compatibles
      ARM: dts: qcom: msm8226: Add watchdog node
      ARM: dts: qcom: msm8974: Add watchdog node

 Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml | 2 ++
 arch/arm/boot/dts/qcom/qcom-msm8226.dtsi                 | 8 ++++++++
 arch/arm/boot/dts/qcom/qcom-msm8974.dtsi                 | 8 ++++++++
 3 files changed, 18 insertions(+)
---
base-commit: 2933a1156742d8c47550493a77af8e2d81cf3c84
change-id: 20231011-msm8226-msm8974-watchdog-a88e45f4e2a4

Best regards,
-- 
Luca Weiss <luca@z3ntu.xyz>


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

end of thread, other threads:[~2023-12-03 10:12 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-11 16:33 [PATCH 0/3] Add watchdog nodes to msm8226 & msm8974 Luca Weiss
2023-10-11 16:33 ` [PATCH 1/3] dt-bindings: watchdog: qcom-wdt: Add MSM8226 and MSM8974 compatibles Luca Weiss
2023-10-11 18:27   ` Krzysztof Kozlowski
2023-10-11 21:11   ` Guenter Roeck
2023-10-11 16:33 ` [PATCH 2/3] ARM: dts: qcom: msm8226: Add watchdog node Luca Weiss
2023-10-11 18:29   ` Konrad Dybcio
2023-10-11 16:33 ` [PATCH 3/3] ARM: dts: qcom: msm8974: " Luca Weiss
2023-10-11 18:29   ` Konrad Dybcio
2023-12-03  4:54 ` (subset) [PATCH 0/3] Add watchdog nodes to msm8226 & msm8974 Bjorn Andersson
2023-12-03 10:12   ` Luca Weiss

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).