How to calculate the Linux GPIO number for a certain GPIO pin on i.MX8MQ platform?
For example, i.MX8MQ GPIO3_IO4=> What is GPIO number that I can export the GPIO and control pin direction and value, thanks.
Thank you.
Hi @KyleChang
To i.MX8MQ GPIO3_IO4: (3 - 1) * 32 + 4 = 68.
Best regards
Harvey