The GPIO numbering situation is… “interesting”… on these modules. The GPIO number if you’re in user space is the same as the name of the PIN in the schematic. This is because Sierra Wireless uses a translation table to translate from user GPIO numbers to “real” GPIO numbers. However, if you’re in the kernel, and you need the “real” GPIO number, you need to manually do the translation, which you can pull out of the table in drivers/gpio/gpiolib-sysfs.c:
fgodfrey
6
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| GPIO 7 Problems | 26 | 1073 | March 10, 2021 | |
| GPIO Interrupts on WP7702 Module | 4 | 1947 | January 25, 2022 | |
| GPIO numbers in kernel code [WP76] | 1 | 435 | May 16, 2022 | |
| WP76 Series - Processor Cores - Single or Dual | 1 | 629 | January 26, 2018 | |
| GPIO Problems - GPIO35 does not work on WP7504 | 7 | 1835 | July 14, 2017 |