lkml.org 
[lkml]   [2021]   [Nov]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/2] Indroduce Exynos Multi Core Timer version 2
Date
Exynos Multi Core Timer version 2 is a new main system timer of next Exynos SoC.
Exynos MCT v2 consists of 1 64bit FRC(Free Running Counter) and 12 comparators.
Each comaprator produces interrupt when the value of current FRC + periods value matches with the
increasinig value of FRC.
So, 12 comaprators can be used as per-cpu event timer.
And RTC can be used as a backup clock source.

Changes in v2:
- Add config dependency with ARCH_EXYNOS.
- Remove 32bit of "mct-frc" which was used as a clock source in legacy SoC.
(Currently, clock source was replaced with ARM arch timer)
- Fix non-linux style comments and debug messege.
- Fix license comments.
- Update commit messege a bit to make it clear.

Youngmin Nam (2):
clocksource/drivers/exynos_mct_v2: introduce Exynos MCT version 2
driver for next Exynos SoC
dt-bindings: timer: samsung,s5e99xx-mct: Document s5e99xx-mct bindings

.../bindings/timer/samsung,s5e99xx-mct.yaml | 91 ++++++
drivers/clocksource/Kconfig | 7 +
drivers/clocksource/Makefile | 1 +
drivers/clocksource/exynos_mct_v2.c | 298 ++++++++++++++++++
drivers/clocksource/exynos_mct_v2.h | 71 +++++
5 files changed, 468 insertions(+)
create mode 100644 Documentation/devicetree/bindings/timer/samsung,s5e99xx-mct.yaml
create mode 100644 drivers/clocksource/exynos_mct_v2.c
create mode 100644 drivers/clocksource/exynos_mct_v2.h

--
2.33.0

\
 
 \ /
  Last update: 2021-11-02 00:46    [W:0.069 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site