blob: abfb96408779ccce885e87d745847d5279087bca [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 depends on EXPERIMENTAL
Linus Walleij2744e8a2011-05-02 20:50:54 +02008
9if PINCTRL
10
Linus Walleij45f034e2011-11-05 21:28:46 +010011menu "Pin controllers"
12 depends on PINCTRL
13
Linus Walleij2744e8a2011-05-02 20:50:54 +020014config PINMUX
Linus Walleijae6b4d82011-10-19 18:14:33 +020015 bool "Support pin multiplexing controllers"
16
17config PINCONF
18 bool "Support pin configuration controllers"
Linus Walleij2744e8a2011-05-02 20:50:54 +020019
Linus Walleij394349f2011-11-24 18:27:15 +010020config GENERIC_PINCONF
21 bool
22 select PINCONF
23
Linus Walleij2744e8a2011-05-02 20:50:54 +020024config DEBUG_PINCTRL
25 bool "Debug PINCTRL calls"
26 depends on DEBUG_KERNEL
27 help
28 Say Y here to add some extra checks and diagnostics to PINCTRL calls.
29
Haojian Zhuangf4e66982012-01-04 10:26:33 +080030config PINCTRL_PXA3xx
31 bool
32 select PINMUX
33
34config PINCTRL_MMP2
35 bool "MMP2 pin controller driver"
36 depends on ARCH_MMP
37 select PINCTRL_PXA3xx
38 select PINCONF
39
40config PINCTRL_PXA168
41 bool "PXA168 pin controller driver"
42 depends on ARCH_MMP
43 select PINCTRL_PXA3xx
44 select PINCONF
45
46config PINCTRL_PXA910
47 bool "PXA910 pin controller driver"
48 depends on ARCH_MMP
49 select PINCTRL_PXA3xx
50 select PINCONF
51
Linus Walleij3bece552011-12-18 23:44:26 +010052config PINCTRL_SIRF
53 bool "CSR SiRFprimaII pin controller driver"
Rongjun Ying393daa82011-10-09 03:11:13 -070054 depends on ARCH_PRIMA2
55 select PINMUX
Rongjun Ying393daa82011-10-09 03:11:13 -070056
Stephen Warren971dac72012-02-01 14:04:47 -070057config PINCTRL_TEGRA
58 bool
59
60config PINCTRL_TEGRA20
61 bool
62 select PINMUX
63 select PINCONF
64 select PINCTRL_TEGRA
65
66config PINCTRL_TEGRA30
67 bool
68 select PINMUX
69 select PINCONF
70 select PINCTRL_TEGRA
71
Linus Walleij3bece552011-12-18 23:44:26 +010072config PINCTRL_U300
73 bool "U300 pin controller driver"
Linus Walleij98da3522011-05-02 20:54:38 +020074 depends on ARCH_U300
75 select PINMUX
Linus Walleijdc0b1aa2011-11-16 21:58:10 +010076 select GENERIC_PINCONF
Linus Walleij45f034e2011-11-05 21:28:46 +010077
Linus Walleijca402d32011-11-16 09:22:59 +010078config PINCTRL_COH901
79 bool "ST-Ericsson U300 COH 901 335/571 GPIO"
Linus Walleijb4e3ac72011-11-16 10:24:39 +010080 depends on GPIOLIB && ARCH_U300 && PINMUX_U300
Linus Walleijca402d32011-11-16 09:22:59 +010081 help
82 Say yes here to support GPIO interface on ST-Ericsson U300.
83 The names of the two IP block variants supported are
84 COH 901 335 and COH 901 571/3. They contain 3, 5 or 7
85 ports of 8 GPIO pins each.
86
Linus Walleij45f034e2011-11-05 21:28:46 +010087endmenu
Linus Walleij98da3522011-05-02 20:54:38 +020088
Linus Walleij2744e8a2011-05-02 20:50:54 +020089endif