Re: [PATCH 1/2] pinctrl: pinconf_generic: add utility functions for add map/configs

2013-08-08 Thread Laxman Dewangan
On Wednesday 07 August 2013 11:57 PM, Linus Walleij wrote: On Fri, Jul 26, 2013 at 7:36 PM, Stephen Warren wrote: On 07/26/2013 04:15 AM, Laxman Dewangan wrote: Some of pincontrol driver needs the utility function to create map list. The utility function needed for adding mux, configs etc.

Re: [PATCH 1/2] pinctrl: pinconf_generic: add utility functions for add map/configs

2013-08-08 Thread Laxman Dewangan
On Wednesday 07 August 2013 11:57 PM, Linus Walleij wrote: On Fri, Jul 26, 2013 at 7:36 PM, Stephen Warren swar...@wwwdotorg.org wrote: On 07/26/2013 04:15 AM, Laxman Dewangan wrote: Some of pincontrol driver needs the utility function to create map list. The utility function needed for adding

Re: [PATCH 1/2] pinctrl: pinconf_generic: add utility functions for add map/configs

2013-08-07 Thread Linus Walleij
On Fri, Jul 26, 2013 at 7:36 PM, Stephen Warren wrote: > On 07/26/2013 04:15 AM, Laxman Dewangan wrote: >> Some of pincontrol driver needs the utility function to create map >> list. The utility function needed for adding mux, configs etc. It is a noble goal to unify this and thank you *very*

Re: [PATCH 1/2] pinctrl: pinconf_generic: add utility functions for add map/configs

2013-08-07 Thread Linus Walleij
On Fri, Jul 26, 2013 at 7:36 PM, Stephen Warren swar...@wwwdotorg.org wrote: On 07/26/2013 04:15 AM, Laxman Dewangan wrote: Some of pincontrol driver needs the utility function to create map list. The utility function needed for adding mux, configs etc. It is a noble goal to unify this and

Re: [PATCH 1/2] pinctrl: pinconf_generic: add utility functions for add map/configs

2013-07-29 Thread Stephen Warren
On 07/27/2013 04:14 AM, Laxman Dewangan wrote: > On Friday 26 July 2013 11:06 PM, Stephen Warren wrote: >> On 07/26/2013 04:15 AM, Laxman Dewangan wrote: >>> Some of pincontrol driver needs the utility function to create map >>> list. The utility function needed for adding mux, configs etc. >>

Re: [PATCH 1/2] pinctrl: pinconf_generic: add utility functions for add map/configs

2013-07-29 Thread Stephen Warren
On 07/27/2013 04:14 AM, Laxman Dewangan wrote: On Friday 26 July 2013 11:06 PM, Stephen Warren wrote: On 07/26/2013 04:15 AM, Laxman Dewangan wrote: Some of pincontrol driver needs the utility function to create map list. The utility function needed for adding mux, configs etc. Which other

Re: [PATCH 1/2] pinctrl: pinconf_generic: add utility functions for add map/configs

2013-07-27 Thread Laxman Dewangan
On Friday 26 July 2013 11:06 PM, Stephen Warren wrote: On 07/26/2013 04:15 AM, Laxman Dewangan wrote: Some of pincontrol driver needs the utility function to create map list. The utility function needed for adding mux, configs etc. Which other drivers already contain this code? Are you

Re: [PATCH 1/2] pinctrl: pinconf_generic: add utility functions for add map/configs

2013-07-27 Thread Laxman Dewangan
On Friday 26 July 2013 11:06 PM, Stephen Warren wrote: On 07/26/2013 04:15 AM, Laxman Dewangan wrote: Some of pincontrol driver needs the utility function to create map list. The utility function needed for adding mux, configs etc. Which other drivers already contain this code? Are you

Re: [PATCH 1/2] pinctrl: pinconf_generic: add utility functions for add map/configs

2013-07-26 Thread Stephen Warren
On 07/26/2013 04:15 AM, Laxman Dewangan wrote: > Some of pincontrol driver needs the utility function to create map > list. The utility function needed for adding mux, configs etc. Which other drivers already contain this code? Are you planning on converting them over to use these new functions?

[PATCH 1/2] pinctrl: pinconf_generic: add utility functions for add map/configs

2013-07-26 Thread Laxman Dewangan
Some of pincontrol driver needs the utility function to create map list. The utility function needed for adding mux, configs etc. In place of duplicating this in each driver, add the common utility function in pin_conf and use from device specific driver. This will reduce the duplicating of code

[PATCH 1/2] pinctrl: pinconf_generic: add utility functions for add map/configs

2013-07-26 Thread Laxman Dewangan
Some of pincontrol driver needs the utility function to create map list. The utility function needed for adding mux, configs etc. In place of duplicating this in each driver, add the common utility function in pin_conf and use from device specific driver. This will reduce the duplicating of code

Re: [PATCH 1/2] pinctrl: pinconf_generic: add utility functions for add map/configs

2013-07-26 Thread Stephen Warren
On 07/26/2013 04:15 AM, Laxman Dewangan wrote: Some of pincontrol driver needs the utility function to create map list. The utility function needed for adding mux, configs etc. Which other drivers already contain this code? Are you planning on converting them over to use these new functions?