xref: /openbmc/linux/drivers/pinctrl/qcom/Kconfig (revision 376f9e34)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
269b78b8dSLinus Walleijif (ARCH_QCOM || COMPILE_TEST)
369b78b8dSLinus Walleij
469b78b8dSLinus Walleijconfig PINCTRL_MSM
538e86f5cSJohn Stultz	tristate "Qualcomm core pin controller driver"
6*376f9e34SJulian Braha	depends on GPIOLIB && (QCOM_SCM || !QCOM_SCM) #if QCOM_SCM=m this can't be =y
769b78b8dSLinus Walleij	select PINMUX
869b78b8dSLinus Walleij	select PINCONF
969b78b8dSLinus Walleij	select GENERIC_PINCONF
1069b78b8dSLinus Walleij	select GPIOLIB_IRQCHIP
11c3c0c2e1SDouglas Anderson	select IRQ_DOMAIN_HIERARCHY
12c3c0c2e1SDouglas Anderson	select IRQ_FASTEOI_HIERARCHY_HANDLERS
1369b78b8dSLinus Walleij
1469b78b8dSLinus Walleijconfig PINCTRL_APQ8064
1569b78b8dSLinus Walleij	tristate "Qualcomm APQ8064 pin controller driver"
1669b78b8dSLinus Walleij	depends on GPIOLIB && OF
17be117ca3SJohn Stultz	depends on PINCTRL_MSM
1869b78b8dSLinus Walleij	help
1969b78b8dSLinus Walleij	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
2069b78b8dSLinus Walleij	  Qualcomm TLMM block found in the Qualcomm APQ8064 platform.
2169b78b8dSLinus Walleij
22c4f6f9c0SGeorgi Djakovconfig PINCTRL_APQ8084
23c4f6f9c0SGeorgi Djakov	tristate "Qualcomm APQ8084 pin controller driver"
24c4f6f9c0SGeorgi Djakov	depends on GPIOLIB && OF
25be117ca3SJohn Stultz	depends on PINCTRL_MSM
26c4f6f9c0SGeorgi Djakov	help
27c4f6f9c0SGeorgi Djakov	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
28c4f6f9c0SGeorgi Djakov	  Qualcomm TLMM block found in the Qualcomm APQ8084 platform.
29c4f6f9c0SGeorgi Djakov
30e260d2bbSVaradarajan Narayananconfig PINCTRL_IPQ4019
31e260d2bbSVaradarajan Narayanan	tristate "Qualcomm IPQ4019 pin controller driver"
32e260d2bbSVaradarajan Narayanan	depends on GPIOLIB && OF
33be117ca3SJohn Stultz	depends on PINCTRL_MSM
34e260d2bbSVaradarajan Narayanan	help
35e260d2bbSVaradarajan Narayanan	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
36e260d2bbSVaradarajan Narayanan	  Qualcomm TLMM block found in the Qualcomm IPQ4019 platform.
37e260d2bbSVaradarajan Narayanan
3869b78b8dSLinus Walleijconfig PINCTRL_IPQ8064
3969b78b8dSLinus Walleij	tristate "Qualcomm IPQ8064 pin controller driver"
4069b78b8dSLinus Walleij	depends on GPIOLIB && OF
41be117ca3SJohn Stultz	depends on PINCTRL_MSM
4269b78b8dSLinus Walleij	help
4369b78b8dSLinus Walleij	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
4469b78b8dSLinus Walleij	  Qualcomm TLMM block found in the Qualcomm IPQ8064 platform.
4569b78b8dSLinus Walleij
46d2a2c808SVaradarajan Narayananconfig PINCTRL_IPQ8074
47d2a2c808SVaradarajan Narayanan	tristate "Qualcomm Technologies, Inc. IPQ8074 pin controller driver"
48d2a2c808SVaradarajan Narayanan	depends on GPIOLIB && OF
49be117ca3SJohn Stultz	depends on PINCTRL_MSM
50d2a2c808SVaradarajan Narayanan	help
51d2a2c808SVaradarajan Narayanan	  This is the pinctrl, pinmux, pinconf and gpiolib driver for
52d2a2c808SVaradarajan Narayanan	  the Qualcomm Technologies Inc. TLMM block found on the
53d2a2c808SVaradarajan Narayanan	  Qualcomm Technologies Inc. IPQ8074 platform. Select this for
54d2a2c808SVaradarajan Narayanan	  IPQ8074.
55d2a2c808SVaradarajan Narayanan
56ef1ea54eSSricharan Rconfig PINCTRL_IPQ6018
57ef1ea54eSSricharan R	tristate "Qualcomm Technologies, Inc. IPQ6018 pin controller driver"
58ef1ea54eSSricharan R	depends on GPIOLIB && OF
59be117ca3SJohn Stultz	depends on PINCTRL_MSM
60ef1ea54eSSricharan R	help
61ef1ea54eSSricharan R	  This is the pinctrl, pinmux, pinconf and gpiolib driver for
62ef1ea54eSSricharan R	  the Qualcomm Technologies Inc. TLMM block found on the
63ef1ea54eSSricharan R	  Qualcomm Technologies Inc. IPQ6018 platform. Select this for
64ef1ea54eSSricharan R	  IPQ6018.
65ef1ea54eSSricharan R
66db436a71SBartosz Dudziakconfig PINCTRL_MSM8226
67db436a71SBartosz Dudziak	tristate "Qualcomm 8226 pin controller driver"
68db436a71SBartosz Dudziak	depends on GPIOLIB && OF
69be117ca3SJohn Stultz	depends on PINCTRL_MSM
70db436a71SBartosz Dudziak	help
71db436a71SBartosz Dudziak	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
72db436a71SBartosz Dudziak	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
73db436a71SBartosz Dudziak	  Technologies Inc MSM8226 platform.
74db436a71SBartosz Dudziak
756955e6b4SBjorn Anderssonconfig PINCTRL_MSM8660
766955e6b4SBjorn Andersson	tristate "Qualcomm 8660 pin controller driver"
776955e6b4SBjorn Andersson	depends on GPIOLIB && OF
78be117ca3SJohn Stultz	depends on PINCTRL_MSM
796955e6b4SBjorn Andersson	help
806955e6b4SBjorn Andersson	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
816955e6b4SBjorn Andersson	  Qualcomm TLMM block found in the Qualcomm 8660 platform.
826955e6b4SBjorn Andersson
8369b78b8dSLinus Walleijconfig PINCTRL_MSM8960
8469b78b8dSLinus Walleij	tristate "Qualcomm 8960 pin controller driver"
8569b78b8dSLinus Walleij	depends on GPIOLIB && OF
86be117ca3SJohn Stultz	depends on PINCTRL_MSM
8769b78b8dSLinus Walleij	help
8869b78b8dSLinus Walleij	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
8969b78b8dSLinus Walleij	  Qualcomm TLMM block found in the Qualcomm 8960 platform.
9069b78b8dSLinus Walleij
918b37e88cSNeil Armstrongconfig PINCTRL_MDM9615
928b37e88cSNeil Armstrong	tristate "Qualcomm 9615 pin controller driver"
938b37e88cSNeil Armstrong	depends on GPIOLIB && OF
94be117ca3SJohn Stultz	depends on PINCTRL_MSM
958b37e88cSNeil Armstrong	help
968b37e88cSNeil Armstrong	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
978b37e88cSNeil Armstrong	  Qualcomm TLMM block found in the Qualcomm 9615 platform.
988b37e88cSNeil Armstrong
9969b78b8dSLinus Walleijconfig PINCTRL_MSM8X74
10069b78b8dSLinus Walleij	tristate "Qualcomm 8x74 pin controller driver"
10169b78b8dSLinus Walleij	depends on GPIOLIB && OF
102be117ca3SJohn Stultz	depends on PINCTRL_MSM
10369b78b8dSLinus Walleij	help
10469b78b8dSLinus Walleij	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
10569b78b8dSLinus Walleij	  Qualcomm TLMM block found in the Qualcomm 8974 platform.
10669b78b8dSLinus Walleij
1075373a2c5SJoonwoo Parkconfig PINCTRL_MSM8916
1085373a2c5SJoonwoo Park	tristate "Qualcomm 8916 pin controller driver"
1095373a2c5SJoonwoo Park	depends on GPIOLIB && OF
110be117ca3SJohn Stultz	depends on PINCTRL_MSM
1115373a2c5SJoonwoo Park	help
1125373a2c5SJoonwoo Park	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
1135373a2c5SJoonwoo Park	  Qualcomm TLMM block found on the Qualcomm 8916 platform.
1145373a2c5SJoonwoo Park
1150e74abf3SVladimir Lypakconfig PINCTRL_MSM8953
1160e74abf3SVladimir Lypak	tristate "Qualcomm 8953 pin controller driver"
1170e74abf3SVladimir Lypak	depends on GPIOLIB && OF
1182a984219SJohn Stultz	depends on PINCTRL_MSM
1190e74abf3SVladimir Lypak	help
1200e74abf3SVladimir Lypak	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
1210e74abf3SVladimir Lypak	  Qualcomm TLMM block found on the Qualcomm MSM8953 platform.
1220e74abf3SVladimir Lypak	  The Qualcomm APQ8053, SDM450, SDM632 platforms are also
1230e74abf3SVladimir Lypak	  supported by this driver.
1240e74abf3SVladimir Lypak
125bcd11493SAngeloGioacchino Del Regnoconfig PINCTRL_MSM8976
126bcd11493SAngeloGioacchino Del Regno	tristate "Qualcomm 8976 pin controller driver"
127bcd11493SAngeloGioacchino Del Regno	depends on GPIOLIB && OF
128be117ca3SJohn Stultz	depends on PINCTRL_MSM
129bcd11493SAngeloGioacchino Del Regno	help
130bcd11493SAngeloGioacchino Del Regno	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
131bcd11493SAngeloGioacchino Del Regno	  Qualcomm TLMM block found on the Qualcomm MSM8976 platform.
132bcd11493SAngeloGioacchino Del Regno	  The Qualcomm MSM8956, APQ8056, APQ8076 platforms are also
133bcd11493SAngeloGioacchino Del Regno	  supported by this driver.
134bcd11493SAngeloGioacchino Del Regno
135465e4218SMichael Scottconfig PINCTRL_MSM8994
136465e4218SMichael Scott	tristate "Qualcomm 8994 pin controller driver"
137465e4218SMichael Scott	depends on GPIOLIB && OF
138be117ca3SJohn Stultz	depends on PINCTRL_MSM
139465e4218SMichael Scott	help
140465e4218SMichael Scott	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
141465e4218SMichael Scott	  Qualcomm TLMM block found in the Qualcomm 8994 platform. The
142465e4218SMichael Scott	  Qualcomm 8992 platform is also supported by this driver.
143465e4218SMichael Scott
144d1b49b68SJoonwoo Parkconfig PINCTRL_MSM8996
145d1b49b68SJoonwoo Park	tristate "Qualcomm MSM8996 pin controller driver"
146d1b49b68SJoonwoo Park	depends on GPIOLIB && OF
147be117ca3SJohn Stultz	depends on PINCTRL_MSM
148d1b49b68SJoonwoo Park	help
149d1b49b68SJoonwoo Park	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
150d1b49b68SJoonwoo Park	  Qualcomm TLMM block found in the Qualcomm MSM8996 platform.
151d1b49b68SJoonwoo Park
152a3a093aeSKhan, Imranconfig PINCTRL_MSM8998
153a3a093aeSKhan, Imran	tristate "Qualcomm MSM8998 pin controller driver"
154a3a093aeSKhan, Imran	depends on GPIOLIB && OF
155be117ca3SJohn Stultz	depends on PINCTRL_MSM
156a3a093aeSKhan, Imran	help
157a3a093aeSKhan, Imran	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
158a3a093aeSKhan, Imran	  Qualcomm TLMM block found in the Qualcomm MSM8998 platform.
159a3a093aeSKhan, Imran
16022eb8301SAvaneesh Kumar Dwivediconfig PINCTRL_QCS404
16122eb8301SAvaneesh Kumar Dwivedi	tristate "Qualcomm QCS404 pin controller driver"
16222eb8301SAvaneesh Kumar Dwivedi	depends on GPIOLIB && OF
163be117ca3SJohn Stultz	depends on PINCTRL_MSM
16422eb8301SAvaneesh Kumar Dwivedi	help
16522eb8301SAvaneesh Kumar Dwivedi	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
16622eb8301SAvaneesh Kumar Dwivedi	  TLMM block found in the Qualcomm QCS404 platform.
16722eb8301SAvaneesh Kumar Dwivedi
1688f1338cdSTimur Tabiconfig PINCTRL_QDF2XXX
1698f1338cdSTimur Tabi	tristate "Qualcomm Technologies QDF2xxx pin controller driver"
1708f1338cdSTimur Tabi	depends on GPIOLIB && ACPI
171be117ca3SJohn Stultz	depends on PINCTRL_MSM
1728f1338cdSTimur Tabi	help
1738f1338cdSTimur Tabi	  This is the GPIO driver for the TLMM block found on the
1748f1338cdSTimur Tabi	  Qualcomm Technologies QDF2xxx SOCs.
1758f1338cdSTimur Tabi
176eadff302SIvan T. Ivanovconfig PINCTRL_QCOM_SPMI_PMIC
1774afaee3cSStephen Boyd	tristate "Qualcomm SPMI PMIC pin controller driver"
178eadff302SIvan T. Ivanov	depends on GPIOLIB && OF && SPMI
179eadff302SIvan T. Ivanov	select REGMAP_SPMI
180eadff302SIvan T. Ivanov	select PINMUX
181eadff302SIvan T. Ivanov	select PINCONF
182eadff302SIvan T. Ivanov	select GENERIC_PINCONF
183821c76c4SBrian Masney	select GPIOLIB_IRQCHIP
1845c713d93SBrian Masney	select IRQ_DOMAIN_HIERARCHY
185eadff302SIvan T. Ivanov	help
186eadff302SIvan T. Ivanov	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
187eadff302SIvan T. Ivanov	 Qualcomm GPIO and MPP blocks found in the Qualcomm PMIC's chips,
188eadff302SIvan T. Ivanov	 which are using SPMI for communication with SoC. Example PMIC's
189eadff302SIvan T. Ivanov	 devices are pm8841, pm8941 and pma8084.
190eadff302SIvan T. Ivanov
191b4c45fe9SBjorn Anderssonconfig PINCTRL_QCOM_SSBI_PMIC
1924afaee3cSStephen Boyd	tristate "Qualcomm SSBI PMIC pin controller driver"
193b4c45fe9SBjorn Andersson	depends on GPIOLIB && OF
194b4c45fe9SBjorn Andersson	select PINMUX
195b4c45fe9SBjorn Andersson	select PINCONF
196b4c45fe9SBjorn Andersson	select GENERIC_PINCONF
197ae436fe8SBrian Masney	select GPIOLIB_IRQCHIP
1989d2b563bSBrian Masney	select IRQ_DOMAIN_HIERARCHY
199b4c45fe9SBjorn Andersson	help
200b4c45fe9SBjorn Andersson	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
201b4c45fe9SBjorn Andersson	 Qualcomm GPIO and MPP blocks found in the Qualcomm PMIC's chips,
202b4c45fe9SBjorn Andersson	 which are using SSBI for communication with SoC. Example PMIC's
203b4c45fe9SBjorn Andersson	 devices are pm8058 and pm8921.
204b4c45fe9SBjorn Andersson
205f2ae04c4SJitendra Sharmaconfig PINCTRL_SC7180
206f2ae04c4SJitendra Sharma	tristate "Qualcomm Technologies Inc SC7180 pin controller driver"
207f2ae04c4SJitendra Sharma	depends on GPIOLIB && OF
208be117ca3SJohn Stultz	depends on PINCTRL_MSM
209f2ae04c4SJitendra Sharma	help
210f2ae04c4SJitendra Sharma	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
211f2ae04c4SJitendra Sharma	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
212f2ae04c4SJitendra Sharma	  Technologies Inc SC7180 platform.
213f2ae04c4SJitendra Sharma
214ecb45459SRajendra Nayakconfig PINCTRL_SC7280
215ecb45459SRajendra Nayak	tristate "Qualcomm Technologies Inc SC7280 pin controller driver"
216ecb45459SRajendra Nayak	depends on GPIOLIB && OF
217ecb45459SRajendra Nayak	depends on PINCTRL_MSM
218ecb45459SRajendra Nayak	help
219ecb45459SRajendra Nayak	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
220ecb45459SRajendra Nayak	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
221ecb45459SRajendra Nayak	  Technologies Inc SC7280 platform.
222ecb45459SRajendra Nayak
22397423113SBjorn Anderssonconfig PINCTRL_SC8180X
22497423113SBjorn Andersson	tristate "Qualcomm Technologies Inc SC8180x pin controller driver"
2256d8d6798SShawn Guo	depends on GPIOLIB && (OF || ACPI)
22697423113SBjorn Andersson	select PINCTRL_MSM
22797423113SBjorn Andersson	help
22897423113SBjorn Andersson	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
22997423113SBjorn Andersson	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
23097423113SBjorn Andersson	  Technologies Inc SC8180x platform.
23197423113SBjorn Andersson
2329cf0c526SNeeraj Upadhyayconfig PINCTRL_SDM660
2339cf0c526SNeeraj Upadhyay	tristate "Qualcomm Technologies Inc SDM660 pin controller driver"
2349cf0c526SNeeraj Upadhyay	depends on GPIOLIB && OF
235be117ca3SJohn Stultz	depends on PINCTRL_MSM
2369cf0c526SNeeraj Upadhyay	help
2379cf0c526SNeeraj Upadhyay	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
2389cf0c526SNeeraj Upadhyay	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
2399cf0c526SNeeraj Upadhyay	 Technologies Inc SDM660 platform.
2409cf0c526SNeeraj Upadhyay
241184f3448SKyle Yanconfig PINCTRL_SDM845
242184f3448SKyle Yan	tristate "Qualcomm Technologies Inc SDM845 pin controller driver"
243a229105dSLee Jones	depends on GPIOLIB && (OF || ACPI)
244be117ca3SJohn Stultz	depends on PINCTRL_MSM
245184f3448SKyle Yan	help
246184f3448SKyle Yan	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
247184f3448SKyle Yan	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
248184f3448SKyle Yan	 Technologies Inc SDM845 platform.
249184f3448SKyle Yan
250ac43c44aSJeevan Shriramconfig PINCTRL_SDX55
251ac43c44aSJeevan Shriram	tristate "Qualcomm Technologies Inc SDX55 pin controller driver"
252ac43c44aSJeevan Shriram	depends on GPIOLIB && OF
25380f1803dSVinod Koul	depends on PINCTRL_MSM
254ac43c44aSJeevan Shriram	help
255ac43c44aSJeevan Shriram	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
256ac43c44aSJeevan Shriram	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
257ac43c44aSJeevan Shriram	 Technologies Inc SDX55 platform.
258ac43c44aSJeevan Shriram
25957218371SPrasad Sodagudiconfig PINCTRL_SM8150
26057218371SPrasad Sodagudi	tristate "Qualcomm Technologies Inc SM8150 pin controller driver"
26157218371SPrasad Sodagudi	depends on GPIOLIB && OF
262be117ca3SJohn Stultz	depends on PINCTRL_MSM
26357218371SPrasad Sodagudi	help
26457218371SPrasad Sodagudi	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
26557218371SPrasad Sodagudi	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
26657218371SPrasad Sodagudi	 Technologies Inc SM8150 platform.
26757218371SPrasad Sodagudi
2684e3ec9e4SVenkata Narendra Kumar Guttaconfig PINCTRL_SM8250
2694e3ec9e4SVenkata Narendra Kumar Gutta	tristate "Qualcomm Technologies Inc SM8250 pin controller driver"
2704e3ec9e4SVenkata Narendra Kumar Gutta	depends on GPIOLIB && OF
271be117ca3SJohn Stultz	depends on PINCTRL_MSM
2724e3ec9e4SVenkata Narendra Kumar Gutta	help
2734e3ec9e4SVenkata Narendra Kumar Gutta	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
2744e3ec9e4SVenkata Narendra Kumar Gutta	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
2754e3ec9e4SVenkata Narendra Kumar Gutta	  Technologies Inc SM8250 platform.
2764e3ec9e4SVenkata Narendra Kumar Gutta
277d5d348a3SVinod Koulconfig PINCTRL_SM8350
278d5d348a3SVinod Koul	tristate "Qualcomm Technologies Inc SM8350 pin controller driver"
279d5d348a3SVinod Koul	depends on GPIOLIB && OF
280d5d348a3SVinod Koul	select PINCTRL_MSM
281d5d348a3SVinod Koul	help
282d5d348a3SVinod Koul	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
283d5d348a3SVinod Koul	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
284d5d348a3SVinod Koul	  Technologies Inc SM8350 platform.
285d5d348a3SVinod Koul
2866e261d10SSrinivas Kandagatlaconfig PINCTRL_LPASS_LPI
2876e261d10SSrinivas Kandagatla	tristate "Qualcomm Technologies Inc LPASS LPI pin controller driver"
2886e261d10SSrinivas Kandagatla	select PINMUX
2896e261d10SSrinivas Kandagatla	select PINCONF
2906e261d10SSrinivas Kandagatla	select GENERIC_PINCONF
2916e261d10SSrinivas Kandagatla	depends on GPIOLIB
2926e261d10SSrinivas Kandagatla	help
2936e261d10SSrinivas Kandagatla	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
2946e261d10SSrinivas Kandagatla	  Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI
2956e261d10SSrinivas Kandagatla	  (Low Power Island) found on the Qualcomm Technologies Inc SoCs.
2966e261d10SSrinivas Kandagatla
29769b78b8dSLinus Walleijendif
298