aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/pinctrl-abx500.h
diff options
context:
space:
mode:
authorPatrice Chotard <patrice.chotard@stericsson.com>2013-01-28 08:29:35 -0500
committerLinus Walleij <linus.walleij@linaro.org>2013-02-05 07:54:20 -0500
commit09dbec3f74b51af614f239d3374fd7c7752c9990 (patch)
tree9cfb3a62199f1ea8bef6655feff3b7b655301e75 /drivers/pinctrl/pinctrl-abx500.h
parent1aa2d8d4055267462f8943e2a1e6eb2e7034eb25 (diff)
pinctrl/abx500: add AB9540 sub-driver
Add AB9540 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.h')
-rw-r--r--drivers/pinctrl/pinctrl-abx500.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/pinctrl/pinctrl-abx500.h b/drivers/pinctrl/pinctrl-abx500.h
index 5c5ac7566d27..fe1ccb76c509 100644
--- a/drivers/pinctrl/pinctrl-abx500.h
+++ b/drivers/pinctrl/pinctrl-abx500.h
@@ -190,6 +190,19 @@ abx500_pinctrl_ab8500_init(struct abx500_pinctrl_soc_data **soc)
190 190
191#endif 191#endif
192 192
193#ifdef CONFIG_PINCTRL_AB9540
194
195void abx500_pinctrl_ab9540_init(struct abx500_pinctrl_soc_data **soc);
196
197#else
198
199static inline void
200abx500_pinctrl_ab9540_init(struct abx500_pinctrl_soc_data **soc)
201{
202}
203
204#endif
205
193#ifdef CONFIG_PINCTRL_AB8505 206#ifdef CONFIG_PINCTRL_AB8505
194 207
195void abx500_pinctrl_ab8505_init(struct abx500_pinctrl_soc_data **soc); 208void abx500_pinctrl_ab8505_init(struct abx500_pinctrl_soc_data **soc);