This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM625: Issue with setting the source for Timers

Part Number: AM625


We have one custom driver which works with the API like "omap_dm_timer_request", "omap_dm_timer_set_source", "omap_dm_timer_set_prescaler", "omap_dm_timer_enable", "omap_dm_timer_get_irq" for timer generation. This custom driver is working perfectly on AM42X with kernel 4.2 . We are facing issue on Am625 with kernel 5.10.x while setting the clock source with "omap_dm_timer_set_source" .  

On inserting the module getting the following error 

[ 63.408543] omap_dm_timer_set_source: timer_sys_ck not found

Could you please help me to resolve this issue.

Thanks

Basaveshwar

  • Hello Basaveshwar,

    I am not aware of an AM42x device. Were you using AM437x in the previous design?

    Unfortunately, we cannot support questions about custom driver development on this forum.

    I checked AM62x Linux SDK 8.6, and it does look like the Linux driver clocksource/timer-ti-dm.c still defines the function omap_dm_timer_set_source , and that driver is still used by the k3-am62-main.dtsi instances of main_timer with the compatible string "ti,am654-timer"

    Regards,

    Nick