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

2020-11-08 Thread Arun KS
On Thu, Nov 5, 2020 at 3:46 PM Linus Walleij wrote: > > On Fri, Oct 23, 2020 at 4:21 PM Arun KS wrote: > > > Im only concerned because, after this change, the use of gpio number > > from user space has become a little difficult. > > This makes me a bit puzzled so I need to push back a bit > here.

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

2020-11-05 Thread Linus Walleij
On Fri, Oct 23, 2020 at 4:21 PM Arun KS wrote: > Im only concerned because, after this change, the use of gpio number > from user space has become a little difficult. This makes me a bit puzzled so I need to push back a bit here. What is this userspace and what interface is it using? We recomm

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

2020-10-23 Thread Arun KS
On Mon, Jan 29, 2018 at 8:30 AM Bjorn Andersson 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. Can someone please provide the details why this is needed for pinctrl-msm. Is t

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

2018-02-20 Thread Timur Tabi
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

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

2018-02-07 Thread Timur Tabi
On 2/7/18 7:52 AM, Linus Walleij wrote: Otherwise we need something that conserves base 0 for singular TLMM drivers and make it -1 for newer platforms with several instances. static int base = 0; chip->base = base; base = -1; -- Qualcomm Datacenter Technologies, Inc. as an affilia

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

2018-02-07 Thread Linus Walleij
On Mon, Jan 29, 2018 at 1:59 AM, Bjorn Andersson 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: Timu

[PATCH] pinctrl: msm: Use dynamic GPIO numbering

2018-01-28 Thread Bjorn Andersson
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 Signed-off-by: Bjorn Andersson --- drivers/pinctrl/qcom/pin