aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/Kconfig
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2011-05-02 14:54:38 -0400
committerLinus Walleij <linus.walleij@stericsson.com>2011-10-13 06:57:45 -0400
commit98da3529536ed3c78ae493f4cc3d7ac8d43fc72c (patch)
tree4d10ff569e1cbea384c7e0e162b0481be4766e30 /drivers/pinctrl/Kconfig
parent2744e8afb3b76343e7eb8197e8b3e085036010a5 (diff)
pinctrl: add a driver for the U300 pinmux
This adds a driver for the U300 pinmux portions of the system controller "SYSCON". It also serves as an example of how to use the pinmux subsystem. This driver also houses the platform data for the only supported platform. This deletes the old U300 driver in arch/arm/mach-u300 and replace it with a driver using the new subsystem. The new driver is considerably fatter than the old one, but it also registers all 467 pins of the system and adds the power and EMIF pin groups and corresponding functions. The idea is to use this driver as a a reference for other implementation so it needs to be as complete and verbose as possible. Reviewed-by: Barry Song <21cnbao@gmail.com> [Fixup for changed function names and semantics in the v10 patch] Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/Kconfig')
-rw-r--r--drivers/pinctrl/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig
index 02b4d4e92ffe..7b175c37731f 100644
--- a/drivers/pinctrl/Kconfig
+++ b/drivers/pinctrl/Kconfig
@@ -26,4 +26,11 @@ config DEBUG_PINCTRL
26 help 26 help
27 Say Y here to add some extra checks and diagnostics to PINCTRL calls. 27 Say Y here to add some extra checks and diagnostics to PINCTRL calls.
28 28
29config PINMUX_U300
30 bool "U300 pinmux driver"
31 depends on ARCH_U300
32 select PINMUX
33 help
34 Say Y here to enable the U300 pinmux driver
35
29endif 36endif