[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20260204-topic-ti-dm-clkevt-v6-16-v3-0-83e65d01f4ae@baylibre.com>
Date: Wed, 04 Feb 2026 11:45:47 +0100
From: "Markus Schneider-Pargmann (TI.com)" <msp@...libre.com>
To: Daniel Lezcano <daniel.lezcano@...aro.org>,
Thomas Gleixner <tglx@...utronix.de>
Cc: Vishal Mahaveer <vishalm@...com>, Kevin Hilman <khilman@...libre.com>,
Dhruva Gole <d-gole@...com>, Sebin Francis <sebin.francis@...com>,
Kendall Willis <k-willis@...com>, Akashdeep Kaur <a-kaur@...com>,
linux-kernel@...r.kernel.org,
"Markus Schneider-Pargmann (TI.com)" <msp@...libre.com>
Subject: [PATCH v3 0/3] clocksource/drivers/timer-ti-dm: Add clocksource
and clockevent support
Hi,
this series adds support for both clocksource and clockevent to the TI
Dual-Mode Timer driver. This can be used as a time source for low power
modes in which the CPUs are temporarily not running.
The driver looks for two always on timers in the DT to be used for
clocksource and clockevent. These are then handled as reserved and can
not be used for normal use.
This series is based on v6.19-rc1.
Best
Markus
Signed-off-by: Markus Schneider-Pargmann (TI.com) <msp@...libre.com>
---
Changes in v3:
- Use devm_add_action_or_reset() to cleanup clocksource registration
- Use RESOURCE_SIZE_MAX instead of -1 if no timers suitable for
clocksource or clockevent were found
- Link to v2: https://lore.kernel.org/r/20251216-topic-ti-dm-clkevt-v6-16-v2-0-bfd7dd085c19@baylibre.com
Changes in v2:
- Rebased to v6.19-rc1
- Previous compile issues because of the __init section of
sched_clock_register() was solved upstream by removing it from the
__init section in
https://lore.kernel.org/r/20250602151853.1942521-8-daniel.lezcano@linaro.org
- Link to v1: https://lore.kernel.org/r/20250623-topic-ti-dm-clkevt-v6-16-v1-0-b00086761ee1@baylibre.com
---
Markus Schneider-Pargmann (TI.com) (3):
clocksource/drivers/timer-ti-dm: Fix property name in comment
clocksource/drivers/timer-ti-dm: Add clocksource support
clocksource/drivers/timer-ti-dm: Add clockevent support
drivers/clocksource/timer-ti-dm-systimer.c | 2 +-
drivers/clocksource/timer-ti-dm.c | 265 +++++++++++++++++++++++++++++
2 files changed, 266 insertions(+), 1 deletion(-)
---
base-commit: 8f0b4cce4481fb22653697cced8d0d04027cb1e8
change-id: 20250623-topic-ti-dm-clkevt-v6-16-b5e6599b7c01
Best regards,
--
Markus Schneider-Pargmann (TI) <msp@...libre.com>
Powered by blists - more mailing lists