Sysfs issue in imx8mm

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

Sysfs issue in imx8mm

315 Views
Udhay_
Contributor III

Hello,

i am trying to toggle gpio on i2c expander and it is not affecting anything on my build

if i use /sys/class/ and there is no gpio even if i make gpio by default should gpio496 right?

Why it is not registered gpio496 on under /sys/class/gpio/?

Regards,
Udhayamoorthi Ramasamy

Tags (1)
0 Kudos
Reply
1 Reply

296 Views
JosephAtNXP
NXP TechSupport
NXP TechSupport

Hi,

Thank you for your interest in NXP Semiconductor products,

What GPIO do you refer to? GPIO on J1004 I2C3_SCL_3V3?

You shouldn't see it because it's reserved for I2C3 which is interfaced with PMIC.

If you adjust device tree for GPIO, it'd be:

MX8MM_IOMUXC_I2C3_SCL_GPIO5_IO18

4 * 32 + 18 = 146

Regards

0 Kudos
Reply