clocksource: starfive: Add reset control support
authorxingyu.wu <xingyu.wu@starfivetech.com>
Tue, 12 Jul 2022 02:57:13 +0000 (10:57 +0800)
committerxingyu.wu <xingyu.wu@starfivetech.com>
Tue, 12 Jul 2022 02:57:20 +0000 (10:57 +0800)
commit3097bce5e5d1616cce6fc8def38699635f09e46b
tree90b3d298263cf785541c9ab514f69636729a32b4
parent61575264f1dd45e0bdbf6ba76937b94f2b2ffbf2
clocksource: starfive: Add reset control support

Reset the timer if the reset control is available.

Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
Signed-off-by: Ley Foon Tan <leyfoon.tan@linux.starfivetech.com>
drivers/clocksource/timer-starfive.c
drivers/clocksource/timer-starfive.h [changed mode: 0644->0755]