GPT Input Capture Linux Driver

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

GPT Input Capture Linux Driver

跳至解决方案
2,263 次查看
aliismail
Contributor IV

I am running on an iMX6QDL and I would like to configure the GPT input capture channels. I have not located any Linux drivers that allow me to configure the GPT registers and read the count register. I have seen the imx6-gpt driver and it doesn't seem to do much other than set the clocks and enable the interrupt. I would like to configure the input channels as well. Anyone have any thoughts on how to achieve this?

标签 (2)
0 项奖励
回复
1 解答
1,842 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Ali

one can look on timer-imx-gpt.c

[27/38] clocksource/drivers/imx: add input capture support - Patchwork 

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

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,843 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Ali

one can look on timer-imx-gpt.c

[27/38] clocksource/drivers/imx: add input capture support - Patchwork 

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

0 项奖励
回复
1,842 次查看
aliismail
Contributor IV

Thanks a lot Igor! Do you happen to know if there is a more updated patch?

0 项奖励
回复