Re: [PATCH 3/8] pinctrl: msm: Add ability for drivers to supply a reserved GPIO list

From: Linus Walleij
Date: Fri Jun 07 2019 - 19:06:36 EST

On Wed, Jun 5, 2019 at 1:43 PM Lee Jones <lee.jones@xxxxxxxxxx> wrote:

> When booting MSM based platforms with Device Tree or some ACPI
> implementations, it is possible to provide a list of reserved pins
> via the 'gpio-reserved-ranges' and 'gpios' properties respectively.
> However some ACPI tables are not populated with this information,
> thus it has to come from a knowledgable device driver instead.
> Here we provide the MSM common driver with additional support to
> parse this informtion and correctly populate the widely used
> 'valid_mask'.
> Signed-off-by: Lee Jones <lee.jones@xxxxxxxxxx>

Exactly how we should use of the API, so if BjÃrn can supply an
ACK to patches 3 and 4 I'm happy to apply them.


Linus Walleij