xref: /linux/drivers/pinctrl/qcom/Kconfig (revision 71e2f4dd5a65bd8dbca0b77661e75eea471168f8)
1# SPDX-License-Identifier: GPL-2.0-only
2if (ARCH_QCOM || COMPILE_TEST)
3
4config PINCTRL_MSM
5	bool
6	select PINMUX
7	select PINCONF
8	select GENERIC_PINCONF
9	select GPIOLIB_IRQCHIP
10
11config PINCTRL_APQ8064
12	tristate "Qualcomm APQ8064 pin controller driver"
13	depends on GPIOLIB && OF
14	select PINCTRL_MSM
15	help
16	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
17	  Qualcomm TLMM block found in the Qualcomm APQ8064 platform.
18
19config PINCTRL_APQ8084
20	tristate "Qualcomm APQ8084 pin controller driver"
21	depends on GPIOLIB && OF
22	select PINCTRL_MSM
23	help
24	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
25	  Qualcomm TLMM block found in the Qualcomm APQ8084 platform.
26
27config PINCTRL_IPQ4019
28	tristate "Qualcomm IPQ4019 pin controller driver"
29	depends on GPIOLIB && OF
30	select PINCTRL_MSM
31	help
32	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
33	  Qualcomm TLMM block found in the Qualcomm IPQ4019 platform.
34
35config PINCTRL_IPQ8064
36	tristate "Qualcomm IPQ8064 pin controller driver"
37	depends on GPIOLIB && OF
38	select PINCTRL_MSM
39	help
40	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
41	  Qualcomm TLMM block found in the Qualcomm IPQ8064 platform.
42
43config PINCTRL_IPQ8074
44	tristate "Qualcomm Technologies, Inc. IPQ8074 pin controller driver"
45	depends on GPIOLIB && OF
46	select PINCTRL_MSM
47	help
48	  This is the pinctrl, pinmux, pinconf and gpiolib driver for
49	  the Qualcomm Technologies Inc. TLMM block found on the
50	  Qualcomm Technologies Inc. IPQ8074 platform. Select this for
51	  IPQ8074.
52
53config PINCTRL_MSM8660
54	tristate "Qualcomm 8660 pin controller driver"
55	depends on GPIOLIB && OF
56	select PINCTRL_MSM
57	help
58	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
59	  Qualcomm TLMM block found in the Qualcomm 8660 platform.
60
61config PINCTRL_MSM8960
62	tristate "Qualcomm 8960 pin controller driver"
63	depends on GPIOLIB && OF
64	select PINCTRL_MSM
65	help
66	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
67	  Qualcomm TLMM block found in the Qualcomm 8960 platform.
68
69config PINCTRL_MDM9615
70	tristate "Qualcomm 9615 pin controller driver"
71	depends on GPIOLIB && OF
72	select PINCTRL_MSM
73	help
74	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
75	  Qualcomm TLMM block found in the Qualcomm 9615 platform.
76
77config PINCTRL_MSM8X74
78	tristate "Qualcomm 8x74 pin controller driver"
79	depends on GPIOLIB && OF
80	select PINCTRL_MSM
81	help
82	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
83	  Qualcomm TLMM block found in the Qualcomm 8974 platform.
84
85config PINCTRL_MSM8916
86	tristate "Qualcomm 8916 pin controller driver"
87	depends on GPIOLIB && OF
88	select PINCTRL_MSM
89	help
90	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
91	  Qualcomm TLMM block found on the Qualcomm 8916 platform.
92
93config PINCTRL_MSM8994
94	tristate "Qualcomm 8994 pin controller driver"
95	depends on GPIOLIB && OF
96	select PINCTRL_MSM
97	help
98	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
99	  Qualcomm TLMM block found in the Qualcomm 8994 platform. The
100	  Qualcomm 8992 platform is also supported by this driver.
101
102config PINCTRL_MSM8996
103	tristate "Qualcomm MSM8996 pin controller driver"
104	depends on GPIOLIB && OF
105	select PINCTRL_MSM
106	help
107	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
108	  Qualcomm TLMM block found in the Qualcomm MSM8996 platform.
109
110config PINCTRL_MSM8998
111	tristate "Qualcomm MSM8998 pin controller driver"
112	depends on GPIOLIB && OF
113	select PINCTRL_MSM
114	help
115	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
116	  Qualcomm TLMM block found in the Qualcomm MSM8998 platform.
117
118config PINCTRL_QCS404
119	tristate "Qualcomm QCS404 pin controller driver"
120	depends on GPIOLIB && OF
121	select PINCTRL_MSM
122	help
123	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
124	  TLMM block found in the Qualcomm QCS404 platform.
125
126config PINCTRL_QDF2XXX
127	tristate "Qualcomm Technologies QDF2xxx pin controller driver"
128	depends on GPIOLIB && ACPI
129	select PINCTRL_MSM
130	help
131	  This is the GPIO driver for the TLMM block found on the
132	  Qualcomm Technologies QDF2xxx SOCs.
133
134config PINCTRL_QCOM_SPMI_PMIC
135       tristate "Qualcomm SPMI PMIC pin controller driver"
136       depends on GPIOLIB && OF && SPMI
137       select REGMAP_SPMI
138       select PINMUX
139       select PINCONF
140       select GENERIC_PINCONF
141       select GPIOLIB_IRQCHIP
142       select IRQ_DOMAIN_HIERARCHY
143       help
144         This is the pinctrl, pinmux, pinconf and gpiolib driver for the
145         Qualcomm GPIO and MPP blocks found in the Qualcomm PMIC's chips,
146         which are using SPMI for communication with SoC. Example PMIC's
147         devices are pm8841, pm8941 and pma8084.
148
149config PINCTRL_QCOM_SSBI_PMIC
150       tristate "Qualcomm SSBI PMIC pin controller driver"
151       depends on GPIOLIB && OF
152       select PINMUX
153       select PINCONF
154       select GENERIC_PINCONF
155       select IRQ_DOMAIN_HIERARCHY
156       help
157         This is the pinctrl, pinmux, pinconf and gpiolib driver for the
158         Qualcomm GPIO and MPP blocks found in the Qualcomm PMIC's chips,
159         which are using SSBI for communication with SoC. Example PMIC's
160         devices are pm8058 and pm8921.
161
162config PINCTRL_SC7180
163	tristate "Qualcomm Technologies Inc SC7180 pin controller driver"
164	depends on GPIOLIB && OF
165	select PINCTRL_MSM
166	help
167	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
168	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
169	  Technologies Inc SC7180 platform.
170
171config PINCTRL_SDM660
172       tristate "Qualcomm Technologies Inc SDM660 pin controller driver"
173       depends on GPIOLIB && OF
174       select PINCTRL_MSM
175       help
176         This is the pinctrl, pinmux, pinconf and gpiolib driver for the
177         Qualcomm Technologies Inc TLMM block found on the Qualcomm
178         Technologies Inc SDM660 platform.
179
180config PINCTRL_SDM845
181       tristate "Qualcomm Technologies Inc SDM845 pin controller driver"
182       depends on GPIOLIB && (OF || ACPI)
183       select PINCTRL_MSM
184       help
185         This is the pinctrl, pinmux, pinconf and gpiolib driver for the
186         Qualcomm Technologies Inc TLMM block found on the Qualcomm
187         Technologies Inc SDM845 platform.
188
189config PINCTRL_SM8150
190       tristate "Qualcomm Technologies Inc SM8150 pin controller driver"
191       depends on GPIOLIB && OF
192       select PINCTRL_MSM
193       help
194         This is the pinctrl, pinmux, pinconf and gpiolib driver for the
195         Qualcomm Technologies Inc TLMM block found on the Qualcomm
196         Technologies Inc SM8150 platform.
197
198endif
199