Replies: 1 comment 5 replies
|
Which driver exactly are you using, I will take a look? |
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I'm using a microchip 8-port IO expander which supports bias pull-ups on the digital input lines. I can set these pull-ups in the device tree, but I'd really like to apply them on the fly in userspace software using libgpiod.
When I reconfigure the line with libgpiod it shows up in
gpioinfowith the appropriate bias setting printed in the listing, but the pull-up is not actually configured on the MCP23008.MCP23008, in the Kernel, is a pinctrl device and not a gpio controller. I had read a few things about this, and had come to the conclusion that it was previously not possible because the uAPI did not exist. The uAPI exists now, and I think that what I'm doing should be possible with the versions of libgpiod (v2.1.1) and Kernel (6.6.23).
What is the glue between gpiolib and pinctrl that I am missing. Is what I am trying to do impossible?
All reactions