issues about i.mx6sl GPIO

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

issues about i.mx6sl GPIO

Jump to solution
728 Views
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~

Labels (2)
0 Kudos
1 Solution
499 Views
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!

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

View solution in original post

0 Kudos
3 Replies
500 Views
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 Kudos
499 Views
tony_l_cai
Contributor III

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

0 Kudos
499 Views
igorpadykov
NXP Employee
NXP Employee

right.

0 Kudos