Re: [PATCH] vt8500: pinctrl: Change devicetree data parsing

2014-01-23 Thread Tony Prisk
On 23/01/14 21:43, Linus Walleij wrote: On Thu, Jan 23, 2014 at 7:31 AM, Tony Prisk wrote: Due to an assumption in the VT8500 pinctrl driver, the value passed from devicetree for 'wm,pull' was not explicitly translated before being passed to pinconf. With changes to 'enum pin_config_param',

Re: [PATCH] vt8500: pinctrl: Change devicetree data parsing

2014-01-23 Thread Linus Walleij
On Thu, Jan 23, 2014 at 7:31 AM, Tony Prisk wrote: > Due to an assumption in the VT8500 pinctrl driver, the value passed > from devicetree for 'wm,pull' was not explicitly translated before > being passed to pinconf. > > With changes to 'enum pin_config_param', PIN_CONFIG_BIAS_PULL_(UP/DOWN) >

Re: [PATCH] vt8500: pinctrl: Change devicetree data parsing

2014-01-23 Thread Linus Walleij
On Thu, Jan 23, 2014 at 7:31 AM, Tony Prisk li...@prisktech.co.nz wrote: Due to an assumption in the VT8500 pinctrl driver, the value passed from devicetree for 'wm,pull' was not explicitly translated before being passed to pinconf. With changes to 'enum pin_config_param',

Re: [PATCH] vt8500: pinctrl: Change devicetree data parsing

2014-01-23 Thread Tony Prisk
On 23/01/14 21:43, Linus Walleij wrote: On Thu, Jan 23, 2014 at 7:31 AM, Tony Prisk li...@prisktech.co.nz wrote: Due to an assumption in the VT8500 pinctrl driver, the value passed from devicetree for 'wm,pull' was not explicitly translated before being passed to pinconf. With changes to

[PATCH] vt8500: pinctrl: Change devicetree data parsing

2014-01-22 Thread Tony Prisk
Due to an assumption in the VT8500 pinctrl driver, the value passed from devicetree for 'wm,pull' was not explicitly translated before being passed to pinconf. With changes to 'enum pin_config_param', PIN_CONFIG_BIAS_PULL_(UP/DOWN) no longer map 1-to-1 with the expected values in devicetree.

[PATCH] vt8500: pinctrl: Change devicetree data parsing

2014-01-22 Thread Tony Prisk
Due to an assumption in the VT8500 pinctrl driver, the value passed from devicetree for 'wm,pull' was not explicitly translated before being passed to pinconf. With changes to 'enum pin_config_param', PIN_CONFIG_BIAS_PULL_(UP/DOWN) no longer map 1-to-1 with the expected values in devicetree.