On Wed, Oct 09, 2019 at 03:57:38PM +0200, Drew Fustini wrote: > On Wed, Oct 09, 2019 at 07:21:20AM +0800, Kent Gibson wrote: > > And while we're talking, does the gpio-mockup support pull up/down > > being set from the kernel side? > > I was curious where this refers to the kernel or libgpiod? > > I see there is: > libgpiod/tests/mockup/gpio-mockup.c > > and: > linux/drivers/gpio/gpio-mockup.c > The kernel one. I was referring to being able to change the pull on a line using the pull up/down flags. It can be set using debugfs, but the point here is to show that it can be set via the new flags as well. Cheers, Kent.