summaryrefslogtreecommitdiff
path: root/drivers/clocksource/timer-starfive.h
AgeCommit message (Collapse)AuthorFilesLines
2023-06-07driver/include/sound: Normalize the copyright licensesXingyu Wu1-9/+3
Normalize the copyright licenses about clocktree/watchdog/timer/spdif/pwmdac. Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
2023-01-05timer-starfive:add pm ops for timerziv.xu1-0/+9
add system pm ops for timer Signed-off-by: ziv.xu <ziv.xu@starfive.com>
2022-09-15clocksource: starfive: Remove struct reset_controlLey Foon Tan1-1/+0
Remove struct reset_control from starfive_clkevt struct, uses local struct reset_control instead. Signed-off-by: Ley Foon Tan <leyfoon.tan@linux.starfivetech.com>
2022-07-12clocksource: starfive: Update timer namesLey Foon Tan1-0/+1
The existing implementation uses DT clock-names 'timer0', 'timer1' and etc as timer names. This will have issue if there are two timer instance IPs in the system. This patch update timer names to format below, example: timer@13050000.ch0 timer@13050000.ch1 timer@13050000.ch2 timer@13050000.ch3 Signed-off-by: Ley Foon Tan <leyfoon.tan@linux.starfivetech.com>
2022-07-12clocksource: starfive: Add reset control supportxingyu.wu1-0/+1
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>
2022-06-30drivers:clocksource:Modify timer driver and add exit codesxingyu.wu1-0/+1
Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
2022-06-30drivers:clocksource:Modify timer driver formatxingyu.wu1-12/+13
Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
2021-11-26clocksource: add starfive hw-timer driverSamin Guo1-0/+98
This driver applies to JH7100|JH7110 Signed-off-by: samin <samin.guo@starfivetech.com>