u-boot/drivers/watchdog
Jan Kiszka 817e153fe5 watchdog: rti_wdt: Add 10% safety margin to clock frequency
When running against RC_OSC_32k, the watchdog may suffer from running
faster than expected, expiring earlier. The Linux kernel adds a 10%
margin to the timeout calculation by slowing down the read clock rate
accordingly. Do the same here, also to have comparable preset values
for both drivers.

Along this, fix the name of the local var holding to frequency - in Hz,
not kHz.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Stefan Roese <sr@denx.de>
2022-03-08 09:08:09 +01:00
..
apple_wdt.c watchdog: Add a driver for the Apple watchdog 2022-01-13 06:55:46 +01:00
armada-37xx-wdt.c watchdog: armada_37xx: Probe driver also when watchdog is already running 2022-03-08 09:08:09 +01:00
ast2600_wdt.c wdt: aspeed: Add AST2600 watchdog support 2021-01-18 15:23:05 -05:00
ast_wdt.c dm: Avoid accessing seq directly 2020-12-18 20:32:21 -07:00
at91sam9_wdt.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
bcm6345_wdt.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
booke_wdt.c watchdog: Add booke watchdog driver 2021-04-15 14:22:17 +05:30
cdns_wdt.c watchdog: cadence: Add expire_now method 2021-07-01 09:25:06 +02:00
cortina_wdt.c watchdog: cortina_wdt: add support for HW WDT on CAxxxx SoCs 2020-02-07 16:15:57 -05:00
designware_wdt.c wdt: dw: Fix passing NULL pointer to reset functions 2021-09-20 07:39:29 +02:00
ftwdt010_wdt.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
gpio_wdt.c watchdog: add gpio watchdog driver 2021-08-31 12:04:03 +02:00
imx_watchdog.c reset: Remove addr parameter from reset_cpu() 2021-03-02 14:03:02 -05:00
Kconfig watchdog: add sl28cpld watchdog driver 2022-02-28 11:59:35 +05:30
Makefile watchdog: add sl28cpld watchdog driver 2022-02-28 11:59:35 +05:30
mpc8xx_wdt.c watchdog: mpc8xx_wdt: Allow selection of watchdog mode through environment 2020-04-24 10:09:59 -04:00
mt7620_wdt.c watchdog: add watchdog driver for MediaTek MT7620 SoC 2021-01-24 21:39:26 +01:00
mt7621_wdt.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mtk_wdt.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
octeontx_wdt.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
omap_wdt.c dm: Avoid accessing seq directly 2020-12-18 20:32:21 -07:00
orion_wdt.c WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
rti_wdt.c watchdog: rti_wdt: Add 10% safety margin to clock frequency 2022-03-08 09:08:09 +01:00
s5p_wdt.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sandbox_wdt.c sandbox: fix sandbox_wdt_expire_now() 2021-11-13 08:16:52 -07:00
sbsa_gwdt.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
sl28cpld-wdt.c watchdog: add sl28cpld watchdog driver 2022-02-28 11:59:35 +05:30
sp805_wdt.c watchdog: sp805_wdt: use correct compatible string 2021-11-09 17:18:23 +05:30
stm32mp_wdt.c watchdog: stm32mp: migrate trace to dev macro 2021-01-13 09:52:58 +01:00
sunxi_wdt.c watchdog: Add a driver for the sunxi watchdog 2021-10-25 14:54:26 +01:00
tangier_wdt.c dm: Avoid accessing seq directly 2020-12-18 20:32:21 -07:00
ulp_wdog.c mx7ulp: wdog: Wait for WDOG unlock and reconfiguration to complete 2021-07-17 14:59:56 +02:00
wdt-uclass.c drivers: watchdog: wdt-uclass.c: add a property u-boot, noautostart 2022-03-08 09:08:00 +01:00
xilinx_tb_wdt.c dm: Avoid accessing seq directly 2020-12-18 20:32:21 -07:00
xilinx_wwdt.c watchdog: versal: Add support for expire now 2021-09-30 12:30:38 +02:00