blob: 173b71d8583fbda0ab6fe16aa2db8ee1c0e8a0e8 [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
Dong Aishengae75ff82012-04-27 20:26:16 +080029config PINCTRL_IMX
30 bool
31 select PINMUX
32 select PINCONF
33
Dong Aisheng93fbd3c2012-05-15 15:49:02 +080034config PINCTRL_IMX53
35 bool "IMX53 pinctrl driver"
36 depends on OF
37 depends on SOC_IMX53
38 select PINCTRL_IMX
39 help
40 Say Y here to enable the imx53 pinctrl driver
41
Dong Aishengd8fe3572012-04-27 20:26:17 +080042config PINCTRL_IMX6Q
43 bool "IMX6Q pinctrl driver"
44 depends on OF
45 depends on SOC_IMX6Q
46 select PINCTRL_IMX
47 help
48 Say Y here to enable the imx6q pinctrl driver
49
Haojian Zhuangf4e66982012-01-04 10:26:33 +080050config PINCTRL_PXA3xx
51 bool
52 select PINMUX
53
54config PINCTRL_MMP2
55 bool "MMP2 pin controller driver"
56 depends on ARCH_MMP
57 select PINCTRL_PXA3xx
58 select PINCONF
59
Shawn Guo17723112012-04-28 13:00:50 +080060config PINCTRL_MXS
61 bool
62
63config PINCTRL_IMX23
64 bool
65 select PINMUX
66 select PINCONF
67 select PINCTRL_MXS
68
69config PINCTRL_IMX28
70 bool
71 select PINMUX
72 select PINCONF
73 select PINCTRL_MXS
74
Haojian Zhuangf4e66982012-01-04 10:26:33 +080075config PINCTRL_PXA168
76 bool "PXA168 pin controller driver"
77 depends on ARCH_MMP
78 select PINCTRL_PXA3xx
79 select PINCONF
80
81config PINCTRL_PXA910
82 bool "PXA910 pin controller driver"
83 depends on ARCH_MMP
84 select PINCTRL_PXA3xx
85 select PINCONF
86
Linus Walleij3bece552011-12-18 23:44:26 +010087config PINCTRL_SIRF
88 bool "CSR SiRFprimaII pin controller driver"
Rongjun Ying393daa82011-10-09 03:11:13 -070089 depends on ARCH_PRIMA2
90 select PINMUX
Rongjun Ying393daa82011-10-09 03:11:13 -070091
Stephen Warren971dac72012-02-01 14:04:47 -070092config PINCTRL_TEGRA
93 bool
94
95config PINCTRL_TEGRA20
96 bool
97 select PINMUX
98 select PINCONF
99 select PINCTRL_TEGRA
100
101config PINCTRL_TEGRA30
102 bool
103 select PINMUX
104 select PINCONF
105 select PINCTRL_TEGRA
106
Linus Walleij3bece552011-12-18 23:44:26 +0100107config PINCTRL_U300
108 bool "U300 pin controller driver"
Linus Walleij98da3522011-05-02 20:54:38 +0200109 depends on ARCH_U300
110 select PINMUX
Linus Walleijdc0b1aa2011-11-16 21:58:10 +0100111 select GENERIC_PINCONF
Linus Walleij45f034e2011-11-05 21:28:46 +0100112
Linus Walleijca402d32011-11-16 09:22:59 +0100113config PINCTRL_COH901
114 bool "ST-Ericsson U300 COH 901 335/571 GPIO"
Linus Walleijb4e3ac72011-11-16 10:24:39 +0100115 depends on GPIOLIB && ARCH_U300 && PINMUX_U300
Linus Walleijca402d32011-11-16 09:22:59 +0100116 help
117 Say yes here to support GPIO interface on ST-Ericsson U300.
118 The names of the two IP block variants supported are
119 COH 901 335 and COH 901 571/3. They contain 3, 5 or 7
120 ports of 8 GPIO pins each.
121
Linus Walleij45f034e2011-11-05 21:28:46 +0100122endmenu
Linus Walleij98da3522011-05-02 20:54:38 +0200123
Linus Walleij2744e8a2011-05-02 20:50:54 +0200124endif