On Sat, May 2, 2020 at 10:15 PM Gerhard Bertelsmann
<[email protected]> wrote:

> I've installed the latest OpenWRT trunk version. Everything
> seems to be fine except the port numbering:
(...)
> Is this common to the new kernel versions or is there
> something missing ?

We are moving away from the global GPIO numberspace used by pretty
much only the deprecated (since 5 years+) sysfs.

The reasons behind deprecation of sysfs and the GPIO global numberspace
is detailed in our TODO:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/gpio/TODO

What we encourage as GPIO maintainers is for consuming projects
to use the GPIO character device utilizing the libgpiod library:
https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/about/

The library comes with a few example tools that are pretty useful for
tinkering and experimenting with the character device.

I'd be thrilled if libgpiod could be included with OpenWrt given how much
use it actually sees in GPIO-based automation despite its roots in
routers.

Yours,
Linus Walleij

_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to