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 09:50:05AM +0000, Niyas Sait wrote:
> On 15/11/2022 18:47, Andy Shevchenko wrote:
> > On top of that, how other hardware can utilize what you are doing without
> > adding redundancy to the ACPI?
> 
> Sorry I missed this question.
> 
> I am not sure if there is any redundancy to ACPI spec.
> 
> ACPI pin resources gives you most of the bits you need to describe the pin
> dependencies and configuration required for the device.
> 
> For my particular implementation (not part of this proposal), I had to pass
> extra data to the driver to describe the GPIO number to Pin mapping and conf
> and mux registers. But that can be potentially fully handled in the driver.
> Sorry for the repetition.

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.

> Let me know if I missed your question :-)

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