Re: [RFC v2 2/3] pinctrl: imx: use radix trees for groups and functions
From: Gary Bisson
Date: Thu Dec 29 2016 - 04:44:59 EST
Hi Linus, All,
On Tue, Dec 27, 2016 at 11:07 PM, Linus Walleij
> On Fri, Dec 2, 2016 at 5:35 PM, Gary Bisson
> <gary.bisson@xxxxxxxxxxxxxxxxxxx> wrote:
> > This change is inspired from the pinctrl-single architecture.
> > The problem with current implementation is that it isn't possible
> > to add/remove functions and/or groups dynamically. The radix tree
> > offers an easy way to do so. The intent is to offer a follow-up
> > patch later that will enable the use of pinctrl nodes in dt-overlays.
> > Signed-off-by: Gary Bisson <gary.bisson@xxxxxxxxxxxxxxxxxxx>
> This patch doesn't apply on v4.10-rc1 so please rebase it
> on the mainline and resend as v3, include Fabio's review tag.
Actually it applies if the first patch of this v2 series is also applied first.
The 3rd patch of the series can be discarded though since it was just
an example to show the benefit of the first two.
I guess someone needs to also ack/review the first one. Because
switching to radix tree keeping the const qualifier of the driver
structure isn't really useful.