Re: [PATCH v2 2/2] gpio: use "active" and "inactive" instead of "high" and "low" for output hogs

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

 



On Wed, May 31, 2023 at 3:21 PM Andy Shevchenko
<andy.shevchenko@xxxxxxxxx> wrote:
> On Wed, May 31, 2023 at 1:06 PM Uwe Kleine-König
> <u.kleine-koenig@xxxxxxxxxxxxxx> wrote:
> > On Wed, May 31, 2023 at 12:51:15PM +0300, Andy Shevchenko wrote:
> > > On Wed, May 31, 2023 at 9:58 AM Uwe Kleine-König
> > > <u.kleine-koenig@xxxxxxxxxxxxxx> wrote:
>
> ...
>
> > > https://elixir.bootlin.com/linux/v6.4-rc4/source/drivers/gpio/gpiolib-acpi.c#L1262
> >
> > Ah, that was the necessary hint. Adding the aliases there would be a
> > third patch in this series, right?
>
> No. Just split out that one to gpiolib main code, since it's already
> using fwnode API, update OF code to use it, and modify it and then we
> are done.

Ideally there shouldn't be HOG handling in the OF nor in the ACPI
code, just in the main library.

-- 
With Best Regards,
Andy Shevchenko




[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