iMX6ul EPIT interrupt as user timer

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

iMX6ul EPIT interrupt as user timer

2,194 Views
brucelian
Contributor I

iMX6ul,Kernel:4.1.15.at kernel My driver use two timer, microsecond.but EPIT is not implemented in IMX6Uxl.Counld  transplant EPIT in kernel and provide examples of use?

Labels (2)
3 Replies

1,233 Views
brucelian
Contributor I

Hi igorpadykov:

thank you for your reply.

Could provide examples of the use of epit in the kernel driver?

0 Kudos

1,233 Views
igorpadykov
NXP Employee
NXP Employee
0 Kudos

1,233 Views
igorpadykov
NXP Employee
NXP Employee

Hi bruce

there are epit.c and gpt.c functions in linux/arch/arm/mach-imx and time.c uses gpt functions,
one can try to replace them with epit:
http://git.freescale.com/git/cgit.cgi/imx/linux-imx.git/tree/arch/arm/mach-imx?h=imx_4.1.15_2.0.0_ga...
Linux timer is decribed in Chapter 3 Machine-Specific Layer (MSL) attached Linux Manual.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------