AnsweredAssumed Answered

GPIO control of kernel module with i.MX6

Question asked by takumi ono on Jun 15, 2020
Latest reply on Jul 16, 2020 by takumi ono

Hello everyone,


I learn how to create a kernel module using the i.MX 6Quad SABRE development board.

I could do cross compile the kernel module of i.MX6 and use printk to display the string.

 *The kernel version used is "4.19.35-1.1.0+g0f9917c56d59"

I want to control GPIO as the next step.


1. Where is the .h file required to control GPIO in Yocto project?
2. How should I write the source code for controlling GPIO?



Could you tell me how?


Best regards.