Re: [libgpiod] hopefully simple question regarding pull-up/down control

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

 



pt., 14 gru 2018 o 19:46 Bill Barton <peabody@xxxxxxxxxx> napisał(a):
>
> Hi,
>
> How does one control a given input line's pull-up/down resistors? In the
> chips I'm using (e.g., BCM2837) these are programmable, but I can't find
> any mention of this in the libgpiod or the underlying linux/gpio.h
> interface.
>
> Also, if there's a forum for this libgpiod or linux/gpio.h, please point
> me to it.
>
> ...Bill
>
> --
> Bill Barton
> Software Engineer
> Korg R&D
>

Hi Bill,

Sorry for the late response - I'm only now seeing that many libgpiod
patches sent to linux-gpio went into my spam box.

As for your question: it's in the pipeline, but it's not a trivial
task. We first need to implement the kernel part, then define a
future-proof kernel-to-user-space interface and then implement the
support in libgpiod. For now it's impossible to enable configurable
pull-up/down resistors from user-space.

Best regards,
Bartosz Golaszewski




[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