OpenCloudOS-Kernel/drivers/pinctrl/vt8500
Tony Prisk f17248ed86 pinctrl: vt8500: Change devicetree data parsing
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.

Since v3.10, changes to 'enum pin_config_param', PIN_CONFIG_BIAS_PULL_(UP/DOWN)
no longer map 1-to-1 with the expected values in devicetree.

This patch adds a small translation between the devicetree values (0..2)
and the enum pin_config_param equivalent values.

Cc: <stable@vger.kernel.org> # v3.10+
Signed-off-by: Tony Prisk <linux@prisktech.co.nz>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2014-02-03 09:08:01 +01:00
..
Kconfig pinctrl: gpio: vt8500: Add pincontrol driver for arch-vt8500 2013-04-04 18:00:02 +13:00
Makefile pinctrl: gpio: vt8500: Add pincontrol driver for arch-vt8500 2013-04-04 18:00:02 +13:00
pinctrl-vt8500.c pinctrl: gpio: vt8500: Add pincontrol driver for arch-vt8500 2013-04-04 18:00:02 +13:00
pinctrl-wm8505.c pinctrl: gpio: vt8500: Add pincontrol driver for arch-vt8500 2013-04-04 18:00:02 +13:00
pinctrl-wm8650.c pinctrl: gpio: vt8500: Add pincontrol driver for arch-vt8500 2013-04-04 18:00:02 +13:00
pinctrl-wm8750.c pinctrl: vt8500: Fix incorrect data in WM8750 pinctrl table 2013-05-14 13:08:28 +02:00
pinctrl-wm8850.c pinctrl: gpio: vt8500: Add pincontrol driver for arch-vt8500 2013-04-04 18:00:02 +13:00
pinctrl-wmt.c pinctrl: vt8500: Change devicetree data parsing 2014-02-03 09:08:01 +01:00
pinctrl-wmt.h pinctrl: gpio: vt8500: Add pincontrol driver for arch-vt8500 2013-04-04 18:00:02 +13:00