lkml.org 
[lkml]   [2024]   [Jan]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/3] clocksource: imx-sysctr: support i.MX95
Date
i.MX95 System Counter module control register space is blocked
by SCMI firmware, so we use Read Register space to get the counter.

V2:
- imx95 is not compatible with the existing hardware, so add a
seperate entry for i.MX95 in dt-binding.
- Per Marco's comments, the global variables was removed except
to_sysctr. And add a new TIMER_OF_DECLARE entry for i.MX95

Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
Peng Fan (3):
dt-bindings: timer: nxp,sysctr-timer: support i.MX95
clocksource/drivers/imx-sysctr: drop use global variables
clocksource/drivers/imx-sysctr: support i.MX95

.../bindings/timer/nxp,sysctr-timer.yaml | 5 +-
drivers/clocksource/timer-imx-sysctr.c | 116 +++++++++++++++------
2 files changed, 90 insertions(+), 31 deletions(-)
---
base-commit: 01af33cc9894b4489fb68fa35c40e9fe85df63dc
change-id: 20240125-imx-sysctr-3a89a0852376

Best regards,
--
Peng Fan <peng.fan@nxp.com>


\
 
 \ /
  Last update: 2024-05-27 14:33    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog