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 Tue, Nov 15, 2022 at 06:29:28PM +0000, Niyas Sait wrote:
> > Cover letter doesn't point to the ASL code you are using.
> 
> I've built this patch with a prototype ACPI implementation for NXP I.MX8MP
> platform.
> 
> You can see the code here: https://gitlab.com/nsait-linaro/acpi-patches/-/blob/master/0001-add-acpi-pinctrl-support-for-i2c-controllers.patch.

Yes, my point that you have to create a cover letter

> > 1) why do you need specific _DSD() for the pin mappings?
> 
> _DSD is required to pass the GPIO number to Pin mapping. Is there a better
> way to do it ?

Don't you have your pins sequential? Doesn't driver know the pin list?
Where are the device tree bindings for those properties? Are they already
present there?

> > 2) wgy you need vendor data for some of Pin*() resources?
> 
> Vendor data contains platform specific mux, config and input selection
> register for the pin group.

Why can't this be in the driver?

...

On top of that, how other hardware can utilize what you are doing without
adding redundancy to the ACPI?

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