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