[PATCH v2 0/2] watchdog: qcom: introduce qcom-wdt driver
Paul Sajna
hello at paulsajna.com
Tue Apr 22 01:29:17 CEST 2025
Sidenote: I needed to update the devicetree for judyln to use usb high-speed instead of super-speed with recent changes, I noticed while testing this. Otherwise it crashed. I'd like to submit that separately, but I'm not sure what's best.
The options I see are:
1. copy my wip device tree from sdm845-mainline to the upstream folder
2. copy my wip device tree from sdm845-mainline to a u-boot-specific devicetree
3. only change the usb in the upstream folder
4. only change the usb and make a new u-boot-specific-devicetree
Please let me know what would be the best way to proceed with this.
Thanks,
Paul Sajna
On Monday, April 21st, 2025 at 11:20 PM, Paul Sajna <hello at paulsajna.com> wrote:
>
>
> 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