Other Parts Discussed in Thread: AM3517
Tool/software: Linux
Hello,
Does linux support HW timers drivers, or is it required to write a driver for that ?
I checked, but not too much sure about it.
Thank you,
Ran
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.
Hello Yordan,
Thank you for the information.
I see in some older kernel 2.6.37 for am37x:
In board file:
MACHINE_START(OMAP3517EVM, "OMAP3517/AM3517 EVM")
.boot_params = 0x80000100,
.map_io = omap3_map_io,
.reserve = omap_reserve,
.init_irq = am3517_evm_init_irq,
.init_machine = am3517_evm_init,
.timer = &omap_timer,
MACHINE_END
In dmtimer.c:
omap_dm_timer_init-> initialize omap2_dm_timers, which contains all the GPTIMER list.
I think that if the timer are already supported and exposed to userspace, than there is no need for additional kernel driver.
I just try to understand what is the actual HW timer that is used on calling syscall's such as timer_create.
Is it using these timers ? All of them or just on of them ?
Regards,
Ran