[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200602122600.GA10584@codeaurora.org>
Date: Tue, 2 Jun 2020 17:56:00 +0530
From: Mayank Grover <groverm@...eaurora.org>
To: Linus Walleij <linus.walleij@...aro.org>,
Bjorn Andersson <bjorn.andersson@...aro.org>
Cc: Andy Gross <agross@...nel.org>,
"open list:GPIO SUBSYSTEM" <linux-gpio@...r.kernel.org>,
MSM <linux-arm-msm@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Neeraj Upadhyay <neeraju@...eaurora.org>
Subject: Re: [PATCH] pinctrl: msm: Add check for pinctrl group is valid
On Mon, May 25, 2020 at 11:02:14AM +0200, Linus Walleij wrote:
> On Tue, May 19, 2020 at 3:39 AM Bjorn Andersson
> <bjorn.andersson@...aro.org> wrote:
>
> > @Linus, we started off with something similar for GPIOs and ended up
> > with the logic in the core code. Should we somehow try to do the same
> > for pinctrl?
>
> msm_pingroup_is_valid() looks very reusable but I'm afraid I do not
> understand the implicit assumptions around it, but I guess yes,
> if it can be properly documented etc.
>
> Yours,
> Linus Walleij
Hi Bjorn,
Can you please help guide further on this ?
we can validate group using request calls similar to pinmux_ops here.
-Mayank
Powered by blists - more mailing lists