Merge tag 'csky-for-linus-5.7-rc6' of git://github.com/c-sky/csky-linux
[linux-2.6-microblaze.git] / drivers / pinctrl / qcom / Kconfig
1 # SPDX-License-Identifier: GPL-2.0-only
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
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
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
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
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
53 config PINCTRL_IPQ6018
54         tristate "Qualcomm Technologies, Inc. IPQ6018 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
59           the Qualcomm Technologies Inc. TLMM block found on the
60           Qualcomm Technologies Inc. IPQ6018 platform. Select this for
61           IPQ6018.
62
63 config PINCTRL_MSM8660
64         tristate "Qualcomm 8660 pin controller driver"
65         depends on GPIOLIB && OF
66         select PINCTRL_MSM
67         help
68           This is the pinctrl, pinmux, pinconf and gpiolib driver for the
69           Qualcomm TLMM block found in the Qualcomm 8660 platform.
70
71 config PINCTRL_MSM8960
72         tristate "Qualcomm 8960 pin controller driver"
73         depends on GPIOLIB && OF
74         select PINCTRL_MSM
75         help
76           This is the pinctrl, pinmux, pinconf and gpiolib driver for the
77           Qualcomm TLMM block found in the Qualcomm 8960 platform.
78
79 config PINCTRL_MDM9615
80         tristate "Qualcomm 9615 pin controller driver"
81         depends on GPIOLIB && OF
82         select PINCTRL_MSM
83         help
84           This is the pinctrl, pinmux, pinconf and gpiolib driver for the
85           Qualcomm TLMM block found in the Qualcomm 9615 platform.
86
87 config PINCTRL_MSM8X74
88         tristate "Qualcomm 8x74 pin controller driver"
89         depends on GPIOLIB && OF
90         select PINCTRL_MSM
91         help
92           This is the pinctrl, pinmux, pinconf and gpiolib driver for the
93           Qualcomm TLMM block found in the Qualcomm 8974 platform.
94
95 config PINCTRL_MSM8916
96         tristate "Qualcomm 8916 pin controller driver"
97         depends on GPIOLIB && OF
98         select PINCTRL_MSM
99         help
100           This is the pinctrl, pinmux, pinconf and gpiolib driver for the
101           Qualcomm TLMM block found on the Qualcomm 8916 platform.
102
103 config PINCTRL_MSM8976
104         tristate "Qualcomm 8976 pin controller driver"
105         depends on GPIOLIB && OF
106         select PINCTRL_MSM
107         help
108           This is the pinctrl, pinmux, pinconf and gpiolib driver for the
109           Qualcomm TLMM block found on the Qualcomm MSM8976 platform.
110           The Qualcomm MSM8956, APQ8056, APQ8076 platforms are also
111           supported by this driver.
112
113 config PINCTRL_MSM8994
114         tristate "Qualcomm 8994 pin controller driver"
115         depends on GPIOLIB && OF
116         select PINCTRL_MSM
117         help
118           This is the pinctrl, pinmux, pinconf and gpiolib driver for the
119           Qualcomm TLMM block found in the Qualcomm 8994 platform. The
120           Qualcomm 8992 platform is also supported by this driver.
121
122 config PINCTRL_MSM8996
123         tristate "Qualcomm MSM8996 pin controller driver"
124         depends on GPIOLIB && OF
125         select PINCTRL_MSM
126         help
127           This is the pinctrl, pinmux, pinconf and gpiolib driver for the
128           Qualcomm TLMM block found in the Qualcomm MSM8996 platform.
129
130 config PINCTRL_MSM8998
131         tristate "Qualcomm MSM8998 pin controller driver"
132         depends on GPIOLIB && OF
133         select PINCTRL_MSM
134         help
135           This is the pinctrl, pinmux, pinconf and gpiolib driver for the
136           Qualcomm TLMM block found in the Qualcomm MSM8998 platform.
137
138 config PINCTRL_QCS404
139         tristate "Qualcomm QCS404 pin controller driver"
140         depends on GPIOLIB && OF
141         select PINCTRL_MSM
142         help
143           This is the pinctrl, pinmux, pinconf and gpiolib driver for the
144           TLMM block found in the Qualcomm QCS404 platform.
145
146 config PINCTRL_QDF2XXX
147         tristate "Qualcomm Technologies QDF2xxx pin controller driver"
148         depends on GPIOLIB && ACPI
149         select PINCTRL_MSM
150         help
151           This is the GPIO driver for the TLMM block found on the
152           Qualcomm Technologies QDF2xxx SOCs.
153
154 config PINCTRL_QCOM_SPMI_PMIC
155         tristate "Qualcomm SPMI PMIC pin controller driver"
156         depends on GPIOLIB && OF && SPMI
157         select REGMAP_SPMI
158         select PINMUX
159         select PINCONF
160         select GENERIC_PINCONF
161         select GPIOLIB_IRQCHIP
162         select IRQ_DOMAIN_HIERARCHY
163         help
164          This is the pinctrl, pinmux, pinconf and gpiolib driver for the
165          Qualcomm GPIO and MPP blocks found in the Qualcomm PMIC's chips,
166          which are using SPMI for communication with SoC. Example PMIC's
167          devices are pm8841, pm8941 and pma8084.
168
169 config PINCTRL_QCOM_SSBI_PMIC
170         tristate "Qualcomm SSBI PMIC pin controller driver"
171         depends on GPIOLIB && OF
172         select PINMUX
173         select PINCONF
174         select GENERIC_PINCONF
175         select GPIOLIB_IRQCHIP
176         select IRQ_DOMAIN_HIERARCHY
177         help
178          This is the pinctrl, pinmux, pinconf and gpiolib driver for the
179          Qualcomm GPIO and MPP blocks found in the Qualcomm PMIC's chips,
180          which are using SSBI for communication with SoC. Example PMIC's
181          devices are pm8058 and pm8921.
182
183 config PINCTRL_SC7180
184         tristate "Qualcomm Technologies Inc SC7180 pin controller driver"
185         depends on GPIOLIB && OF
186         select PINCTRL_MSM
187         help
188           This is the pinctrl, pinmux, pinconf and gpiolib driver for the
189           Qualcomm Technologies Inc TLMM block found on the Qualcomm
190           Technologies Inc SC7180 platform.
191
192 config PINCTRL_SDM660
193         tristate "Qualcomm Technologies Inc SDM660 pin controller driver"
194         depends on GPIOLIB && OF
195         select PINCTRL_MSM
196         help
197          This is the pinctrl, pinmux, pinconf and gpiolib driver for the
198          Qualcomm Technologies Inc TLMM block found on the Qualcomm
199          Technologies Inc SDM660 platform.
200
201 config PINCTRL_SDM845
202         tristate "Qualcomm Technologies Inc SDM845 pin controller driver"
203         depends on GPIOLIB && (OF || ACPI)
204         select PINCTRL_MSM
205         help
206          This is the pinctrl, pinmux, pinconf and gpiolib driver for the
207          Qualcomm Technologies Inc TLMM block found on the Qualcomm
208          Technologies Inc SDM845 platform.
209
210 config PINCTRL_SM8150
211         tristate "Qualcomm Technologies Inc SM8150 pin controller driver"
212         depends on GPIOLIB && OF
213         select PINCTRL_MSM
214         help
215          This is the pinctrl, pinmux, pinconf and gpiolib driver for the
216          Qualcomm Technologies Inc TLMM block found on the Qualcomm
217          Technologies Inc SM8150 platform.
218
219 endif