AnsweredAssumed Answered

Gpio configuration question on ls1020a

Question asked by HAIXIANG LIU on Apr 30, 2019
Latest reply on May 14, 2019 by HAIXIANG LIU

i have windriver ported linux with ls1020a chip. But in our side, it seemed that the gpio is not working.

After kernel boot, we can only see:

root@localhost:~# ls /sys/class/gpio/
export unexport
root@localhost:~#

 

And it seemed that there is no any gpio exported. What it should be?

And i am also not sure what kernel log should be when kernel enable gpio?

I need to use gpio2_14 to control external device but so far not able to export to user space and control with set/get value.

 

Please also help point to me what gpio source file i should look at in linux kernel. If you can, please let me know the working kernel source code and device tree then i can compare with the kernel & device tree i had in my side.

 

thanks a lot and it really affects our project seriously.

Outcomes