public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: chenzhipeng <chenzhipeng@eswincomputing.com>
To: michal.simek@amd.com
Cc: sr@denx.de, eugen.hristev@microchip.com,
	william.zhang@broadcom.com, sjg@chromium.org,
	chenzhipeng@eswincomputing.com, michael@walle.cc,
	andre.przywara@arm.com, jim.t90615@gmail.com,
	clement.leger@bootlin.com, u-boot@lists.denx.de
Subject: [PATCH] timer: Kconfig: add clint timer support
Date: Tue,  6 Dec 2022 11:16:46 +0800	[thread overview]
Message-ID: <20221206031646.22673-1-chenzhipeng@eswincomputing.com> (raw)

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


             reply	other threads:[~2022-12-06 14:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-06  3:16 chenzhipeng [this message]
2022-12-06  5:48 ` [PATCH] timer: Kconfig: add clint timer support Stefan Roese

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221206031646.22673-1-chenzhipeng@eswincomputing.com \
    --to=chenzhipeng@eswincomputing.com \
    --cc=andre.przywara@arm.com \
    --cc=clement.leger@bootlin.com \
    --cc=eugen.hristev@microchip.com \
    --cc=jim.t90615@gmail.com \
    --cc=michael@walle.cc \
    --cc=michal.simek@amd.com \
    --cc=sjg@chromium.org \
    --cc=sr@denx.de \
    --cc=u-boot@lists.denx.de \
    --cc=william.zhang@broadcom.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox