xref: /openbmc/linux/drivers/pinctrl/qcom/Kconfig (revision 1b1db9e0)
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
1169b78b8dSLinus Walleij	select PINCONF
1269b78b8dSLinus Walleij	select GENERIC_PINCONF
1369b78b8dSLinus Walleij	select GPIOLIB_IRQCHIP
14c3c0c2e1SDouglas Anderson	select IRQ_DOMAIN_HIERARCHY
15c3c0c2e1SDouglas Anderson	select IRQ_FASTEOI_HIERARCHY_HANDLERS
1669b78b8dSLinus Walleij
173476b8b1SKrzysztof Kozlowskisource "drivers/pinctrl/qcom/Kconfig.msm"
188f1338cdSTimur Tabi
19eadff302SIvan T. Ivanovconfig PINCTRL_QCOM_SPMI_PMIC
204afaee3cSStephen Boyd	tristate "Qualcomm SPMI PMIC pin controller driver"
2132ec3960SArnd Bergmann	depends on OF && SPMI
22eadff302SIvan T. Ivanov	select REGMAP_SPMI
23eadff302SIvan T. Ivanov	select PINMUX
24eadff302SIvan T. Ivanov	select PINCONF
25eadff302SIvan T. Ivanov	select GENERIC_PINCONF
2660430d4cSJulian Braha	select GPIOLIB
27821c76c4SBrian Masney	select GPIOLIB_IRQCHIP
285c713d93SBrian Masney	select IRQ_DOMAIN_HIERARCHY
29eadff302SIvan T. Ivanov	help
30eadff302SIvan T. Ivanov	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
31eadff302SIvan T. Ivanov	 Qualcomm GPIO and MPP blocks found in the Qualcomm PMIC's chips,
32eadff302SIvan T. Ivanov	 which are using SPMI for communication with SoC. Example PMIC's
33eadff302SIvan T. Ivanov	 devices are pm8841, pm8941 and pma8084.
34eadff302SIvan T. Ivanov
35b4c45fe9SBjorn Anderssonconfig PINCTRL_QCOM_SSBI_PMIC
364afaee3cSStephen Boyd	tristate "Qualcomm SSBI PMIC pin controller driver"
3732ec3960SArnd Bergmann	depends on OF
38b4c45fe9SBjorn Andersson	select PINMUX
39b4c45fe9SBjorn Andersson	select PINCONF
40b4c45fe9SBjorn Andersson	select GENERIC_PINCONF
4160430d4cSJulian Braha	select GPIOLIB
42ae436fe8SBrian Masney	select GPIOLIB_IRQCHIP
439d2b563bSBrian Masney	select IRQ_DOMAIN_HIERARCHY
44b4c45fe9SBjorn Andersson	help
45b4c45fe9SBjorn Andersson	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
46b4c45fe9SBjorn Andersson	 Qualcomm GPIO and MPP blocks found in the Qualcomm PMIC's chips,
47b4c45fe9SBjorn Andersson	 which are using SSBI for communication with SoC. Example PMIC's
48b4c45fe9SBjorn Andersson	 devices are pm8058 and pm8921.
49b4c45fe9SBjorn Andersson
50a46f809bSKrzysztof Kozlowskiconfig PINCTRL_LPASS_LPI
51a46f809bSKrzysztof Kozlowski	tristate "Qualcomm Technologies Inc LPASS LPI pin controller driver"
52a46f809bSKrzysztof Kozlowski	select PINMUX
53a46f809bSKrzysztof Kozlowski	select PINCONF
54a46f809bSKrzysztof Kozlowski	select GENERIC_PINCONF
55a46f809bSKrzysztof Kozlowski	select GENERIC_PINCTRL_GROUPS
56a46f809bSKrzysztof Kozlowski	depends on GPIOLIB
57a46f809bSKrzysztof Kozlowski	help
58a46f809bSKrzysztof Kozlowski	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
59a46f809bSKrzysztof Kozlowski	  Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI
60a46f809bSKrzysztof Kozlowski	  (Low Power Island) found on the Qualcomm Technologies Inc SoCs.
61a46f809bSKrzysztof Kozlowski
62120a5f2eSSrinivasa Rao Mandadapuconfig PINCTRL_SC7280_LPASS_LPI
63120a5f2eSSrinivasa Rao Mandadapu	tristate "Qualcomm Technologies Inc SC7280 LPASS LPI pin controller driver"
64203672e1SKrzysztof Kozlowski	depends on ARM64 || COMPILE_TEST
65120a5f2eSSrinivasa Rao Mandadapu	depends on PINCTRL_LPASS_LPI
66120a5f2eSSrinivasa Rao Mandadapu	help
67120a5f2eSSrinivasa Rao Mandadapu	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
68120a5f2eSSrinivasa Rao Mandadapu	  Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI
69120a5f2eSSrinivasa Rao Mandadapu	  (Low Power Island) found on the Qualcomm Technologies Inc SC7280 platform.
70120a5f2eSSrinivasa Rao Mandadapu
71*1b1db9e0SKonrad Dybcioconfig PINCTRL_SM6115_LPASS_LPI
72*1b1db9e0SKonrad Dybcio	tristate "Qualcomm Technologies Inc SM6115 LPASS LPI pin controller driver"
73*1b1db9e0SKonrad Dybcio	depends on ARM64 || COMPILE_TEST
74*1b1db9e0SKonrad Dybcio	depends on PINCTRL_LPASS_LPI
75*1b1db9e0SKonrad Dybcio	help
76*1b1db9e0SKonrad Dybcio	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
77*1b1db9e0SKonrad Dybcio	  Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI
78*1b1db9e0SKonrad Dybcio	  (Low Power Island) found on the Qualcomm Technologies Inc SM6115 platform.
79*1b1db9e0SKonrad Dybcio
809ce49018SSrinivasa Rao Mandadapuconfig PINCTRL_SM8250_LPASS_LPI
819ce49018SSrinivasa Rao Mandadapu	tristate "Qualcomm Technologies Inc SM8250 LPASS LPI pin controller driver"
82203672e1SKrzysztof Kozlowski	depends on ARM64 || COMPILE_TEST
839ce49018SSrinivasa Rao Mandadapu	depends on PINCTRL_LPASS_LPI
849ce49018SSrinivasa Rao Mandadapu	help
859ce49018SSrinivasa Rao Mandadapu	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
869ce49018SSrinivasa Rao Mandadapu	  Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI
879ce49018SSrinivasa Rao Mandadapu	  (Low Power Island) found on the Qualcomm Technologies Inc SM8250 platform.
889ce49018SSrinivasa Rao Mandadapu
89ec1652fcSSrinivas Kandagatlaconfig PINCTRL_SM8350_LPASS_LPI
90ec1652fcSSrinivas Kandagatla	tristate "Qualcomm Technologies Inc SM8350 LPASS LPI pin controller driver"
91203672e1SKrzysztof Kozlowski	depends on ARM64 || COMPILE_TEST
92ec1652fcSSrinivas Kandagatla	depends on PINCTRL_LPASS_LPI
93ec1652fcSSrinivas Kandagatla	help
94ec1652fcSSrinivas Kandagatla	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
95ec1652fcSSrinivas Kandagatla	  Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI
96ec1652fcSSrinivas Kandagatla	  (Low Power Island) found on the Qualcomm Technologies Inc SM8350
97ec1652fcSSrinivas Kandagatla	  platform.
9867f40373SSrinivas Kandagatla
9967f40373SSrinivas Kandagatlaconfig PINCTRL_SM8450_LPASS_LPI
100203672e1SKrzysztof Kozlowski	tristate "Qualcomm Technologies Inc SM8450 LPASS LPI pin controller driver"
10167f40373SSrinivas Kandagatla	depends on ARM64 || COMPILE_TEST
10267f40373SSrinivas Kandagatla	depends on PINCTRL_LPASS_LPI
10367f40373SSrinivas Kandagatla	help
10467f40373SSrinivas Kandagatla	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
10567f40373SSrinivas Kandagatla	  Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI
10667f40373SSrinivas Kandagatla	  (Low Power Island) found on the Qualcomm Technologies Inc SM8450 platform.
1075a6ca1f2SKrzysztof Kozlowski
1085a6ca1f2SKrzysztof Kozlowskiconfig PINCTRL_SC8280XP_LPASS_LPI
1095a6ca1f2SKrzysztof Kozlowski	tristate "Qualcomm Technologies Inc SC8280XP LPASS LPI pin controller driver"
1105a6ca1f2SKrzysztof Kozlowski	depends on ARM64 || COMPILE_TEST
1115a6ca1f2SKrzysztof Kozlowski	depends on PINCTRL_LPASS_LPI
1125a6ca1f2SKrzysztof Kozlowski	help
1135a6ca1f2SKrzysztof Kozlowski	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
1145a6ca1f2SKrzysztof Kozlowski	  Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI
1155a6ca1f2SKrzysztof Kozlowski	  (Low Power Island) found on the Qualcomm Technologies Inc SC8280XP platform.
1165a6ca1f2SKrzysztof Kozlowski
11769b78b8dSLinus Walleijconfig PINCTRL_SM8550_LPASS_LPI
118	tristate "Qualcomm Technologies Inc SM8550 LPASS LPI pin controller driver"
119	depends on ARM64 || COMPILE_TEST
120	depends on PINCTRL_LPASS_LPI
121	help
122	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
123	  Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI
124	  (Low Power Island) found on the Qualcomm Technologies Inc SM8550
125	  platform.
126
127endif
128