aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/pinctrl-abx500.c
diff options
context:
space:
mode:
authorPatrice Chotard <patrice.chotard@stericsson.com>2013-01-28 08:23:45 -0500
committerLinus Walleij <linus.walleij@linaro.org>2013-02-05 07:54:19 -0500
commit1aa2d8d4055267462f8943e2a1e6eb2e7034eb25 (patch)
treee7dcacaf232d5d86f2f69a9cb96cb2247e7c198b /drivers/pinctrl/pinctrl-abx500.c
parent3c93799378ce0cb13179ba5a28366573028e03cf (diff)
pinctrl/abx500: add AB8505 sub-driver
Add AB8505 sub driver to the ABx5x family. 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 215dbb42dc81..94f9381fb3eb 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)
1119 case PINCTRL_AB8500: 1119 case PINCTRL_AB8500:
1120 abx500_pinctrl_ab8500_init(&pct->soc); 1120 abx500_pinctrl_ab8500_init(&pct->soc);
1121 break; 1121 break;
1122 case PINCTRL_AB8505:
1123 abx500_pinctrl_ab8505_init(&pct->soc);
1124 break;
1122 default: 1125 default:
1123 dev_err(&pdev->dev, "Unsupported pinctrl sub driver (%d)\n", 1126 dev_err(&pdev->dev, "Unsupported pinctrl sub driver (%d)\n",
1124 (int) platid->driver_data); 1127 (int) platid->driver_data);