[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e1d9fa6b-ac53-4392-de0f-0a16c4012e4b@codeaurora.org>
Date: Tue, 20 Feb 2018 10:42:45 -0600
From: Timur Tabi <timur@...eaurora.org>
To: Linus Walleij <linus.walleij@...aro.org>,
Bjorn Andersson <bjorn.andersson@...aro.org>
Cc: linux-arm-msm@...r.kernel.org, linux-gpio@...r.kernel.org,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] pinctrl: msm: Use dynamic GPIO numbering
On 02/07/2018 07:52 AM, Linus Walleij wrote:
> 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.
I don't see this patch in linusw/linux-gpio.git anywhere. Do you want
me to submit another patch that implements this:
static int base = 0;
chip->base = base;
base = -1;
This preserves existing behavior for current drivers.
--
Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm
Technologies, Inc. Qualcomm Technologies, Inc. is a member of the
Code Aurora Forum, a Linux Foundation Collaborative Project.
Powered by blists - more mailing lists