* [PATCH] timer: Kconfig: add clint timer support
@ 2022-12-06 3:16 chenzhipeng
2022-12-06 5:48 ` Stefan Roese
0 siblings, 1 reply; 2+ messages in thread
From: chenzhipeng @ 2022-12-06 3:16 UTC (permalink / raw)
To: michal.simek
Cc: sr, eugen.hristev, william.zhang, sjg, chenzhipeng, michael,
andre.przywara, jim.t90615, clement.leger, u-boot
add the clint timer device configuration item to Kconfig
Signed-off-by: chenzhipeng <chenzhipeng@eswincomputing.com>
---
drivers/timer/Kconfig | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/drivers/timer/Kconfig b/drivers/timer/Kconfig
index 6d6665005c..3dd1b940f1 100644
--- a/drivers/timer/Kconfig
+++ b/drivers/timer/Kconfig
@@ -216,6 +216,13 @@ config RISCV_TIMER
Select this to enable support for a generic RISC-V S-Mode timer
driver.
+config CLINT_TIMER
+ bool "RISC-V clint timer support"
+ depends on TIMER && RISCV
+ help
+ Select this to enables the clint timer for RISC-V systems. The clint
+ driver is usually used for NoMMU RISC-V systems.
+
config ROCKCHIP_TIMER
bool "Rockchip timer support"
depends on TIMER
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] timer: Kconfig: add clint timer support
2022-12-06 3:16 [PATCH] timer: Kconfig: add clint timer support chenzhipeng
@ 2022-12-06 5:48 ` Stefan Roese
0 siblings, 0 replies; 2+ messages in thread
From: Stefan Roese @ 2022-12-06 5:48 UTC (permalink / raw)
To: chenzhipeng, michal.simek
Cc: eugen.hristev, william.zhang, sjg, michael, andre.przywara,
jim.t90615, clement.leger, u-boot
Hi chenzhipeng,
On 12/6/22 04:16, chenzhipeng wrote:
> add the clint timer device configuration item to Kconfig
>
> Signed-off-by: chenzhipeng <chenzhipeng@eswincomputing.com>
> ---
> drivers/timer/Kconfig | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/drivers/timer/Kconfig b/drivers/timer/Kconfig
> index 6d6665005c..3dd1b940f1 100644
> --- a/drivers/timer/Kconfig
> +++ b/drivers/timer/Kconfig
> @@ -216,6 +216,13 @@ config RISCV_TIMER
> Select this to enable support for a generic RISC-V S-Mode timer
> driver.
>
> +config CLINT_TIMER
> + bool "RISC-V clint timer support"
> + depends on TIMER && RISCV
> + help
> + Select this to enables the clint timer for RISC-V systems. The clint
> + driver is usually used for NoMMU RISC-V systems.
> +
> config ROCKCHIP_TIMER
> bool "Rockchip timer support"
> depends on TIMER
You're adding a new Kconfig symbol for a timer driver, but this symbol
is not referenced AFAICS.
Thanks,
Stefan
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-12-06 14:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-06 3:16 [PATCH] timer: Kconfig: add clint timer support chenzhipeng
2022-12-06 5:48 ` Stefan Roese
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.