On Tue, Jun 18, 2024 at 11:23 AM Wolfram Sang <wsa+renesas@xxxxxxxxxxxxxxxxxxxx> wrote: > > Hi Bart, > > > I could see it using configfs instead of DT for configuration and iio > > for presenting the output but - from what Wolfram said - insisting on > > this will simply result in this development being dropped entirely. > > How do you assign a GPIO via debugfs? I only found the out-of-tree > pwm-gpio driver[1] which uses a GPIO number. But those are deprecated > these days, or? Any other driver doing this you can point me to? > You mean configfs? Please take a look at my proposed gpio-virtuser module, it should do what you want: https://lore.kernel.org/linux-gpio/20240613092830.15761-1-brgl@xxxxxxxx/ Bart > Thanks and happy hacking, > > Wolfram > > [1] https://lore.kernel.org/lkml/1301630392-20793-3-git-send-email-bgat@xxxxxxxxxxxxxxx/raw