xref: /openbmc/linux/drivers/pinctrl/qcom/Kconfig (revision db436a71)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
269b78b8dSLinus Walleijif (ARCH_QCOM || COMPILE_TEST)
369b78b8dSLinus Walleij
469b78b8dSLinus Walleijconfig PINCTRL_MSM
569b78b8dSLinus Walleij	bool
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
1669b78b8dSLinus Walleij	select 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
24c4f6f9c0SGeorgi Djakov	select 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
32e260d2bbSVaradarajan Narayanan	select 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
4069b78b8dSLinus Walleij	select 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
48d2a2c808SVaradarajan Narayanan	select 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
58ef1ea54eSSricharan R	select 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
65*db436a71SBartosz Dudziakconfig PINCTRL_MSM8226
66*db436a71SBartosz Dudziak	tristate "Qualcomm 8226 pin controller driver"
67*db436a71SBartosz Dudziak	depends on GPIOLIB && OF
68*db436a71SBartosz Dudziak	select PINCTRL_MSM
69*db436a71SBartosz Dudziak	help
70*db436a71SBartosz Dudziak	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
71*db436a71SBartosz Dudziak	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
72*db436a71SBartosz Dudziak	  Technologies Inc MSM8226 platform.
73*db436a71SBartosz Dudziak
746955e6b4SBjorn Anderssonconfig PINCTRL_MSM8660
756955e6b4SBjorn Andersson	tristate "Qualcomm 8660 pin controller driver"
766955e6b4SBjorn Andersson	depends on GPIOLIB && OF
776955e6b4SBjorn Andersson	select 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
8569b78b8dSLinus Walleij	select 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
938b37e88cSNeil Armstrong	select 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
10169b78b8dSLinus Walleij	select 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
1095373a2c5SJoonwoo Park	select 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
114bcd11493SAngeloGioacchino Del Regnoconfig PINCTRL_MSM8976
115bcd11493SAngeloGioacchino Del Regno	tristate "Qualcomm 8976 pin controller driver"
116bcd11493SAngeloGioacchino Del Regno	depends on GPIOLIB && OF
117bcd11493SAngeloGioacchino Del Regno	select PINCTRL_MSM
118bcd11493SAngeloGioacchino Del Regno	help
119bcd11493SAngeloGioacchino Del Regno	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
120bcd11493SAngeloGioacchino Del Regno	  Qualcomm TLMM block found on the Qualcomm MSM8976 platform.
121bcd11493SAngeloGioacchino Del Regno	  The Qualcomm MSM8956, APQ8056, APQ8076 platforms are also
122bcd11493SAngeloGioacchino Del Regno	  supported by this driver.
123bcd11493SAngeloGioacchino Del Regno
124465e4218SMichael Scottconfig PINCTRL_MSM8994
125465e4218SMichael Scott	tristate "Qualcomm 8994 pin controller driver"
126465e4218SMichael Scott	depends on GPIOLIB && OF
127465e4218SMichael Scott	select PINCTRL_MSM
128465e4218SMichael Scott	help
129465e4218SMichael Scott	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
130465e4218SMichael Scott	  Qualcomm TLMM block found in the Qualcomm 8994 platform. The
131465e4218SMichael Scott	  Qualcomm 8992 platform is also supported by this driver.
132465e4218SMichael Scott
133d1b49b68SJoonwoo Parkconfig PINCTRL_MSM8996
134d1b49b68SJoonwoo Park	tristate "Qualcomm MSM8996 pin controller driver"
135d1b49b68SJoonwoo Park	depends on GPIOLIB && OF
136d1b49b68SJoonwoo Park	select PINCTRL_MSM
137d1b49b68SJoonwoo Park	help
138d1b49b68SJoonwoo Park	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
139d1b49b68SJoonwoo Park	  Qualcomm TLMM block found in the Qualcomm MSM8996 platform.
140d1b49b68SJoonwoo Park
141a3a093aeSKhan, Imranconfig PINCTRL_MSM8998
142a3a093aeSKhan, Imran	tristate "Qualcomm MSM8998 pin controller driver"
143a3a093aeSKhan, Imran	depends on GPIOLIB && OF
144a3a093aeSKhan, Imran	select PINCTRL_MSM
145a3a093aeSKhan, Imran	help
146a3a093aeSKhan, Imran	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
147a3a093aeSKhan, Imran	  Qualcomm TLMM block found in the Qualcomm MSM8998 platform.
148a3a093aeSKhan, Imran
14922eb8301SAvaneesh Kumar Dwivediconfig PINCTRL_QCS404
15022eb8301SAvaneesh Kumar Dwivedi	tristate "Qualcomm QCS404 pin controller driver"
15122eb8301SAvaneesh Kumar Dwivedi	depends on GPIOLIB && OF
15222eb8301SAvaneesh Kumar Dwivedi	select PINCTRL_MSM
15322eb8301SAvaneesh Kumar Dwivedi	help
15422eb8301SAvaneesh Kumar Dwivedi	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
15522eb8301SAvaneesh Kumar Dwivedi	  TLMM block found in the Qualcomm QCS404 platform.
15622eb8301SAvaneesh Kumar Dwivedi
1578f1338cdSTimur Tabiconfig PINCTRL_QDF2XXX
1588f1338cdSTimur Tabi	tristate "Qualcomm Technologies QDF2xxx pin controller driver"
1598f1338cdSTimur Tabi	depends on GPIOLIB && ACPI
1608f1338cdSTimur Tabi	select PINCTRL_MSM
1618f1338cdSTimur Tabi	help
1628f1338cdSTimur Tabi	  This is the GPIO driver for the TLMM block found on the
1638f1338cdSTimur Tabi	  Qualcomm Technologies QDF2xxx SOCs.
1648f1338cdSTimur Tabi
165eadff302SIvan T. Ivanovconfig PINCTRL_QCOM_SPMI_PMIC
1664afaee3cSStephen Boyd	tristate "Qualcomm SPMI PMIC pin controller driver"
167eadff302SIvan T. Ivanov	depends on GPIOLIB && OF && SPMI
168eadff302SIvan T. Ivanov	select REGMAP_SPMI
169eadff302SIvan T. Ivanov	select PINMUX
170eadff302SIvan T. Ivanov	select PINCONF
171eadff302SIvan T. Ivanov	select GENERIC_PINCONF
172821c76c4SBrian Masney	select GPIOLIB_IRQCHIP
1735c713d93SBrian Masney	select IRQ_DOMAIN_HIERARCHY
174eadff302SIvan T. Ivanov	help
175eadff302SIvan T. Ivanov	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
176eadff302SIvan T. Ivanov	 Qualcomm GPIO and MPP blocks found in the Qualcomm PMIC's chips,
177eadff302SIvan T. Ivanov	 which are using SPMI for communication with SoC. Example PMIC's
178eadff302SIvan T. Ivanov	 devices are pm8841, pm8941 and pma8084.
179eadff302SIvan T. Ivanov
180b4c45fe9SBjorn Anderssonconfig PINCTRL_QCOM_SSBI_PMIC
1814afaee3cSStephen Boyd	tristate "Qualcomm SSBI PMIC pin controller driver"
182b4c45fe9SBjorn Andersson	depends on GPIOLIB && OF
183b4c45fe9SBjorn Andersson	select PINMUX
184b4c45fe9SBjorn Andersson	select PINCONF
185b4c45fe9SBjorn Andersson	select GENERIC_PINCONF
186ae436fe8SBrian Masney	select GPIOLIB_IRQCHIP
1879d2b563bSBrian Masney	select IRQ_DOMAIN_HIERARCHY
188b4c45fe9SBjorn Andersson	help
189b4c45fe9SBjorn Andersson	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
190b4c45fe9SBjorn Andersson	 Qualcomm GPIO and MPP blocks found in the Qualcomm PMIC's chips,
191b4c45fe9SBjorn Andersson	 which are using SSBI for communication with SoC. Example PMIC's
192b4c45fe9SBjorn Andersson	 devices are pm8058 and pm8921.
193b4c45fe9SBjorn Andersson
194f2ae04c4SJitendra Sharmaconfig PINCTRL_SC7180
195f2ae04c4SJitendra Sharma	tristate "Qualcomm Technologies Inc SC7180 pin controller driver"
196f2ae04c4SJitendra Sharma	depends on GPIOLIB && OF
197f2ae04c4SJitendra Sharma	select PINCTRL_MSM
198f2ae04c4SJitendra Sharma	help
199f2ae04c4SJitendra Sharma	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
200f2ae04c4SJitendra Sharma	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
201f2ae04c4SJitendra Sharma	  Technologies Inc SC7180 platform.
202f2ae04c4SJitendra Sharma
2039cf0c526SNeeraj Upadhyayconfig PINCTRL_SDM660
2049cf0c526SNeeraj Upadhyay	tristate "Qualcomm Technologies Inc SDM660 pin controller driver"
2059cf0c526SNeeraj Upadhyay	depends on GPIOLIB && OF
2069cf0c526SNeeraj Upadhyay	select PINCTRL_MSM
2079cf0c526SNeeraj Upadhyay	help
2089cf0c526SNeeraj Upadhyay	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
2099cf0c526SNeeraj Upadhyay	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
2109cf0c526SNeeraj Upadhyay	 Technologies Inc SDM660 platform.
2119cf0c526SNeeraj Upadhyay
212184f3448SKyle Yanconfig PINCTRL_SDM845
213184f3448SKyle Yan	tristate "Qualcomm Technologies Inc SDM845 pin controller driver"
214a229105dSLee Jones	depends on GPIOLIB && (OF || ACPI)
215184f3448SKyle Yan	select PINCTRL_MSM
216184f3448SKyle Yan	help
217184f3448SKyle Yan	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
218184f3448SKyle Yan	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
219184f3448SKyle Yan	 Technologies Inc SDM845 platform.
220184f3448SKyle Yan
22157218371SPrasad Sodagudiconfig PINCTRL_SM8150
22257218371SPrasad Sodagudi	tristate "Qualcomm Technologies Inc SM8150 pin controller driver"
22357218371SPrasad Sodagudi	depends on GPIOLIB && OF
22457218371SPrasad Sodagudi	select PINCTRL_MSM
22557218371SPrasad Sodagudi	help
22657218371SPrasad Sodagudi	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
22757218371SPrasad Sodagudi	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
22857218371SPrasad Sodagudi	 Technologies Inc SM8150 platform.
22957218371SPrasad Sodagudi
2304e3ec9e4SVenkata Narendra Kumar Guttaconfig PINCTRL_SM8250
2314e3ec9e4SVenkata Narendra Kumar Gutta	tristate "Qualcomm Technologies Inc SM8250 pin controller driver"
2324e3ec9e4SVenkata Narendra Kumar Gutta	depends on GPIOLIB && OF
2334e3ec9e4SVenkata Narendra Kumar Gutta	select PINCTRL_MSM
2344e3ec9e4SVenkata Narendra Kumar Gutta	help
2354e3ec9e4SVenkata Narendra Kumar Gutta	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
2364e3ec9e4SVenkata Narendra Kumar Gutta	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
2374e3ec9e4SVenkata Narendra Kumar Gutta	  Technologies Inc SM8250 platform.
2384e3ec9e4SVenkata Narendra Kumar Gutta
23969b78b8dSLinus Walleijendif
240