Re: [PATCH] pinctrl: msm: Use dynamic GPIO numbering

From: Linus Walleij
Date: Wed Feb 07 2018 - 08:52:13 EST


On Mon, Jan 29, 2018 at 1:59 AM, Bjorn Andersson
<bjorn.andersson@xxxxxxxxxx> wrote:

> The base of the TLMM gpiochip should not be statically defined as 0, fix
> this to not artificially restrict the existence of multiple pinctrl-msm
> devices.
>
> Fixes: f365be092572 ("pinctrl: Add Qualcomm TLMM driver")
> Reported-by: Timur Tabi <timur@xxxxxxxxxxxxxx>
> Signed-off-by: Bjorn Andersson <bjorn.andersson@xxxxxxxxxx>

OK I put this in devel for v4.17, let's see if something explodes
in linux-next else we can go with this.

Otherwise we need something that conserves base 0 for singular
TLMM drivers and make it -1 for newer platforms with several
instances.

Yours,
Linus Walleij