xref: /openbmc/linux/drivers/pinctrl/qcom/Kconfig (revision bcd11493)
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
536955e6b4SBjorn Anderssonconfig PINCTRL_MSM8660
546955e6b4SBjorn Andersson	tristate "Qualcomm 8660 pin controller driver"
556955e6b4SBjorn Andersson	depends on GPIOLIB && OF
566955e6b4SBjorn Andersson	select PINCTRL_MSM
576955e6b4SBjorn Andersson	help
586955e6b4SBjorn Andersson	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
596955e6b4SBjorn Andersson	  Qualcomm TLMM block found in the Qualcomm 8660 platform.
606955e6b4SBjorn Andersson
6169b78b8dSLinus Walleijconfig PINCTRL_MSM8960
6269b78b8dSLinus Walleij	tristate "Qualcomm 8960 pin controller driver"
6369b78b8dSLinus Walleij	depends on GPIOLIB && OF
6469b78b8dSLinus Walleij	select PINCTRL_MSM
6569b78b8dSLinus Walleij	help
6669b78b8dSLinus Walleij	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
6769b78b8dSLinus Walleij	  Qualcomm TLMM block found in the Qualcomm 8960 platform.
6869b78b8dSLinus Walleij
698b37e88cSNeil Armstrongconfig PINCTRL_MDM9615
708b37e88cSNeil Armstrong	tristate "Qualcomm 9615 pin controller driver"
718b37e88cSNeil Armstrong	depends on GPIOLIB && OF
728b37e88cSNeil Armstrong	select PINCTRL_MSM
738b37e88cSNeil Armstrong	help
748b37e88cSNeil Armstrong	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
758b37e88cSNeil Armstrong	  Qualcomm TLMM block found in the Qualcomm 9615 platform.
768b37e88cSNeil Armstrong
7769b78b8dSLinus Walleijconfig PINCTRL_MSM8X74
7869b78b8dSLinus Walleij	tristate "Qualcomm 8x74 pin controller driver"
7969b78b8dSLinus Walleij	depends on GPIOLIB && OF
8069b78b8dSLinus Walleij	select PINCTRL_MSM
8169b78b8dSLinus Walleij	help
8269b78b8dSLinus Walleij	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
8369b78b8dSLinus Walleij	  Qualcomm TLMM block found in the Qualcomm 8974 platform.
8469b78b8dSLinus Walleij
855373a2c5SJoonwoo Parkconfig PINCTRL_MSM8916
865373a2c5SJoonwoo Park	tristate "Qualcomm 8916 pin controller driver"
875373a2c5SJoonwoo Park	depends on GPIOLIB && OF
885373a2c5SJoonwoo Park	select PINCTRL_MSM
895373a2c5SJoonwoo Park	help
905373a2c5SJoonwoo Park	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
915373a2c5SJoonwoo Park	  Qualcomm TLMM block found on the Qualcomm 8916 platform.
925373a2c5SJoonwoo Park
93*bcd11493SAngeloGioacchino Del Regnoconfig PINCTRL_MSM8976
94*bcd11493SAngeloGioacchino Del Regno	tristate "Qualcomm 8976 pin controller driver"
95*bcd11493SAngeloGioacchino Del Regno	depends on GPIOLIB && OF
96*bcd11493SAngeloGioacchino Del Regno	select PINCTRL_MSM
97*bcd11493SAngeloGioacchino Del Regno	help
98*bcd11493SAngeloGioacchino Del Regno	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
99*bcd11493SAngeloGioacchino Del Regno	  Qualcomm TLMM block found on the Qualcomm MSM8976 platform.
100*bcd11493SAngeloGioacchino Del Regno	  The Qualcomm MSM8956, APQ8056, APQ8076 platforms are also
101*bcd11493SAngeloGioacchino Del Regno	  supported by this driver.
102*bcd11493SAngeloGioacchino Del Regno
103465e4218SMichael Scottconfig PINCTRL_MSM8994
104465e4218SMichael Scott	tristate "Qualcomm 8994 pin controller driver"
105465e4218SMichael Scott	depends on GPIOLIB && OF
106465e4218SMichael Scott	select PINCTRL_MSM
107465e4218SMichael Scott	help
108465e4218SMichael Scott	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
109465e4218SMichael Scott	  Qualcomm TLMM block found in the Qualcomm 8994 platform. The
110465e4218SMichael Scott	  Qualcomm 8992 platform is also supported by this driver.
111465e4218SMichael Scott
112d1b49b68SJoonwoo Parkconfig PINCTRL_MSM8996
113d1b49b68SJoonwoo Park	tristate "Qualcomm MSM8996 pin controller driver"
114d1b49b68SJoonwoo Park	depends on GPIOLIB && OF
115d1b49b68SJoonwoo Park	select PINCTRL_MSM
116d1b49b68SJoonwoo Park	help
117d1b49b68SJoonwoo Park	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
118d1b49b68SJoonwoo Park	  Qualcomm TLMM block found in the Qualcomm MSM8996 platform.
119d1b49b68SJoonwoo Park
120a3a093aeSKhan, Imranconfig PINCTRL_MSM8998
121a3a093aeSKhan, Imran	tristate "Qualcomm MSM8998 pin controller driver"
122a3a093aeSKhan, Imran	depends on GPIOLIB && OF
123a3a093aeSKhan, Imran	select PINCTRL_MSM
124a3a093aeSKhan, Imran	help
125a3a093aeSKhan, Imran	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
126a3a093aeSKhan, Imran	  Qualcomm TLMM block found in the Qualcomm MSM8998 platform.
127a3a093aeSKhan, Imran
12822eb8301SAvaneesh Kumar Dwivediconfig PINCTRL_QCS404
12922eb8301SAvaneesh Kumar Dwivedi	tristate "Qualcomm QCS404 pin controller driver"
13022eb8301SAvaneesh Kumar Dwivedi	depends on GPIOLIB && OF
13122eb8301SAvaneesh Kumar Dwivedi	select PINCTRL_MSM
13222eb8301SAvaneesh Kumar Dwivedi	help
13322eb8301SAvaneesh Kumar Dwivedi	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
13422eb8301SAvaneesh Kumar Dwivedi	  TLMM block found in the Qualcomm QCS404 platform.
13522eb8301SAvaneesh Kumar Dwivedi
1368f1338cdSTimur Tabiconfig PINCTRL_QDF2XXX
1378f1338cdSTimur Tabi	tristate "Qualcomm Technologies QDF2xxx pin controller driver"
1388f1338cdSTimur Tabi	depends on GPIOLIB && ACPI
1398f1338cdSTimur Tabi	select PINCTRL_MSM
1408f1338cdSTimur Tabi	help
1418f1338cdSTimur Tabi	  This is the GPIO driver for the TLMM block found on the
1428f1338cdSTimur Tabi	  Qualcomm Technologies QDF2xxx SOCs.
1438f1338cdSTimur Tabi
144eadff302SIvan T. Ivanovconfig PINCTRL_QCOM_SPMI_PMIC
1454afaee3cSStephen Boyd       tristate "Qualcomm SPMI PMIC pin controller driver"
146eadff302SIvan T. Ivanov       depends on GPIOLIB && OF && SPMI
147eadff302SIvan T. Ivanov       select REGMAP_SPMI
148eadff302SIvan T. Ivanov       select PINMUX
149eadff302SIvan T. Ivanov       select PINCONF
150eadff302SIvan T. Ivanov       select GENERIC_PINCONF
151821c76c4SBrian Masney       select GPIOLIB_IRQCHIP
1525c713d93SBrian Masney       select IRQ_DOMAIN_HIERARCHY
153eadff302SIvan T. Ivanov       help
154eadff302SIvan T. Ivanov         This is the pinctrl, pinmux, pinconf and gpiolib driver for the
155eadff302SIvan T. Ivanov         Qualcomm GPIO and MPP blocks found in the Qualcomm PMIC's chips,
156eadff302SIvan T. Ivanov         which are using SPMI for communication with SoC. Example PMIC's
157eadff302SIvan T. Ivanov         devices are pm8841, pm8941 and pma8084.
158eadff302SIvan T. Ivanov
159b4c45fe9SBjorn Anderssonconfig PINCTRL_QCOM_SSBI_PMIC
1604afaee3cSStephen Boyd       tristate "Qualcomm SSBI PMIC pin controller driver"
161b4c45fe9SBjorn Andersson       depends on GPIOLIB && OF
162b4c45fe9SBjorn Andersson       select PINMUX
163b4c45fe9SBjorn Andersson       select PINCONF
164b4c45fe9SBjorn Andersson       select GENERIC_PINCONF
165ae436fe8SBrian Masney       select GPIOLIB_IRQCHIP
1669d2b563bSBrian Masney       select IRQ_DOMAIN_HIERARCHY
167b4c45fe9SBjorn Andersson       help
168b4c45fe9SBjorn Andersson         This is the pinctrl, pinmux, pinconf and gpiolib driver for the
169b4c45fe9SBjorn Andersson         Qualcomm GPIO and MPP blocks found in the Qualcomm PMIC's chips,
170b4c45fe9SBjorn Andersson         which are using SSBI for communication with SoC. Example PMIC's
171b4c45fe9SBjorn Andersson         devices are pm8058 and pm8921.
172b4c45fe9SBjorn Andersson
173f2ae04c4SJitendra Sharmaconfig PINCTRL_SC7180
174f2ae04c4SJitendra Sharma	tristate "Qualcomm Technologies Inc SC7180 pin controller driver"
175f2ae04c4SJitendra Sharma	depends on GPIOLIB && OF
176f2ae04c4SJitendra Sharma	select PINCTRL_MSM
177f2ae04c4SJitendra Sharma	help
178f2ae04c4SJitendra Sharma	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
179f2ae04c4SJitendra Sharma	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
180f2ae04c4SJitendra Sharma	  Technologies Inc SC7180 platform.
181f2ae04c4SJitendra Sharma
1829cf0c526SNeeraj Upadhyayconfig PINCTRL_SDM660
1839cf0c526SNeeraj Upadhyay       tristate "Qualcomm Technologies Inc SDM660 pin controller driver"
1849cf0c526SNeeraj Upadhyay       depends on GPIOLIB && OF
1859cf0c526SNeeraj Upadhyay       select PINCTRL_MSM
1869cf0c526SNeeraj Upadhyay       help
1879cf0c526SNeeraj Upadhyay         This is the pinctrl, pinmux, pinconf and gpiolib driver for the
1889cf0c526SNeeraj Upadhyay         Qualcomm Technologies Inc TLMM block found on the Qualcomm
1899cf0c526SNeeraj Upadhyay         Technologies Inc SDM660 platform.
1909cf0c526SNeeraj Upadhyay
191184f3448SKyle Yanconfig PINCTRL_SDM845
192184f3448SKyle Yan       tristate "Qualcomm Technologies Inc SDM845 pin controller driver"
193a229105dSLee Jones       depends on GPIOLIB && (OF || ACPI)
194184f3448SKyle Yan       select PINCTRL_MSM
195184f3448SKyle Yan       help
196184f3448SKyle Yan         This is the pinctrl, pinmux, pinconf and gpiolib driver for the
197184f3448SKyle Yan         Qualcomm Technologies Inc TLMM block found on the Qualcomm
198184f3448SKyle Yan         Technologies Inc SDM845 platform.
199184f3448SKyle Yan
20057218371SPrasad Sodagudiconfig PINCTRL_SM8150
20157218371SPrasad Sodagudi       tristate "Qualcomm Technologies Inc SM8150 pin controller driver"
20257218371SPrasad Sodagudi       depends on GPIOLIB && OF
20357218371SPrasad Sodagudi       select PINCTRL_MSM
20457218371SPrasad Sodagudi       help
20557218371SPrasad Sodagudi         This is the pinctrl, pinmux, pinconf and gpiolib driver for the
20657218371SPrasad Sodagudi         Qualcomm Technologies Inc TLMM block found on the Qualcomm
20757218371SPrasad Sodagudi         Technologies Inc SM8150 platform.
20857218371SPrasad Sodagudi
20969b78b8dSLinus Walleijendif
210