diff options
author | Balaji Selvanathan <balaji.selvanathan@oss.qualcomm.com> | 2025-05-27 18:19:26 +0530 |
---|---|---|
committer | Casey Connolly <casey.connolly@linaro.org> | 2025-06-23 18:50:39 +0200 |
commit | 35811a7b0d68ce1a32446953e3ccf7a2186f08f8 (patch) | |
tree | 97d78a7bb8da1a5545b13ff92ae12d84d70a5f0e /drivers/gpio/msm_gpio.c | |
parent | 530764de9fc8539cd2354501e9c42804bc4c4dac (diff) |
drivers: watchdog: qcom: Add timeout configuration support in watchdog
This patch enhances the Qualcomm watchdog driver by introducing
support for dynamic timeout configuration. Specifically:
- Calculates and sets the bark and bite timeout values based on
the clock rate and the requested timeout in milliseconds.
- Adds retrieval of the watchdog clock rate during probe using
the common clock framework.
- Adds a default timeout value for ARCH_SNAPDRAGON
in WATCHDOG_TIMEOUT_MSECS.
These changes improve the configurability and accuracy of the
watchdog timer on Qualcomm platforms.
This work builds upon the previous submission:
https://lore.kernel.org/all/20250422-b4-qcom-wdt-v3-1-730d4d5a858d@paulsajna.com/
Signed-off-by: Balaji Selvanathan <balaji.selvanathan@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20250527124926.128413-1-balaji.selvanathan@oss.qualcomm.com
Signed-off-by: Casey Connolly <casey.connolly@linaro.org>
Diffstat (limited to 'drivers/gpio/msm_gpio.c')
0 files changed, 0 insertions, 0 deletions