xref: /linux/drivers/pinctrl/qcom/Kconfig (revision 2a984219b53422261cd90feb8a1bb5c1583be3fb)
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"
638e86f5cSJohn Stultz	depends on 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
118*2a984219SJohn 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
2149cf0c526SNeeraj Upadhyayconfig PINCTRL_SDM660
2159cf0c526SNeeraj Upadhyay	tristate "Qualcomm Technologies Inc SDM660 pin controller driver"
2169cf0c526SNeeraj Upadhyay	depends on GPIOLIB && OF
217be117ca3SJohn Stultz	depends on PINCTRL_MSM
2189cf0c526SNeeraj Upadhyay	help
2199cf0c526SNeeraj Upadhyay	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
2209cf0c526SNeeraj Upadhyay	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
2219cf0c526SNeeraj Upadhyay	 Technologies Inc SDM660 platform.
2229cf0c526SNeeraj Upadhyay
223184f3448SKyle Yanconfig PINCTRL_SDM845
224184f3448SKyle Yan	tristate "Qualcomm Technologies Inc SDM845 pin controller driver"
225a229105dSLee Jones	depends on GPIOLIB && (OF || ACPI)
226be117ca3SJohn Stultz	depends on PINCTRL_MSM
227184f3448SKyle Yan	help
228184f3448SKyle Yan	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
229184f3448SKyle Yan	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
230184f3448SKyle Yan	 Technologies Inc SDM845 platform.
231184f3448SKyle Yan
232ac43c44aSJeevan Shriramconfig PINCTRL_SDX55
233ac43c44aSJeevan Shriram	tristate "Qualcomm Technologies Inc SDX55 pin controller driver"
234ac43c44aSJeevan Shriram	depends on GPIOLIB && OF
23580f1803dSVinod Koul	depends on PINCTRL_MSM
236ac43c44aSJeevan Shriram	help
237ac43c44aSJeevan Shriram	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
238ac43c44aSJeevan Shriram	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
239ac43c44aSJeevan Shriram	 Technologies Inc SDX55 platform.
240ac43c44aSJeevan Shriram
24157218371SPrasad Sodagudiconfig PINCTRL_SM8150
24257218371SPrasad Sodagudi	tristate "Qualcomm Technologies Inc SM8150 pin controller driver"
24357218371SPrasad Sodagudi	depends on GPIOLIB && OF
244be117ca3SJohn Stultz	depends on PINCTRL_MSM
24557218371SPrasad Sodagudi	help
24657218371SPrasad Sodagudi	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
24757218371SPrasad Sodagudi	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
24857218371SPrasad Sodagudi	 Technologies Inc SM8150 platform.
24957218371SPrasad Sodagudi
2504e3ec9e4SVenkata Narendra Kumar Guttaconfig PINCTRL_SM8250
2514e3ec9e4SVenkata Narendra Kumar Gutta	tristate "Qualcomm Technologies Inc SM8250 pin controller driver"
2524e3ec9e4SVenkata Narendra Kumar Gutta	depends on GPIOLIB && OF
253be117ca3SJohn Stultz	depends on PINCTRL_MSM
2544e3ec9e4SVenkata Narendra Kumar Gutta	help
2554e3ec9e4SVenkata Narendra Kumar Gutta	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
2564e3ec9e4SVenkata Narendra Kumar Gutta	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
2574e3ec9e4SVenkata Narendra Kumar Gutta	  Technologies Inc SM8250 platform.
2584e3ec9e4SVenkata Narendra Kumar Gutta
25969b78b8dSLinus Walleijendif
260