Re: [PATCH 2/2] pinctrl: pinctrl-single: Add pinctrl-single,bits type of mux

2012-09-10 Thread Linus Walleij
On Wed, Sep 5, 2012 at 11:01 AM, Peter Ujfalusi peter.ujfal...@ti.com wrote: With pinctrl-single,bits it is possible to update just part of the register within the pinctrl-single,function-mask area. This is useful when one register configures mmore than one pin's mux. pinctrl-single,bits

Re: [PATCH 2/2] pinctrl: pinctrl-single: Add pinctrl-single,bits type of mux

2012-09-10 Thread Peter Ujfalusi
On 09/07/2012 07:55 PM, Tony Lindgren wrote: * Peter Ujfalusi peter.ujfal...@ti.com [120907 08:13]: On 09/06/2012 10:10 PM, Tony Lindgren wrote: Is it now safe to assume that we always have width of three if pinctrl-single,bits is specified? The reason I'm asking is.. @@ -657,18 +664,29 @@

Re: [PATCH 2/2] pinctrl: pinctrl-single: Add pinctrl-single,bits type of mux

2012-09-10 Thread Tony Lindgren
* Peter Ujfalusi peter.ujfal...@ti.com [120910 04:55]: On 09/07/2012 07:55 PM, Tony Lindgren wrote: I'd like to have something that specifies the controller type so we don't need to mix two types of controllers and test for non-existing properties when parsing the pins. How about we

Re: [PATCH 2/2] pinctrl: pinctrl-single: Add pinctrl-single,bits type of mux

2012-09-10 Thread Tony Lindgren
* Linus Walleij linus.wall...@linaro.org [120910 00:11]: On Wed, Sep 5, 2012 at 11:01 AM, Peter Ujfalusi peter.ujfal...@ti.com wrote: With pinctrl-single,bits it is possible to update just part of the register within the pinctrl-single,function-mask area. This is useful when one register

Re: [PATCH 2/2] pinctrl: pinctrl-single: Add pinctrl-single,bits type of mux

2012-09-07 Thread Peter Ujfalusi
Hi Tony, On 09/06/2012 10:10 PM, Tony Lindgren wrote: Hi Peter, * Peter Ujfalusi peter.ujfal...@ti.com [120905 02:02]: With pinctrl-single,bits it is possible to update just part of the register within the pinctrl-single,function-mask area. This is useful when one register configures mmore

Re: [PATCH 2/2] pinctrl: pinctrl-single: Add pinctrl-single,bits type of mux

2012-09-07 Thread Tony Lindgren
* Peter Ujfalusi peter.ujfal...@ti.com [120907 08:13]: On 09/06/2012 10:10 PM, Tony Lindgren wrote: Is it now safe to assume that we always have width of three if pinctrl-single,bits is specified? The reason I'm asking is.. @@ -657,18 +664,29 @@ static int

Re: [PATCH 2/2] pinctrl: pinctrl-single: Add pinctrl-single,bits type of mux

2012-09-06 Thread Tony Lindgren
Hi Peter, * Peter Ujfalusi peter.ujfal...@ti.com [120905 02:02]: With pinctrl-single,bits it is possible to update just part of the register within the pinctrl-single,function-mask area. This is useful when one register configures mmore than one pin's mux. You have a typo here:

[PATCH 2/2] pinctrl: pinctrl-single: Add pinctrl-single,bits type of mux

2012-09-05 Thread Peter Ujfalusi
With pinctrl-single,bits it is possible to update just part of the register within the pinctrl-single,function-mask area. This is useful when one register configures mmore than one pin's mux. pinctrl-single,bits takes three parameters: reg offset, value, sub-mask Signed-off-by: Peter Ujfalusi