u-boot/drivers/watchdog
Mo, Yuezhang ee6866e6c7 watchdog: imx: Support set timeout by wdt command
After "4b969deac0 watchdog: imx: Add DM support", the imx watchdog
can be started by wdt command. But the imx watchdog driver only
support start with the default timeout.

This commit adds the support for setting the timeout which pass from
the wdt command into the imx watchdog. If the timeout out of the
valid range(0.5~128s), start the watchdog with a timeout within the
valid range and the timeout is the one which closest to the passed
timeout.

Signed-off-by: Yuezhang.Mo <yuezhang.mo@sony.com>
Reviewed-by: Andy.Wu <Andy.Wu@sony.com>
Reviewed-by: stefano Babic <sbabic@denx.de>
2020-07-16 11:20:21 +02:00
..
armada-37xx-wdt.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
ast_wdt.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
at91sam9_wdt.c drivers: rename drivers to match compatible string 2020-07-09 18:57:22 -06:00
bcm6345_wdt.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
cdns_wdt.c common: Drop log.h from common header 2020-05-18 21:19:18 -04: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 common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
ftwdt010_wdt.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
imx_watchdog.c watchdog: imx: Support set timeout by wdt command 2020-07-16 11:20:21 +02:00
Kconfig watchdog: kconfig: Enable designware for rk3399 2020-04-30 22:34:20 +05:30
Makefile watchdog: versal: Add support for Xilinx window watchdog 2020-04-06 12:52:45 +02:00
mpc8xx_wdt.c watchdog: mpc8xx_wdt: Allow selection of watchdog mode through environment 2020-04-24 10:09:59 -04:00
mt7621_wdt.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
mtk_wdt.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
omap_wdt.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
orion_wdt.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04: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 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sp805_wdt.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
stm32mp_wdt.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
tangier_wdt.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
ulp_wdog.c common: Move reset_cpu() to the CPU header 2020-01-17 14:02:31 -05:00
wdt-uclass.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
xilinx_tb_wdt.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
xilinx_wwdt.c watchdog: versal: Add support for Xilinx window watchdog 2020-04-06 12:52:45 +02:00