timer: starfive: Add Starfive timer support
PATCH v2 1/1 timer: starfive: Add Starfive timer support
Add timer driver in Starfive SoC. It is an timer that outside of CPU core and inside Starfive SoC.
Signed-off-by Kuan Lim Lee <[email protected]>
Signed-off-by Wei Liang Lim <[email protected]>
Changes for v2:
- correct driver name, comment, variable
--- drivers/timer/Kconfig | 7 +++ drivers/timer/Makefile | 1 + drivers/timer/starfive-timer.c | 96 ++++++++++++++++++++++++++++++++++ 3 files changed, 104 insertions(+) create mode 100644 drivers/timer/starfive-timer.c
drivers/timer/Kconfig +7 -0
@@ -326,4 +326,11 @@ config XILINX_TIMER Select this to enable support for the timer found on any Xilinx boards (axi timer). +config STARFIVE_TIMER + bool "Starfive timer support" + depends on TIMER + help + Select this to enable support for the timer found on + Starfive SoC. + endmenu
drivers/timer/Makefile +1 -0
@@ -34,3 +34,4 @@ obj-$(CONFIG_MTK_TIMER) += mtk_timer.o obj-$(CONFIG_MCHP_PIT64B_TIMER) += mchp-pit64b-timer.o obj-$(CONFIG_IMX_GPT_TIMER) += imx-gpt-timer.o obj-$(CONFIG_XILINX_TIMER) += xilinx-timer.o +obj-$(CONFIG_STARFIVE_TIMER) += starfive-timer.o
drivers/timer/starfive-timer.c new file +96 -0
96 lines not on this page · raw message
Signature · 1 line
2.34.1
Hi Kuan Lim,
Quoted 6 lines · Kuan Lim Lee
Add timer driver in Starfive SoC. It is an timer that outside of CPU core and inside Starfive SoC.
Signed-off-by Kuan Lim Lee <[email protected]>Signed-off-by Wei Liang Lim <[email protected]>
Quoted 8 lines
Changes for v2:
- correct driver name, comment, variable--- drivers/timer/Kconfig | 7 +++ drivers/timer/Makefile | 1 + drivers/timer/starfive-timer.c | 96 ++++++++++++++++++++++++++++++++++ 3 files changed, 104 insertions(+) create mode 100644 drivers/timer/starfive-timer.c
I have already merged your v1 patch.
So could you re-send a patch based on the current master with all the fixes you have in this patch ?
Other than that,
LGTM.
Best regards,
Leo