A GPIO script is being moved to the Linux character-device interface. How can the correct line be selected when a board header number, a SoC GPIO name and a gpiochip line offset are different identifiers?
Reference: Linux kernel: GPIO character-device API (https://docs.kernel.org/userspace-api/gpio/chardev.html).




