summaryrefslogtreecommitdiff
path: root/drivers/watchdog/imx_sc_wdt.c
diff options
context:
space:
mode:
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>2019-06-05 08:04:00 +0300
committerWim Van Sebroeck <wim@linux-watchdog.org>2019-07-08 20:39:44 +0300
commitb836005b4f95cccdc1f53849a31cac2dc375f4b7 (patch)
tree38382bf14eb80c8fb4de63faf13e7a6fc1ff5bb0 /drivers/watchdog/imx_sc_wdt.c
parent1a4aaf9f11f9937e93fe9907e6c2320a10a9f269 (diff)
downloadlinux-b836005b4f95cccdc1f53849a31cac2dc375f4b7.tar.xz
watchdog: renesas_wdt: Add a few cycles delay
According to the hardware manual of R-Car Gen2 and Gen3, software should wait a few RLCK cycles as following: - Delay 2 cycles before setting watchdog counter. - Delay 3 cycles before disabling module clock. So, this patch adds such delays. Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> Reviewed-by: Simon Horman <horms+renesas@verge.net.au> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'drivers/watchdog/imx_sc_wdt.c')
0 files changed, 0 insertions, 0 deletions