MACHINE=imx8mqevk
BSP=4.14.78
Hi everybody,I want to operate GPIO by mapping,but I didn't find data register and direction register in the chip manua.
So I would like to ask how to operate a GPIO, such as changing the level.
We want to introduce some pins on our products, similar to raspberryPi,then port raspberryPi gpio lib to imx8mq.
please give me some advises,thanks!
Hi gao
for i.MX8MQ gpio usage one can look at
http://variwiki.com/index.php?title=DART-MX8M_GPIO
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi igorpadykov:
Firstly thanks for your replay. But what i want to say is that use mmap function to solve it.Similar to bare board development.
but i not find Correlation register!
thanks!!!
one can look at linux gpio driver:
gpio-mxc.c\gpio\drivers - linux-imx - i.MX Linux kernel
Best regards
igor