Re: [PATCH v4 0/3] clocksource/drivers/timer-ti-dm: Add clocksource and clockevent support

From: Kevin Hilman

Date: Thu Apr 23 2026 - 14:03:58 EST


[ Updating Daniel's email, and gentle reminder ping ]

"Markus Schneider-Pargmann (TI.com)" <msp@xxxxxxxxxxxx> writes:

> 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 v7.0-rc1.
>
> Best
> Markus
>
> Signed-off-by: Markus Schneider-Pargmann (TI.com) <msp@xxxxxxxxxxxx>
> ---
> Changes in v4:
> - Rebased onto v7.0
> - Link to v3: https://lore.kernel.org/r/20260204-topic-ti-dm-clkevt-v6-16-v3-0-83e65d01f4ae@xxxxxxxxxxxx
>
> 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@xxxxxxxxxxxx
>
> 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@xxxxxxxxxx
> - Link to v1: https://lore.kernel.org/r/20250623-topic-ti-dm-clkevt-v6-16-v1-0-b00086761ee1@xxxxxxxxxxxx
>
> ---
> 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: 6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f
> change-id: 20250623-topic-ti-dm-clkevt-v6-16-b5e6599b7c01
>
> Best regards,
> --
> Markus Schneider-Pargmann (TI) <msp@xxxxxxxxxxxx>