Re: [ANNOUNCE] libgpiod v2.0-rc3 released

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

 



On Fri, Feb 24, 2023 at 1:28 PM <andy.shevchenko@xxxxxxxxx> wrote:

> That said, would be nice to have an additional flag (during request?)
> to tell kernel what it should do with the line after releasing the
> handle from user space.

I think that kind of lines up with the "default initial values" that have
been proposed again and again and eventually merged as part
of the PCF8575 bindings in
Documentation/devicetree/bindings/gpio/nxp,pcf8575.yaml

These states are supposed to be set when the driver is initialized.

It would make sense that if a GPIO handle in usespace is released
and the hardware has lines-initial-states set for its driver, then
the line should snap back to that state.

+/- however ACPI would define this.

Yours,
Linus Walleij



[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