Skip to content

module/timer: Support alarm in microsecond-level precision

Wei-Chia Su requested to merge ws/timer-resolution into main

The time unit for timer alarm is milliseconds in the current SCP.

But with the new power management design, a need for the timer alarm to support microseconds is required.

  • Modify timer alarm to support microseconds
  • Update all timer value in all platform configuration to microseconds

No difference on maximum allowed timeout:

As-is: UINT32_MAX/1000 ms = 4,294,967 ms = 4,294 s

To-be: UINT32_MAX us = 4,294,967,295 us = 4,294 s

https://jira.arm.com/browse/PWRSOFT-5774

Signed-off-by: Wei-Chia Su Wei-Chia.Su@arm.com

Merge request reports