On Fri, Feb 21, 2025 at 8:56 PM Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx> wrote: > > my only point being that when we add something like this, we > > put it in debugfs where it belongs, and as illustrated by your > > example, it is indeed used for debugging/exploring the > > system: > > Why does it belong in debugfs? The whole premise of Bartosz's mail is > to provide holdouts that haven't yet migrated away from the sysfs global > number space an alternative _stable_ kernel interface they can rely on. > > DebugFS is the opposite of that. It may not even be available in those > resource-constrained systems that this would be useful for. This is in my answer to Marek, I misunderstood the wording "play with GPIO lines" as "explore, develop, bring up" GPIO lines. Not as "create products using sysfs GPIOs". See my mail to Marek. Yours, Linus Walleij