[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20211102001122.27516-1-youngmin.nam@samsung.com>
Date: Tue, 2 Nov 2021 09:11:20 +0900
From: Youngmin Nam <youngmin.nam@...sung.com>
To: krzysztof.kozlowski@...onical.com, will@...nel.org,
mark.rutland@....com, daniel.lezcano@...aro.org
Cc: tglx@...utronix.de, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
linux-samsung-soc@...r.kernel.org, pullip.cho@...sung.com,
hoony.yu@...sung.com, hajun.sung@...sung.com,
myung-su.cha@...sung.com, kgene@...nel.org,
Youngmin Nam <youngmin.nam@...sung.com>
Subject: [PATCH v2 0/2] Indroduce Exynos Multi Core Timer version 2
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
Powered by blists - more mailing lists