[PATCH v7 0/3] clocksource: fix Tegra234 SoC Watchdog Timer.

From: Robert Lin
Date: Fri May 02 2025 - 00:38:04 EST


From: robelin <robelin@xxxxxxxxxx>

This set of patches includes a fix for watchdog for it may not bark
due to self-pinging and adds WDIOC_GETTIMELEFT support.

--
V7:
- Fix formatting
- Consider overflow and warn if happens

V6:
- Fix timeleft value addition using unmatched time unit
- Use u64 type to maintain the microseconds value in case of overflow

V5:
- Print warning message if get unexpected value from the register

V4:
- Improve the precision of timeleft value
- Fix the unused variable warning

V3:
- Improve comment description
- Refactor to fit codeline within 80 columns
- Remove unused if(0) blocks


V2:
- Fix a compilation error, a warning and updates copyright
--

Pohsun Su (2):
clocksource/drivers/timer-tegra186: add WDIOC_GETTIMELEFT support
clocksource/drivers/timer-tegra186: fix watchdog self-pinging

robelin (1):
clocksource/drivers/timer-tegra186: Remove unused bits

drivers/clocksource/timer-tegra186.c | 100 +++++++++++++++++----------
1 file changed, 63 insertions(+), 37 deletions(-)

--
2.34.1