aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/pinctrl-abx500.c
diff options
context:
space:
mode:
authorPatrice Chotard <patrice.chotard@st.com>2013-01-08 04:59:53 -0500
committerLinus Walleij <linus.walleij@linaro.org>2013-01-30 14:42:40 -0500
commit3c93799378ce0cb13179ba5a28366573028e03cf (patch)
tree3a4cc1b61ce58d7efeeb85de04e50ccc86faed88 /drivers/pinctrl/pinctrl-abx500.c
parent0493e6493031523f78680b4469f02fc1b2d440f3 (diff)
pinctrl/abx500: add AB8500 sub-driver
This adds a subdriver for the AB8500 pinctrl portions. 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> Reviewed-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Patrice Chotard <patrice.chotard@st.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 9eed9887da2a..215dbb42dc81 100644
--- a/drivers/pinctrl/pinctrl-abx500.c
+++ b/drivers/pinctrl/pinctrl-abx500.c
@@ -1116,6 +1116,9 @@ static int abx500_gpio_probe(struct platform_device *pdev)
1116 1116
1117 /* Poke in other ASIC variants here */ 1117 /* Poke in other ASIC variants here */
1118 switch (platid->driver_data) { 1118 switch (platid->driver_data) {
1119 case PINCTRL_AB8500:
1120 abx500_pinctrl_ab8500_init(&pct->soc);
1121 break;
1119 default: 1122 default:
1120 dev_err(&pdev->dev, "Unsupported pinctrl sub driver (%d)\n", 1123 dev_err(&pdev->dev, "Unsupported pinctrl sub driver (%d)\n",
1121 (int) platid->driver_data); 1124 (int) platid->driver_data);