xref: /openbmc/linux/drivers/pinctrl/qcom/Kconfig (revision dc6a81c3)
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_MSM8976
94	tristate "Qualcomm 8976 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 on the Qualcomm MSM8976 platform.
100	  The Qualcomm MSM8956, APQ8056, APQ8076 platforms are also
101	  supported by this driver.
102
103config PINCTRL_MSM8994
104	tristate "Qualcomm 8994 pin controller driver"
105	depends on GPIOLIB && OF
106	select PINCTRL_MSM
107	help
108	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
109	  Qualcomm TLMM block found in the Qualcomm 8994 platform. The
110	  Qualcomm 8992 platform is also supported by this driver.
111
112config PINCTRL_MSM8996
113	tristate "Qualcomm MSM8996 pin controller driver"
114	depends on GPIOLIB && OF
115	select PINCTRL_MSM
116	help
117	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
118	  Qualcomm TLMM block found in the Qualcomm MSM8996 platform.
119
120config PINCTRL_MSM8998
121	tristate "Qualcomm MSM8998 pin controller driver"
122	depends on GPIOLIB && OF
123	select PINCTRL_MSM
124	help
125	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
126	  Qualcomm TLMM block found in the Qualcomm MSM8998 platform.
127
128config PINCTRL_QCS404
129	tristate "Qualcomm QCS404 pin controller driver"
130	depends on GPIOLIB && OF
131	select PINCTRL_MSM
132	help
133	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
134	  TLMM block found in the Qualcomm QCS404 platform.
135
136config PINCTRL_QDF2XXX
137	tristate "Qualcomm Technologies QDF2xxx pin controller driver"
138	depends on GPIOLIB && ACPI
139	select PINCTRL_MSM
140	help
141	  This is the GPIO driver for the TLMM block found on the
142	  Qualcomm Technologies QDF2xxx SOCs.
143
144config PINCTRL_QCOM_SPMI_PMIC
145	tristate "Qualcomm SPMI PMIC pin controller driver"
146	depends on GPIOLIB && OF && SPMI
147	select REGMAP_SPMI
148	select PINMUX
149	select PINCONF
150	select GENERIC_PINCONF
151	select GPIOLIB_IRQCHIP
152	select IRQ_DOMAIN_HIERARCHY
153	help
154	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
155	 Qualcomm GPIO and MPP blocks found in the Qualcomm PMIC's chips,
156	 which are using SPMI for communication with SoC. Example PMIC's
157	 devices are pm8841, pm8941 and pma8084.
158
159config PINCTRL_QCOM_SSBI_PMIC
160	tristate "Qualcomm SSBI PMIC pin controller driver"
161	depends on GPIOLIB && OF
162	select PINMUX
163	select PINCONF
164	select GENERIC_PINCONF
165	select GPIOLIB_IRQCHIP
166	select IRQ_DOMAIN_HIERARCHY
167	help
168	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
169	 Qualcomm GPIO and MPP blocks found in the Qualcomm PMIC's chips,
170	 which are using SSBI for communication with SoC. Example PMIC's
171	 devices are pm8058 and pm8921.
172
173config PINCTRL_SC7180
174	tristate "Qualcomm Technologies Inc SC7180 pin controller driver"
175	depends on GPIOLIB && OF
176	select PINCTRL_MSM
177	help
178	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
179	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
180	  Technologies Inc SC7180 platform.
181
182config PINCTRL_SDM660
183	tristate "Qualcomm Technologies Inc SDM660 pin controller driver"
184	depends on GPIOLIB && OF
185	select PINCTRL_MSM
186	help
187	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
188	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
189	 Technologies Inc SDM660 platform.
190
191config PINCTRL_SDM845
192	tristate "Qualcomm Technologies Inc SDM845 pin controller driver"
193	depends on GPIOLIB && (OF || ACPI)
194	select PINCTRL_MSM
195	help
196	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
197	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
198	 Technologies Inc SDM845 platform.
199
200config PINCTRL_SM8150
201	tristate "Qualcomm Technologies Inc SM8150 pin controller driver"
202	depends on GPIOLIB && OF
203	select PINCTRL_MSM
204	help
205	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
206	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
207	 Technologies Inc SM8150 platform.
208
209endif
210