826d6ca8f9
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> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
pinctrl-plgpio.c | ||
pinctrl-spear.c | ||
pinctrl-spear.h | ||
pinctrl-spear3xx.c | ||
pinctrl-spear3xx.h | ||
pinctrl-spear300.c | ||
pinctrl-spear310.c | ||
pinctrl-spear320.c | ||
pinctrl-spear1310.c | ||
pinctrl-spear1340.c |