173b71d8583fbda0ab6fe16aa2db8ee1c0e8a0e8
[firefly-linux-kernel-4.4.55.git] / drivers / pinctrl / Kconfig
1 #
2 # PINCTRL infrastructure and drivers
3 #
4
5 config PINCTRL
6         bool
7
8 if PINCTRL
9
10 menu "Pin controllers"
11         depends on PINCTRL
12
13 config PINMUX
14         bool "Support pin multiplexing controllers"
15
16 config PINCONF
17         bool "Support pin configuration controllers"
18
19 config GENERIC_PINCONF
20         bool
21         select PINCONF
22
23 config 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
29 config PINCTRL_IMX
30         bool
31         select PINMUX
32         select PINCONF
33
34 config 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
42 config 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
50 config PINCTRL_PXA3xx
51         bool
52         select PINMUX
53
54 config PINCTRL_MMP2
55         bool "MMP2 pin controller driver"
56         depends on ARCH_MMP
57         select PINCTRL_PXA3xx
58         select PINCONF
59
60 config PINCTRL_MXS
61         bool
62
63 config PINCTRL_IMX23
64         bool
65         select PINMUX
66         select PINCONF
67         select PINCTRL_MXS
68
69 config PINCTRL_IMX28
70         bool
71         select PINMUX
72         select PINCONF
73         select PINCTRL_MXS
74
75 config PINCTRL_PXA168
76         bool "PXA168 pin controller driver"
77         depends on ARCH_MMP
78         select PINCTRL_PXA3xx
79         select PINCONF
80
81 config PINCTRL_PXA910
82         bool "PXA910 pin controller driver"
83         depends on ARCH_MMP
84         select PINCTRL_PXA3xx
85         select PINCONF
86
87 config PINCTRL_SIRF
88         bool "CSR SiRFprimaII pin controller driver"
89         depends on ARCH_PRIMA2
90         select PINMUX
91
92 config PINCTRL_TEGRA
93         bool
94
95 config PINCTRL_TEGRA20
96         bool
97         select PINMUX
98         select PINCONF
99         select PINCTRL_TEGRA
100
101 config PINCTRL_TEGRA30
102         bool
103         select PINMUX
104         select PINCONF
105         select PINCTRL_TEGRA
106
107 config PINCTRL_U300
108         bool "U300 pin controller driver"
109         depends on ARCH_U300
110         select PINMUX
111         select GENERIC_PINCONF
112
113 config PINCTRL_COH901
114         bool "ST-Ericsson U300 COH 901 335/571 GPIO"
115         depends on GPIOLIB && ARCH_U300 && PINMUX_U300
116         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
122 endmenu
123
124 endif