[PATCH v2 0/2] watchdog: qcom: introduce qcom-wdt driver

Paul Sajna hello at paulsajna.com
Tue Apr 22 01:20:05 CEST 2025


This patch introduces a simple watchdog driver for Qualcomm devices.

Some devices, including one I have been spending a lot of time with,
the LG G7 ThinQ (codename judyln, arch sdm845) will reset within 30
seconds if the watchdog is not serviced.

I have tested this patch from Casey Connolly that is over a year old and has
not yet been upstreamed, and it is very useful to me. I can hardly use
u-boot on this device without it. I have received Casey's permission to
work on upstreaming this patch.

This is my first contribution to U-Boot, and I am unfamiliar with
mailing list workflows, so please be patient :)

Signed-off-by: Paul Sajna <hello at paulsajna.com>
---
Changes in v2:
- Add watchdog start
- Add watchdog reset
- Remove stop from the probe function
- Use dev_err instead of printf
- Update Casey's name
- Add myself as an author
- 
- Link to v1: https://lore.kernel.org/r/20250413-b4-qcom-wdt-v1-1-db42cb93dff8@paulsajna.com

---
Casey Connolly (1):
      watchdog: qcom: introduce qcom-wdt driver

Paul Sajna (1):
      watchdog: qcom: improve driver with more functionality

 configs/qcom_defconfig      |   2 +
 drivers/watchdog/Kconfig    |   7 +++
 drivers/watchdog/Makefile   |   1 +
 drivers/watchdog/qcom-wdt.c | 118 ++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 128 insertions(+)
---
base-commit: 0eebdd17888005751cd77cf3794c5292d36f481a
change-id: 20250413-b4-qcom-wdt-e7b913fc375e

Best regards,
-- 
Paul Sajna <hello at paulsajna.com>




More information about the U-Boot mailing list