kernel-fxtec-pro1x/drivers/pinctrl/spear
Shiraz Hashim 826d6ca8f9 pinctrl: SPEAr: Add SoC specific gpio configuration routines
Different SPEAr SoCs have different approach to configure pins as gpios. Some
configure a group of gpios with single register bit and others have one bit per
gpio pin. Only earlier one is implemented till now, this patch adds support for
later one.

Here we add callbacks to SoC specific code to configure gpios in
gpio_request_enable(). That will do additional SoC specific configuration to
enable gpio pins.

We also implement this callback for SPEAr1340 in this patch.

Signed-off-by: Shiraz Hashim <shiraz.hashim@st.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2012-11-11 19:36:04 +01:00
..
Kconfig pinctrl: SPEAr: Add gpio ranges support 2012-11-11 19:07:03 +01:00
Makefile pinctrl: SPEAr: Add plgpio driver 2012-11-11 19:06:00 +01:00
pinctrl-plgpio.c pinctrl: SPEAr: Add plgpio driver 2012-11-11 19:06:00 +01:00
pinctrl-spear.c pinctrl: SPEAr: Add SoC specific gpio configuration routines 2012-11-11 19:36:04 +01:00
pinctrl-spear.h pinctrl: SPEAr: Add SoC specific gpio configuration routines 2012-11-11 19:36:04 +01:00
pinctrl-spear3xx.c pinctrl: SPEAr: Add gpio ranges support 2012-11-11 19:07:03 +01:00
pinctrl-spear3xx.h pinctrl: SPEAr3xx: correct register space to configure pwm 2012-11-05 12:33:37 +01:00
pinctrl-spear300.c pinctrl: SPEAr: Add gpio ranges support 2012-11-11 19:07:03 +01:00
pinctrl-spear310.c pinctrl: SPEAr: Add gpio ranges support 2012-11-11 19:07:03 +01:00
pinctrl-spear320.c pinctrl: SPEAr: Add gpio ranges support 2012-11-11 19:07:03 +01:00
pinctrl-spear1310.c pinctrl: SPEAr: Add gpio ranges support 2012-11-11 19:07:03 +01:00
pinctrl-spear1340.c pinctrl: SPEAr: Add SoC specific gpio configuration routines 2012-11-11 19:36:04 +01:00