issues about i.mx6sl GPIO

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

issues about i.mx6sl GPIO

跳至解决方案
732 次查看
tony_l_cai
Contributor III

Hi all,

     Now,I use our customize board. and How to judge whethe the dts(i) is used ? If it was used, what is the path?

     and in uboot & kernel, whethe it has some APIs is used to implement the GPIO interrupt function? If so, how to use them?

3q~

标签 (2)
0 项奖励
1 解答
503 次查看
igorpadykov
NXP Employee
NXP Employee

Hi tony

path is ..arch/arm/boot/dts/*

also please look at documentation and other useful links below

Documentation/devicetree/bindings/gpio/gpio.txt

https://community.freescale.com/thread/317876

http://blog.skerpa.com/dschnell/blog/2013/10/27/linux-and-gpio-userspace-interrupts/

Working with GPIO on the Wandboard and Writing an Android Driver for GPIO Interrupts | Using Android...

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
3 回复数
504 次查看
igorpadykov
NXP Employee
NXP Employee

Hi tony

path is ..arch/arm/boot/dts/*

also please look at documentation and other useful links below

Documentation/devicetree/bindings/gpio/gpio.txt

https://community.freescale.com/thread/317876

http://blog.skerpa.com/dschnell/blog/2013/10/27/linux-and-gpio-userspace-interrupts/

Working with GPIO on the Wandboard and Writing an Android Driver for GPIO Interrupts | Using Android...

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

0 项奖励
503 次查看
tony_l_cai
Contributor III

if this path is not exist,it means this codebase didn't use the dts, right?

0 项奖励
503 次查看
igorpadykov
NXP Employee
NXP Employee

right.

0 项奖励