summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/pinctrl-abx500.c
diff options
context:
space:
mode:
authorPatrice Chotard <patrice.chotard@stericsson.com>2013-01-28 14:35:19 +0100
committerLinus Walleij <linus.walleij@linaro.org>2013-02-05 13:54:21 +0100
commita8f96e4178920b43525da7b2635b2ee3a53896b8 (patch)
tree30ed70e6f162c3aac00afb9f0ae02b85b7cb429e /drivers/pinctrl/pinctrl-abx500.c
parentpinctrl/abx500: add AB9540 sub-driver (diff)
downloadlinux-a8f96e4178920b43525da7b2635b2ee3a53896b8.tar.xz
linux-a8f96e4178920b43525da7b2635b2ee3a53896b8.zip
pinctrl/abx500: add AB8540 sub-driver
Add AB8540 sub driver to the ABx500 family, pins, pin groups and gpio range. As the pin controller (also the ABx500 controllers) is an inherent part of the SoC and will prevent boot if not available, select this from the Ux500 SoC Kconfig. Acked-by: Olof Johansson <olof@lixom.net> Signed-off-by: Patrice Chotard <patrice.chotard@stericsson.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinctrl-abx500.c')
-rw-r--r--drivers/pinctrl/pinctrl-abx500.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/pinctrl/pinctrl-abx500.c b/drivers/pinctrl/pinctrl-abx500.c
index 39020ac108ba..7046aef4fd6c 100644
--- a/drivers/pinctrl/pinctrl-abx500.c
+++ b/drivers/pinctrl/pinctrl-abx500.c
@@ -1119,6 +1119,9 @@ static int abx500_gpio_probe(struct platform_device *pdev)
case PINCTRL_AB8500:
abx500_pinctrl_ab8500_init(&pct->soc);
break;
+ case PINCTRL_AB8540:
+ abx500_pinctrl_ab8540_init(&pct->soc);
+ break;
case PINCTRL_AB9540:
abx500_pinctrl_ab9540_init(&pct->soc);
break;