xref: /linux/drivers/pinctrl/qcom/Kconfig (revision f39b6c468c52745dbca9a842d91c8373fda208ab)
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
9424953cfSArnd Bergmann	select QCOM_SCM
1069b78b8dSLinus Walleij	select PINMUX
116f6835beSBartosz Golaszewski	select GENERIC_PINMUX_FUNCTIONS
1269b78b8dSLinus Walleij	select PINCONF
1369b78b8dSLinus Walleij	select GENERIC_PINCONF
1469b78b8dSLinus Walleij	select GPIOLIB_IRQCHIP
15c3c0c2e1SDouglas Anderson	select IRQ_DOMAIN_HIERARCHY
16c3c0c2e1SDouglas Anderson	select IRQ_FASTEOI_HIERARCHY_HANDLERS
1769b78b8dSLinus Walleij
183476b8b1SKrzysztof Kozlowskisource "drivers/pinctrl/qcom/Kconfig.msm"
198f1338cdSTimur Tabi
20eadff302SIvan T. Ivanovconfig PINCTRL_QCOM_SPMI_PMIC
214afaee3cSStephen Boyd	tristate "Qualcomm SPMI PMIC pin controller driver"
2232ec3960SArnd Bergmann	depends on OF && SPMI
23eadff302SIvan T. Ivanov	select REGMAP_SPMI
24eadff302SIvan T. Ivanov	select PINMUX
25eadff302SIvan T. Ivanov	select PINCONF
26eadff302SIvan T. Ivanov	select GENERIC_PINCONF
2760430d4cSJulian Braha	select GPIOLIB
28821c76c4SBrian Masney	select GPIOLIB_IRQCHIP
295c713d93SBrian Masney	select IRQ_DOMAIN_HIERARCHY
30eadff302SIvan T. Ivanov	help
31eadff302SIvan T. Ivanov	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
32eadff302SIvan T. Ivanov	 Qualcomm GPIO and MPP blocks found in the Qualcomm PMIC's chips,
33eadff302SIvan T. Ivanov	 which are using SPMI for communication with SoC. Example PMIC's
34eadff302SIvan T. Ivanov	 devices are pm8841, pm8941 and pma8084.
35eadff302SIvan T. Ivanov
36b4c45fe9SBjorn Anderssonconfig PINCTRL_QCOM_SSBI_PMIC
374afaee3cSStephen Boyd	tristate "Qualcomm SSBI PMIC pin controller driver"
3832ec3960SArnd Bergmann	depends on OF
39b4c45fe9SBjorn Andersson	select PINMUX
40b4c45fe9SBjorn Andersson	select PINCONF
41b4c45fe9SBjorn Andersson	select GENERIC_PINCONF
4260430d4cSJulian Braha	select GPIOLIB
43ae436fe8SBrian Masney	select GPIOLIB_IRQCHIP
449d2b563bSBrian Masney	select IRQ_DOMAIN_HIERARCHY
45b4c45fe9SBjorn Andersson	help
46b4c45fe9SBjorn Andersson	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
47b4c45fe9SBjorn Andersson	 Qualcomm GPIO and MPP blocks found in the Qualcomm PMIC's chips,
48b4c45fe9SBjorn Andersson	 which are using SSBI for communication with SoC. Example PMIC's
49b4c45fe9SBjorn Andersson	 devices are pm8058 and pm8921.
50b4c45fe9SBjorn Andersson
51a46f809bSKrzysztof Kozlowskiconfig PINCTRL_LPASS_LPI
52a46f809bSKrzysztof Kozlowski	tristate "Qualcomm Technologies Inc LPASS LPI pin controller driver"
53a46f809bSKrzysztof Kozlowski	select PINMUX
54a46f809bSKrzysztof Kozlowski	select PINCONF
55a46f809bSKrzysztof Kozlowski	select GENERIC_PINCONF
56a46f809bSKrzysztof Kozlowski	select GENERIC_PINCTRL_GROUPS
57a46f809bSKrzysztof Kozlowski	depends on GPIOLIB
58a46f809bSKrzysztof Kozlowski	help
59a46f809bSKrzysztof Kozlowski	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
60a46f809bSKrzysztof Kozlowski	  Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI
61a46f809bSKrzysztof Kozlowski	  (Low Power Island) found on the Qualcomm Technologies Inc SoCs.
62a46f809bSKrzysztof Kozlowski
63120a5f2eSSrinivasa Rao Mandadapuconfig PINCTRL_SC7280_LPASS_LPI
64120a5f2eSSrinivasa Rao Mandadapu	tristate "Qualcomm Technologies Inc SC7280 LPASS LPI pin controller driver"
65203672e1SKrzysztof Kozlowski	depends on ARM64 || COMPILE_TEST
66120a5f2eSSrinivasa Rao Mandadapu	depends on PINCTRL_LPASS_LPI
67120a5f2eSSrinivasa Rao Mandadapu	help
68120a5f2eSSrinivasa Rao Mandadapu	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
69120a5f2eSSrinivasa Rao Mandadapu	  Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI
70120a5f2eSSrinivasa Rao Mandadapu	  (Low Power Island) found on the Qualcomm Technologies Inc SC7280 platform.
71120a5f2eSSrinivasa Rao Mandadapu
72*5e302106SRichard Acayanconfig PINCTRL_SDM660_LPASS_LPI
73*5e302106SRichard Acayan	tristate "Qualcomm Technologies Inc SDM660 LPASS LPI pin controller driver"
74*5e302106SRichard Acayan	depends on GPIOLIB
75*5e302106SRichard Acayan	depends on ARM64 || COMPILE_TEST
76*5e302106SRichard Acayan	depends on PINCTRL_LPASS_LPI
77*5e302106SRichard Acayan	help
78*5e302106SRichard Acayan	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
79*5e302106SRichard Acayan	  Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI
80*5e302106SRichard Acayan	  (Low Power Island) found on the Qualcomm Technologies Inc SDM660 platform.
81*5e302106SRichard Acayan
82c2e5a25eSSrinivas Kandagatlaconfig PINCTRL_SM4250_LPASS_LPI
83c2e5a25eSSrinivas Kandagatla	tristate "Qualcomm Technologies Inc SM4250 LPASS LPI pin controller driver"
84c2e5a25eSSrinivas Kandagatla	depends on ARM64 || COMPILE_TEST
85c2e5a25eSSrinivas Kandagatla	depends on PINCTRL_LPASS_LPI
86c2e5a25eSSrinivas Kandagatla	help
87c2e5a25eSSrinivas Kandagatla	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
88c2e5a25eSSrinivas Kandagatla	  Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI
89c2e5a25eSSrinivas Kandagatla	  (Low Power Island) found on the Qualcomm Technologies Inc SM4250 platform.
90c2e5a25eSSrinivas Kandagatla
9163f7c844SKonrad Dybcioconfig PINCTRL_SM6115_LPASS_LPI
9263f7c844SKonrad Dybcio	tristate "Qualcomm Technologies Inc SM6115 LPASS LPI pin controller driver"
9363f7c844SKonrad Dybcio	depends on ARM64 || COMPILE_TEST
9463f7c844SKonrad Dybcio	depends on PINCTRL_LPASS_LPI
9563f7c844SKonrad Dybcio	help
9663f7c844SKonrad Dybcio	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
9763f7c844SKonrad Dybcio	  Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI
9863f7c844SKonrad Dybcio	  (Low Power Island) found on the Qualcomm Technologies Inc SM6115 platform.
9963f7c844SKonrad Dybcio
1009ce49018SSrinivasa Rao Mandadapuconfig PINCTRL_SM8250_LPASS_LPI
1019ce49018SSrinivasa Rao Mandadapu	tristate "Qualcomm Technologies Inc SM8250 LPASS LPI pin controller driver"
102203672e1SKrzysztof Kozlowski	depends on ARM64 || COMPILE_TEST
1039ce49018SSrinivasa Rao Mandadapu	depends on PINCTRL_LPASS_LPI
1049ce49018SSrinivasa Rao Mandadapu	help
1059ce49018SSrinivasa Rao Mandadapu	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
1069ce49018SSrinivasa Rao Mandadapu	  Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI
1079ce49018SSrinivasa Rao Mandadapu	  (Low Power Island) found on the Qualcomm Technologies Inc SM8250 platform.
1089ce49018SSrinivasa Rao Mandadapu
109be9f6d56SKrzysztof Kozlowskiconfig PINCTRL_SM8350_LPASS_LPI
110be9f6d56SKrzysztof Kozlowski	tristate "Qualcomm Technologies Inc SM8350 LPASS LPI pin controller driver"
111be9f6d56SKrzysztof Kozlowski	depends on ARM64 || COMPILE_TEST
112be9f6d56SKrzysztof Kozlowski	depends on PINCTRL_LPASS_LPI
113be9f6d56SKrzysztof Kozlowski	help
114be9f6d56SKrzysztof Kozlowski	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
115be9f6d56SKrzysztof Kozlowski	  Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI
116be9f6d56SKrzysztof Kozlowski	  (Low Power Island) found on the Qualcomm Technologies Inc SM8350
117be9f6d56SKrzysztof Kozlowski	  platform.
118be9f6d56SKrzysztof Kozlowski
119ec1652fcSSrinivas Kandagatlaconfig PINCTRL_SM8450_LPASS_LPI
120ec1652fcSSrinivas Kandagatla	tristate "Qualcomm Technologies Inc SM8450 LPASS LPI pin controller driver"
121203672e1SKrzysztof Kozlowski	depends on ARM64 || COMPILE_TEST
122ec1652fcSSrinivas Kandagatla	depends on PINCTRL_LPASS_LPI
123ec1652fcSSrinivas Kandagatla	help
124ec1652fcSSrinivas Kandagatla	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
125ec1652fcSSrinivas Kandagatla	  Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI
126ec1652fcSSrinivas Kandagatla	  (Low Power Island) found on the Qualcomm Technologies Inc SM8450 platform.
127ec1652fcSSrinivas Kandagatla
12867f40373SSrinivas Kandagatlaconfig PINCTRL_SC8280XP_LPASS_LPI
12967f40373SSrinivas Kandagatla	tristate "Qualcomm Technologies Inc SC8280XP LPASS LPI pin controller driver"
130203672e1SKrzysztof Kozlowski	depends on ARM64 || COMPILE_TEST
13167f40373SSrinivas Kandagatla	depends on PINCTRL_LPASS_LPI
13267f40373SSrinivas Kandagatla	help
13367f40373SSrinivas Kandagatla	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
13467f40373SSrinivas Kandagatla	  Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI
13567f40373SSrinivas Kandagatla	  (Low Power Island) found on the Qualcomm Technologies Inc SC8280XP platform.
13667f40373SSrinivas Kandagatla
1375a6ca1f2SKrzysztof Kozlowskiconfig PINCTRL_SM8550_LPASS_LPI
1385a6ca1f2SKrzysztof Kozlowski	tristate "Qualcomm Technologies Inc SM8550 LPASS LPI pin controller driver"
1395a6ca1f2SKrzysztof Kozlowski	depends on ARM64 || COMPILE_TEST
1405a6ca1f2SKrzysztof Kozlowski	depends on PINCTRL_LPASS_LPI
1415a6ca1f2SKrzysztof Kozlowski	help
1425a6ca1f2SKrzysztof Kozlowski	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
1435a6ca1f2SKrzysztof Kozlowski	  Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI
1445a6ca1f2SKrzysztof Kozlowski	  (Low Power Island) found on the Qualcomm Technologies Inc SM8550
1455a6ca1f2SKrzysztof Kozlowski	  platform.
1465a6ca1f2SKrzysztof Kozlowski
147c4e47673SKrzysztof Kozlowskiconfig PINCTRL_SM8650_LPASS_LPI
14847847b9bSKrzysztof Kozlowski	tristate "Qualcomm Technologies Inc SM8650 LPASS LPI pin controller driver"
149c4e47673SKrzysztof Kozlowski	depends on ARM64 || COMPILE_TEST
150c4e47673SKrzysztof Kozlowski	depends on PINCTRL_LPASS_LPI
151c4e47673SKrzysztof Kozlowski	help
152c4e47673SKrzysztof Kozlowski	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
153c4e47673SKrzysztof Kozlowski	  Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI
154c4e47673SKrzysztof Kozlowski	  (Low Power Island) found on the Qualcomm Technologies Inc SM8650
155c4e47673SKrzysztof Kozlowski	  platform.
156c4e47673SKrzysztof Kozlowski
15769b78b8dSLinus Walleijendif
158