watchdog:starfive:Modify real timeout sec setting and read
authorxingyu.wu <xingyu.wu@starfivetech.com>
Mon, 30 May 2022 03:42:04 +0000 (11:42 +0800)
committerxingyu.wu <xingyu.wu@starfivetech.com>
Mon, 30 May 2022 06:59:29 +0000 (14:59 +0800)
commit59fd78c392082faee3b7160e455e81fec85692cb
treea98fc2ed8a8ce76e60c6ca184f3ab16ec70c198f
parent029a826dbe8f8dd02af75fe0070fca27579233c1
watchdog:starfive:Modify real timeout sec setting and read

According to watchdog reset after twice timeout in hardware,
adjust real timeout sec setting and read by divider.

Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
drivers/watchdog/starfive-wdt.c