Re: [RFC] gpio: expose pull-up/pull-down line flags to userspace

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.



[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux