summaryrefslogtreecommitdiff
path: root/drivers/watchdog/Kconfig
diff options
context:
space:
mode:
authorChris Packham <judge.packham@gmail.com>2019-02-18 10:30:53 +1300
committerStefan Roese <sr@denx.de>2019-04-12 07:04:18 +0200
commit8e427ba35170a6b5966c28e59192d0561f989f65 (patch)
tree2eb5b061f538322ae262532be43e97705ffbbc92 /drivers/watchdog/Kconfig
parent8562e41464e06389ea4965d71a91753700985456 (diff)
downloadu-boot-8e427ba35170a6b5966c28e59192d0561f989f65.tar.gz
watchdog: orion_wdt: take timeout value in ms
The generic wdt_start API expects to be called with the timeout in milliseconds. Update the orion_wdt driver to accept a timeout in milliseconds and use the clock rate specified in the dts to convert the timeout to an appropriate value for the timer reload register. Signed-off-by: Chris Packham <judge.packham@gmail.com> Reviewed-by: Stefan Roese <sr@denx.de> Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'drivers/watchdog/Kconfig')
-rw-r--r--drivers/watchdog/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
index 34e78beb2a..9d7f503b69 100644
--- a/drivers/watchdog/Kconfig
+++ b/drivers/watchdog/Kconfig
@@ -97,6 +97,7 @@ config WDT_BCM6345
config WDT_ORION
bool "Orion watchdog timer support"
depends on WDT
+ select CLK
help
Select this to enable Orion watchdog timer, which can be found on some
Marvell Armada chips.