Re: [RFC v2 2/3] pinctrl: imx: use radix trees for groups and functions

2016-12-30 Thread Linus Walleij
On Fri, Dec 2, 2016 at 5:35 PM, Gary Bisson 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

Re: [RFC v2 2/3] pinctrl: imx: use radix trees for groups and functions

2016-12-30 Thread Linus Walleij
n Thu, Dec 29, 2016 at 10:44 AM, Gary Bisson wrote: > On Tue, Dec 27, 2016 at 11:07 PM, Linus Walleij > wrote: >> >> On Fri, Dec 2, 2016 at 5:35 PM, Gary Bisson >> wrote: >> >> > This change is inspired from the pinctrl-single architecture. >> > >> > The problem with current implementation is th

Re: [RFC v2 2/3] pinctrl: imx: use radix trees for groups and functions

2016-12-29 Thread Gary Bisson
Hi Linus, All, On Tue, Dec 27, 2016 at 11:07 PM, Linus Walleij wrote: > > On Fri, Dec 2, 2016 at 5:35 PM, Gary Bisson > 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

Re: [RFC v2 2/3] pinctrl: imx: use radix trees for groups and functions

2016-12-27 Thread Linus Walleij
On Fri, Dec 2, 2016 at 5:35 PM, Gary Bisson 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

Re: [RFC v2 2/3] pinctrl: imx: use radix trees for groups and functions

2016-12-27 Thread Fabio Estevam
On Tue, Dec 27, 2016 at 11:05 AM, Linus Walleij wrote: > On Fri, Dec 2, 2016 at 5:35 PM, Gary Bisson > 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 dynamic

Re: [RFC v2 2/3] pinctrl: imx: use radix trees for groups and functions

2016-12-27 Thread Linus Walleij
On Fri, Dec 2, 2016 at 5:35 PM, Gary Bisson 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

[RFC v2 2/3] pinctrl: imx: use radix trees for groups and functions

2016-12-02 Thread Gary Bisson
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