Re: [PATCH v2 0/2] AM57 timer fixes

From: Jonathan Cormier

Date: Wed Jun 03 2026 - 15:14:49 EST


Tested this series on a Critical Link MitySOM-AM57x board (AM572x /
DRA752-GP, 20 MHz SYS_CLK1). With counter_32k disabled and DMTimer 12
registered as the system clocksource via these patches, system clock
drift dropped from +553 ppm (counter_32k 32,787Hz instead of 32,768Hz)
to +2 ppm over a 50.8 h measurement window

/sys/devices/system/clocksource/clocksource0/available_clocksource:
dmtimer

Note: to make the fix apply to non-beagle-x15 DRA7/AM57 boards, I moved
the &timer12_target and &counter32k overrides from am57xx-beagle-x15.dts
into dra7.dtsi. Worth considering for v3 so other boards (MitySOM,
am57xx-idk, AM572x-EVM, etc.) pick up the fix automatically rather than
each needing the same per-board override.

Tested-by: Jonathan Cormier <jcormier@xxxxxxxxxxxxxxxx>

Thanks,
Jonathan