Hi,
I have read on some post that timer support will be added in Q1, 2023. Is it been added yet or not? Is there any example for Linux to use timers?
Thanks
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.
Hi,
I have read on some post that timer support will be added in Q1, 2023. Is it been added yet or not? Is there any example for Linux to use timers?
Thanks
Hi Abdul,
I have assigned your query to our expert. He is currently out of office, so the response may be delayed.
In the meantime, I found these below threads on Timers. See if it helps.
Apologies for the delay.
Best Regards,
Suren
Hi Suren, I think timer-ti-dm.c in clocksource is a driver for DM timer. But How can I access their omap_dm_timer_ops function in another driver to use timers in my other linux drivers
Hello Abdul,
Can you point me to the post where you found that information?
As far as I am aware, our Linux team has not added support for using the dmtimers in AM64x SDK 9.0. However, I will ask around.
Regards,
Nick
HI Nick, I'm not using AM64x SDK I'm using linux 6.1.22 version from linux repo and that version have timer-ti-dm deriver support.
Hello Abdul,
let me clarify what we mean by "support":
"support" does not mean that a driver exists that was written by someone for some random processor.
"Support" means that the TI developers have specifically tested a peripheral's driver with a specific processor, and we can verify that the driver works with the peripheral on that software release.
As far as I can tell, the Linux dmtimer driver is not supported on AM64x Linux SDK 9.0, since we have not tested the driver with that device, so we cannot guarantee that it will work.
I am double-checking with the development team though, and I will let you know if I hear anything different.
Future updates might be on your other thread, https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1282449/am6442-how-to-enable-and-configure-dmtimer-in-linux
Regards,
Nick
All good. It's working now. There was a syntax error in device tree node. mention in below thread.
SK-AM64: Pin configuration for TIMERS using Expansion connector - Processors forum - Processors - TI E2E support forums
Update: the developers expect that the AM64x dmtimers should work exactly like the AM62x dmtimers (potentially without driver modifications), as long as the devicetree nodes are written correctly.
I have filed a requirement to add official TI support for the AM64x Linux dmtimer drivers. I do not have a specific timeframe for when that support will be added at this point in time.
Regards,
Nick