We are not able see any gpio in /sys/class/gpio/export for imx8x (MiMX8QX6AVLFZAC)

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

We are not able see any gpio in /sys/class/gpio/export for imx8x (MiMX8QX6AVLFZAC)

791 Views
kishorem
Contributor II

When we try to do a ls on /sys/class/gpio it shows empty.

We have attached dmesg log.

We also included the libgpiod in the local.conf file.

IMAGE_INSTALL:append = " libgpiod"

When we try to issue "gpiodetect" it shows unknown command

Please help us to access /sys/class/gpio  or libgpiod ?

0 Kudos
Reply
1 Reply

729 Views
brian14
NXP TechSupport
NXP TechSupport

Hi,

Based on your information the problem could be that you are not setting the device tree properly. Please have a look at the following link. Here you will find how to correctly set the device tree to use a GPIO.

Link: Toggle pin on i.MX 8M Mini Applications Processor ... - NXP Community

I hope this information will be helpful.

Have a great day!

0 Kudos
Reply