Re: [RFC] pinctrl: imx: use radix trees for groups and functions

2016-11-30 Thread Gary Bisson
Hi Fabio, All, On Wed, Nov 30, 2016 at 11:19:53AM -0200, Fabio Estevam wrote: > Hi Gary, > > On Thu, Nov 24, 2016 at 9:38 PM, Gary Bisson > wrote: > > This change is inspired from the pinctrl-single architecture. > > > > The problem with current implementation

Re: [RFC] pinctrl: imx: use radix trees for groups and functions

2016-11-30 Thread Gary Bisson
Hi Fabio, All, On Wed, Nov 30, 2016 at 11:19:53AM -0200, Fabio Estevam wrote: > Hi Gary, > > On Thu, Nov 24, 2016 at 9:38 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

Re: [RFC] pinctrl: imx: use radix trees for groups and functions

2016-11-30 Thread Fabio Estevam
Hi Gary, On Thu, Nov 24, 2016 at 9:38 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

Re: [RFC] pinctrl: imx: use radix trees for groups and functions

2016-11-30 Thread Fabio Estevam
Hi Gary, On Thu, Nov 24, 2016 at 9:38 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.

Re: [RFC] pinctrl: imx: use radix trees for groups and functions

2016-11-30 Thread Linus Walleij
On Fri, Nov 25, 2016 at 12:38 AM, 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

Re: [RFC] pinctrl: imx: use radix trees for groups and functions

2016-11-30 Thread Linus Walleij
On Fri, Nov 25, 2016 at 12:38 AM, 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

[RFC] pinctrl: imx: use radix trees for groups and functions

2016-11-24 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

[RFC] pinctrl: imx: use radix trees for groups and functions

2016-11-24 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