ioexpander/gpio driver device names

2021-10-27 Thread Jari van Ewijk
Hi all, I am currently working with the ioexpander/gpio driver to control GPIO pins from an application. I am wondering if anybody is using this interface for more practical applications than toggling a pin from the command line (i.e. apps/examples/gpio). I would say the interface is simple but

Re: ioexpander/gpio driver device names

2021-10-27 Thread Alan Carvalho de Assis
Hi Jari, I agree! Also in the Linux its name is just gpioN inside /sys. But this modification will involve many boards modifications and also the error message will need to give more details explaining that the user cannot use that pin as input because it is configured to output and vice-versa. A