blob: 3671ac29893e70b0d4ed0f2a50d6cbda92793e58 [file] [log] [blame]
Linus Walleij2744e8a2011-05-02 20:50:54 +02001#
2# PINCTRL infrastructure and drivers
3#
4
Linus Walleij45f034e2011-11-05 21:28:46 +01005config PINCTRL
6 bool
Linus Walleij2744e8a2011-05-02 20:50:54 +02007
8if PINCTRL
9
Linus Walleij45f034e2011-11-05 21:28:46 +010010menu "Pin controllers"
11 depends on PINCTRL
12
Linus Walleij2744e8a2011-05-02 20:50:54 +020013config PINMUX
Linus Walleijae6b4d82011-10-19 18:14:33 +020014 bool "Support pin multiplexing controllers"
15
16config PINCONF
17 bool "Support pin configuration controllers"
Linus Walleij2744e8a2011-05-02 20:50:54 +020018
Linus Walleij394349f2011-11-24 18:27:15 +010019config GENERIC_PINCONF
20 bool
21 select PINCONF
22
Linus Walleij2744e8a2011-05-02 20:50:54 +020023config DEBUG_PINCTRL
24 bool "Debug PINCTRL calls"
25 depends on DEBUG_KERNEL
26 help
27 Say Y here to add some extra checks and diagnostics to PINCTRL calls.
28
Haojian Zhuangf4e66982012-01-04 10:26:33 +080029config PINCTRL_PXA3xx
30 bool
31 select PINMUX
32
33config PINCTRL_MMP2
34 bool "MMP2 pin controller driver"
35 depends on ARCH_MMP
36 select PINCTRL_PXA3xx
Haojian Zhuangf4e66982012-01-04 10:26:33 +080037
38config PINCTRL_PXA168
39 bool "PXA168 pin controller driver"
40 depends on ARCH_MMP
41 select PINCTRL_PXA3xx
Haojian Zhuangf4e66982012-01-04 10:26:33 +080042
43config PINCTRL_PXA910
44 bool "PXA910 pin controller driver"
45 depends on ARCH_MMP
46 select PINCTRL_PXA3xx
Haojian Zhuangf4e66982012-01-04 10:26:33 +080047
Linus Walleij3bece552011-12-18 23:44:26 +010048config PINCTRL_SIRF
49 bool "CSR SiRFprimaII pin controller driver"
Rongjun Ying393daa82011-10-09 03:11:13 -070050 depends on ARCH_PRIMA2
51 select PINMUX
Rongjun Ying393daa82011-10-09 03:11:13 -070052
Stephen Warren971dac72012-02-01 14:04:47 -070053config PINCTRL_TEGRA
54 bool
Axel Lin9f0488d2012-11-12 10:00:22 +080055 select PINMUX
56 select PINCONF
Stephen Warren971dac72012-02-01 14:04:47 -070057
58config PINCTRL_TEGRA20
59 bool
Stephen Warren971dac72012-02-01 14:04:47 -070060 select PINCTRL_TEGRA
61
62config PINCTRL_TEGRA30
63 bool
Stephen Warren971dac72012-02-01 14:04:47 -070064 select PINCTRL_TEGRA
65
Linus Walleij3bece552011-12-18 23:44:26 +010066config PINCTRL_U300
67 bool "U300 pin controller driver"
Linus Walleij98da3522011-05-02 20:54:38 +020068 depends on ARCH_U300
69 select PINMUX
Linus Walleijdc0b1aa2011-11-16 21:58:10 +010070 select GENERIC_PINCONF
Linus Walleij45f034e2011-11-05 21:28:46 +010071
Linus Walleijca402d32011-11-16 09:22:59 +010072config PINCTRL_COH901
73 bool "ST-Ericsson U300 COH 901 335/571 GPIO"
Linus Walleijcc92f7e2012-06-18 20:07:50 +020074 depends on GPIOLIB && ARCH_U300 && PINCTRL_U300
Linus Walleijca402d32011-11-16 09:22:59 +010075 help
76 Say yes here to support GPIO interface on ST-Ericsson U300.
77 The names of the two IP block variants supported are
78 COH 901 335 and COH 901 571/3. They contain 3, 5 or 7
79 ports of 8 GPIO pins each.
80
Linus Walleij45f034e2011-11-05 21:28:46 +010081endmenu
Linus Walleij98da3522011-05-02 20:54:38 +020082
Linus Walleij2744e8a2011-05-02 20:50:54 +020083endif