linux-riscv.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] Use GCR.U timer device as clocksource
@ 2025-04-23 12:12 Aleksa Paunovic
  2025-04-23 12:14 ` [PATCH v3 1/2] dt-bindings: timer: mti,gcru Aleksa Paunovic
  2025-04-23 12:17 ` [PATCH v3 2/2] Allow for riscv-clock to pick up mmio address Aleksa Paunovic
  0 siblings, 2 replies; 8+ messages in thread
From: Aleksa Paunovic @ 2025-04-23 12:12 UTC (permalink / raw)
  To: linux-riscv@lists.infradead.org
  Cc: Djordje Todorovic, Palmer Dabbelt, Conor Dooley,
	Aleksandar Rikalo, linux-riscv@lists.infradead.org, Paul Walmsley,
	Albert Ou, Daniel Lezcano, Thomas Gleixner,
	linux-kernel@vger.kernel.org, devicetree@vger.kernel.org

HTEC Public

This series adds bindings for the GCR.U timer device and corresponding
driver support. Accessing the memory mapped mtime register in the GCR.U
region should be faster than trapping to M mode each time the timer
needs to be read.


Aleksa Paunovic (2):
  dt-bindings: timer: mti,gcru
  Allow for riscv-clock to pick up mmio address.

 .../devicetree/bindings/timer/mti,gcru.yaml   | 47 +++++++++++++++
 arch/riscv/include/asm/timex.h                | 59 ++++++++++++-------
 drivers/clocksource/Kconfig                   | 12 ++++
 drivers/clocksource/timer-riscv.c             | 32 ++++++++++
 4 files changed, 130 insertions(+), 20 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/timer/mti,gcru.yaml

--
2.34.1

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2025-05-14 17:46 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-23 12:12 [PATCH v3 0/2] Use GCR.U timer device as clocksource Aleksa Paunovic
2025-04-23 12:14 ` [PATCH v3 1/2] dt-bindings: timer: mti,gcru Aleksa Paunovic
2025-04-23 15:27   ` Conor Dooley
2025-04-24  6:24   ` Krzysztof Kozlowski
2025-05-14 15:02     ` Aleksa Paunovic
2025-04-23 12:17 ` [PATCH v3 2/2] Allow for riscv-clock to pick up mmio address Aleksa Paunovic
2025-04-29  8:52   ` Daniel Lezcano
2025-05-14 15:13     ` Aleksa Paunovic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).