xref: /openbmc/linux/drivers/pinctrl/qcom/Kconfig (revision ec8f24b7)
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
93465e4218SMichael Scottconfig PINCTRL_MSM8994
94465e4218SMichael Scott	tristate "Qualcomm 8994 pin controller driver"
95465e4218SMichael Scott	depends on GPIOLIB && OF
96465e4218SMichael Scott	select PINCTRL_MSM
97465e4218SMichael Scott	help
98465e4218SMichael Scott	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
99465e4218SMichael Scott	  Qualcomm TLMM block found in the Qualcomm 8994 platform. The
100465e4218SMichael Scott	  Qualcomm 8992 platform is also supported by this driver.
101465e4218SMichael Scott
102d1b49b68SJoonwoo Parkconfig PINCTRL_MSM8996
103d1b49b68SJoonwoo Park	tristate "Qualcomm MSM8996 pin controller driver"
104d1b49b68SJoonwoo Park	depends on GPIOLIB && OF
105d1b49b68SJoonwoo Park	select PINCTRL_MSM
106d1b49b68SJoonwoo Park	help
107d1b49b68SJoonwoo Park	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
108d1b49b68SJoonwoo Park	  Qualcomm TLMM block found in the Qualcomm MSM8996 platform.
109d1b49b68SJoonwoo Park
110a3a093aeSKhan, Imranconfig PINCTRL_MSM8998
111a3a093aeSKhan, Imran	tristate "Qualcomm MSM8998 pin controller driver"
112a3a093aeSKhan, Imran	depends on GPIOLIB && OF
113a3a093aeSKhan, Imran	select PINCTRL_MSM
114a3a093aeSKhan, Imran	help
115a3a093aeSKhan, Imran	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
116a3a093aeSKhan, Imran	  Qualcomm TLMM block found in the Qualcomm MSM8998 platform.
117a3a093aeSKhan, Imran
11822eb8301SAvaneesh Kumar Dwivediconfig PINCTRL_QCS404
11922eb8301SAvaneesh Kumar Dwivedi	tristate "Qualcomm QCS404 pin controller driver"
12022eb8301SAvaneesh Kumar Dwivedi	depends on GPIOLIB && OF
12122eb8301SAvaneesh Kumar Dwivedi	select PINCTRL_MSM
12222eb8301SAvaneesh Kumar Dwivedi	help
12322eb8301SAvaneesh Kumar Dwivedi	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
12422eb8301SAvaneesh Kumar Dwivedi	  TLMM block found in the Qualcomm QCS404 platform.
12522eb8301SAvaneesh Kumar Dwivedi
1268f1338cdSTimur Tabiconfig PINCTRL_QDF2XXX
1278f1338cdSTimur Tabi	tristate "Qualcomm Technologies QDF2xxx pin controller driver"
1288f1338cdSTimur Tabi	depends on GPIOLIB && ACPI
1298f1338cdSTimur Tabi	select PINCTRL_MSM
1308f1338cdSTimur Tabi	help
1318f1338cdSTimur Tabi	  This is the GPIO driver for the TLMM block found on the
1328f1338cdSTimur Tabi	  Qualcomm Technologies QDF2xxx SOCs.
1338f1338cdSTimur Tabi
134eadff302SIvan T. Ivanovconfig PINCTRL_QCOM_SPMI_PMIC
1354afaee3cSStephen Boyd       tristate "Qualcomm SPMI PMIC pin controller driver"
136eadff302SIvan T. Ivanov       depends on GPIOLIB && OF && SPMI
137eadff302SIvan T. Ivanov       select REGMAP_SPMI
138eadff302SIvan T. Ivanov       select PINMUX
139eadff302SIvan T. Ivanov       select PINCONF
140eadff302SIvan T. Ivanov       select GENERIC_PINCONF
1415c713d93SBrian Masney       select IRQ_DOMAIN_HIERARCHY
142eadff302SIvan T. Ivanov       help
143eadff302SIvan T. Ivanov         This is the pinctrl, pinmux, pinconf and gpiolib driver for the
144eadff302SIvan T. Ivanov         Qualcomm GPIO and MPP blocks found in the Qualcomm PMIC's chips,
145eadff302SIvan T. Ivanov         which are using SPMI for communication with SoC. Example PMIC's
146eadff302SIvan T. Ivanov         devices are pm8841, pm8941 and pma8084.
147eadff302SIvan T. Ivanov
148b4c45fe9SBjorn Anderssonconfig PINCTRL_QCOM_SSBI_PMIC
1494afaee3cSStephen Boyd       tristate "Qualcomm SSBI PMIC pin controller driver"
150b4c45fe9SBjorn Andersson       depends on GPIOLIB && OF
151b4c45fe9SBjorn Andersson       select PINMUX
152b4c45fe9SBjorn Andersson       select PINCONF
153b4c45fe9SBjorn Andersson       select GENERIC_PINCONF
1549d2b563bSBrian Masney       select IRQ_DOMAIN_HIERARCHY
155b4c45fe9SBjorn Andersson       help
156b4c45fe9SBjorn Andersson         This is the pinctrl, pinmux, pinconf and gpiolib driver for the
157b4c45fe9SBjorn Andersson         Qualcomm GPIO and MPP blocks found in the Qualcomm PMIC's chips,
158b4c45fe9SBjorn Andersson         which are using SSBI for communication with SoC. Example PMIC's
159b4c45fe9SBjorn Andersson         devices are pm8058 and pm8921.
160b4c45fe9SBjorn Andersson
1619cf0c526SNeeraj Upadhyayconfig PINCTRL_SDM660
1629cf0c526SNeeraj Upadhyay       tristate "Qualcomm Technologies Inc SDM660 pin controller driver"
1639cf0c526SNeeraj Upadhyay       depends on GPIOLIB && OF
1649cf0c526SNeeraj Upadhyay       select PINCTRL_MSM
1659cf0c526SNeeraj Upadhyay       help
1669cf0c526SNeeraj Upadhyay         This is the pinctrl, pinmux, pinconf and gpiolib driver for the
1679cf0c526SNeeraj Upadhyay         Qualcomm Technologies Inc TLMM block found on the Qualcomm
1689cf0c526SNeeraj Upadhyay         Technologies Inc SDM660 platform.
1699cf0c526SNeeraj Upadhyay
170184f3448SKyle Yanconfig PINCTRL_SDM845
171184f3448SKyle Yan       tristate "Qualcomm Technologies Inc SDM845 pin controller driver"
172184f3448SKyle Yan       depends on GPIOLIB && OF
173184f3448SKyle Yan       select PINCTRL_MSM
174184f3448SKyle Yan       help
175184f3448SKyle Yan         This is the pinctrl, pinmux, pinconf and gpiolib driver for the
176184f3448SKyle Yan         Qualcomm Technologies Inc TLMM block found on the Qualcomm
177184f3448SKyle Yan         Technologies Inc SDM845 platform.
178184f3448SKyle Yan
17969b78b8dSLinus Walleijendif
180