how to make hrtimer support on the board

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi list,

I want to change old timer style to hrtimer on my board. And I got several problems.
My board has three timers:
  free running timer with 100khz rate
  common timer1 with 1khz rate
  common timer2 with 1khz rate

Can I use the the first one as clock source and the common one for clock event device?

I notice that the common timers can be programmable. So I got following configure:
  free running timer with 100khz rate
  common timer1 with 1khz rate
  common timer2 with high rate, now is 66mhz

Can I use timer2 as clock source and timer1 do event things?

Also I'm not sure the meaning of mult / max_delta_ns / min_delta_ns in clock_event_device.
How I can determine those value? 

Thanks.


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux