On Fri, Feb 1, 2019 at 5:26 PM Bartosz Golaszewski <brgl@xxxxxxxx> wrote: > I missed this message before because for some reason libgpiod mails > sent to this list went into my spam box. I hate it when it happens :/ > Linus already explained almost everything. I'd like to just point out > that libgpiod is relatively simple and only implements features > already supported in the kernel uAPI. If the kernel says a line is > used, then it interprets it as such. So most of the heavy lifting > would need to be done in the kernel. Stefan has posted a really interesting looking series: https://marc.info/?l=linux-gpio&m=154805472108758&w=2 Hope it's not in your spam folder too, it's really neat I think, just need to tread carefully with this code. Yours, Linus Walleij