On Fri, Nov 6, 2020 at 12:27 PM Damien Le Moal <Damien.LeMoal@xxxxxxx> wrote: > It may not be the best interface for regular end users to > manipulate gpios, but it is definitely super useful for developers to do quick > tests of their setup/drivers (which is what I did for my work with the Kendryte > K210 RISC-V SoC support). It is a bit discouraging that RISC-V, which was invented after we already obsoleted the sysfs ABI, is deploying this for development and test. We need to think about a similar facility for users which is less damaging but fulfils the same needs. I think I saw something a while back that looked promising and added some funky files in debugfs in a hierarchical manner per-gpiochip instead. That is how debugfs should be used. Yours, Linus Walleij