Commit | Line | Data |
---|---|---|
ec8f24b7 | 1 | # SPDX-License-Identifier: GPL-2.0-only |
69b78b8d LW |
2 | if (ARCH_QCOM || COMPILE_TEST) |
3 | ||
4 | config PINCTRL_MSM | |
5 | bool | |
6 | select PINMUX | |
7 | select PINCONF | |
8 | select GENERIC_PINCONF | |
9 | select GPIOLIB_IRQCHIP | |
10 | ||
11 | config PINCTRL_APQ8064 | |
12 | tristate "Qualcomm APQ8064 pin controller driver" | |
13 | depends on GPIOLIB && OF | |
14 | select PINCTRL_MSM | |
15 | help | |
16 | This is the pinctrl, pinmux, pinconf and gpiolib driver for the | |
17 | Qualcomm TLMM block found in the Qualcomm APQ8064 platform. | |
18 | ||
c4f6f9c0 GD |
19 | config PINCTRL_APQ8084 |
20 | tristate "Qualcomm APQ8084 pin controller driver" | |
21 | depends on GPIOLIB && OF | |
22 | select PINCTRL_MSM | |
23 | help | |
24 | This is the pinctrl, pinmux, pinconf and gpiolib driver for the | |
25 | Qualcomm TLMM block found in the Qualcomm APQ8084 platform. | |
26 | ||
e260d2bb VN |
27 | config PINCTRL_IPQ4019 |
28 | tristate "Qualcomm IPQ4019 pin controller driver" | |
29 | depends on GPIOLIB && OF | |
30 | select PINCTRL_MSM | |
31 | help | |
32 | This is the pinctrl, pinmux, pinconf and gpiolib driver for the | |
33 | Qualcomm TLMM block found in the Qualcomm IPQ4019 platform. | |
34 | ||
69b78b8d LW |
35 | config PINCTRL_IPQ8064 |
36 | tristate "Qualcomm IPQ8064 pin controller driver" | |
37 | depends on GPIOLIB && OF | |
38 | select PINCTRL_MSM | |
39 | help | |
40 | This is the pinctrl, pinmux, pinconf and gpiolib driver for the | |
41 | Qualcomm TLMM block found in the Qualcomm IPQ8064 platform. | |
42 | ||
d2a2c808 VN |
43 | config PINCTRL_IPQ8074 |
44 | tristate "Qualcomm Technologies, Inc. IPQ8074 pin controller driver" | |
45 | depends on GPIOLIB && OF | |
46 | select PINCTRL_MSM | |
47 | help | |
48 | This is the pinctrl, pinmux, pinconf and gpiolib driver for | |
49 | the Qualcomm Technologies Inc. TLMM block found on the | |
50 | Qualcomm Technologies Inc. IPQ8074 platform. Select this for | |
51 | IPQ8074. | |
52 | ||
6955e6b4 BA |
53 | config PINCTRL_MSM8660 |
54 | tristate "Qualcomm 8660 pin controller driver" | |
55 | depends on GPIOLIB && OF | |
56 | select PINCTRL_MSM | |
57 | help | |
58 | This is the pinctrl, pinmux, pinconf and gpiolib driver for the | |
59 | Qualcomm TLMM block found in the Qualcomm 8660 platform. | |
60 | ||
69b78b8d LW |
61 | config PINCTRL_MSM8960 |
62 | tristate "Qualcomm 8960 pin controller driver" | |
63 | depends on GPIOLIB && OF | |
64 | select PINCTRL_MSM | |
65 | help | |
66 | This is the pinctrl, pinmux, pinconf and gpiolib driver for the | |
67 | Qualcomm TLMM block found in the Qualcomm 8960 platform. | |
68 | ||
8b37e88c NA |
69 | config PINCTRL_MDM9615 |
70 | tristate "Qualcomm 9615 pin controller driver" | |
71 | depends on GPIOLIB && OF | |
72 | select PINCTRL_MSM | |
73 | help | |
74 | This is the pinctrl, pinmux, pinconf and gpiolib driver for the | |
75 | Qualcomm TLMM block found in the Qualcomm 9615 platform. | |
76 | ||
69b78b8d LW |
77 | config PINCTRL_MSM8X74 |
78 | tristate "Qualcomm 8x74 pin controller driver" | |
79 | depends on GPIOLIB && OF | |
80 | select PINCTRL_MSM | |
81 | help | |
82 | This is the pinctrl, pinmux, pinconf and gpiolib driver for the | |
83 | Qualcomm TLMM block found in the Qualcomm 8974 platform. | |
84 | ||
5373a2c5 JP |
85 | config PINCTRL_MSM8916 |
86 | tristate "Qualcomm 8916 pin controller driver" | |
87 | depends on GPIOLIB && OF | |
88 | select PINCTRL_MSM | |
89 | help | |
90 | This is the pinctrl, pinmux, pinconf and gpiolib driver for the | |
91 | Qualcomm TLMM block found on the Qualcomm 8916 platform. | |
92 | ||
465e4218 MS |
93 | config PINCTRL_MSM8994 |
94 | tristate "Qualcomm 8994 pin controller driver" | |
95 | depends on GPIOLIB && OF | |
96 | select PINCTRL_MSM | |
97 | help | |
98 | This is the pinctrl, pinmux, pinconf and gpiolib driver for the | |
99 | Qualcomm TLMM block found in the Qualcomm 8994 platform. The | |
100 | Qualcomm 8992 platform is also supported by this driver. | |
101 | ||
d1b49b68 JP |
102 | config PINCTRL_MSM8996 |
103 | tristate "Qualcomm MSM8996 pin controller driver" | |
104 | depends on GPIOLIB && OF | |
105 | select PINCTRL_MSM | |
106 | help | |
107 | This is the pinctrl, pinmux, pinconf and gpiolib driver for the | |
108 | Qualcomm TLMM block found in the Qualcomm MSM8996 platform. | |
109 | ||
a3a093ae KI |
110 | config PINCTRL_MSM8998 |
111 | tristate "Qualcomm MSM8998 pin controller driver" | |
112 | depends on GPIOLIB && OF | |
113 | select PINCTRL_MSM | |
114 | help | |
115 | This is the pinctrl, pinmux, pinconf and gpiolib driver for the | |
116 | Qualcomm TLMM block found in the Qualcomm MSM8998 platform. | |
117 | ||
22eb8301 AKD |
118 | config PINCTRL_QCS404 |
119 | tristate "Qualcomm QCS404 pin controller driver" | |
120 | depends on GPIOLIB && OF | |
121 | select PINCTRL_MSM | |
122 | help | |
123 | This is the pinctrl, pinmux, pinconf and gpiolib driver for the | |
124 | TLMM block found in the Qualcomm QCS404 platform. | |
125 | ||
8f1338cd TT |
126 | config PINCTRL_QDF2XXX |
127 | tristate "Qualcomm Technologies QDF2xxx pin controller driver" | |
128 | depends on GPIOLIB && ACPI | |
129 | select PINCTRL_MSM | |
130 | help | |
131 | This is the GPIO driver for the TLMM block found on the | |
132 | Qualcomm Technologies QDF2xxx SOCs. | |
133 | ||
eadff302 | 134 | config PINCTRL_QCOM_SPMI_PMIC |
4afaee3c | 135 | tristate "Qualcomm SPMI PMIC pin controller driver" |
eadff302 II |
136 | depends on GPIOLIB && OF && SPMI |
137 | select REGMAP_SPMI | |
138 | select PINMUX | |
139 | select PINCONF | |
140 | select GENERIC_PINCONF | |
5c713d93 | 141 | select IRQ_DOMAIN_HIERARCHY |
eadff302 II |
142 | help |
143 | This is the pinctrl, pinmux, pinconf and gpiolib driver for the | |
144 | Qualcomm GPIO and MPP blocks found in the Qualcomm PMIC's chips, | |
145 | which are using SPMI for communication with SoC. Example PMIC's | |
146 | devices are pm8841, pm8941 and pma8084. | |
147 | ||
b4c45fe9 | 148 | config PINCTRL_QCOM_SSBI_PMIC |
4afaee3c | 149 | tristate "Qualcomm SSBI PMIC pin controller driver" |
b4c45fe9 BA |
150 | depends on GPIOLIB && OF |
151 | select PINMUX | |
152 | select PINCONF | |
153 | select GENERIC_PINCONF | |
9d2b563b | 154 | select IRQ_DOMAIN_HIERARCHY |
b4c45fe9 BA |
155 | help |
156 | This is the pinctrl, pinmux, pinconf and gpiolib driver for the | |
157 | Qualcomm GPIO and MPP blocks found in the Qualcomm PMIC's chips, | |
158 | which are using SSBI for communication with SoC. Example PMIC's | |
159 | devices are pm8058 and pm8921. | |
160 | ||
9cf0c526 NU |
161 | config PINCTRL_SDM660 |
162 | tristate "Qualcomm Technologies Inc SDM660 pin controller driver" | |
163 | depends on GPIOLIB && OF | |
164 | select PINCTRL_MSM | |
165 | help | |
166 | This is the pinctrl, pinmux, pinconf and gpiolib driver for the | |
167 | Qualcomm Technologies Inc TLMM block found on the Qualcomm | |
168 | Technologies Inc SDM660 platform. | |
169 | ||
184f3448 KY |
170 | config PINCTRL_SDM845 |
171 | tristate "Qualcomm Technologies Inc SDM845 pin controller driver" | |
172 | depends on GPIOLIB && OF | |
173 | select PINCTRL_MSM | |
174 | help | |
175 | This is the pinctrl, pinmux, pinconf and gpiolib driver for the | |
176 | Qualcomm Technologies Inc TLMM block found on the Qualcomm | |
177 | Technologies Inc SDM845 platform. | |
178 | ||
69b78b8d | 179 | endif |