u-boot/drivers/watchdog
Stefan Roese 6c04bd3857 watchdog: at91sam9_wdt: Fix WDT setup in at91_wdt_start()
This patch fixes the timer register setup in at91_wdt_start() to
correctly configure the register again. The input timeout value is
now in milli-seconds instead of seconds with the new watchdog API.
Make sure to take this into account and only use a max timeout
value of 16 seconds as appropriate for this SoC.

Also the check against a lower timeout value than 0 is removed. This
check makes no sense, as the timeout value is unsigned.

Signed-off-by: Stefan Roese <sr@denx.de>
Reported-by: Heiko Schocher <hs@denx.de>
Cc: Heiko Schocher <hs@denx.de>
Cc: Andreas Bießmann <andreas@biessmann.org>
Cc: Eugen Hristev <eugen.hristev@microchip.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
Tested on the taurus board:
Tested-by: Heiko Schocher <hs@denx.de>
2019-04-09 09:28:50 +03:00
..
armada-37xx-wdt.c watchdog: armada_37xx: Fix compliance with kernel's driver 2019-01-21 11:39:49 +01:00
ast_wdt.c watchdog: Remove DM_FLAG_PRE_RELOC flag in various drivers 2018-11-14 09:16:28 -08:00
at91sam9_wdt.c watchdog: at91sam9_wdt: Fix WDT setup in at91_wdt_start() 2019-04-09 09:28:50 +03:00
bcm2835_wdt.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
bcm6345_wdt.c watchdog: bcm6345: switch to raw I/O functions 2019-02-09 07:50:50 -05:00
cdns_wdt.c watchdog: cadence: Do not stop wdt in probe 2018-07-19 10:49:56 +02:00
designware_wdt.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ftwdt010_wdt.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
imx_watchdog.c watchdog: imx: add config to disable wdog reset 2019-01-01 14:12:18 +01:00
Kconfig watchdog: bcm6345: allow to use this driver on arm bcm63158 2019-02-09 07:50:59 -05:00
Makefile watchdog: driver support for fsl-lsch2 2019-01-01 14:12:18 +01:00
mpc8xx_wdt.c drivers: watchdog: add a DM driver for the MPC8xx watchdog 2018-12-03 10:44:10 -05:00
mt7621_wdt.c wdt: Add MT7621 watchdog driver 2018-11-18 16:02:22 +01:00
mtk_wdt.c watchdog: MediaTek: add watchdog driver for MediaTek SoCs 2018-11-28 23:04:52 -05:00
omap_wdt.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
orion_wdt.c orion_wdt: Support for the Orion Watchdog 2017-07-12 06:56:48 +02: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
tangier_wdt.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ulp_wdog.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
wdt-uclass.c watchdog: dm: Support manual relocation for watchdogs 2018-07-19 10:49:54 +02:00
xilinx_tb_wdt.c watchdog: Convert Xilinx Axi watchdog driver to driver model 2018-07-19 10:49:55 +02:00