Re: [PATCH V1 1/2] gpio: inverter: Add virtual controller for gpio configuration

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

 



On Thu, Jun 13, 2019 at 10:39 PM Enrico Weigelt, metux IT consult
<lkml@xxxxxxxxx> wrote:

> > "Inverter GPIO controller for handling hardware inverters"
>
> I wouldn't like to limit this to actual hardware inverted on the board.
> There're other use cases, too, eg. if the incoming signal is low-active,
> but consumer shouldn't have to care about that.

For devicetree people mostly use the device tree cell flag
GPIO_ACTIVE_LOW on these to work around it. But there
are some cases where that isn't very readable.

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