xref: /openbmc/linux/drivers/pinctrl/qcom/Kconfig (revision aaf9128a)
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       help
141         This is the pinctrl, pinmux, pinconf and gpiolib driver for the
142         Qualcomm GPIO and MPP blocks found in the Qualcomm PMIC's chips,
143         which are using SPMI for communication with SoC. Example PMIC's
144         devices are pm8841, pm8941 and pma8084.
145
146config PINCTRL_QCOM_SSBI_PMIC
147       tristate "Qualcomm SSBI PMIC pin controller driver"
148       depends on GPIOLIB && OF
149       select PINMUX
150       select PINCONF
151       select GENERIC_PINCONF
152       help
153         This is the pinctrl, pinmux, pinconf and gpiolib driver for the
154         Qualcomm GPIO and MPP blocks found in the Qualcomm PMIC's chips,
155         which are using SSBI for communication with SoC. Example PMIC's
156         devices are pm8058 and pm8921.
157
158config PINCTRL_SDM660
159       tristate "Qualcomm Technologies Inc SDM660 pin controller driver"
160       depends on GPIOLIB && OF
161       select PINCTRL_MSM
162       help
163         This is the pinctrl, pinmux, pinconf and gpiolib driver for the
164         Qualcomm Technologies Inc TLMM block found on the Qualcomm
165         Technologies Inc SDM660 platform.
166
167config PINCTRL_SDM845
168       tristate "Qualcomm Technologies Inc SDM845 pin controller driver"
169       depends on GPIOLIB && OF
170       select PINCTRL_MSM
171       help
172         This is the pinctrl, pinmux, pinconf and gpiolib driver for the
173         Qualcomm Technologies Inc TLMM block found on the Qualcomm
174         Technologies Inc SDM845 platform.
175
176endif
177