mbox series

[v1,0/2] Indroduce Exynos Multi Core Timer version 2

Message ID 20211021061804.39118-1-youngmin.nam@samsung.com (mailing list archive)
Headers show
Series Indroduce Exynos Multi Core Timer version 2 | expand

Message

Youngmin Nam Oct. 21, 2021, 6:18 a.m. UTC
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 comparators matches with the value of FRC.
So, 12 comaprators can be used as local timer of each CPU.

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                   |   6 +
 drivers/clocksource/Makefile                  |   1 +
 drivers/clocksource/exynos_mct_v2.c           | 336 ++++++++++++++++++
 drivers/clocksource/exynos_mct_v2.h           |  74 ++++
 5 files changed, 508 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