xref: /openbmc/linux/drivers/pinctrl/qcom/Kconfig (revision be117ca3)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
269b78b8dSLinus Walleijif (ARCH_QCOM || COMPILE_TEST)
369b78b8dSLinus Walleij
469b78b8dSLinus Walleijconfig PINCTRL_MSM
5*be117ca3SJohn Stultz	bool "Qualcomm core pin controller driver"
669b78b8dSLinus Walleij	select PINMUX
769b78b8dSLinus Walleij	select PINCONF
869b78b8dSLinus Walleij	select GENERIC_PINCONF
969b78b8dSLinus Walleij	select GPIOLIB_IRQCHIP
10c3c0c2e1SDouglas Anderson	select IRQ_DOMAIN_HIERARCHY
11c3c0c2e1SDouglas Anderson	select IRQ_FASTEOI_HIERARCHY_HANDLERS
1269b78b8dSLinus Walleij
1369b78b8dSLinus Walleijconfig PINCTRL_APQ8064
1469b78b8dSLinus Walleij	tristate "Qualcomm APQ8064 pin controller driver"
1569b78b8dSLinus Walleij	depends on GPIOLIB && OF
16*be117ca3SJohn Stultz	depends on PINCTRL_MSM
1769b78b8dSLinus Walleij	help
1869b78b8dSLinus Walleij	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
1969b78b8dSLinus Walleij	  Qualcomm TLMM block found in the Qualcomm APQ8064 platform.
2069b78b8dSLinus Walleij
21c4f6f9c0SGeorgi Djakovconfig PINCTRL_APQ8084
22c4f6f9c0SGeorgi Djakov	tristate "Qualcomm APQ8084 pin controller driver"
23c4f6f9c0SGeorgi Djakov	depends on GPIOLIB && OF
24*be117ca3SJohn Stultz	depends on PINCTRL_MSM
25c4f6f9c0SGeorgi Djakov	help
26c4f6f9c0SGeorgi Djakov	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
27c4f6f9c0SGeorgi Djakov	  Qualcomm TLMM block found in the Qualcomm APQ8084 platform.
28c4f6f9c0SGeorgi Djakov
29e260d2bbSVaradarajan Narayananconfig PINCTRL_IPQ4019
30e260d2bbSVaradarajan Narayanan	tristate "Qualcomm IPQ4019 pin controller driver"
31e260d2bbSVaradarajan Narayanan	depends on GPIOLIB && OF
32*be117ca3SJohn Stultz	depends on PINCTRL_MSM
33e260d2bbSVaradarajan Narayanan	help
34e260d2bbSVaradarajan Narayanan	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
35e260d2bbSVaradarajan Narayanan	  Qualcomm TLMM block found in the Qualcomm IPQ4019 platform.
36e260d2bbSVaradarajan Narayanan
3769b78b8dSLinus Walleijconfig PINCTRL_IPQ8064
3869b78b8dSLinus Walleij	tristate "Qualcomm IPQ8064 pin controller driver"
3969b78b8dSLinus Walleij	depends on GPIOLIB && OF
40*be117ca3SJohn Stultz	depends on PINCTRL_MSM
4169b78b8dSLinus Walleij	help
4269b78b8dSLinus Walleij	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
4369b78b8dSLinus Walleij	  Qualcomm TLMM block found in the Qualcomm IPQ8064 platform.
4469b78b8dSLinus Walleij
45d2a2c808SVaradarajan Narayananconfig PINCTRL_IPQ8074
46d2a2c808SVaradarajan Narayanan	tristate "Qualcomm Technologies, Inc. IPQ8074 pin controller driver"
47d2a2c808SVaradarajan Narayanan	depends on GPIOLIB && OF
48*be117ca3SJohn Stultz	depends on PINCTRL_MSM
49d2a2c808SVaradarajan Narayanan	help
50d2a2c808SVaradarajan Narayanan	  This is the pinctrl, pinmux, pinconf and gpiolib driver for
51d2a2c808SVaradarajan Narayanan	  the Qualcomm Technologies Inc. TLMM block found on the
52d2a2c808SVaradarajan Narayanan	  Qualcomm Technologies Inc. IPQ8074 platform. Select this for
53d2a2c808SVaradarajan Narayanan	  IPQ8074.
54d2a2c808SVaradarajan Narayanan
55ef1ea54eSSricharan Rconfig PINCTRL_IPQ6018
56ef1ea54eSSricharan R	tristate "Qualcomm Technologies, Inc. IPQ6018 pin controller driver"
57ef1ea54eSSricharan R	depends on GPIOLIB && OF
58*be117ca3SJohn Stultz	depends on PINCTRL_MSM
59ef1ea54eSSricharan R	help
60ef1ea54eSSricharan R	  This is the pinctrl, pinmux, pinconf and gpiolib driver for
61ef1ea54eSSricharan R	  the Qualcomm Technologies Inc. TLMM block found on the
62ef1ea54eSSricharan R	  Qualcomm Technologies Inc. IPQ6018 platform. Select this for
63ef1ea54eSSricharan R	  IPQ6018.
64ef1ea54eSSricharan R
65db436a71SBartosz Dudziakconfig PINCTRL_MSM8226
66db436a71SBartosz Dudziak	tristate "Qualcomm 8226 pin controller driver"
67db436a71SBartosz Dudziak	depends on GPIOLIB && OF
68*be117ca3SJohn Stultz	depends on PINCTRL_MSM
69db436a71SBartosz Dudziak	help
70db436a71SBartosz Dudziak	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
71db436a71SBartosz Dudziak	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
72db436a71SBartosz Dudziak	  Technologies Inc MSM8226 platform.
73db436a71SBartosz Dudziak
746955e6b4SBjorn Anderssonconfig PINCTRL_MSM8660
756955e6b4SBjorn Andersson	tristate "Qualcomm 8660 pin controller driver"
766955e6b4SBjorn Andersson	depends on GPIOLIB && OF
77*be117ca3SJohn Stultz	depends on PINCTRL_MSM
786955e6b4SBjorn Andersson	help
796955e6b4SBjorn Andersson	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
806955e6b4SBjorn Andersson	  Qualcomm TLMM block found in the Qualcomm 8660 platform.
816955e6b4SBjorn Andersson
8269b78b8dSLinus Walleijconfig PINCTRL_MSM8960
8369b78b8dSLinus Walleij	tristate "Qualcomm 8960 pin controller driver"
8469b78b8dSLinus Walleij	depends on GPIOLIB && OF
85*be117ca3SJohn Stultz	depends on PINCTRL_MSM
8669b78b8dSLinus Walleij	help
8769b78b8dSLinus Walleij	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
8869b78b8dSLinus Walleij	  Qualcomm TLMM block found in the Qualcomm 8960 platform.
8969b78b8dSLinus Walleij
908b37e88cSNeil Armstrongconfig PINCTRL_MDM9615
918b37e88cSNeil Armstrong	tristate "Qualcomm 9615 pin controller driver"
928b37e88cSNeil Armstrong	depends on GPIOLIB && OF
93*be117ca3SJohn Stultz	depends on PINCTRL_MSM
948b37e88cSNeil Armstrong	help
958b37e88cSNeil Armstrong	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
968b37e88cSNeil Armstrong	  Qualcomm TLMM block found in the Qualcomm 9615 platform.
978b37e88cSNeil Armstrong
9869b78b8dSLinus Walleijconfig PINCTRL_MSM8X74
9969b78b8dSLinus Walleij	tristate "Qualcomm 8x74 pin controller driver"
10069b78b8dSLinus Walleij	depends on GPIOLIB && OF
101*be117ca3SJohn Stultz	depends on PINCTRL_MSM
10269b78b8dSLinus Walleij	help
10369b78b8dSLinus Walleij	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
10469b78b8dSLinus Walleij	  Qualcomm TLMM block found in the Qualcomm 8974 platform.
10569b78b8dSLinus Walleij
1065373a2c5SJoonwoo Parkconfig PINCTRL_MSM8916
1075373a2c5SJoonwoo Park	tristate "Qualcomm 8916 pin controller driver"
1085373a2c5SJoonwoo Park	depends on GPIOLIB && OF
109*be117ca3SJohn Stultz	depends on PINCTRL_MSM
1105373a2c5SJoonwoo Park	help
1115373a2c5SJoonwoo Park	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
1125373a2c5SJoonwoo Park	  Qualcomm TLMM block found on the Qualcomm 8916 platform.
1135373a2c5SJoonwoo Park
1140e74abf3SVladimir Lypakconfig PINCTRL_MSM8953
1150e74abf3SVladimir Lypak	tristate "Qualcomm 8953 pin controller driver"
1160e74abf3SVladimir Lypak	depends on GPIOLIB && OF
1170e74abf3SVladimir Lypak	select PINCTRL_MSM
1180e74abf3SVladimir Lypak	help
1190e74abf3SVladimir Lypak	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
1200e74abf3SVladimir Lypak	  Qualcomm TLMM block found on the Qualcomm MSM8953 platform.
1210e74abf3SVladimir Lypak	  The Qualcomm APQ8053, SDM450, SDM632 platforms are also
1220e74abf3SVladimir Lypak	  supported by this driver.
1230e74abf3SVladimir Lypak
124bcd11493SAngeloGioacchino Del Regnoconfig PINCTRL_MSM8976
125bcd11493SAngeloGioacchino Del Regno	tristate "Qualcomm 8976 pin controller driver"
126bcd11493SAngeloGioacchino Del Regno	depends on GPIOLIB && OF
127*be117ca3SJohn Stultz	depends on PINCTRL_MSM
128bcd11493SAngeloGioacchino Del Regno	help
129bcd11493SAngeloGioacchino Del Regno	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
130bcd11493SAngeloGioacchino Del Regno	  Qualcomm TLMM block found on the Qualcomm MSM8976 platform.
131bcd11493SAngeloGioacchino Del Regno	  The Qualcomm MSM8956, APQ8056, APQ8076 platforms are also
132bcd11493SAngeloGioacchino Del Regno	  supported by this driver.
133bcd11493SAngeloGioacchino Del Regno
134465e4218SMichael Scottconfig PINCTRL_MSM8994
135465e4218SMichael Scott	tristate "Qualcomm 8994 pin controller driver"
136465e4218SMichael Scott	depends on GPIOLIB && OF
137*be117ca3SJohn Stultz	depends on PINCTRL_MSM
138465e4218SMichael Scott	help
139465e4218SMichael Scott	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
140465e4218SMichael Scott	  Qualcomm TLMM block found in the Qualcomm 8994 platform. The
141465e4218SMichael Scott	  Qualcomm 8992 platform is also supported by this driver.
142465e4218SMichael Scott
143d1b49b68SJoonwoo Parkconfig PINCTRL_MSM8996
144d1b49b68SJoonwoo Park	tristate "Qualcomm MSM8996 pin controller driver"
145d1b49b68SJoonwoo Park	depends on GPIOLIB && OF
146*be117ca3SJohn Stultz	depends on PINCTRL_MSM
147d1b49b68SJoonwoo Park	help
148d1b49b68SJoonwoo Park	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
149d1b49b68SJoonwoo Park	  Qualcomm TLMM block found in the Qualcomm MSM8996 platform.
150d1b49b68SJoonwoo Park
151a3a093aeSKhan, Imranconfig PINCTRL_MSM8998
152a3a093aeSKhan, Imran	tristate "Qualcomm MSM8998 pin controller driver"
153a3a093aeSKhan, Imran	depends on GPIOLIB && OF
154*be117ca3SJohn Stultz	depends on PINCTRL_MSM
155a3a093aeSKhan, Imran	help
156a3a093aeSKhan, Imran	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
157a3a093aeSKhan, Imran	  Qualcomm TLMM block found in the Qualcomm MSM8998 platform.
158a3a093aeSKhan, Imran
15922eb8301SAvaneesh Kumar Dwivediconfig PINCTRL_QCS404
16022eb8301SAvaneesh Kumar Dwivedi	tristate "Qualcomm QCS404 pin controller driver"
16122eb8301SAvaneesh Kumar Dwivedi	depends on GPIOLIB && OF
162*be117ca3SJohn Stultz	depends on PINCTRL_MSM
16322eb8301SAvaneesh Kumar Dwivedi	help
16422eb8301SAvaneesh Kumar Dwivedi	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
16522eb8301SAvaneesh Kumar Dwivedi	  TLMM block found in the Qualcomm QCS404 platform.
16622eb8301SAvaneesh Kumar Dwivedi
1678f1338cdSTimur Tabiconfig PINCTRL_QDF2XXX
1688f1338cdSTimur Tabi	tristate "Qualcomm Technologies QDF2xxx pin controller driver"
1698f1338cdSTimur Tabi	depends on GPIOLIB && ACPI
170*be117ca3SJohn Stultz	depends on PINCTRL_MSM
1718f1338cdSTimur Tabi	help
1728f1338cdSTimur Tabi	  This is the GPIO driver for the TLMM block found on the
1738f1338cdSTimur Tabi	  Qualcomm Technologies QDF2xxx SOCs.
1748f1338cdSTimur Tabi
175eadff302SIvan T. Ivanovconfig PINCTRL_QCOM_SPMI_PMIC
1764afaee3cSStephen Boyd	tristate "Qualcomm SPMI PMIC pin controller driver"
177eadff302SIvan T. Ivanov	depends on GPIOLIB && OF && SPMI
178eadff302SIvan T. Ivanov	select REGMAP_SPMI
179eadff302SIvan T. Ivanov	select PINMUX
180eadff302SIvan T. Ivanov	select PINCONF
181eadff302SIvan T. Ivanov	select GENERIC_PINCONF
182821c76c4SBrian Masney	select GPIOLIB_IRQCHIP
1835c713d93SBrian Masney	select IRQ_DOMAIN_HIERARCHY
184eadff302SIvan T. Ivanov	help
185eadff302SIvan T. Ivanov	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
186eadff302SIvan T. Ivanov	 Qualcomm GPIO and MPP blocks found in the Qualcomm PMIC's chips,
187eadff302SIvan T. Ivanov	 which are using SPMI for communication with SoC. Example PMIC's
188eadff302SIvan T. Ivanov	 devices are pm8841, pm8941 and pma8084.
189eadff302SIvan T. Ivanov
190b4c45fe9SBjorn Anderssonconfig PINCTRL_QCOM_SSBI_PMIC
1914afaee3cSStephen Boyd	tristate "Qualcomm SSBI PMIC pin controller driver"
192b4c45fe9SBjorn Andersson	depends on GPIOLIB && OF
193b4c45fe9SBjorn Andersson	select PINMUX
194b4c45fe9SBjorn Andersson	select PINCONF
195b4c45fe9SBjorn Andersson	select GENERIC_PINCONF
196ae436fe8SBrian Masney	select GPIOLIB_IRQCHIP
1979d2b563bSBrian Masney	select IRQ_DOMAIN_HIERARCHY
198b4c45fe9SBjorn Andersson	help
199b4c45fe9SBjorn Andersson	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
200b4c45fe9SBjorn Andersson	 Qualcomm GPIO and MPP blocks found in the Qualcomm PMIC's chips,
201b4c45fe9SBjorn Andersson	 which are using SSBI for communication with SoC. Example PMIC's
202b4c45fe9SBjorn Andersson	 devices are pm8058 and pm8921.
203b4c45fe9SBjorn Andersson
204f2ae04c4SJitendra Sharmaconfig PINCTRL_SC7180
205f2ae04c4SJitendra Sharma	tristate "Qualcomm Technologies Inc SC7180 pin controller driver"
206f2ae04c4SJitendra Sharma	depends on GPIOLIB && OF
207*be117ca3SJohn Stultz	depends on PINCTRL_MSM
208f2ae04c4SJitendra Sharma	help
209f2ae04c4SJitendra Sharma	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
210f2ae04c4SJitendra Sharma	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
211f2ae04c4SJitendra Sharma	  Technologies Inc SC7180 platform.
212f2ae04c4SJitendra Sharma
2139cf0c526SNeeraj Upadhyayconfig PINCTRL_SDM660
2149cf0c526SNeeraj Upadhyay	tristate "Qualcomm Technologies Inc SDM660 pin controller driver"
2159cf0c526SNeeraj Upadhyay	depends on GPIOLIB && OF
216*be117ca3SJohn Stultz	depends on PINCTRL_MSM
2179cf0c526SNeeraj Upadhyay	help
2189cf0c526SNeeraj Upadhyay	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
2199cf0c526SNeeraj Upadhyay	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
2209cf0c526SNeeraj Upadhyay	 Technologies Inc SDM660 platform.
2219cf0c526SNeeraj Upadhyay
222184f3448SKyle Yanconfig PINCTRL_SDM845
223184f3448SKyle Yan	tristate "Qualcomm Technologies Inc SDM845 pin controller driver"
224a229105dSLee Jones	depends on GPIOLIB && (OF || ACPI)
225*be117ca3SJohn Stultz	depends on PINCTRL_MSM
226184f3448SKyle Yan	help
227184f3448SKyle Yan	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
228184f3448SKyle Yan	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
229184f3448SKyle Yan	 Technologies Inc SDM845 platform.
230184f3448SKyle Yan
23157218371SPrasad Sodagudiconfig PINCTRL_SM8150
23257218371SPrasad Sodagudi	tristate "Qualcomm Technologies Inc SM8150 pin controller driver"
23357218371SPrasad Sodagudi	depends on GPIOLIB && OF
234*be117ca3SJohn Stultz	depends on PINCTRL_MSM
23557218371SPrasad Sodagudi	help
23657218371SPrasad Sodagudi	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
23757218371SPrasad Sodagudi	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
23857218371SPrasad Sodagudi	 Technologies Inc SM8150 platform.
23957218371SPrasad Sodagudi
2404e3ec9e4SVenkata Narendra Kumar Guttaconfig PINCTRL_SM8250
2414e3ec9e4SVenkata Narendra Kumar Gutta	tristate "Qualcomm Technologies Inc SM8250 pin controller driver"
2424e3ec9e4SVenkata Narendra Kumar Gutta	depends on GPIOLIB && OF
243*be117ca3SJohn Stultz	depends on PINCTRL_MSM
2444e3ec9e4SVenkata Narendra Kumar Gutta	help
2454e3ec9e4SVenkata Narendra Kumar Gutta	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
2464e3ec9e4SVenkata Narendra Kumar Gutta	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
2474e3ec9e4SVenkata Narendra Kumar Gutta	  Technologies Inc SM8250 platform.
2484e3ec9e4SVenkata Narendra Kumar Gutta
24969b78b8dSLinus Walleijendif
250