xref: /linux/drivers/pinctrl/qcom/Kconfig (revision b2128290c29902315e632ea59e0504d6bc9e9b42)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
269b78b8dSLinus Walleijif (ARCH_QCOM || COMPILE_TEST)
369b78b8dSLinus Walleij
469b78b8dSLinus Walleijconfig PINCTRL_MSM
538e86f5cSJohn Stultz	tristate "Qualcomm core pin controller driver"
6424953cfSArnd Bergmann	depends on GPIOLIB
7da95f081SKrzysztof Kozlowski	# OF for pinconf_generic_dt_node_to_map_group() from GENERIC_PINCONF
8da95f081SKrzysztof Kozlowski	depends on OF
91fa3d15cSKrzysztof Kozlowski	default ARCH_QCOM
10424953cfSArnd Bergmann	select QCOM_SCM
1169b78b8dSLinus Walleij	select PINMUX
126f6835beSBartosz Golaszewski	select GENERIC_PINMUX_FUNCTIONS
1369b78b8dSLinus Walleij	select PINCONF
1469b78b8dSLinus Walleij	select GENERIC_PINCONF
1569b78b8dSLinus Walleij	select GPIOLIB_IRQCHIP
16c3c0c2e1SDouglas Anderson	select IRQ_DOMAIN_HIERARCHY
17c3c0c2e1SDouglas Anderson	select IRQ_FASTEOI_HIERARCHY_HANDLERS
1869b78b8dSLinus Walleij
193476b8b1SKrzysztof Kozlowskisource "drivers/pinctrl/qcom/Kconfig.msm"
208f1338cdSTimur Tabi
21eadff302SIvan T. Ivanovconfig PINCTRL_QCOM_SPMI_PMIC
224afaee3cSStephen Boyd	tristate "Qualcomm SPMI PMIC pin controller driver"
2332ec3960SArnd Bergmann	depends on OF && SPMI
24eadff302SIvan T. Ivanov	select REGMAP_SPMI
25eadff302SIvan T. Ivanov	select PINMUX
26eadff302SIvan T. Ivanov	select PINCONF
27eadff302SIvan T. Ivanov	select GENERIC_PINCONF
2860430d4cSJulian Braha	select GPIOLIB
29821c76c4SBrian Masney	select GPIOLIB_IRQCHIP
305c713d93SBrian Masney	select IRQ_DOMAIN_HIERARCHY
31eadff302SIvan T. Ivanov	help
32eadff302SIvan T. Ivanov	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
33eadff302SIvan T. Ivanov	 Qualcomm GPIO and MPP blocks found in the Qualcomm PMIC's chips,
34eadff302SIvan T. Ivanov	 which are using SPMI for communication with SoC. Example PMIC's
35eadff302SIvan T. Ivanov	 devices are pm8841, pm8941 and pma8084.
36eadff302SIvan T. Ivanov
37b4c45fe9SBjorn Anderssonconfig PINCTRL_QCOM_SSBI_PMIC
384afaee3cSStephen Boyd	tristate "Qualcomm SSBI PMIC pin controller driver"
3932ec3960SArnd Bergmann	depends on OF
40b4c45fe9SBjorn Andersson	select PINMUX
41b4c45fe9SBjorn Andersson	select PINCONF
42b4c45fe9SBjorn Andersson	select GENERIC_PINCONF
4360430d4cSJulian Braha	select GPIOLIB
44ae436fe8SBrian Masney	select GPIOLIB_IRQCHIP
459d2b563bSBrian Masney	select IRQ_DOMAIN_HIERARCHY
46b4c45fe9SBjorn Andersson	help
47b4c45fe9SBjorn Andersson	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
48b4c45fe9SBjorn Andersson	 Qualcomm GPIO and MPP blocks found in the Qualcomm PMIC's chips,
49b4c45fe9SBjorn Andersson	 which are using SSBI for communication with SoC. Example PMIC's
50b4c45fe9SBjorn Andersson	 devices are pm8058 and pm8921.
51b4c45fe9SBjorn Andersson
52a46f809bSKrzysztof Kozlowskiconfig PINCTRL_LPASS_LPI
53b3161718SKrzysztof Kozlowski	tristate "Qualcomm LPASS LPI pin controller driver"
54a46f809bSKrzysztof Kozlowski	select PINMUX
55a46f809bSKrzysztof Kozlowski	select PINCONF
56a46f809bSKrzysztof Kozlowski	select GENERIC_PINCONF
57a46f809bSKrzysztof Kozlowski	select GENERIC_PINCTRL_GROUPS
58*b719ede3SAjay Kumar Nandam	depends on PM_CLK
59a46f809bSKrzysztof Kozlowski	depends on GPIOLIB
60a46f809bSKrzysztof Kozlowski	help
61a46f809bSKrzysztof Kozlowski	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
62a46f809bSKrzysztof Kozlowski	  Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI
63a46f809bSKrzysztof Kozlowski	  (Low Power Island) found on the Qualcomm Technologies Inc SoCs.
64a46f809bSKrzysztof Kozlowski
65ca0395d9SLuca Weissconfig PINCTRL_MILOS_LPASS_LPI
66b3161718SKrzysztof Kozlowski	tristate "Qualcomm Milos LPASS LPI pin controller driver"
67ca0395d9SLuca Weiss	depends on ARM64 || COMPILE_TEST
68ca0395d9SLuca Weiss	depends on PINCTRL_LPASS_LPI
69ca0395d9SLuca Weiss	help
70ca0395d9SLuca Weiss	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
71ca0395d9SLuca Weiss	  Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI
72ca0395d9SLuca Weiss	  (Low Power Island) found on the Qualcomm Technologies Inc Milos
73ca0395d9SLuca Weiss	  platform.
74ca0395d9SLuca Weiss
75120a5f2eSSrinivasa Rao Mandadapuconfig PINCTRL_SC7280_LPASS_LPI
76b3161718SKrzysztof Kozlowski	tristate "Qualcomm SC7280 and SM8350 LPASS LPI pin controller driver"
77203672e1SKrzysztof Kozlowski	depends on ARM64 || COMPILE_TEST
78120a5f2eSSrinivasa Rao Mandadapu	depends on PINCTRL_LPASS_LPI
79120a5f2eSSrinivasa Rao Mandadapu	help
80120a5f2eSSrinivasa Rao Mandadapu	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
81120a5f2eSSrinivasa Rao Mandadapu	  Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI
821fbe3abbSKrzysztof Kozlowski	  (Low Power Island) found on the Qualcomm Technologies Inc SC7280
831fbe3abbSKrzysztof Kozlowski	  and SM8350 platforms.
84120a5f2eSSrinivasa Rao Mandadapu
855e302106SRichard Acayanconfig PINCTRL_SDM660_LPASS_LPI
86b3161718SKrzysztof Kozlowski	tristate "Qualcomm SDM660 LPASS LPI pin controller driver"
875e302106SRichard Acayan	depends on GPIOLIB
885e302106SRichard Acayan	depends on ARM64 || COMPILE_TEST
895e302106SRichard Acayan	depends on PINCTRL_LPASS_LPI
905e302106SRichard Acayan	help
915e302106SRichard Acayan	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
925e302106SRichard Acayan	  Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI
935e302106SRichard Acayan	  (Low Power Island) found on the Qualcomm Technologies Inc SDM660 platform.
945e302106SRichard Acayan
95c2e5a25eSSrinivas Kandagatlaconfig PINCTRL_SM4250_LPASS_LPI
96b3161718SKrzysztof Kozlowski	tristate "Qualcomm SM4250 LPASS LPI pin controller driver"
97c2e5a25eSSrinivas Kandagatla	depends on ARM64 || COMPILE_TEST
98c2e5a25eSSrinivas Kandagatla	depends on PINCTRL_LPASS_LPI
99c2e5a25eSSrinivas Kandagatla	help
100c2e5a25eSSrinivas Kandagatla	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
101c2e5a25eSSrinivas Kandagatla	  Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI
102c2e5a25eSSrinivas Kandagatla	  (Low Power Island) found on the Qualcomm Technologies Inc SM4250 platform.
103c2e5a25eSSrinivas Kandagatla
1049826035aSRichard Acayanconfig PINCTRL_SDM670_LPASS_LPI
105b3161718SKrzysztof Kozlowski	tristate "Qualcomm SDM670 LPASS LPI pin controller driver"
1069826035aSRichard Acayan	depends on GPIOLIB
1079826035aSRichard Acayan	depends on ARM64 || COMPILE_TEST
1089826035aSRichard Acayan	depends on PINCTRL_LPASS_LPI
1099826035aSRichard Acayan	help
1109826035aSRichard Acayan	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
1119826035aSRichard Acayan	  Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI
1129826035aSRichard Acayan	  (Low Power Island) found on the Qualcomm Technologies Inc SDM670 platform.
1139826035aSRichard Acayan
11463f7c844SKonrad Dybcioconfig PINCTRL_SM6115_LPASS_LPI
115b3161718SKrzysztof Kozlowski	tristate "Qualcomm SM6115 LPASS LPI pin controller driver"
11663f7c844SKonrad Dybcio	depends on ARM64 || COMPILE_TEST
11763f7c844SKonrad Dybcio	depends on PINCTRL_LPASS_LPI
11863f7c844SKonrad Dybcio	help
11963f7c844SKonrad Dybcio	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
12063f7c844SKonrad Dybcio	  Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI
12163f7c844SKonrad Dybcio	  (Low Power Island) found on the Qualcomm Technologies Inc SM6115 platform.
12263f7c844SKonrad Dybcio
1236ec81aceSLuca Weissconfig PINCTRL_SM6350_LPASS_LPI
1246ec81aceSLuca Weiss	tristate "Qualcomm SM6350 LPASS LPI pin controller driver"
1256ec81aceSLuca Weiss	depends on ARM64 || COMPILE_TEST
1266ec81aceSLuca Weiss	depends on PINCTRL_LPASS_LPI
1276ec81aceSLuca Weiss	help
1286ec81aceSLuca Weiss	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
1296ec81aceSLuca Weiss	  Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI
1306ec81aceSLuca Weiss	  (Low Power Island) found on the Qualcomm Technologies Inc SM6350 platform.
1316ec81aceSLuca Weiss
1329ce49018SSrinivasa Rao Mandadapuconfig PINCTRL_SM8250_LPASS_LPI
133b3161718SKrzysztof Kozlowski	tristate "Qualcomm SM8250 LPASS LPI pin controller driver"
134203672e1SKrzysztof Kozlowski	depends on ARM64 || COMPILE_TEST
1359ce49018SSrinivasa Rao Mandadapu	depends on PINCTRL_LPASS_LPI
1369ce49018SSrinivasa Rao Mandadapu	help
1379ce49018SSrinivasa Rao Mandadapu	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
1389ce49018SSrinivasa Rao Mandadapu	  Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI
1399ce49018SSrinivasa Rao Mandadapu	  (Low Power Island) found on the Qualcomm Technologies Inc SM8250 platform.
1409ce49018SSrinivasa Rao Mandadapu
141ec1652fcSSrinivas Kandagatlaconfig PINCTRL_SM8450_LPASS_LPI
142b3161718SKrzysztof Kozlowski	tristate "Qualcomm SM8450 LPASS LPI pin controller driver"
143203672e1SKrzysztof Kozlowski	depends on ARM64 || COMPILE_TEST
144ec1652fcSSrinivas Kandagatla	depends on PINCTRL_LPASS_LPI
145ec1652fcSSrinivas Kandagatla	help
146ec1652fcSSrinivas Kandagatla	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
147ec1652fcSSrinivas Kandagatla	  Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI
148ec1652fcSSrinivas Kandagatla	  (Low Power Island) found on the Qualcomm Technologies Inc SM8450 platform.
149ec1652fcSSrinivas Kandagatla
15067f40373SSrinivas Kandagatlaconfig PINCTRL_SC8280XP_LPASS_LPI
151b3161718SKrzysztof Kozlowski	tristate "Qualcomm SC8280XP LPASS LPI pin controller driver"
152203672e1SKrzysztof Kozlowski	depends on ARM64 || COMPILE_TEST
15367f40373SSrinivas Kandagatla	depends on PINCTRL_LPASS_LPI
15467f40373SSrinivas Kandagatla	help
15567f40373SSrinivas Kandagatla	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
15667f40373SSrinivas Kandagatla	  Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI
15767f40373SSrinivas Kandagatla	  (Low Power Island) found on the Qualcomm Technologies Inc SC8280XP platform.
15867f40373SSrinivas Kandagatla
1595a6ca1f2SKrzysztof Kozlowskiconfig PINCTRL_SM8550_LPASS_LPI
160b3161718SKrzysztof Kozlowski	tristate "Qualcomm SM8550 LPASS LPI pin controller driver"
1615a6ca1f2SKrzysztof Kozlowski	depends on ARM64 || COMPILE_TEST
1625a6ca1f2SKrzysztof Kozlowski	depends on PINCTRL_LPASS_LPI
1635a6ca1f2SKrzysztof Kozlowski	help
1645a6ca1f2SKrzysztof Kozlowski	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
1655a6ca1f2SKrzysztof Kozlowski	  Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI
1665a6ca1f2SKrzysztof Kozlowski	  (Low Power Island) found on the Qualcomm Technologies Inc SM8550
1675a6ca1f2SKrzysztof Kozlowski	  platform.
1685a6ca1f2SKrzysztof Kozlowski
169c4e47673SKrzysztof Kozlowskiconfig PINCTRL_SM8650_LPASS_LPI
170b3161718SKrzysztof Kozlowski	tristate "Qualcomm SM8650 LPASS LPI pin controller driver"
171c4e47673SKrzysztof Kozlowski	depends on ARM64 || COMPILE_TEST
172c4e47673SKrzysztof Kozlowski	depends on PINCTRL_LPASS_LPI
173c4e47673SKrzysztof Kozlowski	help
174c4e47673SKrzysztof Kozlowski	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
175c4e47673SKrzysztof Kozlowski	  Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI
176c4e47673SKrzysztof Kozlowski	  (Low Power Island) found on the Qualcomm Technologies Inc SM8650
177c4e47673SKrzysztof Kozlowski	  platform.
178c4e47673SKrzysztof Kozlowski
17969b78b8dSLinus Walleijendif
180