2 * Copyright (c) 2014-2015, The Linux Foundation. All rights reserved.
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 and
6 * only version 2 as published by the Free Software Foundation.
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
14 #include <linux/module.h>
16 #include <linux/platform_device.h>
17 #include <linux/pinctrl/pinctrl.h>
19 #include "pinctrl-msm.h"
21 #define FUNCTION(fname) \
22 [msm_mux_##fname] = { \
24 .groups = fname##_groups, \
25 .ngroups = ARRAY_SIZE(fname##_groups), \
29 #define REG_SIZE 0x1000
30 #define PINGROUP(id, f1, f2, f3, f4, f5, f6, f7, f8, f9) \
33 .pins = gpio##id##_pins, \
34 .npins = (unsigned)ARRAY_SIZE(gpio##id##_pins), \
36 msm_mux_gpio, /* gpio mode */ \
48 .ctl_reg = REG_BASE + REG_SIZE * id, \
49 .io_reg = REG_BASE + 0x4 + REG_SIZE * id, \
50 .intr_cfg_reg = REG_BASE + 0x8 + REG_SIZE * id, \
51 .intr_status_reg = REG_BASE + 0xc + REG_SIZE * id, \
52 .intr_target_reg = REG_BASE + 0x8 + REG_SIZE * id, \
59 .intr_enable_bit = 0, \
60 .intr_status_bit = 0, \
61 .intr_target_bit = 5, \
62 .intr_target_kpss_val = 3, \
63 .intr_raw_status_bit = 4, \
64 .intr_polarity_bit = 1, \
65 .intr_detection_bit = 2, \
66 .intr_detection_width = 2, \
69 #define SDC_QDSD_PINGROUP(pg_name, ctl, pull, drv) \
72 .pins = pg_name##_pins, \
73 .npins = (unsigned)ARRAY_SIZE(pg_name##_pins), \
77 .intr_status_reg = 0, \
78 .intr_target_reg = 0, \
85 .intr_enable_bit = -1, \
86 .intr_status_bit = -1, \
87 .intr_target_bit = -1, \
88 .intr_raw_status_bit = -1, \
89 .intr_polarity_bit = -1, \
90 .intr_detection_bit = -1, \
91 .intr_detection_width = -1, \
93 static const struct pinctrl_pin_desc msm8996_pins
[] = {
94 PINCTRL_PIN(0, "GPIO_0"),
95 PINCTRL_PIN(1, "GPIO_1"),
96 PINCTRL_PIN(2, "GPIO_2"),
97 PINCTRL_PIN(3, "GPIO_3"),
98 PINCTRL_PIN(4, "GPIO_4"),
99 PINCTRL_PIN(5, "GPIO_5"),
100 PINCTRL_PIN(6, "GPIO_6"),
101 PINCTRL_PIN(7, "GPIO_7"),
102 PINCTRL_PIN(8, "GPIO_8"),
103 PINCTRL_PIN(9, "GPIO_9"),
104 PINCTRL_PIN(10, "GPIO_10"),
105 PINCTRL_PIN(11, "GPIO_11"),
106 PINCTRL_PIN(12, "GPIO_12"),
107 PINCTRL_PIN(13, "GPIO_13"),
108 PINCTRL_PIN(14, "GPIO_14"),
109 PINCTRL_PIN(15, "GPIO_15"),
110 PINCTRL_PIN(16, "GPIO_16"),
111 PINCTRL_PIN(17, "GPIO_17"),
112 PINCTRL_PIN(18, "GPIO_18"),
113 PINCTRL_PIN(19, "GPIO_19"),
114 PINCTRL_PIN(20, "GPIO_20"),
115 PINCTRL_PIN(21, "GPIO_21"),
116 PINCTRL_PIN(22, "GPIO_22"),
117 PINCTRL_PIN(23, "GPIO_23"),
118 PINCTRL_PIN(24, "GPIO_24"),
119 PINCTRL_PIN(25, "GPIO_25"),
120 PINCTRL_PIN(26, "GPIO_26"),
121 PINCTRL_PIN(27, "GPIO_27"),
122 PINCTRL_PIN(28, "GPIO_28"),
123 PINCTRL_PIN(29, "GPIO_29"),
124 PINCTRL_PIN(30, "GPIO_30"),
125 PINCTRL_PIN(31, "GPIO_31"),
126 PINCTRL_PIN(32, "GPIO_32"),
127 PINCTRL_PIN(33, "GPIO_33"),
128 PINCTRL_PIN(34, "GPIO_34"),
129 PINCTRL_PIN(35, "GPIO_35"),
130 PINCTRL_PIN(36, "GPIO_36"),
131 PINCTRL_PIN(37, "GPIO_37"),
132 PINCTRL_PIN(38, "GPIO_38"),
133 PINCTRL_PIN(39, "GPIO_39"),
134 PINCTRL_PIN(40, "GPIO_40"),
135 PINCTRL_PIN(41, "GPIO_41"),
136 PINCTRL_PIN(42, "GPIO_42"),
137 PINCTRL_PIN(43, "GPIO_43"),
138 PINCTRL_PIN(44, "GPIO_44"),
139 PINCTRL_PIN(45, "GPIO_45"),
140 PINCTRL_PIN(46, "GPIO_46"),
141 PINCTRL_PIN(47, "GPIO_47"),
142 PINCTRL_PIN(48, "GPIO_48"),
143 PINCTRL_PIN(49, "GPIO_49"),
144 PINCTRL_PIN(50, "GPIO_50"),
145 PINCTRL_PIN(51, "GPIO_51"),
146 PINCTRL_PIN(52, "GPIO_52"),
147 PINCTRL_PIN(53, "GPIO_53"),
148 PINCTRL_PIN(54, "GPIO_54"),
149 PINCTRL_PIN(55, "GPIO_55"),
150 PINCTRL_PIN(56, "GPIO_56"),
151 PINCTRL_PIN(57, "GPIO_57"),
152 PINCTRL_PIN(58, "GPIO_58"),
153 PINCTRL_PIN(59, "GPIO_59"),
154 PINCTRL_PIN(60, "GPIO_60"),
155 PINCTRL_PIN(61, "GPIO_61"),
156 PINCTRL_PIN(62, "GPIO_62"),
157 PINCTRL_PIN(63, "GPIO_63"),
158 PINCTRL_PIN(64, "GPIO_64"),
159 PINCTRL_PIN(65, "GPIO_65"),
160 PINCTRL_PIN(66, "GPIO_66"),
161 PINCTRL_PIN(67, "GPIO_67"),
162 PINCTRL_PIN(68, "GPIO_68"),
163 PINCTRL_PIN(69, "GPIO_69"),
164 PINCTRL_PIN(70, "GPIO_70"),
165 PINCTRL_PIN(71, "GPIO_71"),
166 PINCTRL_PIN(72, "GPIO_72"),
167 PINCTRL_PIN(73, "GPIO_73"),
168 PINCTRL_PIN(74, "GPIO_74"),
169 PINCTRL_PIN(75, "GPIO_75"),
170 PINCTRL_PIN(76, "GPIO_76"),
171 PINCTRL_PIN(77, "GPIO_77"),
172 PINCTRL_PIN(78, "GPIO_78"),
173 PINCTRL_PIN(79, "GPIO_79"),
174 PINCTRL_PIN(80, "GPIO_80"),
175 PINCTRL_PIN(81, "GPIO_81"),
176 PINCTRL_PIN(82, "GPIO_82"),
177 PINCTRL_PIN(83, "GPIO_83"),
178 PINCTRL_PIN(84, "GPIO_84"),
179 PINCTRL_PIN(85, "GPIO_85"),
180 PINCTRL_PIN(86, "GPIO_86"),
181 PINCTRL_PIN(87, "GPIO_87"),
182 PINCTRL_PIN(88, "GPIO_88"),
183 PINCTRL_PIN(89, "GPIO_89"),
184 PINCTRL_PIN(90, "GPIO_90"),
185 PINCTRL_PIN(91, "GPIO_91"),
186 PINCTRL_PIN(92, "GPIO_92"),
187 PINCTRL_PIN(93, "GPIO_93"),
188 PINCTRL_PIN(94, "GPIO_94"),
189 PINCTRL_PIN(95, "GPIO_95"),
190 PINCTRL_PIN(96, "GPIO_96"),
191 PINCTRL_PIN(97, "GPIO_97"),
192 PINCTRL_PIN(98, "GPIO_98"),
193 PINCTRL_PIN(99, "GPIO_99"),
194 PINCTRL_PIN(100, "GPIO_100"),
195 PINCTRL_PIN(101, "GPIO_101"),
196 PINCTRL_PIN(102, "GPIO_102"),
197 PINCTRL_PIN(103, "GPIO_103"),
198 PINCTRL_PIN(104, "GPIO_104"),
199 PINCTRL_PIN(105, "GPIO_105"),
200 PINCTRL_PIN(106, "GPIO_106"),
201 PINCTRL_PIN(107, "GPIO_107"),
202 PINCTRL_PIN(108, "GPIO_108"),
203 PINCTRL_PIN(109, "GPIO_109"),
204 PINCTRL_PIN(110, "GPIO_110"),
205 PINCTRL_PIN(111, "GPIO_111"),
206 PINCTRL_PIN(112, "GPIO_112"),
207 PINCTRL_PIN(113, "GPIO_113"),
208 PINCTRL_PIN(114, "GPIO_114"),
209 PINCTRL_PIN(115, "GPIO_115"),
210 PINCTRL_PIN(116, "GPIO_116"),
211 PINCTRL_PIN(117, "GPIO_117"),
212 PINCTRL_PIN(118, "GPIO_118"),
213 PINCTRL_PIN(119, "GPIO_119"),
214 PINCTRL_PIN(120, "GPIO_120"),
215 PINCTRL_PIN(121, "GPIO_121"),
216 PINCTRL_PIN(122, "GPIO_122"),
217 PINCTRL_PIN(123, "GPIO_123"),
218 PINCTRL_PIN(124, "GPIO_124"),
219 PINCTRL_PIN(125, "GPIO_125"),
220 PINCTRL_PIN(126, "GPIO_126"),
221 PINCTRL_PIN(127, "GPIO_127"),
222 PINCTRL_PIN(128, "GPIO_128"),
223 PINCTRL_PIN(129, "GPIO_129"),
224 PINCTRL_PIN(130, "GPIO_130"),
225 PINCTRL_PIN(131, "GPIO_131"),
226 PINCTRL_PIN(132, "GPIO_132"),
227 PINCTRL_PIN(133, "GPIO_133"),
228 PINCTRL_PIN(134, "GPIO_134"),
229 PINCTRL_PIN(135, "GPIO_135"),
230 PINCTRL_PIN(136, "GPIO_136"),
231 PINCTRL_PIN(137, "GPIO_137"),
232 PINCTRL_PIN(138, "GPIO_138"),
233 PINCTRL_PIN(139, "GPIO_139"),
234 PINCTRL_PIN(140, "GPIO_140"),
235 PINCTRL_PIN(141, "GPIO_141"),
236 PINCTRL_PIN(142, "GPIO_142"),
237 PINCTRL_PIN(143, "GPIO_143"),
238 PINCTRL_PIN(144, "GPIO_144"),
239 PINCTRL_PIN(145, "GPIO_145"),
240 PINCTRL_PIN(146, "GPIO_146"),
241 PINCTRL_PIN(147, "GPIO_147"),
242 PINCTRL_PIN(148, "GPIO_148"),
243 PINCTRL_PIN(149, "GPIO_149"),
244 PINCTRL_PIN(150, "SDC1_CLK"),
245 PINCTRL_PIN(151, "SDC1_CMD"),
246 PINCTRL_PIN(152, "SDC1_DATA"),
247 PINCTRL_PIN(153, "SDC2_CLK"),
248 PINCTRL_PIN(154, "SDC2_CMD"),
249 PINCTRL_PIN(155, "SDC2_DATA"),
250 PINCTRL_PIN(156, "SDC1_RCLK"),
253 #define DECLARE_MSM_GPIO_PINS(pin) \
254 static const unsigned int gpio##pin##_pins[] = { pin }
255 DECLARE_MSM_GPIO_PINS(0);
256 DECLARE_MSM_GPIO_PINS(1);
257 DECLARE_MSM_GPIO_PINS(2);
258 DECLARE_MSM_GPIO_PINS(3);
259 DECLARE_MSM_GPIO_PINS(4);
260 DECLARE_MSM_GPIO_PINS(5);
261 DECLARE_MSM_GPIO_PINS(6);
262 DECLARE_MSM_GPIO_PINS(7);
263 DECLARE_MSM_GPIO_PINS(8);
264 DECLARE_MSM_GPIO_PINS(9);
265 DECLARE_MSM_GPIO_PINS(10);
266 DECLARE_MSM_GPIO_PINS(11);
267 DECLARE_MSM_GPIO_PINS(12);
268 DECLARE_MSM_GPIO_PINS(13);
269 DECLARE_MSM_GPIO_PINS(14);
270 DECLARE_MSM_GPIO_PINS(15);
271 DECLARE_MSM_GPIO_PINS(16);
272 DECLARE_MSM_GPIO_PINS(17);
273 DECLARE_MSM_GPIO_PINS(18);
274 DECLARE_MSM_GPIO_PINS(19);
275 DECLARE_MSM_GPIO_PINS(20);
276 DECLARE_MSM_GPIO_PINS(21);
277 DECLARE_MSM_GPIO_PINS(22);
278 DECLARE_MSM_GPIO_PINS(23);
279 DECLARE_MSM_GPIO_PINS(24);
280 DECLARE_MSM_GPIO_PINS(25);
281 DECLARE_MSM_GPIO_PINS(26);
282 DECLARE_MSM_GPIO_PINS(27);
283 DECLARE_MSM_GPIO_PINS(28);
284 DECLARE_MSM_GPIO_PINS(29);
285 DECLARE_MSM_GPIO_PINS(30);
286 DECLARE_MSM_GPIO_PINS(31);
287 DECLARE_MSM_GPIO_PINS(32);
288 DECLARE_MSM_GPIO_PINS(33);
289 DECLARE_MSM_GPIO_PINS(34);
290 DECLARE_MSM_GPIO_PINS(35);
291 DECLARE_MSM_GPIO_PINS(36);
292 DECLARE_MSM_GPIO_PINS(37);
293 DECLARE_MSM_GPIO_PINS(38);
294 DECLARE_MSM_GPIO_PINS(39);
295 DECLARE_MSM_GPIO_PINS(40);
296 DECLARE_MSM_GPIO_PINS(41);
297 DECLARE_MSM_GPIO_PINS(42);
298 DECLARE_MSM_GPIO_PINS(43);
299 DECLARE_MSM_GPIO_PINS(44);
300 DECLARE_MSM_GPIO_PINS(45);
301 DECLARE_MSM_GPIO_PINS(46);
302 DECLARE_MSM_GPIO_PINS(47);
303 DECLARE_MSM_GPIO_PINS(48);
304 DECLARE_MSM_GPIO_PINS(49);
305 DECLARE_MSM_GPIO_PINS(50);
306 DECLARE_MSM_GPIO_PINS(51);
307 DECLARE_MSM_GPIO_PINS(52);
308 DECLARE_MSM_GPIO_PINS(53);
309 DECLARE_MSM_GPIO_PINS(54);
310 DECLARE_MSM_GPIO_PINS(55);
311 DECLARE_MSM_GPIO_PINS(56);
312 DECLARE_MSM_GPIO_PINS(57);
313 DECLARE_MSM_GPIO_PINS(58);
314 DECLARE_MSM_GPIO_PINS(59);
315 DECLARE_MSM_GPIO_PINS(60);
316 DECLARE_MSM_GPIO_PINS(61);
317 DECLARE_MSM_GPIO_PINS(62);
318 DECLARE_MSM_GPIO_PINS(63);
319 DECLARE_MSM_GPIO_PINS(64);
320 DECLARE_MSM_GPIO_PINS(65);
321 DECLARE_MSM_GPIO_PINS(66);
322 DECLARE_MSM_GPIO_PINS(67);
323 DECLARE_MSM_GPIO_PINS(68);
324 DECLARE_MSM_GPIO_PINS(69);
325 DECLARE_MSM_GPIO_PINS(70);
326 DECLARE_MSM_GPIO_PINS(71);
327 DECLARE_MSM_GPIO_PINS(72);
328 DECLARE_MSM_GPIO_PINS(73);
329 DECLARE_MSM_GPIO_PINS(74);
330 DECLARE_MSM_GPIO_PINS(75);
331 DECLARE_MSM_GPIO_PINS(76);
332 DECLARE_MSM_GPIO_PINS(77);
333 DECLARE_MSM_GPIO_PINS(78);
334 DECLARE_MSM_GPIO_PINS(79);
335 DECLARE_MSM_GPIO_PINS(80);
336 DECLARE_MSM_GPIO_PINS(81);
337 DECLARE_MSM_GPIO_PINS(82);
338 DECLARE_MSM_GPIO_PINS(83);
339 DECLARE_MSM_GPIO_PINS(84);
340 DECLARE_MSM_GPIO_PINS(85);
341 DECLARE_MSM_GPIO_PINS(86);
342 DECLARE_MSM_GPIO_PINS(87);
343 DECLARE_MSM_GPIO_PINS(88);
344 DECLARE_MSM_GPIO_PINS(89);
345 DECLARE_MSM_GPIO_PINS(90);
346 DECLARE_MSM_GPIO_PINS(91);
347 DECLARE_MSM_GPIO_PINS(92);
348 DECLARE_MSM_GPIO_PINS(93);
349 DECLARE_MSM_GPIO_PINS(94);
350 DECLARE_MSM_GPIO_PINS(95);
351 DECLARE_MSM_GPIO_PINS(96);
352 DECLARE_MSM_GPIO_PINS(97);
353 DECLARE_MSM_GPIO_PINS(98);
354 DECLARE_MSM_GPIO_PINS(99);
355 DECLARE_MSM_GPIO_PINS(100);
356 DECLARE_MSM_GPIO_PINS(101);
357 DECLARE_MSM_GPIO_PINS(102);
358 DECLARE_MSM_GPIO_PINS(103);
359 DECLARE_MSM_GPIO_PINS(104);
360 DECLARE_MSM_GPIO_PINS(105);
361 DECLARE_MSM_GPIO_PINS(106);
362 DECLARE_MSM_GPIO_PINS(107);
363 DECLARE_MSM_GPIO_PINS(108);
364 DECLARE_MSM_GPIO_PINS(109);
365 DECLARE_MSM_GPIO_PINS(110);
366 DECLARE_MSM_GPIO_PINS(111);
367 DECLARE_MSM_GPIO_PINS(112);
368 DECLARE_MSM_GPIO_PINS(113);
369 DECLARE_MSM_GPIO_PINS(114);
370 DECLARE_MSM_GPIO_PINS(115);
371 DECLARE_MSM_GPIO_PINS(116);
372 DECLARE_MSM_GPIO_PINS(117);
373 DECLARE_MSM_GPIO_PINS(118);
374 DECLARE_MSM_GPIO_PINS(119);
375 DECLARE_MSM_GPIO_PINS(120);
376 DECLARE_MSM_GPIO_PINS(121);
377 DECLARE_MSM_GPIO_PINS(122);
378 DECLARE_MSM_GPIO_PINS(123);
379 DECLARE_MSM_GPIO_PINS(124);
380 DECLARE_MSM_GPIO_PINS(125);
381 DECLARE_MSM_GPIO_PINS(126);
382 DECLARE_MSM_GPIO_PINS(127);
383 DECLARE_MSM_GPIO_PINS(128);
384 DECLARE_MSM_GPIO_PINS(129);
385 DECLARE_MSM_GPIO_PINS(130);
386 DECLARE_MSM_GPIO_PINS(131);
387 DECLARE_MSM_GPIO_PINS(132);
388 DECLARE_MSM_GPIO_PINS(133);
389 DECLARE_MSM_GPIO_PINS(134);
390 DECLARE_MSM_GPIO_PINS(135);
391 DECLARE_MSM_GPIO_PINS(136);
392 DECLARE_MSM_GPIO_PINS(137);
393 DECLARE_MSM_GPIO_PINS(138);
394 DECLARE_MSM_GPIO_PINS(139);
395 DECLARE_MSM_GPIO_PINS(140);
396 DECLARE_MSM_GPIO_PINS(141);
397 DECLARE_MSM_GPIO_PINS(142);
398 DECLARE_MSM_GPIO_PINS(143);
399 DECLARE_MSM_GPIO_PINS(144);
400 DECLARE_MSM_GPIO_PINS(145);
401 DECLARE_MSM_GPIO_PINS(146);
402 DECLARE_MSM_GPIO_PINS(147);
403 DECLARE_MSM_GPIO_PINS(148);
404 DECLARE_MSM_GPIO_PINS(149);
406 static const unsigned int sdc1_clk_pins
[] = { 150 };
407 static const unsigned int sdc1_cmd_pins
[] = { 151 };
408 static const unsigned int sdc1_data_pins
[] = { 152 };
409 static const unsigned int sdc2_clk_pins
[] = { 153 };
410 static const unsigned int sdc2_cmd_pins
[] = { 154 };
411 static const unsigned int sdc2_data_pins
[] = { 155 };
412 static const unsigned int sdc1_rclk_pins
[] = { 156 };
414 enum msm8996_functions
{
423 msm_mux_atest_gpsadc0
,
424 msm_mux_atest_gpsadc1
,
426 msm_mux_atest_tsens2
,
441 msm_mux_blsp11_i2c_scl_b
,
442 msm_mux_blsp11_i2c_sda_b
,
443 msm_mux_blsp11_uart_rx_b
,
444 msm_mux_blsp11_uart_tx_b
,
495 msm_mux_btfm_slimbus
,
539 msm_mux_gcc_gp1_clk_a
,
540 msm_mux_gcc_gp1_clk_b
,
541 msm_mux_gcc_gp2_clk_a
,
542 msm_mux_gcc_gp2_clk_b
,
543 msm_mux_gcc_gp3_clk_a
,
544 msm_mux_gcc_gp3_clk_b
,
553 msm_mux_lpass_slimbus
,
556 msm_mux_mdp_vsync_p_b
,
557 msm_mux_mdp_vsync_s_b
,
562 msm_mux_pa_indicator
,
566 msm_mux_pll_bypassnl
,
574 msm_mux_qdss_cti_trig_in_a
,
575 msm_mux_qdss_cti_trig_in_b
,
576 msm_mux_qdss_cti_trig_out_a
,
577 msm_mux_qdss_cti_trig_out_b
,
610 msm_mux_qdss_traceclk_a
,
611 msm_mux_qdss_traceclk_b
,
612 msm_mux_qdss_tracectl_a
,
613 msm_mux_qdss_tracectl_b
,
614 msm_mux_qdss_tracedata_11
,
615 msm_mux_qdss_tracedata_12
,
616 msm_mux_qdss_tracedata_a
,
617 msm_mux_qdss_tracedata_b
,
661 static const char * const gpio_groups
[] = {
662 "gpio0", "gpio1", "gpio2", "gpio3", "gpio4", "gpio5", "gpio6", "gpio7",
663 "gpio8", "gpio9", "gpio10", "gpio11", "gpio12", "gpio13", "gpio14",
664 "gpio15", "gpio16", "gpio17", "gpio18", "gpio19", "gpio20", "gpio21",
665 "gpio22", "gpio23", "gpio24", "gpio25", "gpio26", "gpio27", "gpio28",
666 "gpio29", "gpio30", "gpio31", "gpio32", "gpio33", "gpio34", "gpio35",
667 "gpio36", "gpio37", "gpio38", "gpio39", "gpio40", "gpio41", "gpio42",
668 "gpio43", "gpio44", "gpio45", "gpio46", "gpio47", "gpio48", "gpio49",
669 "gpio50", "gpio51", "gpio52", "gpio53", "gpio54", "gpio55", "gpio56",
670 "gpio57", "gpio58", "gpio59", "gpio60", "gpio61", "gpio62", "gpio63",
671 "gpio64", "gpio65", "gpio66", "gpio67", "gpio68", "gpio69", "gpio70",
672 "gpio71", "gpio72", "gpio73", "gpio74", "gpio75", "gpio76", "gpio77",
673 "gpio78", "gpio79", "gpio80", "gpio81", "gpio82", "gpio83", "gpio84",
674 "gpio85", "gpio86", "gpio87", "gpio88", "gpio89", "gpio90", "gpio91",
675 "gpio92", "gpio93", "gpio94", "gpio95", "gpio96", "gpio97", "gpio98",
676 "gpio99", "gpio100", "gpio101", "gpio102", "gpio103", "gpio104",
677 "gpio105", "gpio106", "gpio107", "gpio108", "gpio109", "gpio110",
678 "gpio111", "gpio112", "gpio113", "gpio114", "gpio115", "gpio116",
679 "gpio117", "gpio118", "gpio119", "gpio120", "gpio121", "gpio122",
680 "gpio123", "gpio124", "gpio125", "gpio126", "gpio127", "gpio128",
681 "gpio129", "gpio130", "gpio131", "gpio132", "gpio133", "gpio134",
682 "gpio135", "gpio136", "gpio137", "gpio138", "gpio139", "gpio140",
683 "gpio141", "gpio142", "gpio143", "gpio144", "gpio145", "gpio146",
684 "gpio147", "gpio148", "gpio149"
688 static const char * const blsp_uart1_groups
[] = {
689 "gpio0", "gpio1", "gpio2", "gpio3",
691 static const char * const blsp_spi1_groups
[] = {
692 "gpio0", "gpio1", "gpio2", "gpio3",
694 static const char * const blsp_i2c1_groups
[] = {
697 static const char * const blsp_uim1_groups
[] = {
700 static const char * const atest_tsens_groups
[] = {
703 static const char * const bimc_dte1_groups
[] = {
706 static const char * const blsp_spi8_groups
[] = {
707 "gpio4", "gpio5", "gpio6", "gpio7",
709 static const char * const blsp_uart8_groups
[] = {
710 "gpio4", "gpio5", "gpio6", "gpio7",
712 static const char * const blsp_uim8_groups
[] = {
715 static const char * const qdss_cti_trig_out_b_groups
[] = {
718 static const char * const dac_calib0_groups
[] = {
721 static const char * const bimc_dte0_groups
[] = {
724 static const char * const qdss_cti_trig_in_b_groups
[] = {
727 static const char * const dac_calib1_groups
[] = {
730 static const char * const dac_calib2_groups
[] = {
733 static const char * const atest_tsens2_groups
[] = {
736 static const char * const blsp_spi10_groups
[] = {
737 "gpio8", "gpio9", "gpio10", "gpio11",
739 static const char * const blsp_uart10_groups
[] = {
740 "gpio8", "gpio9", "gpio10", "gpio11",
742 static const char * const blsp_uim10_groups
[] = {
745 static const char * const atest_bbrx1_groups
[] = {
748 static const char * const atest_usb12_groups
[] = {
751 static const char * const mdp_vsync_groups
[] = {
752 "gpio10", "gpio11", "gpio12",
754 static const char * const edp_lcd_groups
[] = {
757 static const char * const blsp_i2c10_groups
[] = {
760 static const char * const atest_usb11_groups
[] = {
763 static const char * const atest_gpsadc0_groups
[] = {
766 static const char * const edp_hot_groups
[] = {
769 static const char * const atest_usb10_groups
[] = {
772 static const char * const m_voc_groups
[] = {
775 static const char * const dac_gpio_groups
[] = {
778 static const char * const atest_char_groups
[] = {
781 static const char * const cam_mclk_groups
[] = {
782 "gpio13", "gpio14", "gpio15", "gpio16",
784 static const char * const pll_bypassnl_groups
[] = {
787 static const char * const qdss_stm7_groups
[] = {
790 static const char * const blsp_i2c8_groups
[] = {
793 static const char * const atest_usb1_groups
[] = {
796 static const char * const atest_usb13_groups
[] = {
799 static const char * const atest_bbrx0_groups
[] = {
802 static const char * const atest_gpsadc1_groups
[] = {
805 static const char * const qdss_tracedata_b_groups
[] = {
806 "gpio13", "gpio14", "gpio15", "gpio16", "gpio17", "gpio18", "gpio19",
807 "gpio21", "gpio22", "gpio23", "gpio26", "gpio29", "gpio57", "gpio58",
810 static const char * const pll_reset_groups
[] = {
813 static const char * const qdss_stm6_groups
[] = {
816 static const char * const qdss_stm5_groups
[] = {
819 static const char * const qdss_stm4_groups
[] = {
822 static const char * const atest_usb2_groups
[] = {
825 static const char * const dac_calib3_groups
[] = {
828 static const char * const cci_i2c_groups
[] = {
829 "gpio17", "gpio18", "gpio19", "gpio20",
831 static const char * const qdss_stm3_groups
[] = {
834 static const char * const atest_usb23_groups
[] = {
837 static const char * const atest_char3_groups
[] = {
840 static const char * const dac_calib4_groups
[] = {
843 static const char * const qdss_stm2_groups
[] = {
846 static const char * const atest_usb22_groups
[] = {
849 static const char * const atest_char2_groups
[] = {
852 static const char * const dac_calib5_groups
[] = {
855 static const char * const qdss_stm1_groups
[] = {
858 static const char * const atest_usb21_groups
[] = {
861 static const char * const atest_char1_groups
[] = {
864 static const char * const dac_calib6_groups
[] = {
867 static const char * const dbg_out_groups
[] = {
870 static const char * const qdss_stm0_groups
[] = {
873 static const char * const atest_usb20_groups
[] = {
876 static const char * const atest_char0_groups
[] = {
879 static const char * const dac_calib7_groups
[] = {
882 static const char * const cci_timer0_groups
[] = {
885 static const char * const qdss_stm13_groups
[] = {
888 static const char * const dac_calib8_groups
[] = {
891 static const char * const cci_timer1_groups
[] = {
894 static const char * const qdss_stm12_groups
[] = {
897 static const char * const dac_calib9_groups
[] = {
900 static const char * const cci_timer2_groups
[] = {
903 static const char * const qdss_stm11_groups
[] = {
906 static const char * const dac_calib10_groups
[] = {
909 static const char * const cci_timer3_groups
[] = {
912 static const char * const cci_async_groups
[] = {
913 "gpio24", "gpio25", "gpio26",
915 static const char * const blsp1_spi_groups
[] = {
916 "gpio24", "gpio27", "gpio28", "gpio90",
918 static const char * const qdss_stm10_groups
[] = {
921 static const char * const qdss_cti_trig_in_a_groups
[] = {
924 static const char * const dac_calib11_groups
[] = {
927 static const char * const cci_timer4_groups
[] = {
930 static const char * const blsp_spi6_groups
[] = {
931 "gpio25", "gpio26", "gpio27", "gpio28",
933 static const char * const blsp_uart6_groups
[] = {
934 "gpio25", "gpio26", "gpio27", "gpio28",
936 static const char * const blsp_uim6_groups
[] = {
939 static const char * const blsp2_spi_groups
[] = {
940 "gpio25", "gpio29", "gpio30",
942 static const char * const qdss_stm9_groups
[] = {
945 static const char * const qdss_cti_trig_out_a_groups
[] = {
948 static const char * const dac_calib12_groups
[] = {
951 static const char * const qdss_stm8_groups
[] = {
954 static const char * const dac_calib13_groups
[] = {
957 static const char * const blsp_i2c6_groups
[] = {
960 static const char * const qdss_tracectl_a_groups
[] = {
963 static const char * const dac_calib14_groups
[] = {
966 static const char * const qdss_traceclk_a_groups
[] = {
969 static const char * const dac_calib15_groups
[] = {
972 static const char * const dac_calib16_groups
[] = {
975 static const char * const hdmi_rcv_groups
[] = {
978 static const char * const dac_calib17_groups
[] = {
981 static const char * const pwr_modem_groups
[] = {
984 static const char * const hdmi_cec_groups
[] = {
987 static const char * const pwr_nav_groups
[] = {
990 static const char * const dac_calib18_groups
[] = {
993 static const char * const hdmi_ddc_groups
[] = {
996 static const char * const pwr_crypto_groups
[] = {
999 static const char * const dac_calib19_groups
[] = {
1002 static const char * const dac_calib20_groups
[] = {
1005 static const char * const hdmi_hot_groups
[] = {
1008 static const char * const dac_calib21_groups
[] = {
1011 static const char * const pci_e0_groups
[] = {
1014 static const char * const dac_calib22_groups
[] = {
1017 static const char * const dac_calib23_groups
[] = {
1020 static const char * const blsp_i2c2_groups
[] = {
1023 static const char * const blsp_spi3_groups
[] = {
1024 "gpio45", "gpio46", "gpio47", "gpio48",
1026 static const char * const blsp_uart3_groups
[] = {
1027 "gpio45", "gpio46", "gpio47", "gpio48",
1029 static const char * const blsp_uim3_groups
[] = {
1032 static const char * const blsp_i2c3_groups
[] = {
1035 static const char * const dac_calib24_groups
[] = {
1038 static const char * const dac_calib25_groups
[] = {
1041 static const char * const tsif1_sync_groups
[] = {
1044 static const char * const sd_write_groups
[] = {
1047 static const char * const tsif1_error_groups
[] = {
1050 static const char * const blsp_spi2_groups
[] = {
1051 "gpio41", "gpio42", "gpio43", "gpio44",
1053 static const char * const blsp_uart2_groups
[] = {
1054 "gpio41", "gpio42", "gpio43", "gpio44",
1056 static const char * const blsp_uim2_groups
[] = {
1059 static const char * const qdss_cti_groups
[] = {
1060 "gpio41", "gpio42", "gpio100", "gpio101",
1062 static const char * const uim3_groups
[] = {
1063 "gpio49", "gpio50", "gpio51", "gpio52",
1065 static const char * const blsp_spi9_groups
[] = {
1066 "gpio49", "gpio50", "gpio51", "gpio52",
1068 static const char * const blsp_uart9_groups
[] = {
1069 "gpio49", "gpio50", "gpio51", "gpio52",
1071 static const char * const blsp_uim9_groups
[] = {
1074 static const char * const blsp10_spi_groups
[] = {
1075 "gpio49", "gpio50", "gpio51", "gpio52", "gpio88",
1077 static const char * const blsp_i2c9_groups
[] = {
1080 static const char * const blsp_spi7_groups
[] = {
1081 "gpio53", "gpio54", "gpio55", "gpio56",
1083 static const char * const blsp_uart7_groups
[] = {
1084 "gpio53", "gpio54", "gpio55", "gpio56",
1086 static const char * const blsp_uim7_groups
[] = {
1089 static const char * const qdss_tracedata_a_groups
[] = {
1090 "gpio53", "gpio54", "gpio63", "gpio64", "gpio65", "gpio66", "gpio67",
1091 "gpio74", "gpio75", "gpio76", "gpio77", "gpio85", "gpio86", "gpio87",
1094 static const char * const blsp_i2c7_groups
[] = {
1097 static const char * const qua_mi2s_groups
[] = {
1098 "gpio57", "gpio58", "gpio59", "gpio60", "gpio61", "gpio62", "gpio63",
1100 static const char * const gcc_gp1_clk_a_groups
[] = {
1103 static const char * const uim4_groups
[] = {
1104 "gpio58", "gpio59", "gpio60", "gpio61",
1106 static const char * const blsp_spi11_groups
[] = {
1107 "gpio58", "gpio59", "gpio60", "gpio61",
1109 static const char * const blsp_uart11_groups
[] = {
1110 "gpio58", "gpio59", "gpio60", "gpio61",
1112 static const char * const blsp_uim11_groups
[] = {
1115 static const char * const gcc_gp2_clk_a_groups
[] = {
1118 static const char * const gcc_gp3_clk_a_groups
[] = {
1121 static const char * const blsp_i2c11_groups
[] = {
1124 static const char * const cri_trng0_groups
[] = {
1127 static const char * const cri_trng1_groups
[] = {
1130 static const char * const cri_trng_groups
[] = {
1133 static const char * const qdss_stm18_groups
[] = {
1136 static const char * const pri_mi2s_groups
[] = {
1137 "gpio64", "gpio65", "gpio66", "gpio67", "gpio68",
1139 static const char * const qdss_stm17_groups
[] = {
1142 static const char * const blsp_spi4_groups
[] = {
1143 "gpio65", "gpio66", "gpio67", "gpio68",
1145 static const char * const blsp_uart4_groups
[] = {
1146 "gpio65", "gpio66", "gpio67", "gpio68",
1148 static const char * const blsp_uim4_groups
[] = {
1151 static const char * const qdss_stm16_groups
[] = {
1154 static const char * const qdss_stm15_groups
[] = {
1157 static const char * const dac_calib26_groups
[] = {
1160 static const char * const blsp_i2c4_groups
[] = {
1163 static const char * const qdss_stm14_groups
[] = {
1166 static const char * const spkr_i2s_groups
[] = {
1167 "gpio69", "gpio70", "gpio71", "gpio72",
1169 static const char * const audio_ref_groups
[] = {
1172 static const char * const lpass_slimbus_groups
[] = {
1173 "gpio70", "gpio71", "gpio72",
1175 static const char * const isense_dbg_groups
[] = {
1178 static const char * const tsense_pwm1_groups
[] = {
1181 static const char * const tsense_pwm2_groups
[] = {
1184 static const char * const btfm_slimbus_groups
[] = {
1187 static const char * const ter_mi2s_groups
[] = {
1188 "gpio74", "gpio75", "gpio76", "gpio77", "gpio78",
1190 static const char * const qdss_stm22_groups
[] = {
1193 static const char * const qdss_stm21_groups
[] = {
1196 static const char * const qdss_stm20_groups
[] = {
1199 static const char * const qdss_stm19_groups
[] = {
1202 static const char * const ssc_irq_groups
[] = {
1203 "gpio78", "gpio79", "gpio80", "gpio117", "gpio118", "gpio119",
1204 "gpio120", "gpio121", "gpio122", "gpio123", "gpio124", "gpio125",
1206 static const char * const gcc_gp1_clk_b_groups
[] = {
1209 static const char * const sec_mi2s_groups
[] = {
1210 "gpio79", "gpio80", "gpio81", "gpio82", "gpio83",
1212 static const char * const blsp_spi5_groups
[] = {
1213 "gpio81", "gpio82", "gpio83", "gpio84",
1215 static const char * const blsp_uart5_groups
[] = {
1216 "gpio81", "gpio82", "gpio83", "gpio84",
1218 static const char * const blsp_uim5_groups
[] = {
1221 static const char * const gcc_gp2_clk_b_groups
[] = {
1224 static const char * const gcc_gp3_clk_b_groups
[] = {
1227 static const char * const blsp_i2c5_groups
[] = {
1230 static const char * const blsp_spi12_groups
[] = {
1231 "gpio85", "gpio86", "gpio87", "gpio88",
1233 static const char * const blsp_uart12_groups
[] = {
1234 "gpio85", "gpio86", "gpio87", "gpio88",
1236 static const char * const blsp_uim12_groups
[] = {
1239 static const char * const qdss_stm25_groups
[] = {
1242 static const char * const qdss_stm31_groups
[] = {
1245 static const char * const blsp_i2c12_groups
[] = {
1248 static const char * const qdss_stm30_groups
[] = {
1251 static const char * const qdss_stm29_groups
[] = {
1254 static const char * const tsif1_clk_groups
[] = {
1257 static const char * const qdss_stm28_groups
[] = {
1260 static const char * const tsif1_en_groups
[] = {
1263 static const char * const tsif1_data_groups
[] = {
1266 static const char * const sdc4_cmd_groups
[] = {
1269 static const char * const qdss_stm27_groups
[] = {
1272 static const char * const qdss_traceclk_b_groups
[] = {
1275 static const char * const tsif2_error_groups
[] = {
1278 static const char * const sdc43_groups
[] = {
1281 static const char * const vfr_1_groups
[] = {
1284 static const char * const qdss_stm26_groups
[] = {
1287 static const char * const tsif2_clk_groups
[] = {
1290 static const char * const sdc4_clk_groups
[] = {
1293 static const char * const qdss_stm24_groups
[] = {
1296 static const char * const tsif2_en_groups
[] = {
1299 static const char * const sdc42_groups
[] = {
1302 static const char * const qdss_stm23_groups
[] = {
1305 static const char * const qdss_tracectl_b_groups
[] = {
1308 static const char * const sd_card_groups
[] = {
1311 static const char * const tsif2_data_groups
[] = {
1314 static const char * const sdc41_groups
[] = {
1317 static const char * const tsif2_sync_groups
[] = {
1320 static const char * const sdc40_groups
[] = {
1323 static const char * const mdp_vsync_p_b_groups
[] = {
1326 static const char * const ldo_en_groups
[] = {
1329 static const char * const mdp_vsync_s_b_groups
[] = {
1332 static const char * const ldo_update_groups
[] = {
1335 static const char * const blsp11_uart_tx_b_groups
[] = {
1338 static const char * const blsp11_uart_rx_b_groups
[] = {
1341 static const char * const blsp11_i2c_sda_b_groups
[] = {
1344 static const char * const prng_rosc_groups
[] = {
1347 static const char * const blsp11_i2c_scl_b_groups
[] = {
1350 static const char * const uim2_groups
[] = {
1351 "gpio105", "gpio106", "gpio107", "gpio108",
1353 static const char * const uim1_groups
[] = {
1354 "gpio109", "gpio110", "gpio111", "gpio112",
1356 static const char * const uim_batt_groups
[] = {
1359 static const char * const pci_e2_groups
[] = {
1360 "gpio114", "gpio115", "gpio116",
1362 static const char * const pa_indicator_groups
[] = {
1365 static const char * const adsp_ext_groups
[] = {
1368 static const char * const ddr_bist_groups
[] = {
1369 "gpio121", "gpio122", "gpio123", "gpio124",
1371 static const char * const qdss_tracedata_11_groups
[] = {
1374 static const char * const qdss_tracedata_12_groups
[] = {
1377 static const char * const modem_tsync_groups
[] = {
1380 static const char * const nav_dr_groups
[] = {
1383 static const char * const nav_pps_groups
[] = {
1386 static const char * const pci_e1_groups
[] = {
1387 "gpio130", "gpio131", "gpio132",
1389 static const char * const gsm_tx_groups
[] = {
1390 "gpio134", "gpio135",
1392 static const char * const qspi_cs_groups
[] = {
1393 "gpio138", "gpio141",
1395 static const char * const ssbi2_groups
[] = {
1398 static const char * const ssbi1_groups
[] = {
1401 static const char * const mss_lte_groups
[] = {
1402 "gpio144", "gpio145",
1404 static const char * const qspi_clk_groups
[] = {
1407 static const char * const qspi0_groups
[] = {
1410 static const char * const qspi1_groups
[] = {
1413 static const char * const qspi2_groups
[] = {
1416 static const char * const qspi3_groups
[] = {
1420 static const struct msm_function msm8996_functions
[] = {
1422 FUNCTION(atest_bbrx0
),
1423 FUNCTION(atest_bbrx1
),
1424 FUNCTION(atest_char
),
1425 FUNCTION(atest_char0
),
1426 FUNCTION(atest_char1
),
1427 FUNCTION(atest_char2
),
1428 FUNCTION(atest_char3
),
1429 FUNCTION(atest_gpsadc0
),
1430 FUNCTION(atest_gpsadc1
),
1431 FUNCTION(atest_tsens
),
1432 FUNCTION(atest_tsens2
),
1433 FUNCTION(atest_usb1
),
1434 FUNCTION(atest_usb10
),
1435 FUNCTION(atest_usb11
),
1436 FUNCTION(atest_usb12
),
1437 FUNCTION(atest_usb13
),
1438 FUNCTION(atest_usb2
),
1439 FUNCTION(atest_usb20
),
1440 FUNCTION(atest_usb21
),
1441 FUNCTION(atest_usb22
),
1442 FUNCTION(atest_usb23
),
1443 FUNCTION(audio_ref
),
1444 FUNCTION(bimc_dte0
),
1445 FUNCTION(bimc_dte1
),
1446 FUNCTION(blsp10_spi
),
1447 FUNCTION(blsp11_i2c_scl_b
),
1448 FUNCTION(blsp11_i2c_sda_b
),
1449 FUNCTION(blsp11_uart_rx_b
),
1450 FUNCTION(blsp11_uart_tx_b
),
1451 FUNCTION(blsp1_spi
),
1452 FUNCTION(blsp2_spi
),
1453 FUNCTION(blsp_i2c1
),
1454 FUNCTION(blsp_i2c10
),
1455 FUNCTION(blsp_i2c11
),
1456 FUNCTION(blsp_i2c12
),
1457 FUNCTION(blsp_i2c2
),
1458 FUNCTION(blsp_i2c3
),
1459 FUNCTION(blsp_i2c4
),
1460 FUNCTION(blsp_i2c5
),
1461 FUNCTION(blsp_i2c6
),
1462 FUNCTION(blsp_i2c7
),
1463 FUNCTION(blsp_i2c8
),
1464 FUNCTION(blsp_i2c9
),
1465 FUNCTION(blsp_spi1
),
1466 FUNCTION(blsp_spi10
),
1467 FUNCTION(blsp_spi11
),
1468 FUNCTION(blsp_spi12
),
1469 FUNCTION(blsp_spi2
),
1470 FUNCTION(blsp_spi3
),
1471 FUNCTION(blsp_spi4
),
1472 FUNCTION(blsp_spi5
),
1473 FUNCTION(blsp_spi6
),
1474 FUNCTION(blsp_spi7
),
1475 FUNCTION(blsp_spi8
),
1476 FUNCTION(blsp_spi9
),
1477 FUNCTION(blsp_uart1
),
1478 FUNCTION(blsp_uart10
),
1479 FUNCTION(blsp_uart11
),
1480 FUNCTION(blsp_uart12
),
1481 FUNCTION(blsp_uart2
),
1482 FUNCTION(blsp_uart3
),
1483 FUNCTION(blsp_uart4
),
1484 FUNCTION(blsp_uart5
),
1485 FUNCTION(blsp_uart6
),
1486 FUNCTION(blsp_uart7
),
1487 FUNCTION(blsp_uart8
),
1488 FUNCTION(blsp_uart9
),
1489 FUNCTION(blsp_uim1
),
1490 FUNCTION(blsp_uim10
),
1491 FUNCTION(blsp_uim11
),
1492 FUNCTION(blsp_uim12
),
1493 FUNCTION(blsp_uim2
),
1494 FUNCTION(blsp_uim3
),
1495 FUNCTION(blsp_uim4
),
1496 FUNCTION(blsp_uim5
),
1497 FUNCTION(blsp_uim6
),
1498 FUNCTION(blsp_uim7
),
1499 FUNCTION(blsp_uim8
),
1500 FUNCTION(blsp_uim9
),
1501 FUNCTION(btfm_slimbus
),
1503 FUNCTION(cci_async
),
1505 FUNCTION(cci_timer0
),
1506 FUNCTION(cci_timer1
),
1507 FUNCTION(cci_timer2
),
1508 FUNCTION(cci_timer3
),
1509 FUNCTION(cci_timer4
),
1511 FUNCTION(cri_trng0
),
1512 FUNCTION(cri_trng1
),
1513 FUNCTION(dac_calib0
),
1514 FUNCTION(dac_calib1
),
1515 FUNCTION(dac_calib10
),
1516 FUNCTION(dac_calib11
),
1517 FUNCTION(dac_calib12
),
1518 FUNCTION(dac_calib13
),
1519 FUNCTION(dac_calib14
),
1520 FUNCTION(dac_calib15
),
1521 FUNCTION(dac_calib16
),
1522 FUNCTION(dac_calib17
),
1523 FUNCTION(dac_calib18
),
1524 FUNCTION(dac_calib19
),
1525 FUNCTION(dac_calib2
),
1526 FUNCTION(dac_calib20
),
1527 FUNCTION(dac_calib21
),
1528 FUNCTION(dac_calib22
),
1529 FUNCTION(dac_calib23
),
1530 FUNCTION(dac_calib24
),
1531 FUNCTION(dac_calib25
),
1532 FUNCTION(dac_calib26
),
1533 FUNCTION(dac_calib3
),
1534 FUNCTION(dac_calib4
),
1535 FUNCTION(dac_calib5
),
1536 FUNCTION(dac_calib6
),
1537 FUNCTION(dac_calib7
),
1538 FUNCTION(dac_calib8
),
1539 FUNCTION(dac_calib9
),
1545 FUNCTION(gcc_gp1_clk_a
),
1546 FUNCTION(gcc_gp1_clk_b
),
1547 FUNCTION(gcc_gp2_clk_a
),
1548 FUNCTION(gcc_gp2_clk_b
),
1549 FUNCTION(gcc_gp3_clk_a
),
1550 FUNCTION(gcc_gp3_clk_b
),
1557 FUNCTION(isense_dbg
),
1559 FUNCTION(ldo_update
),
1560 FUNCTION(lpass_slimbus
),
1562 FUNCTION(mdp_vsync
),
1563 FUNCTION(mdp_vsync_p_b
),
1564 FUNCTION(mdp_vsync_s_b
),
1565 FUNCTION(modem_tsync
),
1569 FUNCTION(pa_indicator
),
1573 FUNCTION(pll_bypassnl
),
1574 FUNCTION(pll_reset
),
1576 FUNCTION(prng_rosc
),
1577 FUNCTION(pwr_crypto
),
1578 FUNCTION(pwr_modem
),
1581 FUNCTION(qdss_cti_trig_in_a
),
1582 FUNCTION(qdss_cti_trig_in_b
),
1583 FUNCTION(qdss_cti_trig_out_a
),
1584 FUNCTION(qdss_cti_trig_out_b
),
1585 FUNCTION(qdss_stm0
),
1586 FUNCTION(qdss_stm1
),
1587 FUNCTION(qdss_stm10
),
1588 FUNCTION(qdss_stm11
),
1589 FUNCTION(qdss_stm12
),
1590 FUNCTION(qdss_stm13
),
1591 FUNCTION(qdss_stm14
),
1592 FUNCTION(qdss_stm15
),
1593 FUNCTION(qdss_stm16
),
1594 FUNCTION(qdss_stm17
),
1595 FUNCTION(qdss_stm18
),
1596 FUNCTION(qdss_stm19
),
1597 FUNCTION(qdss_stm2
),
1598 FUNCTION(qdss_stm20
),
1599 FUNCTION(qdss_stm21
),
1600 FUNCTION(qdss_stm22
),
1601 FUNCTION(qdss_stm23
),
1602 FUNCTION(qdss_stm24
),
1603 FUNCTION(qdss_stm25
),
1604 FUNCTION(qdss_stm26
),
1605 FUNCTION(qdss_stm27
),
1606 FUNCTION(qdss_stm28
),
1607 FUNCTION(qdss_stm29
),
1608 FUNCTION(qdss_stm3
),
1609 FUNCTION(qdss_stm30
),
1610 FUNCTION(qdss_stm31
),
1611 FUNCTION(qdss_stm4
),
1612 FUNCTION(qdss_stm5
),
1613 FUNCTION(qdss_stm6
),
1614 FUNCTION(qdss_stm7
),
1615 FUNCTION(qdss_stm8
),
1616 FUNCTION(qdss_stm9
),
1617 FUNCTION(qdss_traceclk_a
),
1618 FUNCTION(qdss_traceclk_b
),
1619 FUNCTION(qdss_tracectl_a
),
1620 FUNCTION(qdss_tracectl_b
),
1621 FUNCTION(qdss_tracedata_11
),
1622 FUNCTION(qdss_tracedata_12
),
1623 FUNCTION(qdss_tracedata_a
),
1624 FUNCTION(qdss_tracedata_b
),
1646 FUNCTION(tsense_pwm1
),
1647 FUNCTION(tsense_pwm2
),
1648 FUNCTION(tsif1_clk
),
1649 FUNCTION(tsif1_data
),
1651 FUNCTION(tsif1_error
),
1652 FUNCTION(tsif1_sync
),
1653 FUNCTION(tsif2_clk
),
1654 FUNCTION(tsif2_data
),
1656 FUNCTION(tsif2_error
),
1657 FUNCTION(tsif2_sync
),
1666 static const struct msm_pingroup msm8996_groups
[] = {
1667 PINGROUP(0, blsp_spi1
, blsp_uart1
, blsp_uim1
, NA
, NA
, NA
, NA
, NA
, NA
),
1668 PINGROUP(1, blsp_spi1
, blsp_uart1
, blsp_uim1
, NA
, NA
, NA
, NA
, NA
, NA
),
1669 PINGROUP(2, blsp_spi1
, blsp_uart1
, blsp_i2c1
, NA
, NA
, NA
, NA
, NA
, NA
),
1670 PINGROUP(3, blsp_spi1
, blsp_uart1
, blsp_i2c1
, NA
, atest_tsens
,
1671 bimc_dte1
, NA
, NA
, NA
),
1672 PINGROUP(4, blsp_spi8
, blsp_uart8
, blsp_uim8
, NA
, qdss_cti_trig_out_b
,
1673 dac_calib0
, bimc_dte0
, NA
, NA
),
1674 PINGROUP(5, blsp_spi8
, blsp_uart8
, blsp_uim8
, NA
, qdss_cti_trig_in_b
,
1675 dac_calib1
, bimc_dte1
, NA
, NA
),
1676 PINGROUP(6, blsp_spi8
, blsp_uart8
, blsp_i2c8
, NA
, dac_calib2
,
1677 bimc_dte0
, NA
, NA
, NA
),
1678 PINGROUP(7, blsp_spi8
, blsp_uart8
, blsp_i2c8
, NA
, atest_tsens2
,
1679 atest_usb1
, NA
, NA
, NA
),
1680 PINGROUP(8, blsp_spi10
, blsp_uart10
, blsp_uim10
, NA
, atest_bbrx1
,
1681 atest_usb13
, NA
, NA
, NA
),
1682 PINGROUP(9, blsp_spi10
, blsp_uart10
, blsp_uim10
, atest_bbrx0
,
1683 atest_usb12
, NA
, NA
, NA
, NA
),
1684 PINGROUP(10, mdp_vsync
, blsp_spi10
, blsp_uart10
, blsp_i2c10
,
1685 atest_gpsadc1
, atest_usb11
, NA
, NA
, NA
),
1686 PINGROUP(11, mdp_vsync
, blsp_spi10
, blsp_uart10
, blsp_i2c10
,
1687 atest_gpsadc0
, atest_usb10
, NA
, NA
, NA
),
1688 PINGROUP(12, mdp_vsync
, m_voc
, dac_gpio
, atest_char
, NA
, NA
, NA
, NA
,
1690 PINGROUP(13, cam_mclk
, pll_bypassnl
, qdss_stm7
, qdss_tracedata_b
, NA
,
1692 PINGROUP(14, cam_mclk
, pll_reset
, qdss_stm6
, qdss_tracedata_b
, NA
, NA
,
1694 PINGROUP(15, cam_mclk
, qdss_stm5
, qdss_tracedata_b
, NA
, NA
, NA
, NA
, NA
,
1696 PINGROUP(16, cam_mclk
, qdss_stm4
, qdss_tracedata_b
, NA
, atest_usb2
, NA
,
1698 PINGROUP(17, cci_i2c
, qdss_stm3
, qdss_tracedata_b
, dac_calib3
,
1699 atest_usb23
, atest_char3
, NA
, NA
, NA
),
1700 PINGROUP(18, cci_i2c
, qdss_stm2
, qdss_tracedata_b
, dac_calib4
,
1701 atest_usb22
, atest_char2
, NA
, NA
, NA
),
1702 PINGROUP(19, cci_i2c
, qdss_stm1
, qdss_tracedata_b
, dac_calib5
,
1703 atest_usb21
, atest_char1
, NA
, NA
, NA
),
1704 PINGROUP(20, cci_i2c
, dbg_out
, qdss_stm0
, dac_calib6
, atest_usb20
,
1705 atest_char0
, NA
, NA
, NA
),
1706 PINGROUP(21, cci_timer0
, qdss_stm13
, qdss_tracedata_b
, dac_calib7
, NA
,
1708 PINGROUP(22, cci_timer1
, qdss_stm12
, qdss_tracedata_b
, dac_calib8
, NA
,
1710 PINGROUP(23, cci_timer2
, blsp1_spi
, qdss_stm11
, qdss_tracedata_b
,
1711 dac_calib9
, NA
, NA
, NA
, NA
),
1712 PINGROUP(24, cci_timer3
, cci_async
, blsp1_spi
, qdss_stm10
,
1713 qdss_cti_trig_in_a
, dac_calib10
, NA
, NA
, NA
),
1714 PINGROUP(25, cci_timer4
, cci_async
, blsp_spi6
, blsp_uart6
, blsp_uim6
,
1715 blsp2_spi
, qdss_stm9
, qdss_cti_trig_out_a
, dac_calib11
),
1716 PINGROUP(26, cci_async
, blsp_spi6
, blsp_uart6
, blsp_uim6
, qdss_stm8
,
1717 qdss_tracedata_b
, dac_calib12
, NA
, NA
),
1718 PINGROUP(27, blsp_spi6
, blsp_uart6
, blsp_i2c6
, blsp1_spi
,
1719 qdss_tracectl_a
, dac_calib13
, NA
, NA
, NA
),
1720 PINGROUP(28, blsp_spi6
, blsp_uart6
, blsp_i2c6
, blsp1_spi
,
1721 qdss_traceclk_a
, dac_calib14
, NA
, NA
, NA
),
1722 PINGROUP(29, blsp2_spi
, NA
, qdss_tracedata_b
, dac_calib15
, NA
, NA
, NA
,
1724 PINGROUP(30, hdmi_rcv
, blsp2_spi
, dac_calib16
, NA
, NA
, NA
, NA
, NA
, NA
),
1725 PINGROUP(31, hdmi_cec
, pwr_modem
, dac_calib17
, NA
, NA
, NA
, NA
, NA
, NA
),
1726 PINGROUP(32, hdmi_ddc
, pwr_nav
, NA
, dac_calib18
, NA
, NA
, NA
, NA
, NA
),
1727 PINGROUP(33, hdmi_ddc
, pwr_crypto
, NA
, dac_calib19
, NA
, NA
, NA
, NA
, NA
),
1728 PINGROUP(34, hdmi_hot
, NA
, dac_calib20
, NA
, NA
, NA
, NA
, NA
, NA
),
1729 PINGROUP(35, pci_e0
, NA
, dac_calib21
, NA
, NA
, NA
, NA
, NA
, NA
),
1730 PINGROUP(36, pci_e0
, NA
, dac_calib22
, NA
, NA
, NA
, NA
, NA
, NA
),
1731 PINGROUP(37, NA
, dac_calib23
, NA
, NA
, NA
, NA
, NA
, NA
, NA
),
1732 PINGROUP(38, NA
, dac_calib24
, NA
, NA
, NA
, NA
, NA
, NA
, NA
),
1733 PINGROUP(39, tsif1_sync
, NA
, dac_calib25
, NA
, NA
, NA
, NA
, NA
, NA
),
1734 PINGROUP(40, sd_write
, tsif1_error
, NA
, NA
, NA
, NA
, NA
, NA
, NA
),
1735 PINGROUP(41, blsp_spi2
, blsp_uart2
, blsp_uim2
, NA
, qdss_cti
,
1736 dac_calib0
, NA
, NA
, NA
),
1737 PINGROUP(42, blsp_spi2
, blsp_uart2
, blsp_uim2
, NA
, qdss_cti
,
1738 dac_calib1
, NA
, NA
, NA
),
1739 PINGROUP(43, blsp_spi2
, blsp_uart2
, blsp_i2c2
, NA
, dac_calib2
, NA
, NA
,
1741 PINGROUP(44, blsp_spi2
, blsp_uart2
, blsp_i2c2
, NA
, dac_calib3
, NA
, NA
,
1743 PINGROUP(45, blsp_spi3
, blsp_uart3
, blsp_uim3
, NA
, dac_calib4
, NA
, NA
,
1745 PINGROUP(46, blsp_spi3
, blsp_uart3
, blsp_uim3
, NA
, dac_calib5
, NA
, NA
,
1747 PINGROUP(47, blsp_spi3
, blsp_uart3
, blsp_i2c3
, dac_calib6
, NA
, NA
, NA
,
1749 PINGROUP(48, blsp_spi3
, blsp_uart3
, blsp_i2c3
, dac_calib7
, NA
, NA
, NA
,
1751 PINGROUP(49, uim3
, blsp_spi9
, blsp_uart9
, blsp_uim9
, blsp10_spi
,
1752 dac_calib8
, NA
, NA
, NA
),
1753 PINGROUP(50, uim3
, blsp_spi9
, blsp_uart9
, blsp_uim9
, blsp10_spi
,
1754 dac_calib9
, NA
, NA
, NA
),
1755 PINGROUP(51, uim3
, blsp_spi9
, blsp_uart9
, blsp_i2c9
, blsp10_spi
,
1756 dac_calib10
, NA
, NA
, NA
),
1757 PINGROUP(52, uim3
, blsp_spi9
, blsp_uart9
, blsp_i2c9
,
1758 blsp10_spi
, dac_calib11
, NA
, NA
, NA
),
1759 PINGROUP(53, blsp_spi7
, blsp_uart7
, blsp_uim7
, NA
, qdss_tracedata_a
,
1760 dac_calib12
, NA
, NA
, NA
),
1761 PINGROUP(54, blsp_spi7
, blsp_uart7
, blsp_uim7
, NA
, NA
,
1762 qdss_tracedata_a
, dac_calib13
, NA
, NA
),
1763 PINGROUP(55, blsp_spi7
, blsp_uart7
, blsp_i2c7
, NA
, dac_calib14
, NA
, NA
,
1765 PINGROUP(56, blsp_spi7
, blsp_uart7
, blsp_i2c7
, NA
, dac_calib15
, NA
, NA
,
1767 PINGROUP(57, qua_mi2s
, gcc_gp1_clk_a
, NA
, qdss_tracedata_b
,
1768 dac_calib16
, NA
, NA
, NA
, NA
),
1769 PINGROUP(58, qua_mi2s
, uim4
, blsp_spi11
, blsp_uart11
, blsp_uim11
,
1770 gcc_gp2_clk_a
, NA
, qdss_tracedata_b
, dac_calib17
),
1771 PINGROUP(59, qua_mi2s
, uim4
, blsp_spi11
, blsp_uart11
, blsp_uim11
,
1772 gcc_gp3_clk_a
, NA
, dac_calib18
, NA
),
1773 PINGROUP(60, qua_mi2s
, uim4
, blsp_spi11
, blsp_uart11
, blsp_i2c11
,
1774 cri_trng0
, NA
, dac_calib19
, NA
),
1775 PINGROUP(61, qua_mi2s
, uim4
, blsp_spi11
, blsp_uart11
,
1776 blsp_i2c11
, cri_trng1
, NA
, dac_calib20
, NA
),
1777 PINGROUP(62, qua_mi2s
, cri_trng
, NA
, dac_calib21
, NA
, NA
, NA
, NA
, NA
),
1778 PINGROUP(63, qua_mi2s
, NA
, NA
, qdss_stm18
, qdss_tracedata_a
,
1779 dac_calib22
, NA
, NA
, NA
),
1780 PINGROUP(64, pri_mi2s
, NA
, qdss_stm17
, qdss_tracedata_a
, dac_calib23
,
1782 PINGROUP(65, pri_mi2s
, blsp_spi4
, blsp_uart4
, blsp_uim4
, NA
,
1783 qdss_stm16
, qdss_tracedata_a
, dac_calib24
, NA
),
1784 PINGROUP(66, pri_mi2s
, blsp_spi4
, blsp_uart4
, blsp_uim4
, NA
,
1785 qdss_stm15
, qdss_tracedata_a
, dac_calib25
, NA
),
1786 PINGROUP(67, pri_mi2s
, blsp_spi4
, blsp_uart4
, blsp_i2c4
, qdss_stm14
,
1787 qdss_tracedata_a
, dac_calib26
, NA
, NA
),
1788 PINGROUP(68, pri_mi2s
, blsp_spi4
, blsp_uart4
, blsp_i2c4
, NA
, NA
, NA
,
1790 PINGROUP(69, spkr_i2s
, audio_ref
, NA
, NA
, NA
, NA
, NA
, NA
, NA
),
1791 PINGROUP(70, lpass_slimbus
, spkr_i2s
, isense_dbg
, NA
, NA
, NA
, NA
, NA
,
1793 PINGROUP(71, lpass_slimbus
, spkr_i2s
, tsense_pwm1
, tsense_pwm2
, NA
, NA
,
1795 PINGROUP(72, lpass_slimbus
, spkr_i2s
, NA
, NA
, NA
, NA
, NA
, NA
, NA
),
1796 PINGROUP(73, btfm_slimbus
, NA
, NA
, NA
, NA
, NA
, NA
, NA
, NA
),
1797 PINGROUP(74, btfm_slimbus
, ter_mi2s
, qdss_stm22
, qdss_tracedata_a
, NA
,
1799 PINGROUP(75, ter_mi2s
, qdss_stm21
, qdss_tracedata_a
, NA
, NA
, NA
, NA
,
1801 PINGROUP(76, ter_mi2s
, qdss_stm20
, qdss_tracedata_a
, NA
, NA
, NA
, NA
,
1803 PINGROUP(77, ter_mi2s
, qdss_stm19
, qdss_tracedata_a
, NA
, NA
, NA
, NA
,
1805 PINGROUP(78, ter_mi2s
, gcc_gp1_clk_b
, NA
, NA
, NA
, NA
, NA
, NA
, NA
),
1806 PINGROUP(79, sec_mi2s
, NA
, NA
, NA
, NA
, NA
, NA
, NA
, NA
),
1807 PINGROUP(80, sec_mi2s
, NA
, NA
, NA
, NA
, NA
, NA
, NA
, NA
),
1808 PINGROUP(81, sec_mi2s
, blsp_spi5
, blsp_uart5
, blsp_uim5
, gcc_gp2_clk_b
,
1810 PINGROUP(82, sec_mi2s
, blsp_spi5
, blsp_uart5
, blsp_uim5
, gcc_gp3_clk_b
,
1812 PINGROUP(83, sec_mi2s
, blsp_spi5
, blsp_uart5
, blsp_i2c5
, NA
, NA
, NA
,
1814 PINGROUP(84, blsp_spi5
, blsp_uart5
, blsp_i2c5
, NA
, NA
, NA
, NA
, NA
, NA
),
1815 PINGROUP(85, blsp_spi12
, blsp_uart12
, blsp_uim12
, NA
, qdss_stm25
,
1816 qdss_tracedata_a
, NA
, NA
, NA
),
1817 PINGROUP(86, blsp_spi12
, blsp_uart12
, blsp_uim12
, NA
, NA
, qdss_stm31
,
1818 qdss_tracedata_a
, NA
, NA
),
1819 PINGROUP(87, blsp_spi12
, blsp_uart12
, blsp_i2c12
, NA
, qdss_stm30
,
1820 qdss_tracedata_a
, NA
, NA
, NA
),
1821 PINGROUP(88, blsp_spi12
, blsp_uart12
, blsp_i2c12
, blsp10_spi
, NA
,
1822 qdss_stm29
, NA
, NA
, NA
),
1823 PINGROUP(89, tsif1_clk
, qdss_stm28
, qdss_tracedata_a
, NA
, NA
, NA
, NA
,
1825 PINGROUP(90, tsif1_en
, blsp1_spi
, qdss_tracedata_a
, NA
, NA
, NA
, NA
, NA
,
1827 PINGROUP(91, tsif1_data
, sdc4_cmd
, qdss_stm27
, qdss_traceclk_b
, NA
, NA
,
1829 PINGROUP(92, tsif2_error
, sdc43
, vfr_1
, qdss_stm26
, qdss_tracedata_b
,
1831 PINGROUP(93, tsif2_clk
, sdc4_clk
, NA
, qdss_stm24
, qdss_tracedata_b
, NA
,
1833 PINGROUP(94, tsif2_en
, sdc42
, NA
, qdss_stm23
, qdss_tracectl_b
, NA
, NA
,
1835 PINGROUP(95, tsif2_data
, sdc41
, NA
, NA
, NA
, NA
, NA
, NA
, NA
),
1836 PINGROUP(96, tsif2_sync
, sdc40
, NA
, NA
, NA
, NA
, NA
, NA
, NA
),
1837 PINGROUP(97, NA
, NA
, mdp_vsync_p_b
, ldo_en
, NA
, NA
, NA
, NA
, NA
),
1838 PINGROUP(98, NA
, NA
, mdp_vsync_s_b
, ldo_update
, NA
, NA
, NA
, NA
, NA
),
1839 PINGROUP(99, NA
, NA
, NA
, NA
, NA
, NA
, NA
, NA
, NA
),
1840 PINGROUP(100, NA
, NA
, blsp11_uart_tx_b
, qdss_cti
, NA
, NA
, NA
, NA
, NA
),
1841 PINGROUP(101, NA
, blsp11_uart_rx_b
, qdss_cti
, NA
, NA
, NA
, NA
, NA
, NA
),
1842 PINGROUP(102, NA
, blsp11_i2c_sda_b
, prng_rosc
, NA
, NA
, NA
, NA
, NA
, NA
),
1843 PINGROUP(103, NA
, blsp11_i2c_scl_b
, NA
, NA
, NA
, NA
, NA
, NA
, NA
),
1844 PINGROUP(104, NA
, NA
, NA
, NA
, NA
, NA
, NA
, NA
, NA
),
1845 PINGROUP(105, uim2
, NA
, NA
, NA
, NA
, NA
, NA
, NA
, NA
),
1846 PINGROUP(106, uim2
, NA
, NA
, NA
, NA
, NA
, NA
, NA
, NA
),
1847 PINGROUP(107, uim2
, NA
, NA
, NA
, NA
, NA
, NA
, NA
, NA
),
1848 PINGROUP(108, uim2
, NA
, NA
, NA
, NA
, NA
, NA
, NA
, NA
),
1849 PINGROUP(109, uim1
, NA
, NA
, NA
, NA
, NA
, NA
, NA
, NA
),
1850 PINGROUP(110, uim1
, NA
, NA
, NA
, NA
, NA
, NA
, NA
, NA
),
1851 PINGROUP(111, uim1
, NA
, NA
, NA
, NA
, NA
, NA
, NA
, NA
),
1852 PINGROUP(112, uim1
, NA
, NA
, NA
, NA
, NA
, NA
, NA
, NA
),
1853 PINGROUP(113, uim_batt
, NA
, NA
, NA
, NA
, NA
, NA
, NA
, NA
),
1854 PINGROUP(114, NA
, pci_e2
, NA
, NA
, NA
, NA
, NA
, NA
, NA
),
1855 PINGROUP(115, NA
, pci_e2
, NA
, NA
, NA
, NA
, NA
, NA
, NA
),
1856 PINGROUP(116, NA
, pa_indicator
, NA
, NA
, NA
, NA
, NA
, NA
, NA
),
1857 PINGROUP(117, NA
, NA
, NA
, NA
, NA
, NA
, NA
, NA
, NA
),
1858 PINGROUP(118, adsp_ext
, NA
, NA
, NA
, NA
, NA
, NA
, NA
, NA
),
1859 PINGROUP(119, NA
, NA
, NA
, NA
, NA
, NA
, NA
, NA
, NA
),
1860 PINGROUP(120, NA
, NA
, NA
, NA
, NA
, NA
, NA
, NA
, NA
),
1861 PINGROUP(121, ddr_bist
, NA
, NA
, NA
, NA
, NA
, NA
, NA
, NA
),
1862 PINGROUP(122, ddr_bist
, NA
, NA
, NA
, NA
, NA
, NA
, NA
, NA
),
1863 PINGROUP(123, ddr_bist
, qdss_tracedata_11
, NA
, NA
, NA
, NA
, NA
, NA
, NA
),
1864 PINGROUP(124, ddr_bist
, qdss_tracedata_12
, NA
, NA
, NA
, NA
, NA
, NA
, NA
),
1865 PINGROUP(125, NA
, NA
, NA
, NA
, NA
, NA
, NA
, NA
, NA
),
1866 PINGROUP(126, NA
, NA
, NA
, NA
, NA
, NA
, NA
, NA
, NA
),
1867 PINGROUP(127, NA
, NA
, NA
, NA
, NA
, NA
, NA
, NA
, NA
),
1868 PINGROUP(128, NA
, modem_tsync
, nav_dr
, nav_pps
, NA
, NA
, NA
, NA
, NA
),
1869 PINGROUP(129, NA
, NA
, NA
, NA
, NA
, NA
, NA
, NA
, NA
),
1870 PINGROUP(130, pci_e1
, NA
, NA
, NA
, NA
, NA
, NA
, NA
, NA
),
1871 PINGROUP(131, pci_e1
, NA
, NA
, NA
, NA
, NA
, NA
, NA
, NA
),
1872 PINGROUP(132, NA
, NA
, NA
, NA
, NA
, NA
, NA
, NA
, NA
),
1873 PINGROUP(133, NA
, NA
, NA
, NA
, NA
, NA
, NA
, NA
, NA
),
1874 PINGROUP(134, gsm_tx
, NA
, NA
, NA
, NA
, NA
, NA
, NA
, NA
),
1875 PINGROUP(135, gsm_tx
, NA
, NA
, NA
, NA
, NA
, NA
, NA
, NA
),
1876 PINGROUP(136, NA
, NA
, NA
, NA
, NA
, NA
, NA
, NA
, NA
),
1877 PINGROUP(137, NA
, NA
, NA
, NA
, NA
, NA
, NA
, NA
, NA
),
1878 PINGROUP(138, NA
, qspi_cs
, NA
, NA
, NA
, NA
, NA
, NA
, NA
),
1879 PINGROUP(139, NA
, ssbi2
, NA
, NA
, NA
, NA
, NA
, NA
, NA
),
1880 PINGROUP(140, NA
, ssbi1
, NA
, NA
, NA
, NA
, NA
, NA
, NA
),
1881 PINGROUP(141, NA
, qspi_cs
, NA
, NA
, NA
, NA
, NA
, NA
, NA
),
1882 PINGROUP(142, NA
, NA
, NA
, NA
, NA
, NA
, NA
, NA
, NA
),
1883 PINGROUP(143, NA
, NA
, NA
, NA
, NA
, NA
, NA
, NA
, NA
),
1884 PINGROUP(144, mss_lte
, NA
, NA
, NA
, NA
, NA
, NA
, NA
, NA
),
1885 PINGROUP(145, mss_lte
, qspi_clk
, NA
, NA
, NA
, NA
, NA
, NA
, NA
),
1886 PINGROUP(146, NA
, qspi0
, NA
, NA
, NA
, NA
, NA
, NA
, NA
),
1887 PINGROUP(147, NA
, qspi1
, NA
, NA
, NA
, NA
, NA
, NA
, NA
),
1888 PINGROUP(148, NA
, qspi2
, NA
, NA
, NA
, NA
, NA
, NA
, NA
),
1889 PINGROUP(149, NA
, qspi3
, NA
, NA
, NA
, NA
, NA
, NA
, NA
),
1890 SDC_QDSD_PINGROUP(sdc1_clk
, 0x12c000, 13, 6),
1891 SDC_QDSD_PINGROUP(sdc1_cmd
, 0x12c000, 11, 3),
1892 SDC_QDSD_PINGROUP(sdc1_data
, 0x12c000, 9, 0),
1893 SDC_QDSD_PINGROUP(sdc2_clk
, 0x12d000, 14, 6),
1894 SDC_QDSD_PINGROUP(sdc2_cmd
, 0x12d000, 11, 3),
1895 SDC_QDSD_PINGROUP(sdc2_data
, 0x12d000, 9, 0),
1896 SDC_QDSD_PINGROUP(sdc1_rclk
, 0x12c000, 15, 0),
1899 static const struct msm_pinctrl_soc_data msm8996_pinctrl
= {
1900 .pins
= msm8996_pins
,
1901 .npins
= ARRAY_SIZE(msm8996_pins
),
1902 .functions
= msm8996_functions
,
1903 .nfunctions
= ARRAY_SIZE(msm8996_functions
),
1904 .groups
= msm8996_groups
,
1905 .ngroups
= ARRAY_SIZE(msm8996_groups
),
1909 static int msm8996_pinctrl_probe(struct platform_device
*pdev
)
1911 return msm_pinctrl_probe(pdev
, &msm8996_pinctrl
);
1914 static const struct of_device_id msm8996_pinctrl_of_match
[] = {
1915 { .compatible
= "qcom,msm8996-pinctrl", },
1919 static struct platform_driver msm8996_pinctrl_driver
= {
1921 .name
= "msm8996-pinctrl",
1922 .of_match_table
= msm8996_pinctrl_of_match
,
1924 .probe
= msm8996_pinctrl_probe
,
1925 .remove
= msm_pinctrl_remove
,
1928 static int __init
msm8996_pinctrl_init(void)
1930 return platform_driver_register(&msm8996_pinctrl_driver
);
1932 arch_initcall(msm8996_pinctrl_init
);
1934 static void __exit
msm8996_pinctrl_exit(void)
1936 platform_driver_unregister(&msm8996_pinctrl_driver
);
1938 module_exit(msm8996_pinctrl_exit
);
1940 MODULE_DESCRIPTION("Qualcomm msm8996 pinctrl driver");
1941 MODULE_LICENSE("GPL v2");
1942 MODULE_DEVICE_TABLE(of
, msm8996_pinctrl_of_match
);