Re: [PATCH 4/5] GPIO ACPI: Add support to map GPIO resources to ranges

Andy Shevchenko
2022-10-19T13:58:38Z

On Wed, Oct 19, 2022 at 10:24:49AM +0800, chengwei wrote:
> Add a function to gpiolib to facilitate registering a pin controller for
> a range of GPIO pins, but using ACPI resource references and without
> claiming the GPIO resource.

This is quite under explained.

First of all, why do you need all these?

Second, where is the link to ACPI DSDT excerpt of the device node
which needs that?

Third, is the BIOS for these platforms is already in wild or
can be amended?

...

> + count = acpi_gpio_count_from_property(adev, propname);
> if (count > 0)
> break;

This part can be split to a separate change as a prerequisite.

--
With Best Regards,
Andy Shevchenko