Re: [PATCH RFC v2 0/3] pinctrl: add ACPI support to pin controller

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

 



On Wed, Nov 16, 2022 at 03:27:30PM +0200, Andy Shevchenko wrote:
> On Wed, Nov 16, 2022 at 10:40:19AM +0000, Niyas Sait wrote:
> > On 16/11/2022 09:56, Andy Shevchenko wrote:
> > > The GPIO to pin mapping is done by GPIO ranges. This can be made up in the
> > > driver or, IIRC, in DT (so in ACPI) by already registered properties).
> > > 
> > > Not sure, why you don't use them.
> > 
> > OK. I might have missed it.
> > 
> > In DT, gpio-ranges property is used to describe the mapping, I could not
> > find equivalent property in GPIO ACPI properties -
> > https://www.kernel.org/doc/html/latest/firmware-guide/acpi/gpio-properties.html
> 
> It's the same. You just need to check the code of GPIO library to make sure
> that it uses fwnode / device property APIs, so it will be parsed in ACPI case
> as well.

Ah, and it's always welcome to have Documentation updates to make it up-to-date.

-- 
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