xref: /openbmc/linux/drivers/pinctrl/qcom/Kconfig (revision ef1ea54e)
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
1069b78b8dSLinus Walleij
1169b78b8dSLinus Walleijconfig PINCTRL_APQ8064
1269b78b8dSLinus Walleij	tristate "Qualcomm APQ8064 pin controller driver"
1369b78b8dSLinus Walleij	depends on GPIOLIB && OF
1469b78b8dSLinus Walleij	select PINCTRL_MSM
1569b78b8dSLinus Walleij	help
1669b78b8dSLinus Walleij	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
1769b78b8dSLinus Walleij	  Qualcomm TLMM block found in the Qualcomm APQ8064 platform.
1869b78b8dSLinus Walleij
19c4f6f9c0SGeorgi Djakovconfig PINCTRL_APQ8084
20c4f6f9c0SGeorgi Djakov	tristate "Qualcomm APQ8084 pin controller driver"
21c4f6f9c0SGeorgi Djakov	depends on GPIOLIB && OF
22c4f6f9c0SGeorgi Djakov	select PINCTRL_MSM
23c4f6f9c0SGeorgi Djakov	help
24c4f6f9c0SGeorgi Djakov	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
25c4f6f9c0SGeorgi Djakov	  Qualcomm TLMM block found in the Qualcomm APQ8084 platform.
26c4f6f9c0SGeorgi Djakov
27e260d2bbSVaradarajan Narayananconfig PINCTRL_IPQ4019
28e260d2bbSVaradarajan Narayanan	tristate "Qualcomm IPQ4019 pin controller driver"
29e260d2bbSVaradarajan Narayanan	depends on GPIOLIB && OF
30e260d2bbSVaradarajan Narayanan	select PINCTRL_MSM
31e260d2bbSVaradarajan Narayanan	help
32e260d2bbSVaradarajan Narayanan	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
33e260d2bbSVaradarajan Narayanan	  Qualcomm TLMM block found in the Qualcomm IPQ4019 platform.
34e260d2bbSVaradarajan Narayanan
3569b78b8dSLinus Walleijconfig PINCTRL_IPQ8064
3669b78b8dSLinus Walleij	tristate "Qualcomm IPQ8064 pin controller driver"
3769b78b8dSLinus Walleij	depends on GPIOLIB && OF
3869b78b8dSLinus Walleij	select PINCTRL_MSM
3969b78b8dSLinus Walleij	help
4069b78b8dSLinus Walleij	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
4169b78b8dSLinus Walleij	  Qualcomm TLMM block found in the Qualcomm IPQ8064 platform.
4269b78b8dSLinus Walleij
43d2a2c808SVaradarajan Narayananconfig PINCTRL_IPQ8074
44d2a2c808SVaradarajan Narayanan	tristate "Qualcomm Technologies, Inc. IPQ8074 pin controller driver"
45d2a2c808SVaradarajan Narayanan	depends on GPIOLIB && OF
46d2a2c808SVaradarajan Narayanan	select PINCTRL_MSM
47d2a2c808SVaradarajan Narayanan	help
48d2a2c808SVaradarajan Narayanan	  This is the pinctrl, pinmux, pinconf and gpiolib driver for
49d2a2c808SVaradarajan Narayanan	  the Qualcomm Technologies Inc. TLMM block found on the
50d2a2c808SVaradarajan Narayanan	  Qualcomm Technologies Inc. IPQ8074 platform. Select this for
51d2a2c808SVaradarajan Narayanan	  IPQ8074.
52d2a2c808SVaradarajan Narayanan
53*ef1ea54eSSricharan Rconfig PINCTRL_IPQ6018
54*ef1ea54eSSricharan R	tristate "Qualcomm Technologies, Inc. IPQ6018 pin controller driver"
55*ef1ea54eSSricharan R	depends on GPIOLIB && OF
56*ef1ea54eSSricharan R	select PINCTRL_MSM
57*ef1ea54eSSricharan R	help
58*ef1ea54eSSricharan R	  This is the pinctrl, pinmux, pinconf and gpiolib driver for
59*ef1ea54eSSricharan R	  the Qualcomm Technologies Inc. TLMM block found on the
60*ef1ea54eSSricharan R	  Qualcomm Technologies Inc. IPQ6018 platform. Select this for
61*ef1ea54eSSricharan R	  IPQ6018.
62*ef1ea54eSSricharan R
636955e6b4SBjorn Anderssonconfig PINCTRL_MSM8660
646955e6b4SBjorn Andersson	tristate "Qualcomm 8660 pin controller driver"
656955e6b4SBjorn Andersson	depends on GPIOLIB && OF
666955e6b4SBjorn Andersson	select PINCTRL_MSM
676955e6b4SBjorn Andersson	help
686955e6b4SBjorn Andersson	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
696955e6b4SBjorn Andersson	  Qualcomm TLMM block found in the Qualcomm 8660 platform.
706955e6b4SBjorn Andersson
7169b78b8dSLinus Walleijconfig PINCTRL_MSM8960
7269b78b8dSLinus Walleij	tristate "Qualcomm 8960 pin controller driver"
7369b78b8dSLinus Walleij	depends on GPIOLIB && OF
7469b78b8dSLinus Walleij	select PINCTRL_MSM
7569b78b8dSLinus Walleij	help
7669b78b8dSLinus Walleij	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
7769b78b8dSLinus Walleij	  Qualcomm TLMM block found in the Qualcomm 8960 platform.
7869b78b8dSLinus Walleij
798b37e88cSNeil Armstrongconfig PINCTRL_MDM9615
808b37e88cSNeil Armstrong	tristate "Qualcomm 9615 pin controller driver"
818b37e88cSNeil Armstrong	depends on GPIOLIB && OF
828b37e88cSNeil Armstrong	select PINCTRL_MSM
838b37e88cSNeil Armstrong	help
848b37e88cSNeil Armstrong	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
858b37e88cSNeil Armstrong	  Qualcomm TLMM block found in the Qualcomm 9615 platform.
868b37e88cSNeil Armstrong
8769b78b8dSLinus Walleijconfig PINCTRL_MSM8X74
8869b78b8dSLinus Walleij	tristate "Qualcomm 8x74 pin controller driver"
8969b78b8dSLinus Walleij	depends on GPIOLIB && OF
9069b78b8dSLinus Walleij	select PINCTRL_MSM
9169b78b8dSLinus Walleij	help
9269b78b8dSLinus Walleij	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
9369b78b8dSLinus Walleij	  Qualcomm TLMM block found in the Qualcomm 8974 platform.
9469b78b8dSLinus Walleij
955373a2c5SJoonwoo Parkconfig PINCTRL_MSM8916
965373a2c5SJoonwoo Park	tristate "Qualcomm 8916 pin controller driver"
975373a2c5SJoonwoo Park	depends on GPIOLIB && OF
985373a2c5SJoonwoo Park	select PINCTRL_MSM
995373a2c5SJoonwoo Park	help
1005373a2c5SJoonwoo Park	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
1015373a2c5SJoonwoo Park	  Qualcomm TLMM block found on the Qualcomm 8916 platform.
1025373a2c5SJoonwoo Park
103bcd11493SAngeloGioacchino Del Regnoconfig PINCTRL_MSM8976
104bcd11493SAngeloGioacchino Del Regno	tristate "Qualcomm 8976 pin controller driver"
105bcd11493SAngeloGioacchino Del Regno	depends on GPIOLIB && OF
106bcd11493SAngeloGioacchino Del Regno	select PINCTRL_MSM
107bcd11493SAngeloGioacchino Del Regno	help
108bcd11493SAngeloGioacchino Del Regno	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
109bcd11493SAngeloGioacchino Del Regno	  Qualcomm TLMM block found on the Qualcomm MSM8976 platform.
110bcd11493SAngeloGioacchino Del Regno	  The Qualcomm MSM8956, APQ8056, APQ8076 platforms are also
111bcd11493SAngeloGioacchino Del Regno	  supported by this driver.
112bcd11493SAngeloGioacchino Del Regno
113465e4218SMichael Scottconfig PINCTRL_MSM8994
114465e4218SMichael Scott	tristate "Qualcomm 8994 pin controller driver"
115465e4218SMichael Scott	depends on GPIOLIB && OF
116465e4218SMichael Scott	select PINCTRL_MSM
117465e4218SMichael Scott	help
118465e4218SMichael Scott	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
119465e4218SMichael Scott	  Qualcomm TLMM block found in the Qualcomm 8994 platform. The
120465e4218SMichael Scott	  Qualcomm 8992 platform is also supported by this driver.
121465e4218SMichael Scott
122d1b49b68SJoonwoo Parkconfig PINCTRL_MSM8996
123d1b49b68SJoonwoo Park	tristate "Qualcomm MSM8996 pin controller driver"
124d1b49b68SJoonwoo Park	depends on GPIOLIB && OF
125d1b49b68SJoonwoo Park	select PINCTRL_MSM
126d1b49b68SJoonwoo Park	help
127d1b49b68SJoonwoo Park	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
128d1b49b68SJoonwoo Park	  Qualcomm TLMM block found in the Qualcomm MSM8996 platform.
129d1b49b68SJoonwoo Park
130a3a093aeSKhan, Imranconfig PINCTRL_MSM8998
131a3a093aeSKhan, Imran	tristate "Qualcomm MSM8998 pin controller driver"
132a3a093aeSKhan, Imran	depends on GPIOLIB && OF
133a3a093aeSKhan, Imran	select PINCTRL_MSM
134a3a093aeSKhan, Imran	help
135a3a093aeSKhan, Imran	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
136a3a093aeSKhan, Imran	  Qualcomm TLMM block found in the Qualcomm MSM8998 platform.
137a3a093aeSKhan, Imran
13822eb8301SAvaneesh Kumar Dwivediconfig PINCTRL_QCS404
13922eb8301SAvaneesh Kumar Dwivedi	tristate "Qualcomm QCS404 pin controller driver"
14022eb8301SAvaneesh Kumar Dwivedi	depends on GPIOLIB && OF
14122eb8301SAvaneesh Kumar Dwivedi	select PINCTRL_MSM
14222eb8301SAvaneesh Kumar Dwivedi	help
14322eb8301SAvaneesh Kumar Dwivedi	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
14422eb8301SAvaneesh Kumar Dwivedi	  TLMM block found in the Qualcomm QCS404 platform.
14522eb8301SAvaneesh Kumar Dwivedi
1468f1338cdSTimur Tabiconfig PINCTRL_QDF2XXX
1478f1338cdSTimur Tabi	tristate "Qualcomm Technologies QDF2xxx pin controller driver"
1488f1338cdSTimur Tabi	depends on GPIOLIB && ACPI
1498f1338cdSTimur Tabi	select PINCTRL_MSM
1508f1338cdSTimur Tabi	help
1518f1338cdSTimur Tabi	  This is the GPIO driver for the TLMM block found on the
1528f1338cdSTimur Tabi	  Qualcomm Technologies QDF2xxx SOCs.
1538f1338cdSTimur Tabi
154eadff302SIvan T. Ivanovconfig PINCTRL_QCOM_SPMI_PMIC
1554afaee3cSStephen Boyd	tristate "Qualcomm SPMI PMIC pin controller driver"
156eadff302SIvan T. Ivanov	depends on GPIOLIB && OF && SPMI
157eadff302SIvan T. Ivanov	select REGMAP_SPMI
158eadff302SIvan T. Ivanov	select PINMUX
159eadff302SIvan T. Ivanov	select PINCONF
160eadff302SIvan T. Ivanov	select GENERIC_PINCONF
161821c76c4SBrian Masney	select GPIOLIB_IRQCHIP
1625c713d93SBrian Masney	select IRQ_DOMAIN_HIERARCHY
163eadff302SIvan T. Ivanov	help
164eadff302SIvan T. Ivanov	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
165eadff302SIvan T. Ivanov	 Qualcomm GPIO and MPP blocks found in the Qualcomm PMIC's chips,
166eadff302SIvan T. Ivanov	 which are using SPMI for communication with SoC. Example PMIC's
167eadff302SIvan T. Ivanov	 devices are pm8841, pm8941 and pma8084.
168eadff302SIvan T. Ivanov
169b4c45fe9SBjorn Anderssonconfig PINCTRL_QCOM_SSBI_PMIC
1704afaee3cSStephen Boyd	tristate "Qualcomm SSBI PMIC pin controller driver"
171b4c45fe9SBjorn Andersson	depends on GPIOLIB && OF
172b4c45fe9SBjorn Andersson	select PINMUX
173b4c45fe9SBjorn Andersson	select PINCONF
174b4c45fe9SBjorn Andersson	select GENERIC_PINCONF
175ae436fe8SBrian Masney	select GPIOLIB_IRQCHIP
1769d2b563bSBrian Masney	select IRQ_DOMAIN_HIERARCHY
177b4c45fe9SBjorn Andersson	help
178b4c45fe9SBjorn Andersson	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
179b4c45fe9SBjorn Andersson	 Qualcomm GPIO and MPP blocks found in the Qualcomm PMIC's chips,
180b4c45fe9SBjorn Andersson	 which are using SSBI for communication with SoC. Example PMIC's
181b4c45fe9SBjorn Andersson	 devices are pm8058 and pm8921.
182b4c45fe9SBjorn Andersson
183f2ae04c4SJitendra Sharmaconfig PINCTRL_SC7180
184f2ae04c4SJitendra Sharma	tristate "Qualcomm Technologies Inc SC7180 pin controller driver"
185f2ae04c4SJitendra Sharma	depends on GPIOLIB && OF
186f2ae04c4SJitendra Sharma	select PINCTRL_MSM
187f2ae04c4SJitendra Sharma	help
188f2ae04c4SJitendra Sharma	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
189f2ae04c4SJitendra Sharma	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
190f2ae04c4SJitendra Sharma	  Technologies Inc SC7180 platform.
191f2ae04c4SJitendra Sharma
1929cf0c526SNeeraj Upadhyayconfig PINCTRL_SDM660
1939cf0c526SNeeraj Upadhyay	tristate "Qualcomm Technologies Inc SDM660 pin controller driver"
1949cf0c526SNeeraj Upadhyay	depends on GPIOLIB && OF
1959cf0c526SNeeraj Upadhyay	select PINCTRL_MSM
1969cf0c526SNeeraj Upadhyay	help
1979cf0c526SNeeraj Upadhyay	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
1989cf0c526SNeeraj Upadhyay	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
1999cf0c526SNeeraj Upadhyay	 Technologies Inc SDM660 platform.
2009cf0c526SNeeraj Upadhyay
201184f3448SKyle Yanconfig PINCTRL_SDM845
202184f3448SKyle Yan	tristate "Qualcomm Technologies Inc SDM845 pin controller driver"
203a229105dSLee Jones	depends on GPIOLIB && (OF || ACPI)
204184f3448SKyle Yan	select PINCTRL_MSM
205184f3448SKyle Yan	help
206184f3448SKyle Yan	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
207184f3448SKyle Yan	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
208184f3448SKyle Yan	 Technologies Inc SDM845 platform.
209184f3448SKyle Yan
21057218371SPrasad Sodagudiconfig PINCTRL_SM8150
21157218371SPrasad Sodagudi	tristate "Qualcomm Technologies Inc SM8150 pin controller driver"
21257218371SPrasad Sodagudi	depends on GPIOLIB && OF
21357218371SPrasad Sodagudi	select PINCTRL_MSM
21457218371SPrasad Sodagudi	help
21557218371SPrasad Sodagudi	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
21657218371SPrasad Sodagudi	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
21757218371SPrasad Sodagudi	 Technologies Inc SM8150 platform.
21857218371SPrasad Sodagudi
21969b78b8dSLinus Walleijendif
220