AnsweredAssumed Answered

How to convert gpio group + IO pin to gpio number of linux on i.MX8

Question asked by Kevin Chen on Oct 9, 2018
Latest reply on Oct 11, 2018 by Wigros Sun

Hi Sir,

As I knew, we can use below rule to convert gpio pin of i.MX6 to GPIO number.

 

(GPIO group x 32) + pin number = GPIO number of linux

 

Is it the same as i.MX8? It seems not the same. For example:

 

GPIO4_IO19 is gpio-371 of linux.

 

Do you know why?

 

Best regards

Kevin

Outcomes