summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/pinctrl-nomadik.h
diff options
context:
space:
mode:
authorPatrice Chotard <patrice.chotard@stericsson.com>2012-07-20 15:45:22 +0200
committerLinus Walleij <linus.walleij@linaro.org>2012-09-03 13:21:37 +0200
commit45a1b53195069f53d5cbdbfff5e5fed97004320b (patch)
tree1456c7f34ea0bb15cdf5efe5cf1fcc78214aaa63 /drivers/pinctrl/pinctrl-nomadik.h
parente60bc2df9ba5574af87a8d0fa249ceac9fa1d3bd (diff)
downloadlinux-45a1b53195069f53d5cbdbfff5e5fed97004320b.tar.gz
linux-45a1b53195069f53d5cbdbfff5e5fed97004320b.tar.bz2
linux-45a1b53195069f53d5cbdbfff5e5fed97004320b.zip
pinctrl/nomadik: add ASIC DB8450 pinctrl driver
This implements a subdriver for the DB8540 ASIC for the Nomadik pin controller. Signed-off-by: Patrice Chotard <patrice.chotard@stericsson.com> Reviewed-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinctrl-nomadik.h')
-rw-r--r--drivers/pinctrl/pinctrl-nomadik.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/pinctrl/pinctrl-nomadik.h b/drivers/pinctrl/pinctrl-nomadik.h
index bc91aed7185d..e88320fb4c65 100644
--- a/drivers/pinctrl/pinctrl-nomadik.h
+++ b/drivers/pinctrl/pinctrl-nomadik.h
@@ -6,6 +6,7 @@
/* Package definitions */
#define PINCTRL_NMK_STN8815 0
#define PINCTRL_NMK_DB8500 1
+#define PINCTRL_NMK_DB8540 2
/**
* struct nmk_function - Nomadik pinctrl mux function
@@ -74,4 +75,17 @@ nmk_pinctrl_db8500_init(const struct nmk_pinctrl_soc_data **soc)
#endif
+#ifdef CONFIG_PINCTRL_DB8540
+
+void nmk_pinctrl_db8540_init(const struct nmk_pinctrl_soc_data **soc);
+
+#else
+
+static inline void
+nmk_pinctrl_db8540_init(const struct nmk_pinctrl_soc_data **soc)
+{
+}
+
+#endif
+
#endif /* PINCTRL_PINCTRL_NOMADIK_H */