1*87ebcd8bSPankaj Patil // SPDX-License-Identifier: GPL-2.0-only
2*87ebcd8bSPankaj Patil /*
3*87ebcd8bSPankaj Patil * Copyright (c) 2025 Qualcomm Technologies, Inc. and/or its subsidiaries.
4*87ebcd8bSPankaj Patil */
5*87ebcd8bSPankaj Patil
6*87ebcd8bSPankaj Patil #include <linux/module.h>
7*87ebcd8bSPankaj Patil #include <linux/of.h>
8*87ebcd8bSPankaj Patil #include <linux/of_device.h>
9*87ebcd8bSPankaj Patil #include <linux/platform_device.h>
10*87ebcd8bSPankaj Patil #include <linux/pinctrl/pinctrl.h>
11*87ebcd8bSPankaj Patil
12*87ebcd8bSPankaj Patil #include "pinctrl-msm.h"
13*87ebcd8bSPankaj Patil
14*87ebcd8bSPankaj Patil #define REG_SIZE 0x1000
15*87ebcd8bSPankaj Patil #define PINGROUP(id, f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11) \
16*87ebcd8bSPankaj Patil { \
17*87ebcd8bSPankaj Patil .grp = PINCTRL_PINGROUP("gpio" #id, \
18*87ebcd8bSPankaj Patil gpio##id##_pins, \
19*87ebcd8bSPankaj Patil ARRAY_SIZE(gpio##id##_pins)), \
20*87ebcd8bSPankaj Patil .ctl_reg = REG_SIZE * id, \
21*87ebcd8bSPankaj Patil .io_reg = 0x4 + REG_SIZE * id, \
22*87ebcd8bSPankaj Patil .intr_cfg_reg = 0x8 + REG_SIZE * id, \
23*87ebcd8bSPankaj Patil .intr_status_reg = 0xc + REG_SIZE * id, \
24*87ebcd8bSPankaj Patil .intr_target_reg = 0x8 + REG_SIZE * id, \
25*87ebcd8bSPankaj Patil .mux_bit = 2, \
26*87ebcd8bSPankaj Patil .pull_bit = 0, \
27*87ebcd8bSPankaj Patil .drv_bit = 6, \
28*87ebcd8bSPankaj Patil .egpio_enable = 12, \
29*87ebcd8bSPankaj Patil .egpio_present = 11, \
30*87ebcd8bSPankaj Patil .oe_bit = 9, \
31*87ebcd8bSPankaj Patil .in_bit = 0, \
32*87ebcd8bSPankaj Patil .out_bit = 1, \
33*87ebcd8bSPankaj Patil .intr_enable_bit = 0, \
34*87ebcd8bSPankaj Patil .intr_status_bit = 0, \
35*87ebcd8bSPankaj Patil .intr_target_bit = 5, \
36*87ebcd8bSPankaj Patil .intr_target_kpss_val = 3, \
37*87ebcd8bSPankaj Patil .intr_raw_status_bit = 4, \
38*87ebcd8bSPankaj Patil .intr_polarity_bit = 1, \
39*87ebcd8bSPankaj Patil .intr_detection_bit = 2, \
40*87ebcd8bSPankaj Patil .intr_detection_width = 2, \
41*87ebcd8bSPankaj Patil .funcs = (int[]){ \
42*87ebcd8bSPankaj Patil msm_mux_gpio, /* gpio mode */ \
43*87ebcd8bSPankaj Patil msm_mux_##f1, \
44*87ebcd8bSPankaj Patil msm_mux_##f2, \
45*87ebcd8bSPankaj Patil msm_mux_##f3, \
46*87ebcd8bSPankaj Patil msm_mux_##f4, \
47*87ebcd8bSPankaj Patil msm_mux_##f5, \
48*87ebcd8bSPankaj Patil msm_mux_##f6, \
49*87ebcd8bSPankaj Patil msm_mux_##f7, \
50*87ebcd8bSPankaj Patil msm_mux_##f8, \
51*87ebcd8bSPankaj Patil msm_mux_##f9, \
52*87ebcd8bSPankaj Patil msm_mux_##f10, \
53*87ebcd8bSPankaj Patil msm_mux_##f11 /* egpio mode */ \
54*87ebcd8bSPankaj Patil }, \
55*87ebcd8bSPankaj Patil .nfuncs = 12, \
56*87ebcd8bSPankaj Patil }
57*87ebcd8bSPankaj Patil
58*87ebcd8bSPankaj Patil #define SDC_QDSD_PINGROUP(pg_name, ctl, pull, drv) \
59*87ebcd8bSPankaj Patil { \
60*87ebcd8bSPankaj Patil .grp = PINCTRL_PINGROUP(#pg_name, \
61*87ebcd8bSPankaj Patil pg_name##_pins, \
62*87ebcd8bSPankaj Patil ARRAY_SIZE(pg_name##_pins)), \
63*87ebcd8bSPankaj Patil .ctl_reg = ctl, \
64*87ebcd8bSPankaj Patil .io_reg = 0, \
65*87ebcd8bSPankaj Patil .intr_cfg_reg = 0, \
66*87ebcd8bSPankaj Patil .intr_status_reg = 0, \
67*87ebcd8bSPankaj Patil .intr_target_reg = 0, \
68*87ebcd8bSPankaj Patil .mux_bit = -1, \
69*87ebcd8bSPankaj Patil .pull_bit = pull, \
70*87ebcd8bSPankaj Patil .drv_bit = drv, \
71*87ebcd8bSPankaj Patil .oe_bit = -1, \
72*87ebcd8bSPankaj Patil .in_bit = -1, \
73*87ebcd8bSPankaj Patil .out_bit = -1, \
74*87ebcd8bSPankaj Patil .intr_enable_bit = -1, \
75*87ebcd8bSPankaj Patil .intr_status_bit = -1, \
76*87ebcd8bSPankaj Patil .intr_target_bit = -1, \
77*87ebcd8bSPankaj Patil .intr_raw_status_bit = -1, \
78*87ebcd8bSPankaj Patil .intr_polarity_bit = -1, \
79*87ebcd8bSPankaj Patil .intr_detection_bit = -1, \
80*87ebcd8bSPankaj Patil .intr_detection_width = -1, \
81*87ebcd8bSPankaj Patil }
82*87ebcd8bSPankaj Patil
83*87ebcd8bSPankaj Patil #define UFS_RESET(pg_name, ctl, io) \
84*87ebcd8bSPankaj Patil { \
85*87ebcd8bSPankaj Patil .grp = PINCTRL_PINGROUP(#pg_name, \
86*87ebcd8bSPankaj Patil pg_name##_pins, \
87*87ebcd8bSPankaj Patil ARRAY_SIZE(pg_name##_pins)), \
88*87ebcd8bSPankaj Patil .ctl_reg = ctl, \
89*87ebcd8bSPankaj Patil .io_reg = io, \
90*87ebcd8bSPankaj Patil .intr_cfg_reg = 0, \
91*87ebcd8bSPankaj Patil .intr_status_reg = 0, \
92*87ebcd8bSPankaj Patil .intr_target_reg = 0, \
93*87ebcd8bSPankaj Patil .mux_bit = -1, \
94*87ebcd8bSPankaj Patil .pull_bit = 3, \
95*87ebcd8bSPankaj Patil .drv_bit = 0, \
96*87ebcd8bSPankaj Patil .oe_bit = -1, \
97*87ebcd8bSPankaj Patil .in_bit = -1, \
98*87ebcd8bSPankaj Patil .out_bit = 0, \
99*87ebcd8bSPankaj Patil .intr_enable_bit = -1, \
100*87ebcd8bSPankaj Patil .intr_status_bit = -1, \
101*87ebcd8bSPankaj Patil .intr_target_bit = -1, \
102*87ebcd8bSPankaj Patil .intr_raw_status_bit = -1, \
103*87ebcd8bSPankaj Patil .intr_polarity_bit = -1, \
104*87ebcd8bSPankaj Patil .intr_detection_bit = -1, \
105*87ebcd8bSPankaj Patil .intr_detection_width = -1, \
106*87ebcd8bSPankaj Patil }
107*87ebcd8bSPankaj Patil
108*87ebcd8bSPankaj Patil static const struct pinctrl_pin_desc glymur_pins[] = {
109*87ebcd8bSPankaj Patil PINCTRL_PIN(0, "GPIO_0"),
110*87ebcd8bSPankaj Patil PINCTRL_PIN(1, "GPIO_1"),
111*87ebcd8bSPankaj Patil PINCTRL_PIN(2, "GPIO_2"),
112*87ebcd8bSPankaj Patil PINCTRL_PIN(3, "GPIO_3"),
113*87ebcd8bSPankaj Patil PINCTRL_PIN(4, "GPIO_4"),
114*87ebcd8bSPankaj Patil PINCTRL_PIN(5, "GPIO_5"),
115*87ebcd8bSPankaj Patil PINCTRL_PIN(6, "GPIO_6"),
116*87ebcd8bSPankaj Patil PINCTRL_PIN(7, "GPIO_7"),
117*87ebcd8bSPankaj Patil PINCTRL_PIN(8, "GPIO_8"),
118*87ebcd8bSPankaj Patil PINCTRL_PIN(9, "GPIO_9"),
119*87ebcd8bSPankaj Patil PINCTRL_PIN(10, "GPIO_10"),
120*87ebcd8bSPankaj Patil PINCTRL_PIN(11, "GPIO_11"),
121*87ebcd8bSPankaj Patil PINCTRL_PIN(12, "GPIO_12"),
122*87ebcd8bSPankaj Patil PINCTRL_PIN(13, "GPIO_13"),
123*87ebcd8bSPankaj Patil PINCTRL_PIN(14, "GPIO_14"),
124*87ebcd8bSPankaj Patil PINCTRL_PIN(15, "GPIO_15"),
125*87ebcd8bSPankaj Patil PINCTRL_PIN(16, "GPIO_16"),
126*87ebcd8bSPankaj Patil PINCTRL_PIN(17, "GPIO_17"),
127*87ebcd8bSPankaj Patil PINCTRL_PIN(18, "GPIO_18"),
128*87ebcd8bSPankaj Patil PINCTRL_PIN(19, "GPIO_19"),
129*87ebcd8bSPankaj Patil PINCTRL_PIN(20, "GPIO_20"),
130*87ebcd8bSPankaj Patil PINCTRL_PIN(21, "GPIO_21"),
131*87ebcd8bSPankaj Patil PINCTRL_PIN(22, "GPIO_22"),
132*87ebcd8bSPankaj Patil PINCTRL_PIN(23, "GPIO_23"),
133*87ebcd8bSPankaj Patil PINCTRL_PIN(24, "GPIO_24"),
134*87ebcd8bSPankaj Patil PINCTRL_PIN(25, "GPIO_25"),
135*87ebcd8bSPankaj Patil PINCTRL_PIN(26, "GPIO_26"),
136*87ebcd8bSPankaj Patil PINCTRL_PIN(27, "GPIO_27"),
137*87ebcd8bSPankaj Patil PINCTRL_PIN(28, "GPIO_28"),
138*87ebcd8bSPankaj Patil PINCTRL_PIN(29, "GPIO_29"),
139*87ebcd8bSPankaj Patil PINCTRL_PIN(30, "GPIO_30"),
140*87ebcd8bSPankaj Patil PINCTRL_PIN(31, "GPIO_31"),
141*87ebcd8bSPankaj Patil PINCTRL_PIN(32, "GPIO_32"),
142*87ebcd8bSPankaj Patil PINCTRL_PIN(33, "GPIO_33"),
143*87ebcd8bSPankaj Patil PINCTRL_PIN(34, "GPIO_34"),
144*87ebcd8bSPankaj Patil PINCTRL_PIN(35, "GPIO_35"),
145*87ebcd8bSPankaj Patil PINCTRL_PIN(36, "GPIO_36"),
146*87ebcd8bSPankaj Patil PINCTRL_PIN(37, "GPIO_37"),
147*87ebcd8bSPankaj Patil PINCTRL_PIN(38, "GPIO_38"),
148*87ebcd8bSPankaj Patil PINCTRL_PIN(39, "GPIO_39"),
149*87ebcd8bSPankaj Patil PINCTRL_PIN(40, "GPIO_40"),
150*87ebcd8bSPankaj Patil PINCTRL_PIN(41, "GPIO_41"),
151*87ebcd8bSPankaj Patil PINCTRL_PIN(42, "GPIO_42"),
152*87ebcd8bSPankaj Patil PINCTRL_PIN(43, "GPIO_43"),
153*87ebcd8bSPankaj Patil PINCTRL_PIN(44, "GPIO_44"),
154*87ebcd8bSPankaj Patil PINCTRL_PIN(45, "GPIO_45"),
155*87ebcd8bSPankaj Patil PINCTRL_PIN(46, "GPIO_46"),
156*87ebcd8bSPankaj Patil PINCTRL_PIN(47, "GPIO_47"),
157*87ebcd8bSPankaj Patil PINCTRL_PIN(48, "GPIO_48"),
158*87ebcd8bSPankaj Patil PINCTRL_PIN(49, "GPIO_49"),
159*87ebcd8bSPankaj Patil PINCTRL_PIN(50, "GPIO_50"),
160*87ebcd8bSPankaj Patil PINCTRL_PIN(51, "GPIO_51"),
161*87ebcd8bSPankaj Patil PINCTRL_PIN(52, "GPIO_52"),
162*87ebcd8bSPankaj Patil PINCTRL_PIN(53, "GPIO_53"),
163*87ebcd8bSPankaj Patil PINCTRL_PIN(54, "GPIO_54"),
164*87ebcd8bSPankaj Patil PINCTRL_PIN(55, "GPIO_55"),
165*87ebcd8bSPankaj Patil PINCTRL_PIN(56, "GPIO_56"),
166*87ebcd8bSPankaj Patil PINCTRL_PIN(57, "GPIO_57"),
167*87ebcd8bSPankaj Patil PINCTRL_PIN(58, "GPIO_58"),
168*87ebcd8bSPankaj Patil PINCTRL_PIN(59, "GPIO_59"),
169*87ebcd8bSPankaj Patil PINCTRL_PIN(60, "GPIO_60"),
170*87ebcd8bSPankaj Patil PINCTRL_PIN(61, "GPIO_61"),
171*87ebcd8bSPankaj Patil PINCTRL_PIN(62, "GPIO_62"),
172*87ebcd8bSPankaj Patil PINCTRL_PIN(63, "GPIO_63"),
173*87ebcd8bSPankaj Patil PINCTRL_PIN(64, "GPIO_64"),
174*87ebcd8bSPankaj Patil PINCTRL_PIN(65, "GPIO_65"),
175*87ebcd8bSPankaj Patil PINCTRL_PIN(66, "GPIO_66"),
176*87ebcd8bSPankaj Patil PINCTRL_PIN(67, "GPIO_67"),
177*87ebcd8bSPankaj Patil PINCTRL_PIN(68, "GPIO_68"),
178*87ebcd8bSPankaj Patil PINCTRL_PIN(69, "GPIO_69"),
179*87ebcd8bSPankaj Patil PINCTRL_PIN(70, "GPIO_70"),
180*87ebcd8bSPankaj Patil PINCTRL_PIN(71, "GPIO_71"),
181*87ebcd8bSPankaj Patil PINCTRL_PIN(72, "GPIO_72"),
182*87ebcd8bSPankaj Patil PINCTRL_PIN(73, "GPIO_73"),
183*87ebcd8bSPankaj Patil PINCTRL_PIN(74, "GPIO_74"),
184*87ebcd8bSPankaj Patil PINCTRL_PIN(75, "GPIO_75"),
185*87ebcd8bSPankaj Patil PINCTRL_PIN(76, "GPIO_76"),
186*87ebcd8bSPankaj Patil PINCTRL_PIN(77, "GPIO_77"),
187*87ebcd8bSPankaj Patil PINCTRL_PIN(78, "GPIO_78"),
188*87ebcd8bSPankaj Patil PINCTRL_PIN(79, "GPIO_79"),
189*87ebcd8bSPankaj Patil PINCTRL_PIN(80, "GPIO_80"),
190*87ebcd8bSPankaj Patil PINCTRL_PIN(81, "GPIO_81"),
191*87ebcd8bSPankaj Patil PINCTRL_PIN(82, "GPIO_82"),
192*87ebcd8bSPankaj Patil PINCTRL_PIN(83, "GPIO_83"),
193*87ebcd8bSPankaj Patil PINCTRL_PIN(84, "GPIO_84"),
194*87ebcd8bSPankaj Patil PINCTRL_PIN(85, "GPIO_85"),
195*87ebcd8bSPankaj Patil PINCTRL_PIN(86, "GPIO_86"),
196*87ebcd8bSPankaj Patil PINCTRL_PIN(87, "GPIO_87"),
197*87ebcd8bSPankaj Patil PINCTRL_PIN(88, "GPIO_88"),
198*87ebcd8bSPankaj Patil PINCTRL_PIN(89, "GPIO_89"),
199*87ebcd8bSPankaj Patil PINCTRL_PIN(90, "GPIO_90"),
200*87ebcd8bSPankaj Patil PINCTRL_PIN(91, "GPIO_91"),
201*87ebcd8bSPankaj Patil PINCTRL_PIN(92, "GPIO_92"),
202*87ebcd8bSPankaj Patil PINCTRL_PIN(93, "GPIO_93"),
203*87ebcd8bSPankaj Patil PINCTRL_PIN(94, "GPIO_94"),
204*87ebcd8bSPankaj Patil PINCTRL_PIN(95, "GPIO_95"),
205*87ebcd8bSPankaj Patil PINCTRL_PIN(96, "GPIO_96"),
206*87ebcd8bSPankaj Patil PINCTRL_PIN(97, "GPIO_97"),
207*87ebcd8bSPankaj Patil PINCTRL_PIN(98, "GPIO_98"),
208*87ebcd8bSPankaj Patil PINCTRL_PIN(99, "GPIO_99"),
209*87ebcd8bSPankaj Patil PINCTRL_PIN(100, "GPIO_100"),
210*87ebcd8bSPankaj Patil PINCTRL_PIN(101, "GPIO_101"),
211*87ebcd8bSPankaj Patil PINCTRL_PIN(102, "GPIO_102"),
212*87ebcd8bSPankaj Patil PINCTRL_PIN(103, "GPIO_103"),
213*87ebcd8bSPankaj Patil PINCTRL_PIN(104, "GPIO_104"),
214*87ebcd8bSPankaj Patil PINCTRL_PIN(105, "GPIO_105"),
215*87ebcd8bSPankaj Patil PINCTRL_PIN(106, "GPIO_106"),
216*87ebcd8bSPankaj Patil PINCTRL_PIN(107, "GPIO_107"),
217*87ebcd8bSPankaj Patil PINCTRL_PIN(108, "GPIO_108"),
218*87ebcd8bSPankaj Patil PINCTRL_PIN(109, "GPIO_109"),
219*87ebcd8bSPankaj Patil PINCTRL_PIN(110, "GPIO_110"),
220*87ebcd8bSPankaj Patil PINCTRL_PIN(111, "GPIO_111"),
221*87ebcd8bSPankaj Patil PINCTRL_PIN(112, "GPIO_112"),
222*87ebcd8bSPankaj Patil PINCTRL_PIN(113, "GPIO_113"),
223*87ebcd8bSPankaj Patil PINCTRL_PIN(114, "GPIO_114"),
224*87ebcd8bSPankaj Patil PINCTRL_PIN(115, "GPIO_115"),
225*87ebcd8bSPankaj Patil PINCTRL_PIN(116, "GPIO_116"),
226*87ebcd8bSPankaj Patil PINCTRL_PIN(117, "GPIO_117"),
227*87ebcd8bSPankaj Patil PINCTRL_PIN(118, "GPIO_118"),
228*87ebcd8bSPankaj Patil PINCTRL_PIN(119, "GPIO_119"),
229*87ebcd8bSPankaj Patil PINCTRL_PIN(120, "GPIO_120"),
230*87ebcd8bSPankaj Patil PINCTRL_PIN(121, "GPIO_121"),
231*87ebcd8bSPankaj Patil PINCTRL_PIN(122, "GPIO_122"),
232*87ebcd8bSPankaj Patil PINCTRL_PIN(123, "GPIO_123"),
233*87ebcd8bSPankaj Patil PINCTRL_PIN(124, "GPIO_124"),
234*87ebcd8bSPankaj Patil PINCTRL_PIN(125, "GPIO_125"),
235*87ebcd8bSPankaj Patil PINCTRL_PIN(126, "GPIO_126"),
236*87ebcd8bSPankaj Patil PINCTRL_PIN(127, "GPIO_127"),
237*87ebcd8bSPankaj Patil PINCTRL_PIN(128, "GPIO_128"),
238*87ebcd8bSPankaj Patil PINCTRL_PIN(129, "GPIO_129"),
239*87ebcd8bSPankaj Patil PINCTRL_PIN(130, "GPIO_130"),
240*87ebcd8bSPankaj Patil PINCTRL_PIN(131, "GPIO_131"),
241*87ebcd8bSPankaj Patil PINCTRL_PIN(132, "GPIO_132"),
242*87ebcd8bSPankaj Patil PINCTRL_PIN(133, "GPIO_133"),
243*87ebcd8bSPankaj Patil PINCTRL_PIN(134, "GPIO_134"),
244*87ebcd8bSPankaj Patil PINCTRL_PIN(135, "GPIO_135"),
245*87ebcd8bSPankaj Patil PINCTRL_PIN(136, "GPIO_136"),
246*87ebcd8bSPankaj Patil PINCTRL_PIN(137, "GPIO_137"),
247*87ebcd8bSPankaj Patil PINCTRL_PIN(138, "GPIO_138"),
248*87ebcd8bSPankaj Patil PINCTRL_PIN(139, "GPIO_139"),
249*87ebcd8bSPankaj Patil PINCTRL_PIN(140, "GPIO_140"),
250*87ebcd8bSPankaj Patil PINCTRL_PIN(141, "GPIO_141"),
251*87ebcd8bSPankaj Patil PINCTRL_PIN(142, "GPIO_142"),
252*87ebcd8bSPankaj Patil PINCTRL_PIN(143, "GPIO_143"),
253*87ebcd8bSPankaj Patil PINCTRL_PIN(144, "GPIO_144"),
254*87ebcd8bSPankaj Patil PINCTRL_PIN(145, "GPIO_145"),
255*87ebcd8bSPankaj Patil PINCTRL_PIN(146, "GPIO_146"),
256*87ebcd8bSPankaj Patil PINCTRL_PIN(147, "GPIO_147"),
257*87ebcd8bSPankaj Patil PINCTRL_PIN(148, "GPIO_148"),
258*87ebcd8bSPankaj Patil PINCTRL_PIN(149, "GPIO_149"),
259*87ebcd8bSPankaj Patil PINCTRL_PIN(150, "GPIO_150"),
260*87ebcd8bSPankaj Patil PINCTRL_PIN(151, "GPIO_151"),
261*87ebcd8bSPankaj Patil PINCTRL_PIN(152, "GPIO_152"),
262*87ebcd8bSPankaj Patil PINCTRL_PIN(153, "GPIO_153"),
263*87ebcd8bSPankaj Patil PINCTRL_PIN(154, "GPIO_154"),
264*87ebcd8bSPankaj Patil PINCTRL_PIN(155, "GPIO_155"),
265*87ebcd8bSPankaj Patil PINCTRL_PIN(156, "GPIO_156"),
266*87ebcd8bSPankaj Patil PINCTRL_PIN(157, "GPIO_157"),
267*87ebcd8bSPankaj Patil PINCTRL_PIN(158, "GPIO_158"),
268*87ebcd8bSPankaj Patil PINCTRL_PIN(159, "GPIO_159"),
269*87ebcd8bSPankaj Patil PINCTRL_PIN(160, "GPIO_160"),
270*87ebcd8bSPankaj Patil PINCTRL_PIN(161, "GPIO_161"),
271*87ebcd8bSPankaj Patil PINCTRL_PIN(162, "GPIO_162"),
272*87ebcd8bSPankaj Patil PINCTRL_PIN(163, "GPIO_163"),
273*87ebcd8bSPankaj Patil PINCTRL_PIN(164, "GPIO_164"),
274*87ebcd8bSPankaj Patil PINCTRL_PIN(165, "GPIO_165"),
275*87ebcd8bSPankaj Patil PINCTRL_PIN(166, "GPIO_166"),
276*87ebcd8bSPankaj Patil PINCTRL_PIN(167, "GPIO_167"),
277*87ebcd8bSPankaj Patil PINCTRL_PIN(168, "GPIO_168"),
278*87ebcd8bSPankaj Patil PINCTRL_PIN(169, "GPIO_169"),
279*87ebcd8bSPankaj Patil PINCTRL_PIN(170, "GPIO_170"),
280*87ebcd8bSPankaj Patil PINCTRL_PIN(171, "GPIO_171"),
281*87ebcd8bSPankaj Patil PINCTRL_PIN(172, "GPIO_172"),
282*87ebcd8bSPankaj Patil PINCTRL_PIN(173, "GPIO_173"),
283*87ebcd8bSPankaj Patil PINCTRL_PIN(174, "GPIO_174"),
284*87ebcd8bSPankaj Patil PINCTRL_PIN(175, "GPIO_175"),
285*87ebcd8bSPankaj Patil PINCTRL_PIN(176, "GPIO_176"),
286*87ebcd8bSPankaj Patil PINCTRL_PIN(177, "GPIO_177"),
287*87ebcd8bSPankaj Patil PINCTRL_PIN(178, "GPIO_178"),
288*87ebcd8bSPankaj Patil PINCTRL_PIN(179, "GPIO_179"),
289*87ebcd8bSPankaj Patil PINCTRL_PIN(180, "GPIO_180"),
290*87ebcd8bSPankaj Patil PINCTRL_PIN(181, "GPIO_181"),
291*87ebcd8bSPankaj Patil PINCTRL_PIN(182, "GPIO_182"),
292*87ebcd8bSPankaj Patil PINCTRL_PIN(183, "GPIO_183"),
293*87ebcd8bSPankaj Patil PINCTRL_PIN(184, "GPIO_184"),
294*87ebcd8bSPankaj Patil PINCTRL_PIN(185, "GPIO_185"),
295*87ebcd8bSPankaj Patil PINCTRL_PIN(186, "GPIO_186"),
296*87ebcd8bSPankaj Patil PINCTRL_PIN(187, "GPIO_187"),
297*87ebcd8bSPankaj Patil PINCTRL_PIN(188, "GPIO_188"),
298*87ebcd8bSPankaj Patil PINCTRL_PIN(189, "GPIO_189"),
299*87ebcd8bSPankaj Patil PINCTRL_PIN(190, "GPIO_190"),
300*87ebcd8bSPankaj Patil PINCTRL_PIN(191, "GPIO_191"),
301*87ebcd8bSPankaj Patil PINCTRL_PIN(192, "GPIO_192"),
302*87ebcd8bSPankaj Patil PINCTRL_PIN(193, "GPIO_193"),
303*87ebcd8bSPankaj Patil PINCTRL_PIN(194, "GPIO_194"),
304*87ebcd8bSPankaj Patil PINCTRL_PIN(195, "GPIO_195"),
305*87ebcd8bSPankaj Patil PINCTRL_PIN(196, "GPIO_196"),
306*87ebcd8bSPankaj Patil PINCTRL_PIN(197, "GPIO_197"),
307*87ebcd8bSPankaj Patil PINCTRL_PIN(198, "GPIO_198"),
308*87ebcd8bSPankaj Patil PINCTRL_PIN(199, "GPIO_199"),
309*87ebcd8bSPankaj Patil PINCTRL_PIN(200, "GPIO_200"),
310*87ebcd8bSPankaj Patil PINCTRL_PIN(201, "GPIO_201"),
311*87ebcd8bSPankaj Patil PINCTRL_PIN(202, "GPIO_202"),
312*87ebcd8bSPankaj Patil PINCTRL_PIN(203, "GPIO_203"),
313*87ebcd8bSPankaj Patil PINCTRL_PIN(204, "GPIO_204"),
314*87ebcd8bSPankaj Patil PINCTRL_PIN(205, "GPIO_205"),
315*87ebcd8bSPankaj Patil PINCTRL_PIN(206, "GPIO_206"),
316*87ebcd8bSPankaj Patil PINCTRL_PIN(207, "GPIO_207"),
317*87ebcd8bSPankaj Patil PINCTRL_PIN(208, "GPIO_208"),
318*87ebcd8bSPankaj Patil PINCTRL_PIN(209, "GPIO_209"),
319*87ebcd8bSPankaj Patil PINCTRL_PIN(210, "GPIO_210"),
320*87ebcd8bSPankaj Patil PINCTRL_PIN(211, "GPIO_211"),
321*87ebcd8bSPankaj Patil PINCTRL_PIN(212, "GPIO_212"),
322*87ebcd8bSPankaj Patil PINCTRL_PIN(213, "GPIO_213"),
323*87ebcd8bSPankaj Patil PINCTRL_PIN(214, "GPIO_214"),
324*87ebcd8bSPankaj Patil PINCTRL_PIN(215, "GPIO_215"),
325*87ebcd8bSPankaj Patil PINCTRL_PIN(216, "GPIO_216"),
326*87ebcd8bSPankaj Patil PINCTRL_PIN(217, "GPIO_217"),
327*87ebcd8bSPankaj Patil PINCTRL_PIN(218, "GPIO_218"),
328*87ebcd8bSPankaj Patil PINCTRL_PIN(219, "GPIO_219"),
329*87ebcd8bSPankaj Patil PINCTRL_PIN(220, "GPIO_220"),
330*87ebcd8bSPankaj Patil PINCTRL_PIN(221, "GPIO_221"),
331*87ebcd8bSPankaj Patil PINCTRL_PIN(222, "GPIO_222"),
332*87ebcd8bSPankaj Patil PINCTRL_PIN(223, "GPIO_223"),
333*87ebcd8bSPankaj Patil PINCTRL_PIN(224, "GPIO_224"),
334*87ebcd8bSPankaj Patil PINCTRL_PIN(225, "GPIO_225"),
335*87ebcd8bSPankaj Patil PINCTRL_PIN(226, "GPIO_226"),
336*87ebcd8bSPankaj Patil PINCTRL_PIN(227, "GPIO_227"),
337*87ebcd8bSPankaj Patil PINCTRL_PIN(228, "GPIO_228"),
338*87ebcd8bSPankaj Patil PINCTRL_PIN(229, "GPIO_229"),
339*87ebcd8bSPankaj Patil PINCTRL_PIN(230, "GPIO_230"),
340*87ebcd8bSPankaj Patil PINCTRL_PIN(231, "GPIO_231"),
341*87ebcd8bSPankaj Patil PINCTRL_PIN(232, "GPIO_232"),
342*87ebcd8bSPankaj Patil PINCTRL_PIN(233, "GPIO_233"),
343*87ebcd8bSPankaj Patil PINCTRL_PIN(234, "GPIO_234"),
344*87ebcd8bSPankaj Patil PINCTRL_PIN(235, "GPIO_235"),
345*87ebcd8bSPankaj Patil PINCTRL_PIN(236, "GPIO_236"),
346*87ebcd8bSPankaj Patil PINCTRL_PIN(237, "GPIO_237"),
347*87ebcd8bSPankaj Patil PINCTRL_PIN(238, "GPIO_238"),
348*87ebcd8bSPankaj Patil PINCTRL_PIN(239, "GPIO_239"),
349*87ebcd8bSPankaj Patil PINCTRL_PIN(240, "GPIO_240"),
350*87ebcd8bSPankaj Patil PINCTRL_PIN(241, "GPIO_241"),
351*87ebcd8bSPankaj Patil PINCTRL_PIN(242, "GPIO_242"),
352*87ebcd8bSPankaj Patil PINCTRL_PIN(243, "GPIO_243"),
353*87ebcd8bSPankaj Patil PINCTRL_PIN(244, "GPIO_244"),
354*87ebcd8bSPankaj Patil PINCTRL_PIN(245, "GPIO_245"),
355*87ebcd8bSPankaj Patil PINCTRL_PIN(246, "GPIO_246"),
356*87ebcd8bSPankaj Patil PINCTRL_PIN(247, "GPIO_247"),
357*87ebcd8bSPankaj Patil PINCTRL_PIN(248, "GPIO_248"),
358*87ebcd8bSPankaj Patil PINCTRL_PIN(249, "GPIO_249"),
359*87ebcd8bSPankaj Patil };
360*87ebcd8bSPankaj Patil
361*87ebcd8bSPankaj Patil #define DECLARE_MSM_GPIO_PINS(pin) \
362*87ebcd8bSPankaj Patil static const unsigned int gpio##pin##_pins[] = { pin }
363*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(0);
364*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(1);
365*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(2);
366*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(3);
367*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(4);
368*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(5);
369*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(6);
370*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(7);
371*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(8);
372*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(9);
373*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(10);
374*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(11);
375*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(12);
376*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(13);
377*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(14);
378*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(15);
379*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(16);
380*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(17);
381*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(18);
382*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(19);
383*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(20);
384*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(21);
385*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(22);
386*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(23);
387*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(24);
388*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(25);
389*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(26);
390*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(27);
391*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(28);
392*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(29);
393*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(30);
394*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(31);
395*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(32);
396*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(33);
397*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(34);
398*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(35);
399*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(36);
400*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(37);
401*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(38);
402*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(39);
403*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(40);
404*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(41);
405*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(42);
406*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(43);
407*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(44);
408*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(45);
409*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(46);
410*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(47);
411*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(48);
412*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(49);
413*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(50);
414*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(51);
415*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(52);
416*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(53);
417*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(54);
418*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(55);
419*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(56);
420*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(57);
421*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(58);
422*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(59);
423*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(60);
424*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(61);
425*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(62);
426*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(63);
427*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(64);
428*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(65);
429*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(66);
430*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(67);
431*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(68);
432*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(69);
433*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(70);
434*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(71);
435*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(72);
436*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(73);
437*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(74);
438*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(75);
439*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(76);
440*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(77);
441*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(78);
442*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(79);
443*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(80);
444*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(81);
445*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(82);
446*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(83);
447*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(84);
448*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(85);
449*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(86);
450*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(87);
451*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(88);
452*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(89);
453*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(90);
454*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(91);
455*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(92);
456*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(93);
457*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(94);
458*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(95);
459*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(96);
460*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(97);
461*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(98);
462*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(99);
463*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(100);
464*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(101);
465*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(102);
466*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(103);
467*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(104);
468*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(105);
469*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(106);
470*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(107);
471*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(108);
472*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(109);
473*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(110);
474*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(111);
475*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(112);
476*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(113);
477*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(114);
478*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(115);
479*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(116);
480*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(117);
481*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(118);
482*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(119);
483*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(120);
484*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(121);
485*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(122);
486*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(123);
487*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(124);
488*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(125);
489*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(126);
490*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(127);
491*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(128);
492*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(129);
493*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(130);
494*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(131);
495*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(132);
496*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(133);
497*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(134);
498*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(135);
499*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(136);
500*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(137);
501*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(138);
502*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(139);
503*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(140);
504*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(141);
505*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(142);
506*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(143);
507*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(144);
508*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(145);
509*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(146);
510*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(147);
511*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(148);
512*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(149);
513*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(150);
514*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(151);
515*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(152);
516*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(153);
517*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(154);
518*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(155);
519*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(156);
520*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(157);
521*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(158);
522*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(159);
523*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(160);
524*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(161);
525*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(162);
526*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(163);
527*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(164);
528*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(165);
529*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(166);
530*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(167);
531*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(168);
532*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(169);
533*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(170);
534*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(171);
535*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(172);
536*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(173);
537*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(174);
538*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(175);
539*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(176);
540*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(177);
541*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(178);
542*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(179);
543*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(180);
544*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(181);
545*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(182);
546*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(183);
547*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(184);
548*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(185);
549*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(186);
550*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(187);
551*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(188);
552*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(189);
553*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(190);
554*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(191);
555*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(192);
556*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(193);
557*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(194);
558*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(195);
559*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(196);
560*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(197);
561*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(198);
562*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(199);
563*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(200);
564*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(201);
565*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(202);
566*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(203);
567*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(204);
568*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(205);
569*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(206);
570*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(207);
571*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(208);
572*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(209);
573*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(210);
574*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(211);
575*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(212);
576*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(213);
577*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(214);
578*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(215);
579*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(216);
580*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(217);
581*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(218);
582*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(219);
583*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(220);
584*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(221);
585*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(222);
586*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(223);
587*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(224);
588*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(225);
589*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(226);
590*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(227);
591*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(228);
592*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(229);
593*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(230);
594*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(231);
595*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(232);
596*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(233);
597*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(234);
598*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(235);
599*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(236);
600*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(237);
601*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(238);
602*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(239);
603*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(240);
604*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(241);
605*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(242);
606*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(243);
607*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(244);
608*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(245);
609*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(246);
610*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(247);
611*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(248);
612*87ebcd8bSPankaj Patil DECLARE_MSM_GPIO_PINS(249);
613*87ebcd8bSPankaj Patil
614*87ebcd8bSPankaj Patil static const unsigned int ufs_reset_pins[] = { 250 };
615*87ebcd8bSPankaj Patil static const unsigned int sdc2_clk_pins[] = { 251 };
616*87ebcd8bSPankaj Patil static const unsigned int sdc2_cmd_pins[] = { 252 };
617*87ebcd8bSPankaj Patil static const unsigned int sdc2_data_pins[] = { 253 };
618*87ebcd8bSPankaj Patil
619*87ebcd8bSPankaj Patil enum glymur_functions {
620*87ebcd8bSPankaj Patil msm_mux_gpio,
621*87ebcd8bSPankaj Patil msm_mux_resout_gpio_n,
622*87ebcd8bSPankaj Patil msm_mux_aoss_cti,
623*87ebcd8bSPankaj Patil msm_mux_asc_cci,
624*87ebcd8bSPankaj Patil msm_mux_atest_char,
625*87ebcd8bSPankaj Patil msm_mux_atest_usb,
626*87ebcd8bSPankaj Patil msm_mux_audio_ext_mclk0,
627*87ebcd8bSPankaj Patil msm_mux_audio_ext_mclk1,
628*87ebcd8bSPankaj Patil msm_mux_audio_ref_clk,
629*87ebcd8bSPankaj Patil msm_mux_cam_asc_mclk4,
630*87ebcd8bSPankaj Patil msm_mux_cam_mclk,
631*87ebcd8bSPankaj Patil msm_mux_cci_async_in,
632*87ebcd8bSPankaj Patil msm_mux_cci_i2c_scl,
633*87ebcd8bSPankaj Patil msm_mux_cci_i2c_sda,
634*87ebcd8bSPankaj Patil msm_mux_cci_timer,
635*87ebcd8bSPankaj Patil msm_mux_cmu_rng,
636*87ebcd8bSPankaj Patil msm_mux_cri_trng,
637*87ebcd8bSPankaj Patil msm_mux_dbg_out_clk,
638*87ebcd8bSPankaj Patil msm_mux_ddr_bist_complete,
639*87ebcd8bSPankaj Patil msm_mux_ddr_bist_fail,
640*87ebcd8bSPankaj Patil msm_mux_ddr_bist_start,
641*87ebcd8bSPankaj Patil msm_mux_ddr_bist_stop,
642*87ebcd8bSPankaj Patil msm_mux_ddr_pxi,
643*87ebcd8bSPankaj Patil msm_mux_edp0_hot,
644*87ebcd8bSPankaj Patil msm_mux_edp0_lcd,
645*87ebcd8bSPankaj Patil msm_mux_edp1_lcd,
646*87ebcd8bSPankaj Patil msm_mux_egpio,
647*87ebcd8bSPankaj Patil msm_mux_eusb_ac_en,
648*87ebcd8bSPankaj Patil msm_mux_gcc_gp1,
649*87ebcd8bSPankaj Patil msm_mux_gcc_gp2,
650*87ebcd8bSPankaj Patil msm_mux_gcc_gp3,
651*87ebcd8bSPankaj Patil msm_mux_host2wlan_sol,
652*87ebcd8bSPankaj Patil msm_mux_i2c0_s_scl,
653*87ebcd8bSPankaj Patil msm_mux_i2c0_s_sda,
654*87ebcd8bSPankaj Patil msm_mux_i2s0_data,
655*87ebcd8bSPankaj Patil msm_mux_i2s0_sck,
656*87ebcd8bSPankaj Patil msm_mux_i2s0_ws,
657*87ebcd8bSPankaj Patil msm_mux_i2s1_data,
658*87ebcd8bSPankaj Patil msm_mux_i2s1_sck,
659*87ebcd8bSPankaj Patil msm_mux_i2s1_ws,
660*87ebcd8bSPankaj Patil msm_mux_ibi_i3c,
661*87ebcd8bSPankaj Patil msm_mux_jitter_bist,
662*87ebcd8bSPankaj Patil msm_mux_mdp_vsync_out,
663*87ebcd8bSPankaj Patil msm_mux_mdp_vsync_e,
664*87ebcd8bSPankaj Patil msm_mux_mdp_vsync_p,
665*87ebcd8bSPankaj Patil msm_mux_mdp_vsync_s,
666*87ebcd8bSPankaj Patil msm_mux_pcie3a_clk,
667*87ebcd8bSPankaj Patil msm_mux_pcie3a_rst_n,
668*87ebcd8bSPankaj Patil msm_mux_pcie3b_clk,
669*87ebcd8bSPankaj Patil msm_mux_pcie4_clk_req_n,
670*87ebcd8bSPankaj Patil msm_mux_pcie5_clk_req_n,
671*87ebcd8bSPankaj Patil msm_mux_pcie6_clk_req_n,
672*87ebcd8bSPankaj Patil msm_mux_phase_flag,
673*87ebcd8bSPankaj Patil msm_mux_pll_bist_sync,
674*87ebcd8bSPankaj Patil msm_mux_pll_clk_aux,
675*87ebcd8bSPankaj Patil msm_mux_pmc_oca_n,
676*87ebcd8bSPankaj Patil msm_mux_pmc_uva_n,
677*87ebcd8bSPankaj Patil msm_mux_prng_rosc,
678*87ebcd8bSPankaj Patil msm_mux_qdss_cti,
679*87ebcd8bSPankaj Patil msm_mux_qdss_gpio,
680*87ebcd8bSPankaj Patil msm_mux_qspi0,
681*87ebcd8bSPankaj Patil msm_mux_qup0_se0,
682*87ebcd8bSPankaj Patil msm_mux_qup0_se1,
683*87ebcd8bSPankaj Patil msm_mux_qup0_se2,
684*87ebcd8bSPankaj Patil msm_mux_qup0_se3,
685*87ebcd8bSPankaj Patil msm_mux_qup0_se4,
686*87ebcd8bSPankaj Patil msm_mux_qup0_se5,
687*87ebcd8bSPankaj Patil msm_mux_qup0_se6,
688*87ebcd8bSPankaj Patil msm_mux_qup0_se7,
689*87ebcd8bSPankaj Patil msm_mux_qup1_se0,
690*87ebcd8bSPankaj Patil msm_mux_qup1_se1,
691*87ebcd8bSPankaj Patil msm_mux_qup1_se2,
692*87ebcd8bSPankaj Patil msm_mux_qup1_se3,
693*87ebcd8bSPankaj Patil msm_mux_qup1_se4,
694*87ebcd8bSPankaj Patil msm_mux_qup1_se5,
695*87ebcd8bSPankaj Patil msm_mux_qup1_se6,
696*87ebcd8bSPankaj Patil msm_mux_qup1_se7,
697*87ebcd8bSPankaj Patil msm_mux_qup2_se0,
698*87ebcd8bSPankaj Patil msm_mux_qup2_se1,
699*87ebcd8bSPankaj Patil msm_mux_qup2_se2,
700*87ebcd8bSPankaj Patil msm_mux_qup2_se3,
701*87ebcd8bSPankaj Patil msm_mux_qup2_se4,
702*87ebcd8bSPankaj Patil msm_mux_qup2_se5,
703*87ebcd8bSPankaj Patil msm_mux_qup2_se6,
704*87ebcd8bSPankaj Patil msm_mux_qup2_se7,
705*87ebcd8bSPankaj Patil msm_mux_qup3_se0,
706*87ebcd8bSPankaj Patil msm_mux_qup3_se1,
707*87ebcd8bSPankaj Patil msm_mux_sd_write_protect,
708*87ebcd8bSPankaj Patil msm_mux_sdc4_clk,
709*87ebcd8bSPankaj Patil msm_mux_sdc4_cmd,
710*87ebcd8bSPankaj Patil msm_mux_sdc4_data,
711*87ebcd8bSPankaj Patil msm_mux_smb_acok_n,
712*87ebcd8bSPankaj Patil msm_mux_sys_throttle,
713*87ebcd8bSPankaj Patil msm_mux_tb_trig_sdc2,
714*87ebcd8bSPankaj Patil msm_mux_tb_trig_sdc4,
715*87ebcd8bSPankaj Patil msm_mux_tmess_prng,
716*87ebcd8bSPankaj Patil msm_mux_tsense_pwm,
717*87ebcd8bSPankaj Patil msm_mux_tsense_therm,
718*87ebcd8bSPankaj Patil msm_mux_usb0_dp,
719*87ebcd8bSPankaj Patil msm_mux_usb0_phy_ps,
720*87ebcd8bSPankaj Patil msm_mux_usb0_sbrx,
721*87ebcd8bSPankaj Patil msm_mux_usb0_sbtx,
722*87ebcd8bSPankaj Patil msm_mux_usb0_tmu,
723*87ebcd8bSPankaj Patil msm_mux_usb1_dbg,
724*87ebcd8bSPankaj Patil msm_mux_usb1_dp,
725*87ebcd8bSPankaj Patil msm_mux_usb1_phy_ps,
726*87ebcd8bSPankaj Patil msm_mux_usb1_sbrx,
727*87ebcd8bSPankaj Patil msm_mux_usb1_sbtx,
728*87ebcd8bSPankaj Patil msm_mux_usb1_tmu,
729*87ebcd8bSPankaj Patil msm_mux_usb2_dp,
730*87ebcd8bSPankaj Patil msm_mux_usb2_phy_ps,
731*87ebcd8bSPankaj Patil msm_mux_usb2_sbrx,
732*87ebcd8bSPankaj Patil msm_mux_usb2_sbtx,
733*87ebcd8bSPankaj Patil msm_mux_usb2_tmu,
734*87ebcd8bSPankaj Patil msm_mux_vsense_trigger_mirnat,
735*87ebcd8bSPankaj Patil msm_mux_wcn_sw,
736*87ebcd8bSPankaj Patil msm_mux_wcn_sw_ctrl,
737*87ebcd8bSPankaj Patil msm_mux__,
738*87ebcd8bSPankaj Patil };
739*87ebcd8bSPankaj Patil
740*87ebcd8bSPankaj Patil static const char *const gpio_groups[] = {
741*87ebcd8bSPankaj Patil "gpio0", "gpio1", "gpio2", "gpio3", "gpio4", "gpio5",
742*87ebcd8bSPankaj Patil "gpio6", "gpio7", "gpio8", "gpio9", "gpio10", "gpio11",
743*87ebcd8bSPankaj Patil "gpio12", "gpio13", "gpio14", "gpio15", "gpio16", "gpio17",
744*87ebcd8bSPankaj Patil "gpio18", "gpio19", "gpio20", "gpio21", "gpio22", "gpio23",
745*87ebcd8bSPankaj Patil "gpio24", "gpio25", "gpio26", "gpio27", "gpio28", "gpio29",
746*87ebcd8bSPankaj Patil "gpio30", "gpio31", "gpio32", "gpio33", "gpio34", "gpio35",
747*87ebcd8bSPankaj Patil "gpio36", "gpio37", "gpio38", "gpio39", "gpio40", "gpio41",
748*87ebcd8bSPankaj Patil "gpio42", "gpio43", "gpio44", "gpio45", "gpio46", "gpio47",
749*87ebcd8bSPankaj Patil "gpio48", "gpio49", "gpio50", "gpio51", "gpio52", "gpio53",
750*87ebcd8bSPankaj Patil "gpio54", "gpio55", "gpio56", "gpio57", "gpio58", "gpio59",
751*87ebcd8bSPankaj Patil "gpio60", "gpio61", "gpio62", "gpio63", "gpio64", "gpio65",
752*87ebcd8bSPankaj Patil "gpio66", "gpio67", "gpio68", "gpio69", "gpio70", "gpio71",
753*87ebcd8bSPankaj Patil "gpio72", "gpio73", "gpio74", "gpio75", "gpio76", "gpio77",
754*87ebcd8bSPankaj Patil "gpio78", "gpio79", "gpio80", "gpio81", "gpio82", "gpio83",
755*87ebcd8bSPankaj Patil "gpio84", "gpio85", "gpio86", "gpio87", "gpio88", "gpio89",
756*87ebcd8bSPankaj Patil "gpio90", "gpio91", "gpio92", "gpio93", "gpio94", "gpio95",
757*87ebcd8bSPankaj Patil "gpio96", "gpio97", "gpio98", "gpio99", "gpio100", "gpio101",
758*87ebcd8bSPankaj Patil "gpio102", "gpio103", "gpio104", "gpio105", "gpio106", "gpio107",
759*87ebcd8bSPankaj Patil "gpio108", "gpio109", "gpio110", "gpio111", "gpio112", "gpio113",
760*87ebcd8bSPankaj Patil "gpio114", "gpio115", "gpio116", "gpio117", "gpio118", "gpio119",
761*87ebcd8bSPankaj Patil "gpio120", "gpio121", "gpio122", "gpio123", "gpio124", "gpio125",
762*87ebcd8bSPankaj Patil "gpio126", "gpio127", "gpio128", "gpio129", "gpio130", "gpio131",
763*87ebcd8bSPankaj Patil "gpio132", "gpio133", "gpio134", "gpio135", "gpio136", "gpio137",
764*87ebcd8bSPankaj Patil "gpio138", "gpio139", "gpio140", "gpio141", "gpio142", "gpio143",
765*87ebcd8bSPankaj Patil "gpio144", "gpio145", "gpio146", "gpio147", "gpio148", "gpio149",
766*87ebcd8bSPankaj Patil "gpio150", "gpio151", "gpio152", "gpio153", "gpio154", "gpio155",
767*87ebcd8bSPankaj Patil "gpio156", "gpio157", "gpio158", "gpio159", "gpio160", "gpio161",
768*87ebcd8bSPankaj Patil "gpio162", "gpio163", "gpio164", "gpio165", "gpio166", "gpio167",
769*87ebcd8bSPankaj Patil "gpio168", "gpio169", "gpio170", "gpio171", "gpio172", "gpio173",
770*87ebcd8bSPankaj Patil "gpio174", "gpio175", "gpio176", "gpio177", "gpio178", "gpio179",
771*87ebcd8bSPankaj Patil "gpio180", "gpio181", "gpio182", "gpio183", "gpio184", "gpio185",
772*87ebcd8bSPankaj Patil "gpio186", "gpio187", "gpio188", "gpio189", "gpio190", "gpio191",
773*87ebcd8bSPankaj Patil "gpio192", "gpio193", "gpio194", "gpio195", "gpio196", "gpio197",
774*87ebcd8bSPankaj Patil "gpio198", "gpio199", "gpio200", "gpio201", "gpio202", "gpio203",
775*87ebcd8bSPankaj Patil "gpio204", "gpio205", "gpio206", "gpio207", "gpio208", "gpio209",
776*87ebcd8bSPankaj Patil "gpio210", "gpio211", "gpio212", "gpio213", "gpio214", "gpio215",
777*87ebcd8bSPankaj Patil "gpio216", "gpio217", "gpio218", "gpio219", "gpio220", "gpio221",
778*87ebcd8bSPankaj Patil "gpio222", "gpio223", "gpio224", "gpio225", "gpio226", "gpio227",
779*87ebcd8bSPankaj Patil "gpio228", "gpio229", "gpio230", "gpio231", "gpio232", "gpio233",
780*87ebcd8bSPankaj Patil "gpio234", "gpio235", "gpio236", "gpio237", "gpio238", "gpio239",
781*87ebcd8bSPankaj Patil "gpio240", "gpio241", "gpio242", "gpio243", "gpio244", "gpio245",
782*87ebcd8bSPankaj Patil "gpio246", "gpio247", "gpio248", "gpio249",
783*87ebcd8bSPankaj Patil };
784*87ebcd8bSPankaj Patil
785*87ebcd8bSPankaj Patil static const char *const resout_gpio_n_groups[] = {
786*87ebcd8bSPankaj Patil "gpio160",
787*87ebcd8bSPankaj Patil };
788*87ebcd8bSPankaj Patil
789*87ebcd8bSPankaj Patil static const char *const aoss_cti_groups[] = {
790*87ebcd8bSPankaj Patil "gpio60",
791*87ebcd8bSPankaj Patil "gpio61",
792*87ebcd8bSPankaj Patil "gpio62",
793*87ebcd8bSPankaj Patil "gpio63",
794*87ebcd8bSPankaj Patil };
795*87ebcd8bSPankaj Patil
796*87ebcd8bSPankaj Patil static const char *const asc_cci_groups[] = {
797*87ebcd8bSPankaj Patil "gpio235",
798*87ebcd8bSPankaj Patil "gpio236",
799*87ebcd8bSPankaj Patil };
800*87ebcd8bSPankaj Patil
801*87ebcd8bSPankaj Patil static const char *const atest_char_groups[] = {
802*87ebcd8bSPankaj Patil "gpio172", "gpio184", "gpio188", "gpio164",
803*87ebcd8bSPankaj Patil "gpio163",
804*87ebcd8bSPankaj Patil };
805*87ebcd8bSPankaj Patil
806*87ebcd8bSPankaj Patil static const char *const atest_usb_groups[] = {
807*87ebcd8bSPankaj Patil "gpio39", "gpio40", "gpio41", "gpio38",
808*87ebcd8bSPankaj Patil "gpio44", "gpio45", "gpio42", "gpio43",
809*87ebcd8bSPankaj Patil "gpio49", "gpio50", "gpio51", "gpio48",
810*87ebcd8bSPankaj Patil "gpio54", "gpio55", "gpio52", "gpio53",
811*87ebcd8bSPankaj Patil "gpio65", "gpio66", "gpio46", "gpio47",
812*87ebcd8bSPankaj Patil "gpio72", "gpio73", "gpio80", "gpio81",
813*87ebcd8bSPankaj Patil };
814*87ebcd8bSPankaj Patil
815*87ebcd8bSPankaj Patil static const char *const audio_ext_mclk0_groups[] = {
816*87ebcd8bSPankaj Patil "gpio134",
817*87ebcd8bSPankaj Patil };
818*87ebcd8bSPankaj Patil
819*87ebcd8bSPankaj Patil static const char *const audio_ext_mclk1_groups[] = {
820*87ebcd8bSPankaj Patil "gpio142",
821*87ebcd8bSPankaj Patil };
822*87ebcd8bSPankaj Patil
823*87ebcd8bSPankaj Patil static const char *const audio_ref_clk_groups[] = {
824*87ebcd8bSPankaj Patil "gpio142",
825*87ebcd8bSPankaj Patil };
826*87ebcd8bSPankaj Patil
827*87ebcd8bSPankaj Patil static const char *const cam_asc_mclk4_groups[] = {
828*87ebcd8bSPankaj Patil "gpio100",
829*87ebcd8bSPankaj Patil };
830*87ebcd8bSPankaj Patil
831*87ebcd8bSPankaj Patil static const char *const cam_mclk_groups[] = {
832*87ebcd8bSPankaj Patil "gpio96",
833*87ebcd8bSPankaj Patil "gpio97",
834*87ebcd8bSPankaj Patil "gpio98",
835*87ebcd8bSPankaj Patil "gpio99",
836*87ebcd8bSPankaj Patil };
837*87ebcd8bSPankaj Patil
838*87ebcd8bSPankaj Patil static const char *const cci_async_in_groups[] = {
839*87ebcd8bSPankaj Patil "gpio113", "gpio112", "gpio111",
840*87ebcd8bSPankaj Patil };
841*87ebcd8bSPankaj Patil
842*87ebcd8bSPankaj Patil static const char *const cci_i2c_scl_groups[] = {
843*87ebcd8bSPankaj Patil "gpio102", "gpio104", "gpio106",
844*87ebcd8bSPankaj Patil };
845*87ebcd8bSPankaj Patil
846*87ebcd8bSPankaj Patil static const char *const cci_i2c_sda_groups[] = {
847*87ebcd8bSPankaj Patil "gpio101", "gpio103", "gpio105",
848*87ebcd8bSPankaj Patil };
849*87ebcd8bSPankaj Patil
850*87ebcd8bSPankaj Patil static const char *const cci_timer_groups[] = {
851*87ebcd8bSPankaj Patil "gpio109", "gpio110", "gpio111", "gpio112",
852*87ebcd8bSPankaj Patil "gpio113",
853*87ebcd8bSPankaj Patil };
854*87ebcd8bSPankaj Patil
855*87ebcd8bSPankaj Patil static const char *const cmu_rng_groups[] = {
856*87ebcd8bSPankaj Patil "gpio48", "gpio47", "gpio46", "gpio45",
857*87ebcd8bSPankaj Patil };
858*87ebcd8bSPankaj Patil
859*87ebcd8bSPankaj Patil static const char *const cri_trng_groups[] = {
860*87ebcd8bSPankaj Patil "gpio173",
861*87ebcd8bSPankaj Patil };
862*87ebcd8bSPankaj Patil
863*87ebcd8bSPankaj Patil static const char *const dbg_out_clk_groups[] = {
864*87ebcd8bSPankaj Patil "gpio51",
865*87ebcd8bSPankaj Patil };
866*87ebcd8bSPankaj Patil
867*87ebcd8bSPankaj Patil static const char *const ddr_bist_complete_groups[] = {
868*87ebcd8bSPankaj Patil "gpio57",
869*87ebcd8bSPankaj Patil };
870*87ebcd8bSPankaj Patil
871*87ebcd8bSPankaj Patil static const char *const ddr_bist_fail_groups[] = {
872*87ebcd8bSPankaj Patil "gpio56",
873*87ebcd8bSPankaj Patil };
874*87ebcd8bSPankaj Patil
875*87ebcd8bSPankaj Patil static const char *const ddr_bist_start_groups[] = {
876*87ebcd8bSPankaj Patil "gpio54",
877*87ebcd8bSPankaj Patil };
878*87ebcd8bSPankaj Patil
879*87ebcd8bSPankaj Patil static const char *const ddr_bist_stop_groups[] = {
880*87ebcd8bSPankaj Patil "gpio55",
881*87ebcd8bSPankaj Patil };
882*87ebcd8bSPankaj Patil
883*87ebcd8bSPankaj Patil static const char *const ddr_pxi_groups[] = {
884*87ebcd8bSPankaj Patil "gpio38", "gpio39", "gpio40", "gpio41",
885*87ebcd8bSPankaj Patil "gpio72", "gpio73", "gpio80", "gpio81",
886*87ebcd8bSPankaj Patil "gpio42", "gpio43", "gpio44", "gpio45",
887*87ebcd8bSPankaj Patil "gpio46", "gpio47", "gpio48", "gpio49",
888*87ebcd8bSPankaj Patil "gpio50", "gpio51", "gpio52", "gpio53",
889*87ebcd8bSPankaj Patil "gpio54", "gpio55", "gpio65", "gpio66",
890*87ebcd8bSPankaj Patil };
891*87ebcd8bSPankaj Patil
892*87ebcd8bSPankaj Patil static const char *const edp0_hot_groups[] = {
893*87ebcd8bSPankaj Patil "gpio119",
894*87ebcd8bSPankaj Patil };
895*87ebcd8bSPankaj Patil
896*87ebcd8bSPankaj Patil static const char *const edp0_lcd_groups[] = {
897*87ebcd8bSPankaj Patil "gpio120",
898*87ebcd8bSPankaj Patil };
899*87ebcd8bSPankaj Patil
900*87ebcd8bSPankaj Patil static const char *const edp1_lcd_groups[] = {
901*87ebcd8bSPankaj Patil "gpio115",
902*87ebcd8bSPankaj Patil "gpio119",
903*87ebcd8bSPankaj Patil };
904*87ebcd8bSPankaj Patil
905*87ebcd8bSPankaj Patil static const char *const egpio_groups[] = {
906*87ebcd8bSPankaj Patil "gpio192", "gpio193", "gpio194", "gpio195", "gpio196", "gpio197",
907*87ebcd8bSPankaj Patil "gpio198", "gpio199", "gpio200", "gpio201", "gpio202", "gpio203",
908*87ebcd8bSPankaj Patil "gpio204", "gpio205", "gpio206", "gpio207", "gpio208", "gpio209",
909*87ebcd8bSPankaj Patil "gpio210", "gpio211", "gpio212", "gpio213", "gpio214", "gpio215",
910*87ebcd8bSPankaj Patil "gpio216", "gpio217", "gpio218", "gpio219", "gpio220", "gpio221",
911*87ebcd8bSPankaj Patil "gpio222", "gpio223", "gpio224", "gpio225", "gpio226", "gpio227",
912*87ebcd8bSPankaj Patil "gpio228", "gpio229", "gpio230", "gpio231", "gpio232", "gpio233",
913*87ebcd8bSPankaj Patil "gpio234", "gpio235", "gpio236", "gpio237", "gpio238", "gpio239",
914*87ebcd8bSPankaj Patil "gpio240", "gpio241", "gpio242", "gpio243", "gpio244",
915*87ebcd8bSPankaj Patil };
916*87ebcd8bSPankaj Patil
917*87ebcd8bSPankaj Patil static const char *const eusb_ac_en_groups[] = {
918*87ebcd8bSPankaj Patil "gpio168", "gpio177", "gpio186", "gpio69",
919*87ebcd8bSPankaj Patil "gpio187", "gpio178",
920*87ebcd8bSPankaj Patil };
921*87ebcd8bSPankaj Patil
922*87ebcd8bSPankaj Patil static const char *const gcc_gp1_groups[] = {
923*87ebcd8bSPankaj Patil "gpio71",
924*87ebcd8bSPankaj Patil "gpio72",
925*87ebcd8bSPankaj Patil };
926*87ebcd8bSPankaj Patil
927*87ebcd8bSPankaj Patil static const char *const gcc_gp2_groups[] = {
928*87ebcd8bSPankaj Patil "gpio64",
929*87ebcd8bSPankaj Patil "gpio73",
930*87ebcd8bSPankaj Patil };
931*87ebcd8bSPankaj Patil
932*87ebcd8bSPankaj Patil static const char *const gcc_gp3_groups[] = {
933*87ebcd8bSPankaj Patil "gpio74",
934*87ebcd8bSPankaj Patil "gpio82",
935*87ebcd8bSPankaj Patil };
936*87ebcd8bSPankaj Patil
937*87ebcd8bSPankaj Patil static const char *const host2wlan_sol_groups[] = {
938*87ebcd8bSPankaj Patil "gpio118",
939*87ebcd8bSPankaj Patil };
940*87ebcd8bSPankaj Patil
941*87ebcd8bSPankaj Patil static const char *const i2c0_s_scl_groups[] = {
942*87ebcd8bSPankaj Patil "gpio7",
943*87ebcd8bSPankaj Patil };
944*87ebcd8bSPankaj Patil
945*87ebcd8bSPankaj Patil static const char *const i2c0_s_sda_groups[] = {
946*87ebcd8bSPankaj Patil "gpio6",
947*87ebcd8bSPankaj Patil };
948*87ebcd8bSPankaj Patil
949*87ebcd8bSPankaj Patil static const char *const i2s0_data_groups[] = {
950*87ebcd8bSPankaj Patil "gpio136", "gpio137",
951*87ebcd8bSPankaj Patil };
952*87ebcd8bSPankaj Patil
953*87ebcd8bSPankaj Patil static const char *const i2s0_sck_groups[] = {
954*87ebcd8bSPankaj Patil "gpio135",
955*87ebcd8bSPankaj Patil };
956*87ebcd8bSPankaj Patil
957*87ebcd8bSPankaj Patil static const char *const i2s0_ws_groups[] = {
958*87ebcd8bSPankaj Patil "gpio138",
959*87ebcd8bSPankaj Patil };
960*87ebcd8bSPankaj Patil
961*87ebcd8bSPankaj Patil static const char *const i2s1_data_groups[] = {
962*87ebcd8bSPankaj Patil "gpio140", "gpio142",
963*87ebcd8bSPankaj Patil };
964*87ebcd8bSPankaj Patil
965*87ebcd8bSPankaj Patil static const char *const i2s1_sck_groups[] = {
966*87ebcd8bSPankaj Patil "gpio139",
967*87ebcd8bSPankaj Patil };
968*87ebcd8bSPankaj Patil
969*87ebcd8bSPankaj Patil static const char *const i2s1_ws_groups[] = {
970*87ebcd8bSPankaj Patil "gpio141",
971*87ebcd8bSPankaj Patil };
972*87ebcd8bSPankaj Patil
973*87ebcd8bSPankaj Patil static const char *const ibi_i3c_groups[] = {
974*87ebcd8bSPankaj Patil "gpio0", "gpio1", "gpio4", "gpio5", "gpio32", "gpio33",
975*87ebcd8bSPankaj Patil "gpio36", "gpio37", "gpio64", "gpio65", "gpio68", "gpio69",
976*87ebcd8bSPankaj Patil };
977*87ebcd8bSPankaj Patil
978*87ebcd8bSPankaj Patil static const char *const jitter_bist_groups[] = {
979*87ebcd8bSPankaj Patil "gpio52",
980*87ebcd8bSPankaj Patil };
981*87ebcd8bSPankaj Patil
982*87ebcd8bSPankaj Patil static const char *const mdp_vsync_out_groups[] = {
983*87ebcd8bSPankaj Patil "gpio114", "gpio114", "gpio115", "gpio115",
984*87ebcd8bSPankaj Patil "gpio109", "gpio110", "gpio111", "gpio112",
985*87ebcd8bSPankaj Patil "gpio113",
986*87ebcd8bSPankaj Patil };
987*87ebcd8bSPankaj Patil
988*87ebcd8bSPankaj Patil static const char *const mdp_vsync_e_groups[] = {
989*87ebcd8bSPankaj Patil "gpio106",
990*87ebcd8bSPankaj Patil };
991*87ebcd8bSPankaj Patil
992*87ebcd8bSPankaj Patil static const char *const mdp_vsync_p_groups[] = {
993*87ebcd8bSPankaj Patil "gpio98",
994*87ebcd8bSPankaj Patil };
995*87ebcd8bSPankaj Patil
996*87ebcd8bSPankaj Patil static const char *const mdp_vsync_s_groups[] = {
997*87ebcd8bSPankaj Patil "gpio105",
998*87ebcd8bSPankaj Patil };
999*87ebcd8bSPankaj Patil
1000*87ebcd8bSPankaj Patil static const char *const pcie3a_clk_groups[] = {
1001*87ebcd8bSPankaj Patil "gpio144",
1002*87ebcd8bSPankaj Patil };
1003*87ebcd8bSPankaj Patil
1004*87ebcd8bSPankaj Patil static const char *const pcie3a_rst_n_groups[] = {
1005*87ebcd8bSPankaj Patil "gpio143",
1006*87ebcd8bSPankaj Patil };
1007*87ebcd8bSPankaj Patil
1008*87ebcd8bSPankaj Patil static const char *const pcie3b_clk_groups[] = {
1009*87ebcd8bSPankaj Patil "gpio156",
1010*87ebcd8bSPankaj Patil };
1011*87ebcd8bSPankaj Patil
1012*87ebcd8bSPankaj Patil static const char *const pcie4_clk_req_n_groups[] = {
1013*87ebcd8bSPankaj Patil "gpio147",
1014*87ebcd8bSPankaj Patil };
1015*87ebcd8bSPankaj Patil
1016*87ebcd8bSPankaj Patil static const char *const pcie5_clk_req_n_groups[] = {
1017*87ebcd8bSPankaj Patil "gpio153",
1018*87ebcd8bSPankaj Patil };
1019*87ebcd8bSPankaj Patil
1020*87ebcd8bSPankaj Patil static const char *const pcie6_clk_req_n_groups[] = {
1021*87ebcd8bSPankaj Patil "gpio150",
1022*87ebcd8bSPankaj Patil };
1023*87ebcd8bSPankaj Patil
1024*87ebcd8bSPankaj Patil static const char *const phase_flag_groups[] = {
1025*87ebcd8bSPankaj Patil "gpio6", "gpio7", "gpio16", "gpio17",
1026*87ebcd8bSPankaj Patil "gpio18", "gpio19", "gpio20", "gpio21",
1027*87ebcd8bSPankaj Patil "gpio22", "gpio23", "gpio24", "gpio25",
1028*87ebcd8bSPankaj Patil "gpio8", "gpio26", "gpio27", "gpio163",
1029*87ebcd8bSPankaj Patil "gpio164", "gpio188", "gpio184", "gpio172",
1030*87ebcd8bSPankaj Patil "gpio186", "gpio173", "gpio76", "gpio9",
1031*87ebcd8bSPankaj Patil "gpio77", "gpio78", "gpio10", "gpio11",
1032*87ebcd8bSPankaj Patil "gpio12", "gpio13", "gpio14", "gpio15",
1033*87ebcd8bSPankaj Patil };
1034*87ebcd8bSPankaj Patil
1035*87ebcd8bSPankaj Patil static const char *const pll_bist_sync_groups[] = {
1036*87ebcd8bSPankaj Patil "gpio28",
1037*87ebcd8bSPankaj Patil };
1038*87ebcd8bSPankaj Patil
1039*87ebcd8bSPankaj Patil static const char *const pll_clk_aux_groups[] = {
1040*87ebcd8bSPankaj Patil "gpio35",
1041*87ebcd8bSPankaj Patil };
1042*87ebcd8bSPankaj Patil
1043*87ebcd8bSPankaj Patil static const char *const pmc_oca_n_groups[] = {
1044*87ebcd8bSPankaj Patil "gpio249",
1045*87ebcd8bSPankaj Patil };
1046*87ebcd8bSPankaj Patil
1047*87ebcd8bSPankaj Patil static const char *const pmc_uva_n_groups[] = {
1048*87ebcd8bSPankaj Patil "gpio248",
1049*87ebcd8bSPankaj Patil };
1050*87ebcd8bSPankaj Patil
1051*87ebcd8bSPankaj Patil static const char *const prng_rosc_groups[] = {
1052*87ebcd8bSPankaj Patil "gpio186", "gpio188", "gpio164", "gpio163",
1053*87ebcd8bSPankaj Patil };
1054*87ebcd8bSPankaj Patil
1055*87ebcd8bSPankaj Patil static const char *const qdss_cti_groups[] = {
1056*87ebcd8bSPankaj Patil "gpio18", "gpio19", "gpio23", "gpio27",
1057*87ebcd8bSPankaj Patil "gpio161", "gpio162", "gpio215", "gpio217",
1058*87ebcd8bSPankaj Patil };
1059*87ebcd8bSPankaj Patil
1060*87ebcd8bSPankaj Patil static const char *const qdss_gpio_groups[] = {
1061*87ebcd8bSPankaj Patil "gpio104", "gpio151", "gpio227", "gpio228",
1062*87ebcd8bSPankaj Patil "gpio96", "gpio219", "gpio97", "gpio220",
1063*87ebcd8bSPankaj Patil "gpio108", "gpio231", "gpio109", "gpio232",
1064*87ebcd8bSPankaj Patil "gpio110", "gpio233", "gpio111", "gpio234",
1065*87ebcd8bSPankaj Patil "gpio112", "gpio235", "gpio113", "gpio236",
1066*87ebcd8bSPankaj Patil "gpio149", "gpio221", "gpio99", "gpio222",
1067*87ebcd8bSPankaj Patil "gpio100", "gpio223", "gpio101", "gpio224",
1068*87ebcd8bSPankaj Patil "gpio102", "gpio225", "gpio103", "gpio226",
1069*87ebcd8bSPankaj Patil "gpio152", "gpio237", "gpio107", "gpio238",
1070*87ebcd8bSPankaj Patil };
1071*87ebcd8bSPankaj Patil
1072*87ebcd8bSPankaj Patil static const char *const qspi0_groups[] = {
1073*87ebcd8bSPankaj Patil "gpio127", "gpio132", "gpio133", "gpio128",
1074*87ebcd8bSPankaj Patil "gpio129", "gpio130", "gpio131",
1075*87ebcd8bSPankaj Patil };
1076*87ebcd8bSPankaj Patil
1077*87ebcd8bSPankaj Patil static const char *const qup0_se0_groups[] = {
1078*87ebcd8bSPankaj Patil "gpio0", "gpio1", "gpio2", "gpio3",
1079*87ebcd8bSPankaj Patil };
1080*87ebcd8bSPankaj Patil
1081*87ebcd8bSPankaj Patil static const char *const qup0_se1_groups[] = {
1082*87ebcd8bSPankaj Patil "gpio4", "gpio5", "gpio6", "gpio7",
1083*87ebcd8bSPankaj Patil };
1084*87ebcd8bSPankaj Patil
1085*87ebcd8bSPankaj Patil static const char *const qup0_se2_groups[] = {
1086*87ebcd8bSPankaj Patil "gpio8", "gpio9", "gpio10", "gpio11",
1087*87ebcd8bSPankaj Patil "gpio17", "gpio18", "gpio19",
1088*87ebcd8bSPankaj Patil };
1089*87ebcd8bSPankaj Patil
1090*87ebcd8bSPankaj Patil static const char *const qup0_se3_groups[] = {
1091*87ebcd8bSPankaj Patil "gpio12", "gpio13", "gpio14", "gpio15",
1092*87ebcd8bSPankaj Patil "gpio21", "gpio22", "gpio23",
1093*87ebcd8bSPankaj Patil };
1094*87ebcd8bSPankaj Patil
1095*87ebcd8bSPankaj Patil static const char *const qup0_se4_groups[] = {
1096*87ebcd8bSPankaj Patil "gpio16", "gpio17", "gpio18", "gpio19",
1097*87ebcd8bSPankaj Patil };
1098*87ebcd8bSPankaj Patil
1099*87ebcd8bSPankaj Patil static const char *const qup0_se5_groups[] = {
1100*87ebcd8bSPankaj Patil "gpio20", "gpio21", "gpio22", "gpio23",
1101*87ebcd8bSPankaj Patil };
1102*87ebcd8bSPankaj Patil
1103*87ebcd8bSPankaj Patil static const char *const qup0_se6_groups[] = {
1104*87ebcd8bSPankaj Patil "gpio6", "gpio7", "gpio4", "gpio5",
1105*87ebcd8bSPankaj Patil };
1106*87ebcd8bSPankaj Patil
1107*87ebcd8bSPankaj Patil static const char *const qup0_se7_groups[] = {
1108*87ebcd8bSPankaj Patil "gpio14", "gpio15", "gpio12", "gpio13",
1109*87ebcd8bSPankaj Patil };
1110*87ebcd8bSPankaj Patil
1111*87ebcd8bSPankaj Patil static const char *const qup1_se0_groups[] = {
1112*87ebcd8bSPankaj Patil "gpio32", "gpio33", "gpio34", "gpio35",
1113*87ebcd8bSPankaj Patil };
1114*87ebcd8bSPankaj Patil
1115*87ebcd8bSPankaj Patil static const char *const qup1_se1_groups[] = {
1116*87ebcd8bSPankaj Patil "gpio36", "gpio37", "gpio38", "gpio39",
1117*87ebcd8bSPankaj Patil };
1118*87ebcd8bSPankaj Patil
1119*87ebcd8bSPankaj Patil static const char *const qup1_se2_groups[] = {
1120*87ebcd8bSPankaj Patil "gpio40", "gpio41", "gpio42", "gpio43",
1121*87ebcd8bSPankaj Patil "gpio49", "gpio50", "gpio51",
1122*87ebcd8bSPankaj Patil };
1123*87ebcd8bSPankaj Patil
1124*87ebcd8bSPankaj Patil static const char *const qup1_se3_groups[] = {
1125*87ebcd8bSPankaj Patil "gpio44", "gpio45", "gpio46", "gpio47",
1126*87ebcd8bSPankaj Patil "gpio33", "gpio34", "gpio35",
1127*87ebcd8bSPankaj Patil };
1128*87ebcd8bSPankaj Patil
1129*87ebcd8bSPankaj Patil static const char *const qup1_se4_groups[] = {
1130*87ebcd8bSPankaj Patil "gpio48", "gpio49", "gpio50", "gpio51",
1131*87ebcd8bSPankaj Patil };
1132*87ebcd8bSPankaj Patil
1133*87ebcd8bSPankaj Patil static const char *const qup1_se5_groups[] = {
1134*87ebcd8bSPankaj Patil "gpio52", "gpio53", "gpio54", "gpio55",
1135*87ebcd8bSPankaj Patil };
1136*87ebcd8bSPankaj Patil
1137*87ebcd8bSPankaj Patil static const char *const qup1_se6_groups[] = {
1138*87ebcd8bSPankaj Patil "gpio56", "gpio57", "gpio58", "gpio59",
1139*87ebcd8bSPankaj Patil };
1140*87ebcd8bSPankaj Patil
1141*87ebcd8bSPankaj Patil static const char *const qup1_se7_groups[] = {
1142*87ebcd8bSPankaj Patil "gpio54", "gpio55", "gpio52", "gpio53",
1143*87ebcd8bSPankaj Patil };
1144*87ebcd8bSPankaj Patil
1145*87ebcd8bSPankaj Patil static const char *const qup2_se0_groups[] = {
1146*87ebcd8bSPankaj Patil "gpio64", "gpio65", "gpio66", "gpio67",
1147*87ebcd8bSPankaj Patil };
1148*87ebcd8bSPankaj Patil
1149*87ebcd8bSPankaj Patil static const char *const qup2_se1_groups[] = {
1150*87ebcd8bSPankaj Patil "gpio68", "gpio69", "gpio70", "gpio71",
1151*87ebcd8bSPankaj Patil };
1152*87ebcd8bSPankaj Patil
1153*87ebcd8bSPankaj Patil static const char *const qup2_se2_groups[] = {
1154*87ebcd8bSPankaj Patil "gpio72", "gpio73", "gpio74", "gpio75",
1155*87ebcd8bSPankaj Patil "gpio81", "gpio82", "gpio83",
1156*87ebcd8bSPankaj Patil };
1157*87ebcd8bSPankaj Patil
1158*87ebcd8bSPankaj Patil static const char *const qup2_se3_groups[] = {
1159*87ebcd8bSPankaj Patil "gpio76", "gpio77", "gpio78", "gpio79",
1160*87ebcd8bSPankaj Patil "gpio65", "gpio66", "gpio67",
1161*87ebcd8bSPankaj Patil };
1162*87ebcd8bSPankaj Patil
1163*87ebcd8bSPankaj Patil static const char *const qup2_se4_groups[] = {
1164*87ebcd8bSPankaj Patil "gpio80", "gpio81", "gpio82", "gpio83",
1165*87ebcd8bSPankaj Patil };
1166*87ebcd8bSPankaj Patil
1167*87ebcd8bSPankaj Patil static const char *const qup2_se5_groups[] = {
1168*87ebcd8bSPankaj Patil "gpio84", "gpio85", "gpio86", "gpio87",
1169*87ebcd8bSPankaj Patil };
1170*87ebcd8bSPankaj Patil
1171*87ebcd8bSPankaj Patil static const char *const qup2_se6_groups[] = {
1172*87ebcd8bSPankaj Patil "gpio88", "gpio89", "gpio90", "gpio91",
1173*87ebcd8bSPankaj Patil };
1174*87ebcd8bSPankaj Patil
1175*87ebcd8bSPankaj Patil static const char *const qup2_se7_groups[] = {
1176*87ebcd8bSPankaj Patil "gpio80", "gpio81", "gpio82", "gpio83",
1177*87ebcd8bSPankaj Patil };
1178*87ebcd8bSPankaj Patil
1179*87ebcd8bSPankaj Patil static const char *const qup3_se0_groups[] = {
1180*87ebcd8bSPankaj Patil "gpio128", "gpio129", "gpio127", "gpio132",
1181*87ebcd8bSPankaj Patil "gpio130", "gpio131", "gpio133", "gpio247",
1182*87ebcd8bSPankaj Patil };
1183*87ebcd8bSPankaj Patil
1184*87ebcd8bSPankaj Patil static const char *const qup3_se1_groups[] = {
1185*87ebcd8bSPankaj Patil "gpio40", "gpio41", "gpio42", "gpio43",
1186*87ebcd8bSPankaj Patil "gpio49", "gpio50", "gpio51", "gpio48",
1187*87ebcd8bSPankaj Patil };
1188*87ebcd8bSPankaj Patil
1189*87ebcd8bSPankaj Patil static const char *const sd_write_protect_groups[] = {
1190*87ebcd8bSPankaj Patil "gpio162",
1191*87ebcd8bSPankaj Patil };
1192*87ebcd8bSPankaj Patil
1193*87ebcd8bSPankaj Patil static const char *const sdc4_clk_groups[] = {
1194*87ebcd8bSPankaj Patil "gpio127",
1195*87ebcd8bSPankaj Patil };
1196*87ebcd8bSPankaj Patil
1197*87ebcd8bSPankaj Patil static const char *const sdc4_cmd_groups[] = {
1198*87ebcd8bSPankaj Patil "gpio132",
1199*87ebcd8bSPankaj Patil };
1200*87ebcd8bSPankaj Patil
1201*87ebcd8bSPankaj Patil static const char *const sdc4_data_groups[] = {
1202*87ebcd8bSPankaj Patil "gpio128",
1203*87ebcd8bSPankaj Patil "gpio129",
1204*87ebcd8bSPankaj Patil "gpio130",
1205*87ebcd8bSPankaj Patil "gpio131",
1206*87ebcd8bSPankaj Patil };
1207*87ebcd8bSPankaj Patil
1208*87ebcd8bSPankaj Patil static const char *const smb_acok_n_groups[] = {
1209*87ebcd8bSPankaj Patil "gpio245",
1210*87ebcd8bSPankaj Patil };
1211*87ebcd8bSPankaj Patil
1212*87ebcd8bSPankaj Patil static const char *const sys_throttle_groups[] = {
1213*87ebcd8bSPankaj Patil "gpio39",
1214*87ebcd8bSPankaj Patil "gpio94",
1215*87ebcd8bSPankaj Patil };
1216*87ebcd8bSPankaj Patil
1217*87ebcd8bSPankaj Patil static const char *const tb_trig_sdc2_groups[] = {
1218*87ebcd8bSPankaj Patil "gpio137",
1219*87ebcd8bSPankaj Patil };
1220*87ebcd8bSPankaj Patil
1221*87ebcd8bSPankaj Patil static const char *const tb_trig_sdc4_groups[] = {
1222*87ebcd8bSPankaj Patil "gpio133",
1223*87ebcd8bSPankaj Patil };
1224*87ebcd8bSPankaj Patil
1225*87ebcd8bSPankaj Patil static const char *const tmess_prng_groups[] = {
1226*87ebcd8bSPankaj Patil "gpio92", "gpio93", "gpio94", "gpio95",
1227*87ebcd8bSPankaj Patil };
1228*87ebcd8bSPankaj Patil
1229*87ebcd8bSPankaj Patil static const char *const tsense_pwm_groups[] = {
1230*87ebcd8bSPankaj Patil "gpio28", "gpio29", "gpio30", "gpio31",
1231*87ebcd8bSPankaj Patil "gpio34", "gpio138", "gpio139", "gpio140",
1232*87ebcd8bSPankaj Patil };
1233*87ebcd8bSPankaj Patil
1234*87ebcd8bSPankaj Patil static const char *const tsense_therm_groups[] = {
1235*87ebcd8bSPankaj Patil "gpio141",
1236*87ebcd8bSPankaj Patil };
1237*87ebcd8bSPankaj Patil
1238*87ebcd8bSPankaj Patil static const char *const usb0_dp_groups[] = {
1239*87ebcd8bSPankaj Patil "gpio122",
1240*87ebcd8bSPankaj Patil };
1241*87ebcd8bSPankaj Patil
1242*87ebcd8bSPankaj Patil static const char *const usb0_phy_ps_groups[] = {
1243*87ebcd8bSPankaj Patil "gpio121",
1244*87ebcd8bSPankaj Patil };
1245*87ebcd8bSPankaj Patil
1246*87ebcd8bSPankaj Patil static const char *const usb0_sbrx_groups[] = {
1247*87ebcd8bSPankaj Patil "gpio163",
1248*87ebcd8bSPankaj Patil };
1249*87ebcd8bSPankaj Patil
1250*87ebcd8bSPankaj Patil static const char *const usb0_sbtx_groups[] = {
1251*87ebcd8bSPankaj Patil "gpio164",
1252*87ebcd8bSPankaj Patil "gpio165",
1253*87ebcd8bSPankaj Patil };
1254*87ebcd8bSPankaj Patil
1255*87ebcd8bSPankaj Patil static const char *const usb0_tmu_groups[] = {
1256*87ebcd8bSPankaj Patil "gpio98",
1257*87ebcd8bSPankaj Patil };
1258*87ebcd8bSPankaj Patil
1259*87ebcd8bSPankaj Patil static const char *const usb1_dbg_groups[] = {
1260*87ebcd8bSPankaj Patil "gpio105",
1261*87ebcd8bSPankaj Patil "gpio106",
1262*87ebcd8bSPankaj Patil };
1263*87ebcd8bSPankaj Patil
1264*87ebcd8bSPankaj Patil static const char *const usb1_dp_groups[] = {
1265*87ebcd8bSPankaj Patil "gpio124",
1266*87ebcd8bSPankaj Patil };
1267*87ebcd8bSPankaj Patil
1268*87ebcd8bSPankaj Patil static const char *const usb1_phy_ps_groups[] = {
1269*87ebcd8bSPankaj Patil "gpio123",
1270*87ebcd8bSPankaj Patil };
1271*87ebcd8bSPankaj Patil
1272*87ebcd8bSPankaj Patil static const char *const usb1_sbrx_groups[] = {
1273*87ebcd8bSPankaj Patil "gpio172",
1274*87ebcd8bSPankaj Patil };
1275*87ebcd8bSPankaj Patil
1276*87ebcd8bSPankaj Patil static const char *const usb1_sbtx_groups[] = {
1277*87ebcd8bSPankaj Patil "gpio173",
1278*87ebcd8bSPankaj Patil "gpio174",
1279*87ebcd8bSPankaj Patil };
1280*87ebcd8bSPankaj Patil
1281*87ebcd8bSPankaj Patil static const char *const usb1_tmu_groups[] = {
1282*87ebcd8bSPankaj Patil "gpio98",
1283*87ebcd8bSPankaj Patil };
1284*87ebcd8bSPankaj Patil
1285*87ebcd8bSPankaj Patil static const char *const usb2_dp_groups[] = {
1286*87ebcd8bSPankaj Patil "gpio126",
1287*87ebcd8bSPankaj Patil };
1288*87ebcd8bSPankaj Patil
1289*87ebcd8bSPankaj Patil static const char *const usb2_phy_ps_groups[] = {
1290*87ebcd8bSPankaj Patil "gpio125",
1291*87ebcd8bSPankaj Patil };
1292*87ebcd8bSPankaj Patil
1293*87ebcd8bSPankaj Patil static const char *const usb2_sbrx_groups[] = {
1294*87ebcd8bSPankaj Patil "gpio181",
1295*87ebcd8bSPankaj Patil };
1296*87ebcd8bSPankaj Patil
1297*87ebcd8bSPankaj Patil static const char *const usb2_sbtx_groups[] = {
1298*87ebcd8bSPankaj Patil "gpio182",
1299*87ebcd8bSPankaj Patil "gpio183",
1300*87ebcd8bSPankaj Patil };
1301*87ebcd8bSPankaj Patil
1302*87ebcd8bSPankaj Patil static const char *const usb2_tmu_groups[] = {
1303*87ebcd8bSPankaj Patil "gpio98",
1304*87ebcd8bSPankaj Patil };
1305*87ebcd8bSPankaj Patil
1306*87ebcd8bSPankaj Patil static const char *const vsense_trigger_mirnat_groups[] = {
1307*87ebcd8bSPankaj Patil "gpio38",
1308*87ebcd8bSPankaj Patil };
1309*87ebcd8bSPankaj Patil
1310*87ebcd8bSPankaj Patil static const char *const wcn_sw_groups[] = {
1311*87ebcd8bSPankaj Patil "gpio221",
1312*87ebcd8bSPankaj Patil };
1313*87ebcd8bSPankaj Patil
1314*87ebcd8bSPankaj Patil static const char *const wcn_sw_ctrl_groups[] = {
1315*87ebcd8bSPankaj Patil "gpio214",
1316*87ebcd8bSPankaj Patil };
1317*87ebcd8bSPankaj Patil
1318*87ebcd8bSPankaj Patil static const struct pinfunction glymur_functions[] = {
1319*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(gpio),
1320*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(resout_gpio_n),
1321*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(aoss_cti),
1322*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(asc_cci),
1323*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(atest_char),
1324*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(atest_usb),
1325*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(audio_ext_mclk0),
1326*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(audio_ext_mclk1),
1327*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(audio_ref_clk),
1328*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(cam_asc_mclk4),
1329*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(cam_mclk),
1330*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(cci_async_in),
1331*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(cci_i2c_scl),
1332*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(cci_i2c_sda),
1333*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(cci_timer),
1334*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(cmu_rng),
1335*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(cri_trng),
1336*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(dbg_out_clk),
1337*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(ddr_bist_complete),
1338*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(ddr_bist_fail),
1339*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(ddr_bist_start),
1340*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(ddr_bist_stop),
1341*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(ddr_pxi),
1342*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(edp0_hot),
1343*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(edp0_lcd),
1344*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(edp1_lcd),
1345*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(egpio),
1346*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(eusb_ac_en),
1347*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(gcc_gp1),
1348*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(gcc_gp2),
1349*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(gcc_gp3),
1350*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(host2wlan_sol),
1351*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(i2c0_s_scl),
1352*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(i2c0_s_sda),
1353*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(i2s0_data),
1354*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(i2s0_sck),
1355*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(i2s0_ws),
1356*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(i2s1_data),
1357*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(i2s1_sck),
1358*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(i2s1_ws),
1359*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(ibi_i3c),
1360*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(jitter_bist),
1361*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(mdp_vsync_out),
1362*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(mdp_vsync_e),
1363*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(mdp_vsync_p),
1364*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(mdp_vsync_s),
1365*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(pcie3a_clk),
1366*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(pcie3a_rst_n),
1367*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(pcie3b_clk),
1368*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(pcie4_clk_req_n),
1369*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(pcie5_clk_req_n),
1370*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(pcie6_clk_req_n),
1371*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(phase_flag),
1372*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(pll_bist_sync),
1373*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(pll_clk_aux),
1374*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(pmc_oca_n),
1375*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(pmc_uva_n),
1376*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(prng_rosc),
1377*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(qdss_cti),
1378*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(qdss_gpio),
1379*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(qspi0),
1380*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(qup0_se0),
1381*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(qup0_se1),
1382*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(qup0_se2),
1383*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(qup0_se3),
1384*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(qup0_se4),
1385*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(qup0_se5),
1386*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(qup0_se6),
1387*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(qup0_se7),
1388*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(qup1_se0),
1389*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(qup1_se1),
1390*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(qup1_se2),
1391*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(qup1_se3),
1392*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(qup1_se4),
1393*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(qup1_se5),
1394*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(qup1_se6),
1395*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(qup1_se7),
1396*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(qup2_se0),
1397*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(qup2_se1),
1398*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(qup2_se2),
1399*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(qup2_se3),
1400*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(qup2_se4),
1401*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(qup2_se5),
1402*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(qup2_se6),
1403*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(qup2_se7),
1404*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(qup3_se0),
1405*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(qup3_se1),
1406*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(sd_write_protect),
1407*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(sdc4_clk),
1408*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(sdc4_cmd),
1409*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(sdc4_data),
1410*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(smb_acok_n),
1411*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(sys_throttle),
1412*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(tb_trig_sdc2),
1413*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(tb_trig_sdc4),
1414*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(tmess_prng),
1415*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(tsense_pwm),
1416*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(tsense_therm),
1417*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(usb0_dp),
1418*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(usb0_phy_ps),
1419*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(usb0_sbrx),
1420*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(usb0_sbtx),
1421*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(usb0_tmu),
1422*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(usb1_dbg),
1423*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(usb1_dp),
1424*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(usb1_phy_ps),
1425*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(usb1_sbrx),
1426*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(usb1_sbtx),
1427*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(usb1_tmu),
1428*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(usb2_dp),
1429*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(usb2_phy_ps),
1430*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(usb2_sbrx),
1431*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(usb2_sbtx),
1432*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(usb2_tmu),
1433*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(vsense_trigger_mirnat),
1434*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(wcn_sw),
1435*87ebcd8bSPankaj Patil MSM_PIN_FUNCTION(wcn_sw_ctrl),
1436*87ebcd8bSPankaj Patil };
1437*87ebcd8bSPankaj Patil
1438*87ebcd8bSPankaj Patil static const struct msm_pingroup glymur_groups[] = {
1439*87ebcd8bSPankaj Patil [0] = PINGROUP(0, qup0_se0, ibi_i3c, _, _, _, _, _, _, _, _, _),
1440*87ebcd8bSPankaj Patil [1] = PINGROUP(1, qup0_se0, ibi_i3c, _, _, _, _, _, _, _, _, _),
1441*87ebcd8bSPankaj Patil [2] = PINGROUP(2, qup0_se0, _, _, _, _, _, _, _, _, _, _),
1442*87ebcd8bSPankaj Patil [3] = PINGROUP(3, qup0_se0, _, _, _, _, _, _, _, _, _, _),
1443*87ebcd8bSPankaj Patil [4] = PINGROUP(4, qup0_se1, qup0_se6, ibi_i3c, _, _, _, _, _, _, _, _),
1444*87ebcd8bSPankaj Patil [5] = PINGROUP(5, qup0_se1, qup0_se6, ibi_i3c, _, _, _, _, _, _, _, _),
1445*87ebcd8bSPankaj Patil [6] = PINGROUP(6, qup0_se1, qup0_se6, i2c0_s_sda, phase_flag, _, _, _, _, _, _, _),
1446*87ebcd8bSPankaj Patil [7] = PINGROUP(7, qup0_se1, qup0_se6, i2c0_s_scl, phase_flag, _, _, _, _, _, _, _),
1447*87ebcd8bSPankaj Patil [8] = PINGROUP(8, qup0_se2, phase_flag, _, _, _, _, _, _, _, _, _),
1448*87ebcd8bSPankaj Patil [9] = PINGROUP(9, qup0_se2, phase_flag, _, _, _, _, _, _, _, _, _),
1449*87ebcd8bSPankaj Patil [10] = PINGROUP(10, qup0_se2, phase_flag, _, _, _, _, _, _, _, _, _),
1450*87ebcd8bSPankaj Patil [11] = PINGROUP(11, qup0_se2, phase_flag, _, _, _, _, _, _, _, _, _),
1451*87ebcd8bSPankaj Patil [12] = PINGROUP(12, qup0_se3, qup0_se7, phase_flag, _, _, _, _, _, _, _, _),
1452*87ebcd8bSPankaj Patil [13] = PINGROUP(13, qup0_se3, qup0_se7, phase_flag, _, _, _, _, _, _, _, _),
1453*87ebcd8bSPankaj Patil [14] = PINGROUP(14, qup0_se3, qup0_se7, phase_flag, _, _, _, _, _, _, _, _),
1454*87ebcd8bSPankaj Patil [15] = PINGROUP(15, qup0_se3, qup0_se7, phase_flag, _, _, _, _, _, _, _, _),
1455*87ebcd8bSPankaj Patil [16] = PINGROUP(16, qup0_se4, phase_flag, _, _, _, _, _, _, _, _, _),
1456*87ebcd8bSPankaj Patil [17] = PINGROUP(17, qup0_se4, qup0_se2, phase_flag, _, _, _, _, _, _, _, _),
1457*87ebcd8bSPankaj Patil [18] = PINGROUP(18, qup0_se4, qup0_se2, phase_flag, _, qdss_cti, _, _, _, _, _, _),
1458*87ebcd8bSPankaj Patil [19] = PINGROUP(19, qup0_se4, qup0_se2, phase_flag, _, qdss_cti, _, _, _, _, _, _),
1459*87ebcd8bSPankaj Patil [20] = PINGROUP(20, qup0_se5, _, phase_flag, _, _, _, _, _, _, _, _),
1460*87ebcd8bSPankaj Patil [21] = PINGROUP(21, qup0_se5, qup0_se3, _, phase_flag, _, _, _, _, _, _, _),
1461*87ebcd8bSPankaj Patil [22] = PINGROUP(22, qup0_se5, qup0_se3, _, phase_flag, _, _, _, _, _, _, _),
1462*87ebcd8bSPankaj Patil [23] = PINGROUP(23, qup0_se5, qup0_se3, phase_flag, _, qdss_cti, _, _, _, _, _, _),
1463*87ebcd8bSPankaj Patil [24] = PINGROUP(24, phase_flag, _, _, _, _, _, _, _, _, _, _),
1464*87ebcd8bSPankaj Patil [25] = PINGROUP(25, phase_flag, _, _, _, _, _, _, _, _, _, _),
1465*87ebcd8bSPankaj Patil [26] = PINGROUP(26, phase_flag, _, _, _, _, _, _, _, _, _, _),
1466*87ebcd8bSPankaj Patil [27] = PINGROUP(27, phase_flag, _, qdss_cti, _, _, _, _, _, _, _, _),
1467*87ebcd8bSPankaj Patil [28] = PINGROUP(28, pll_bist_sync, tsense_pwm, _, _, _, _, _, _, _, _, _),
1468*87ebcd8bSPankaj Patil [29] = PINGROUP(29, tsense_pwm, _, _, _, _, _, _, _, _, _, _),
1469*87ebcd8bSPankaj Patil [30] = PINGROUP(30, tsense_pwm, _, _, _, _, _, _, _, _, _, _),
1470*87ebcd8bSPankaj Patil [31] = PINGROUP(31, tsense_pwm, _, _, _, _, _, _, _, _, _, _),
1471*87ebcd8bSPankaj Patil [32] = PINGROUP(32, qup1_se0, ibi_i3c, _, _, _, _, _, _, _, _, _),
1472*87ebcd8bSPankaj Patil [33] = PINGROUP(33, qup1_se0, ibi_i3c, qup1_se3, _, _, _, _, _, _, _, _),
1473*87ebcd8bSPankaj Patil [34] = PINGROUP(34, qup1_se0, qup1_se3, tsense_pwm, _, _, _, _, _, _, _, _),
1474*87ebcd8bSPankaj Patil [35] = PINGROUP(35, qup1_se0, qup1_se3, pll_clk_aux, _, _, _, _, _, _, _, _),
1475*87ebcd8bSPankaj Patil [36] = PINGROUP(36, qup1_se1, ibi_i3c, _, _, _, _, _, _, _, _, _),
1476*87ebcd8bSPankaj Patil [37] = PINGROUP(37, qup1_se1, ibi_i3c, _, _, _, _, _, _, _, _, _),
1477*87ebcd8bSPankaj Patil [38] = PINGROUP(38, qup1_se1, atest_usb, ddr_pxi, vsense_trigger_mirnat, _, _, _, _,
1478*87ebcd8bSPankaj Patil _, _, _),
1479*87ebcd8bSPankaj Patil [39] = PINGROUP(39, qup1_se1, sys_throttle, _, atest_usb, ddr_pxi, _, _, _, _, _, _),
1480*87ebcd8bSPankaj Patil [40] = PINGROUP(40, qup1_se2, qup3_se1, _, atest_usb, ddr_pxi, _, _, _, _, _, _),
1481*87ebcd8bSPankaj Patil [41] = PINGROUP(41, qup1_se2, qup3_se1, qup3_se0, atest_usb, ddr_pxi, _, _, _, _,
1482*87ebcd8bSPankaj Patil _, _),
1483*87ebcd8bSPankaj Patil [42] = PINGROUP(42, qup1_se2, qup3_se1, qup0_se1, atest_usb, ddr_pxi, _, _, _, _,
1484*87ebcd8bSPankaj Patil _, _),
1485*87ebcd8bSPankaj Patil [43] = PINGROUP(43, qup1_se2, qup3_se1, _, atest_usb, ddr_pxi, _, _, _, _, _, _),
1486*87ebcd8bSPankaj Patil [44] = PINGROUP(44, qup1_se3, _, atest_usb, ddr_pxi, _, _, _, _, _, _, _),
1487*87ebcd8bSPankaj Patil [45] = PINGROUP(45, qup1_se3, cmu_rng, _, atest_usb, ddr_pxi, _, _, _, _, _, _),
1488*87ebcd8bSPankaj Patil [46] = PINGROUP(46, qup1_se3, cmu_rng, _, atest_usb, ddr_pxi, _, _, _, _, _, _),
1489*87ebcd8bSPankaj Patil [47] = PINGROUP(47, qup1_se3, cmu_rng, _, atest_usb, ddr_pxi, _, _, _, _, _, _),
1490*87ebcd8bSPankaj Patil [48] = PINGROUP(48, qup1_se4, qup3_se1, cmu_rng, _, atest_usb, ddr_pxi, _, _, _,
1491*87ebcd8bSPankaj Patil _, _),
1492*87ebcd8bSPankaj Patil [49] = PINGROUP(49, qup1_se4, qup1_se2, qup3_se1, _, atest_usb, ddr_pxi, _, _,
1493*87ebcd8bSPankaj Patil _, _, _),
1494*87ebcd8bSPankaj Patil [50] = PINGROUP(50, qup1_se4, qup1_se2, qup3_se1, _, atest_usb, ddr_pxi, _, _,
1495*87ebcd8bSPankaj Patil _, _, _),
1496*87ebcd8bSPankaj Patil [51] = PINGROUP(51, qup1_se4, qup1_se2, qup3_se1, dbg_out_clk, atest_usb,
1497*87ebcd8bSPankaj Patil ddr_pxi, _, _, _, _, _),
1498*87ebcd8bSPankaj Patil [52] = PINGROUP(52, qup1_se5, qup1_se7, jitter_bist, atest_usb, ddr_pxi, _, _, _,
1499*87ebcd8bSPankaj Patil _, _, _),
1500*87ebcd8bSPankaj Patil [53] = PINGROUP(53, qup1_se5, qup1_se7, _, atest_usb, ddr_pxi, _, _, _, _, _, _),
1501*87ebcd8bSPankaj Patil [54] = PINGROUP(54, qup1_se5, qup1_se7, ddr_bist_start, atest_usb, ddr_pxi, _, _,
1502*87ebcd8bSPankaj Patil _, _, _, _),
1503*87ebcd8bSPankaj Patil [55] = PINGROUP(55, qup1_se5, qup1_se7, ddr_bist_stop, atest_usb, ddr_pxi, _, _,
1504*87ebcd8bSPankaj Patil _, _, _, _),
1505*87ebcd8bSPankaj Patil [56] = PINGROUP(56, qup1_se6, ddr_bist_fail, _, _, _, _, _, _, _, _, _),
1506*87ebcd8bSPankaj Patil [57] = PINGROUP(57, qup1_se6, ddr_bist_complete, _, _, _, _, _, _, _, _, _),
1507*87ebcd8bSPankaj Patil [58] = PINGROUP(58, qup1_se6, _, _, _, _, _, _, _, _, _, _),
1508*87ebcd8bSPankaj Patil [59] = PINGROUP(59, qup1_se6, _, _, _, _, _, _, _, _, _, _),
1509*87ebcd8bSPankaj Patil [60] = PINGROUP(60, aoss_cti, _, _, _, _, _, _, _, _, _, _),
1510*87ebcd8bSPankaj Patil [61] = PINGROUP(61, aoss_cti, _, _, _, _, _, _, _, _, _, _),
1511*87ebcd8bSPankaj Patil [62] = PINGROUP(62, aoss_cti, _, _, _, _, _, _, _, _, _, _),
1512*87ebcd8bSPankaj Patil [63] = PINGROUP(63, aoss_cti, _, _, _, _, _, _, _, _, _, _),
1513*87ebcd8bSPankaj Patil [64] = PINGROUP(64, qup2_se0, ibi_i3c, gcc_gp2, _, _, _, _, _, _, _, _),
1514*87ebcd8bSPankaj Patil [65] = PINGROUP(65, qup2_se0, qup2_se3, ibi_i3c, atest_usb, ddr_pxi, _, _, _, _,
1515*87ebcd8bSPankaj Patil _, _),
1516*87ebcd8bSPankaj Patil [66] = PINGROUP(66, qup2_se0, qup2_se3, atest_usb, ddr_pxi, _, _, _, _, _, _, _),
1517*87ebcd8bSPankaj Patil [67] = PINGROUP(67, qup2_se0, qup2_se3, _, _, _, _, _, _, _, _, _),
1518*87ebcd8bSPankaj Patil [68] = PINGROUP(68, qup2_se1, ibi_i3c, _, _, _, _, _, _, _, _, _),
1519*87ebcd8bSPankaj Patil [69] = PINGROUP(69, qup2_se1, ibi_i3c, _, _, _, _, _, _, _, _, _),
1520*87ebcd8bSPankaj Patil [70] = PINGROUP(70, qup2_se1, _, _, _, _, _, _, _, _, _, _),
1521*87ebcd8bSPankaj Patil [71] = PINGROUP(71, qup2_se1, gcc_gp1, _, _, _, _, _, _, _, _, _),
1522*87ebcd8bSPankaj Patil [72] = PINGROUP(72, qup2_se2, gcc_gp1, atest_usb, ddr_pxi, _, _, _, _, _, _, _),
1523*87ebcd8bSPankaj Patil [73] = PINGROUP(73, qup2_se2, gcc_gp2, atest_usb, ddr_pxi, _, _, _, _, _, _, _),
1524*87ebcd8bSPankaj Patil [74] = PINGROUP(74, qup2_se2, gcc_gp3, _, _, _, _, _, _, _, _, _),
1525*87ebcd8bSPankaj Patil [75] = PINGROUP(75, qup2_se2, _, _, _, _, _, _, _, _, _, _),
1526*87ebcd8bSPankaj Patil [76] = PINGROUP(76, qup2_se3, phase_flag, _, _, _, _, _, _, _, _, _),
1527*87ebcd8bSPankaj Patil [77] = PINGROUP(77, qup2_se3, phase_flag, _, _, _, _, _, _, _, _, _),
1528*87ebcd8bSPankaj Patil [78] = PINGROUP(78, qup2_se3, phase_flag, _, _, _, _, _, _, _, _, _),
1529*87ebcd8bSPankaj Patil [79] = PINGROUP(79, qup2_se3, _, _, _, _, _, _, _, _, _, _),
1530*87ebcd8bSPankaj Patil [80] = PINGROUP(80, qup2_se4, qup2_se7, atest_usb, ddr_pxi, _, _, _, _, _, _, _),
1531*87ebcd8bSPankaj Patil [81] = PINGROUP(81, qup2_se4, qup2_se2, qup2_se7, atest_usb, ddr_pxi, _, _, _,
1532*87ebcd8bSPankaj Patil _, _, _),
1533*87ebcd8bSPankaj Patil [82] = PINGROUP(82, qup2_se4, qup2_se2, qup2_se7, gcc_gp3, _, _, _, _, _, _, _),
1534*87ebcd8bSPankaj Patil [83] = PINGROUP(83, qup2_se4, qup2_se2, qup2_se7, _, _, _, _, _, _, _, _),
1535*87ebcd8bSPankaj Patil [84] = PINGROUP(84, qup2_se5, _, _, _, _, _, _, _, _, _, _),
1536*87ebcd8bSPankaj Patil [85] = PINGROUP(85, qup2_se5, _, _, _, _, _, _, _, _, _, _),
1537*87ebcd8bSPankaj Patil [86] = PINGROUP(86, qup2_se5, _, _, _, _, _, _, _, _, _, _),
1538*87ebcd8bSPankaj Patil [87] = PINGROUP(87, qup2_se5, _, _, _, _, _, _, _, _, _, _),
1539*87ebcd8bSPankaj Patil [88] = PINGROUP(88, qup2_se6, _, _, _, _, _, _, _, _, _, _),
1540*87ebcd8bSPankaj Patil [89] = PINGROUP(89, qup2_se6, _, _, _, _, _, _, _, _, _, _),
1541*87ebcd8bSPankaj Patil [90] = PINGROUP(90, qup2_se6, _, _, _, _, _, _, _, _, _, _),
1542*87ebcd8bSPankaj Patil [91] = PINGROUP(91, qup2_se6, _, _, _, _, _, _, _, _, _, _),
1543*87ebcd8bSPankaj Patil [92] = PINGROUP(92, tmess_prng, _, _, _, _, _, _, _, _, _, _),
1544*87ebcd8bSPankaj Patil [93] = PINGROUP(93, tmess_prng, _, _, _, _, _, _, _, _, _, _),
1545*87ebcd8bSPankaj Patil [94] = PINGROUP(94, sys_throttle, tmess_prng, _, _, _, _, _, _, _, _, _),
1546*87ebcd8bSPankaj Patil [95] = PINGROUP(95, tmess_prng, _, _, _, _, _, _, _, _, _, _),
1547*87ebcd8bSPankaj Patil [96] = PINGROUP(96, cam_mclk, qdss_gpio, _, _, _, _, _, _, _, _, _),
1548*87ebcd8bSPankaj Patil [97] = PINGROUP(97, cam_mclk, qdss_gpio, _, _, _, _, _, _, _, _, _),
1549*87ebcd8bSPankaj Patil [98] = PINGROUP(98, cam_mclk, mdp_vsync_p, usb0_tmu, usb1_tmu, usb2_tmu, _, _, _, _, _, _),
1550*87ebcd8bSPankaj Patil [99] = PINGROUP(99, cam_mclk, qdss_gpio, _, _, _, _, _, _, _, _, _),
1551*87ebcd8bSPankaj Patil [100] = PINGROUP(100, cam_asc_mclk4, qdss_gpio, _, _, _, _, _, _, _, _, _),
1552*87ebcd8bSPankaj Patil [101] = PINGROUP(101, cci_i2c_sda, qdss_gpio, _, _, _, _, _, _, _, _, _),
1553*87ebcd8bSPankaj Patil [102] = PINGROUP(102, cci_i2c_scl, qdss_gpio, _, _, _, _, _, _, _, _, _),
1554*87ebcd8bSPankaj Patil [103] = PINGROUP(103, cci_i2c_sda, qdss_gpio, _, _, _, _, _, _, _, _, _),
1555*87ebcd8bSPankaj Patil [104] = PINGROUP(104, cci_i2c_scl, qdss_gpio, _, _, _, _, _, _, _, _, _),
1556*87ebcd8bSPankaj Patil [105] = PINGROUP(105, cci_i2c_sda, mdp_vsync_s, usb1_dbg, _, _, _, _, _, _, _, _),
1557*87ebcd8bSPankaj Patil [106] = PINGROUP(106, cci_i2c_scl, mdp_vsync_e, usb1_dbg, _, _, _, _, _, _, _, _),
1558*87ebcd8bSPankaj Patil [107] = PINGROUP(107, qdss_gpio, _, _, _, _, _, _, _, _, _, _),
1559*87ebcd8bSPankaj Patil [108] = PINGROUP(108, qdss_gpio, _, _, _, _, _, _, _, _, _, _),
1560*87ebcd8bSPankaj Patil [109] = PINGROUP(109, cci_timer, mdp_vsync_out, qdss_gpio, _, _, _, _, _, _, _, _),
1561*87ebcd8bSPankaj Patil [110] = PINGROUP(110, cci_timer, mdp_vsync_out, qdss_gpio, _, _, _, _, _, _, _, _),
1562*87ebcd8bSPankaj Patil [111] = PINGROUP(111, cci_timer, cci_async_in, mdp_vsync_out, qdss_gpio, _, _, _, _,
1563*87ebcd8bSPankaj Patil _, _, _),
1564*87ebcd8bSPankaj Patil [112] = PINGROUP(112, cci_timer, cci_async_in, mdp_vsync_out, qdss_gpio, _, _, _, _,
1565*87ebcd8bSPankaj Patil _, _, _),
1566*87ebcd8bSPankaj Patil [113] = PINGROUP(113, cci_timer, cci_async_in, mdp_vsync_out, qdss_gpio, _, _, _, _,
1567*87ebcd8bSPankaj Patil _, _, _),
1568*87ebcd8bSPankaj Patil [114] = PINGROUP(114, mdp_vsync_out, mdp_vsync_out, _, _, _, _, _, _, _, _, _),
1569*87ebcd8bSPankaj Patil [115] = PINGROUP(115, mdp_vsync_out, mdp_vsync_out, edp1_lcd, _, _, _, _, _, _, _, _),
1570*87ebcd8bSPankaj Patil [116] = PINGROUP(116, _, _, _, _, _, _, _, _, _, _, _),
1571*87ebcd8bSPankaj Patil [117] = PINGROUP(117, _, _, _, _, _, _, _, _, _, _, _),
1572*87ebcd8bSPankaj Patil [118] = PINGROUP(118, host2wlan_sol, _, _, _, _, _, _, _, _, _, _),
1573*87ebcd8bSPankaj Patil [119] = PINGROUP(119, edp0_hot, edp1_lcd, _, _, _, _, _, _, _, _, _),
1574*87ebcd8bSPankaj Patil [120] = PINGROUP(120, edp0_lcd, _, _, _, _, _, _, _, _, _, _),
1575*87ebcd8bSPankaj Patil [121] = PINGROUP(121, usb0_phy_ps, _, _, _, _, _, _, _, _, _, _),
1576*87ebcd8bSPankaj Patil [122] = PINGROUP(122, usb0_dp, _, _, _, _, _, _, _, _, _, _),
1577*87ebcd8bSPankaj Patil [123] = PINGROUP(123, usb1_phy_ps, _, _, _, _, _, _, _, _, _, _),
1578*87ebcd8bSPankaj Patil [124] = PINGROUP(124, usb1_dp, _, _, _, _, _, _, _, _, _, _),
1579*87ebcd8bSPankaj Patil [125] = PINGROUP(125, usb2_phy_ps, _, _, _, _, _, _, _, _, _, _),
1580*87ebcd8bSPankaj Patil [126] = PINGROUP(126, usb2_dp, _, _, _, _, _, _, _, _, _, _),
1581*87ebcd8bSPankaj Patil [127] = PINGROUP(127, qspi0, sdc4_clk, qup3_se0, _, _, _, _, _, _, _, _),
1582*87ebcd8bSPankaj Patil [128] = PINGROUP(128, qspi0, sdc4_data, qup3_se0, _, _, _, _, _, _, _, _),
1583*87ebcd8bSPankaj Patil [129] = PINGROUP(129, qspi0, sdc4_data, qup3_se0, _, _, _, _, _, _, _, _),
1584*87ebcd8bSPankaj Patil [130] = PINGROUP(130, qspi0, sdc4_data, qup3_se0, _, _, _, _, _, _, _, _),
1585*87ebcd8bSPankaj Patil [131] = PINGROUP(131, qspi0, sdc4_data, qup3_se0, _, _, _, _, _, _, _, _),
1586*87ebcd8bSPankaj Patil [132] = PINGROUP(132, qspi0, sdc4_cmd, qup3_se0, _, _, _, _, _, _, _, _),
1587*87ebcd8bSPankaj Patil [133] = PINGROUP(133, qspi0, tb_trig_sdc4, qup3_se0, _, _, _, _, _, _, _, _),
1588*87ebcd8bSPankaj Patil [134] = PINGROUP(134, audio_ext_mclk0, _, _, _, _, _, _, _, _, _, _),
1589*87ebcd8bSPankaj Patil [135] = PINGROUP(135, i2s0_sck, _, _, _, _, _, _, _, _, _, _),
1590*87ebcd8bSPankaj Patil [136] = PINGROUP(136, i2s0_data, _, _, _, _, _, _, _, _, _, _),
1591*87ebcd8bSPankaj Patil [137] = PINGROUP(137, i2s0_data, tb_trig_sdc2, _, _, _, _, _, _, _, _, _),
1592*87ebcd8bSPankaj Patil [138] = PINGROUP(138, i2s0_ws, tsense_pwm, _, _, _, _, _, _, _, _, _),
1593*87ebcd8bSPankaj Patil [139] = PINGROUP(139, i2s1_sck, tsense_pwm, _, _, _, _, _, _, _, _, _),
1594*87ebcd8bSPankaj Patil [140] = PINGROUP(140, i2s1_data, tsense_pwm, _, _, _, _, _, _, _, _, _),
1595*87ebcd8bSPankaj Patil [141] = PINGROUP(141, i2s1_ws, tsense_therm, _, _, _, _, _, _, _, _, _),
1596*87ebcd8bSPankaj Patil [142] = PINGROUP(142, i2s1_data, audio_ext_mclk1, audio_ref_clk, _, _, _, _, _, _, _, _),
1597*87ebcd8bSPankaj Patil [143] = PINGROUP(143, pcie3a_rst_n, _, _, _, _, _, _, _, _, _, _),
1598*87ebcd8bSPankaj Patil [144] = PINGROUP(144, pcie3a_clk, _, _, _, _, _, _, _, _, _, _),
1599*87ebcd8bSPankaj Patil [145] = PINGROUP(145, _, _, _, _, _, _, _, _, _, _, _),
1600*87ebcd8bSPankaj Patil [146] = PINGROUP(146, _, _, _, _, _, _, _, _, _, _, _),
1601*87ebcd8bSPankaj Patil [147] = PINGROUP(147, pcie4_clk_req_n, _, _, _, _, _, _, _, _, _, _),
1602*87ebcd8bSPankaj Patil [148] = PINGROUP(148, _, _, _, _, _, _, _, _, _, _, _),
1603*87ebcd8bSPankaj Patil [149] = PINGROUP(149, qdss_gpio, _, _, _, _, _, _, _, _, _, _),
1604*87ebcd8bSPankaj Patil [150] = PINGROUP(150, pcie6_clk_req_n, _, _, _, _, _, _, _, _, _, _),
1605*87ebcd8bSPankaj Patil [151] = PINGROUP(151, qdss_gpio, _, _, _, _, _, _, _, _, _, _),
1606*87ebcd8bSPankaj Patil [152] = PINGROUP(152, qdss_gpio, _, _, _, _, _, _, _, _, _, _),
1607*87ebcd8bSPankaj Patil [153] = PINGROUP(153, pcie5_clk_req_n, _, _, _, _, _, _, _, _, _, _),
1608*87ebcd8bSPankaj Patil [154] = PINGROUP(154, _, _, _, _, _, _, _, _, _, _, _),
1609*87ebcd8bSPankaj Patil [155] = PINGROUP(155, _, _, _, _, _, _, _, _, _, _, _),
1610*87ebcd8bSPankaj Patil [156] = PINGROUP(156, pcie3b_clk, _, _, _, _, _, _, _, _, _, _),
1611*87ebcd8bSPankaj Patil [157] = PINGROUP(157, _, _, _, _, _, _, _, _, _, _, _),
1612*87ebcd8bSPankaj Patil [158] = PINGROUP(158, _, _, _, _, _, _, _, _, _, _, _),
1613*87ebcd8bSPankaj Patil [159] = PINGROUP(159, _, _, _, _, _, _, _, _, _, _, _),
1614*87ebcd8bSPankaj Patil [160] = PINGROUP(160, resout_gpio_n, _, _, _, _, _, _, _, _, _, _),
1615*87ebcd8bSPankaj Patil [161] = PINGROUP(161, qdss_cti, _, _, _, _, _, _, _, _, _, _),
1616*87ebcd8bSPankaj Patil [162] = PINGROUP(162, sd_write_protect, qdss_cti, _, _, _, _, _, _, _, _, _),
1617*87ebcd8bSPankaj Patil [163] = PINGROUP(163, usb0_sbrx, prng_rosc, phase_flag, _, atest_char, _, _, _,
1618*87ebcd8bSPankaj Patil _, _, _),
1619*87ebcd8bSPankaj Patil [164] = PINGROUP(164, usb0_sbtx, prng_rosc, phase_flag, _, atest_char, _, _, _, _, _,
1620*87ebcd8bSPankaj Patil _),
1621*87ebcd8bSPankaj Patil [165] = PINGROUP(165, usb0_sbtx, _, _, _, _, _, _, _, _, _, _),
1622*87ebcd8bSPankaj Patil [166] = PINGROUP(166, _, _, _, _, _, _, _, _, _, _, _),
1623*87ebcd8bSPankaj Patil [167] = PINGROUP(167, _, _, _, _, _, _, _, _, _, _, _),
1624*87ebcd8bSPankaj Patil [168] = PINGROUP(168, eusb_ac_en, _, _, _, _, _, _, _, _, _, _),
1625*87ebcd8bSPankaj Patil [169] = PINGROUP(169, eusb_ac_en, _, _, _, _, _, _, _, _, _, _),
1626*87ebcd8bSPankaj Patil [170] = PINGROUP(170, _, _, _, _, _, _, _, _, _, _, _),
1627*87ebcd8bSPankaj Patil [171] = PINGROUP(171, _, _, _, _, _, _, _, _, _, _, _),
1628*87ebcd8bSPankaj Patil [172] = PINGROUP(172, usb1_sbrx, phase_flag, _, atest_char, _, _, _, _, _, _, _),
1629*87ebcd8bSPankaj Patil [173] = PINGROUP(173, usb1_sbtx, cri_trng, phase_flag, _, _, _, _, _, _, _, _),
1630*87ebcd8bSPankaj Patil [174] = PINGROUP(174, usb1_sbtx, _, _, _, _, _, _, _, _, _, _),
1631*87ebcd8bSPankaj Patil [175] = PINGROUP(175, _, _, _, _, _, _, _, _, _, _, _),
1632*87ebcd8bSPankaj Patil [176] = PINGROUP(176, _, _, _, _, _, _, _, _, _, _, _),
1633*87ebcd8bSPankaj Patil [177] = PINGROUP(177, eusb_ac_en, _, _, _, _, _, _, _, _, _, _),
1634*87ebcd8bSPankaj Patil [178] = PINGROUP(178, eusb_ac_en, _, _, _, _, _, _, _, _, _, _),
1635*87ebcd8bSPankaj Patil [179] = PINGROUP(179, _, _, _, _, _, _, _, _, _, _, _),
1636*87ebcd8bSPankaj Patil [180] = PINGROUP(180, _, _, _, _, _, _, _, _, _, _, _),
1637*87ebcd8bSPankaj Patil [181] = PINGROUP(181, usb2_sbrx, _, _, _, _, _, _, _, _, _, _),
1638*87ebcd8bSPankaj Patil [182] = PINGROUP(182, usb2_sbtx, _, _, _, _, _, _, _, _, _, _),
1639*87ebcd8bSPankaj Patil [183] = PINGROUP(183, usb2_sbtx, _, _, _, _, _, _, _, _, _, _),
1640*87ebcd8bSPankaj Patil [184] = PINGROUP(184, phase_flag, _, atest_char, _, _, _, _, _, _, _, _),
1641*87ebcd8bSPankaj Patil [185] = PINGROUP(185, _, _, _, _, _, _, _, _, _, _, _),
1642*87ebcd8bSPankaj Patil [186] = PINGROUP(186, eusb_ac_en, prng_rosc, phase_flag, _, _, _, _, _, _, _, _),
1643*87ebcd8bSPankaj Patil [187] = PINGROUP(187, eusb_ac_en, _, _, _, _, _, _, _, _, _, _),
1644*87ebcd8bSPankaj Patil [188] = PINGROUP(188, prng_rosc, phase_flag, _, atest_char, _, _, _, _, _, _, _),
1645*87ebcd8bSPankaj Patil [189] = PINGROUP(189, _, _, _, _, _, _, _, _, _, _, _),
1646*87ebcd8bSPankaj Patil [190] = PINGROUP(190, _, _, _, _, _, _, _, _, _, _, _),
1647*87ebcd8bSPankaj Patil [191] = PINGROUP(191, _, _, _, _, _, _, _, _, _, _, _),
1648*87ebcd8bSPankaj Patil [192] = PINGROUP(192, _, _, _, _, _, _, _, _, _, _, egpio),
1649*87ebcd8bSPankaj Patil [193] = PINGROUP(193, _, _, _, _, _, _, _, _, _, _, egpio),
1650*87ebcd8bSPankaj Patil [194] = PINGROUP(194, _, _, _, _, _, _, _, _, _, _, egpio),
1651*87ebcd8bSPankaj Patil [195] = PINGROUP(195, _, _, _, _, _, _, _, _, _, _, egpio),
1652*87ebcd8bSPankaj Patil [196] = PINGROUP(196, _, _, _, _, _, _, _, _, _, _, egpio),
1653*87ebcd8bSPankaj Patil [197] = PINGROUP(197, _, _, _, _, _, _, _, _, _, _, egpio),
1654*87ebcd8bSPankaj Patil [198] = PINGROUP(198, _, _, _, _, _, _, _, _, _, _, egpio),
1655*87ebcd8bSPankaj Patil [199] = PINGROUP(199, _, _, _, _, _, _, _, _, _, _, egpio),
1656*87ebcd8bSPankaj Patil [200] = PINGROUP(200, _, _, _, _, _, _, _, _, _, _, egpio),
1657*87ebcd8bSPankaj Patil [201] = PINGROUP(201, _, _, _, _, _, _, _, _, _, _, egpio),
1658*87ebcd8bSPankaj Patil [202] = PINGROUP(202, _, _, _, _, _, _, _, _, _, _, egpio),
1659*87ebcd8bSPankaj Patil [203] = PINGROUP(203, _, _, _, _, _, _, _, _, _, _, egpio),
1660*87ebcd8bSPankaj Patil [204] = PINGROUP(204, _, _, _, _, _, _, _, _, _, _, egpio),
1661*87ebcd8bSPankaj Patil [205] = PINGROUP(205, _, _, _, _, _, _, _, _, _, _, egpio),
1662*87ebcd8bSPankaj Patil [206] = PINGROUP(206, _, _, _, _, _, _, _, _, _, _, egpio),
1663*87ebcd8bSPankaj Patil [207] = PINGROUP(207, _, _, _, _, _, _, _, _, _, _, egpio),
1664*87ebcd8bSPankaj Patil [208] = PINGROUP(208, _, _, _, _, _, _, _, _, _, _, egpio),
1665*87ebcd8bSPankaj Patil [209] = PINGROUP(209, _, _, _, _, _, _, _, _, _, _, egpio),
1666*87ebcd8bSPankaj Patil [210] = PINGROUP(210, _, _, _, _, _, _, _, _, _, _, egpio),
1667*87ebcd8bSPankaj Patil [211] = PINGROUP(211, _, _, _, _, _, _, _, _, _, _, egpio),
1668*87ebcd8bSPankaj Patil [212] = PINGROUP(212, _, _, _, _, _, _, _, _, _, _, egpio),
1669*87ebcd8bSPankaj Patil [213] = PINGROUP(213, _, _, _, _, _, _, _, _, _, _, egpio),
1670*87ebcd8bSPankaj Patil [214] = PINGROUP(214, wcn_sw_ctrl, _, _, _, _, _, _, _, _, _, egpio),
1671*87ebcd8bSPankaj Patil [215] = PINGROUP(215, _, qdss_cti, _, _, _, _, _, _, _, _, egpio),
1672*87ebcd8bSPankaj Patil [216] = PINGROUP(216, _, _, _, _, _, _, _, _, _, _, egpio),
1673*87ebcd8bSPankaj Patil [217] = PINGROUP(217, _, qdss_cti, _, _, _, _, _, _, _, _, egpio),
1674*87ebcd8bSPankaj Patil [218] = PINGROUP(218, _, _, _, _, _, _, _, _, _, _, egpio),
1675*87ebcd8bSPankaj Patil [219] = PINGROUP(219, _, qdss_gpio, _, _, _, _, _, _, _, _, egpio),
1676*87ebcd8bSPankaj Patil [220] = PINGROUP(220, _, qdss_gpio, _, _, _, _, _, _, _, _, egpio),
1677*87ebcd8bSPankaj Patil [221] = PINGROUP(221, wcn_sw, _, qdss_gpio, _, _, _, _, _, _, _, egpio),
1678*87ebcd8bSPankaj Patil [222] = PINGROUP(222, _, qdss_gpio, _, _, _, _, _, _, _, _, egpio),
1679*87ebcd8bSPankaj Patil [223] = PINGROUP(223, _, qdss_gpio, _, _, _, _, _, _, _, _, egpio),
1680*87ebcd8bSPankaj Patil [224] = PINGROUP(224, _, qdss_gpio, _, _, _, _, _, _, _, _, egpio),
1681*87ebcd8bSPankaj Patil [225] = PINGROUP(225, _, qdss_gpio, _, _, _, _, _, _, _, _, egpio),
1682*87ebcd8bSPankaj Patil [226] = PINGROUP(226, _, qdss_gpio, _, _, _, _, _, _, _, _, egpio),
1683*87ebcd8bSPankaj Patil [227] = PINGROUP(227, _, qdss_gpio, _, _, _, _, _, _, _, _, egpio),
1684*87ebcd8bSPankaj Patil [228] = PINGROUP(228, _, qdss_gpio, _, _, _, _, _, _, _, _, egpio),
1685*87ebcd8bSPankaj Patil [229] = PINGROUP(229, _, _, _, _, _, _, _, _, _, _, egpio),
1686*87ebcd8bSPankaj Patil [230] = PINGROUP(230, _, _, _, _, _, _, _, _, _, _, egpio),
1687*87ebcd8bSPankaj Patil [231] = PINGROUP(231, qdss_gpio, _, _, _, _, _, _, _, _, _, egpio),
1688*87ebcd8bSPankaj Patil [232] = PINGROUP(232, qdss_gpio, _, _, _, _, _, _, _, _, _, egpio),
1689*87ebcd8bSPankaj Patil [233] = PINGROUP(233, qdss_gpio, _, _, _, _, _, _, _, _, _, egpio),
1690*87ebcd8bSPankaj Patil [234] = PINGROUP(234, qdss_gpio, _, _, _, _, _, _, _, _, _, egpio),
1691*87ebcd8bSPankaj Patil [235] = PINGROUP(235, asc_cci, qdss_gpio, _, _, _, _, _, _, _, _, egpio),
1692*87ebcd8bSPankaj Patil [236] = PINGROUP(236, asc_cci, qdss_gpio, _, _, _, _, _, _, _, _, egpio),
1693*87ebcd8bSPankaj Patil [237] = PINGROUP(237, qdss_gpio, _, _, _, _, _, _, _, _, _, egpio),
1694*87ebcd8bSPankaj Patil [238] = PINGROUP(238, qdss_gpio, _, _, _, _, _, _, _, _, _, egpio),
1695*87ebcd8bSPankaj Patil [239] = PINGROUP(239, _, _, _, _, _, _, _, _, _, _, egpio),
1696*87ebcd8bSPankaj Patil [240] = PINGROUP(240, _, _, _, _, _, _, _, _, _, _, egpio),
1697*87ebcd8bSPankaj Patil [241] = PINGROUP(241, _, _, _, _, _, _, _, _, _, _, egpio),
1698*87ebcd8bSPankaj Patil [242] = PINGROUP(242, _, _, _, _, _, _, _, _, _, _, egpio),
1699*87ebcd8bSPankaj Patil [243] = PINGROUP(243, _, _, _, _, _, _, _, _, _, _, egpio),
1700*87ebcd8bSPankaj Patil [244] = PINGROUP(244, _, _, _, _, _, _, _, _, _, _, egpio),
1701*87ebcd8bSPankaj Patil [245] = PINGROUP(245, smb_acok_n, _, _, _, _, _, _, _, _, _, _),
1702*87ebcd8bSPankaj Patil [246] = PINGROUP(246, _, _, _, _, _, _, _, _, _, _, _),
1703*87ebcd8bSPankaj Patil [247] = PINGROUP(247, qup3_se0, _, _, _, _, _, _, _, _, _, _),
1704*87ebcd8bSPankaj Patil [248] = PINGROUP(248, pmc_uva_n, _, _, _, _, _, _, _, _, _, _),
1705*87ebcd8bSPankaj Patil [249] = PINGROUP(249, pmc_oca_n, _, _, _, _, _, _, _, _, _, _),
1706*87ebcd8bSPankaj Patil [250] = UFS_RESET(ufs_reset, 0x104004, 0x105000),
1707*87ebcd8bSPankaj Patil [251] = SDC_QDSD_PINGROUP(sdc2_clk, 0xff000, 14, 6),
1708*87ebcd8bSPankaj Patil [252] = SDC_QDSD_PINGROUP(sdc2_cmd, 0xff000, 11, 3),
1709*87ebcd8bSPankaj Patil [253] = SDC_QDSD_PINGROUP(sdc2_data, 0xff000, 9, 0),
1710*87ebcd8bSPankaj Patil };
1711*87ebcd8bSPankaj Patil
1712*87ebcd8bSPankaj Patil static const struct msm_gpio_wakeirq_map glymur_pdc_map[] = {
1713*87ebcd8bSPankaj Patil { 0, 116 }, { 2, 114 }, { 3, 115 }, { 4, 175 }, { 5, 176 },
1714*87ebcd8bSPankaj Patil { 7, 111 }, { 11, 129 }, { 13, 130 }, { 15, 112 }, { 19, 113 },
1715*87ebcd8bSPankaj Patil { 23, 187 }, { 27, 188 }, { 28, 121 }, { 29, 122 }, { 30, 136 },
1716*87ebcd8bSPankaj Patil { 31, 203 }, { 32, 189 }, { 34, 174 }, { 35, 190 }, { 36, 191 },
1717*87ebcd8bSPankaj Patil { 39, 124 }, { 43, 192 }, { 47, 193 }, { 51, 123 }, { 53, 133 },
1718*87ebcd8bSPankaj Patil { 55, 125 }, { 59, 131 }, { 64, 134 }, { 65, 150 }, { 66, 186 },
1719*87ebcd8bSPankaj Patil { 67, 132 }, { 68, 195 }, { 71, 135 }, { 75, 196 }, { 79, 197 },
1720*87ebcd8bSPankaj Patil { 83, 198 }, { 84, 181 }, { 85, 199 }, { 87, 200 }, { 91, 201 },
1721*87ebcd8bSPankaj Patil { 92, 182 }, { 93, 183 }, { 94, 184 }, { 95, 185 }, { 98, 202 },
1722*87ebcd8bSPankaj Patil { 105, 157 }, { 113, 128 }, { 121, 117 }, { 123, 118 }, { 125, 119 },
1723*87ebcd8bSPankaj Patil { 129, 120 }, { 131, 126 }, { 132, 160 }, { 133, 194 }, { 134, 127 },
1724*87ebcd8bSPankaj Patil { 141, 137 }, { 143, 159 }, { 144, 138 }, { 145, 139 }, { 147, 140 },
1725*87ebcd8bSPankaj Patil { 148, 141 }, { 150, 146 }, { 151, 147 }, { 153, 148 }, { 154, 144 },
1726*87ebcd8bSPankaj Patil { 156, 149 }, { 157, 151 }, { 163, 142 }, { 172, 143 }, { 181, 145 },
1727*87ebcd8bSPankaj Patil { 193, 161 }, { 196, 152 }, { 203, 177 }, { 208, 178 }, { 215, 162 },
1728*87ebcd8bSPankaj Patil { 217, 153 }, { 220, 154 }, { 221, 155 }, { 228, 179 }, { 230, 180 },
1729*87ebcd8bSPankaj Patil { 232, 206 }, { 234, 172 }, { 235, 173 }, { 242, 158 }, { 244, 156 },
1730*87ebcd8bSPankaj Patil };
1731*87ebcd8bSPankaj Patil
1732*87ebcd8bSPankaj Patil static const struct msm_pinctrl_soc_data glymur_tlmm = {
1733*87ebcd8bSPankaj Patil .pins = glymur_pins,
1734*87ebcd8bSPankaj Patil .npins = ARRAY_SIZE(glymur_pins),
1735*87ebcd8bSPankaj Patil .functions = glymur_functions,
1736*87ebcd8bSPankaj Patil .nfunctions = ARRAY_SIZE(glymur_functions),
1737*87ebcd8bSPankaj Patil .groups = glymur_groups,
1738*87ebcd8bSPankaj Patil .ngroups = ARRAY_SIZE(glymur_groups),
1739*87ebcd8bSPankaj Patil .ngpios = 251,
1740*87ebcd8bSPankaj Patil .wakeirq_map = glymur_pdc_map,
1741*87ebcd8bSPankaj Patil .nwakeirq_map = ARRAY_SIZE(glymur_pdc_map),
1742*87ebcd8bSPankaj Patil .egpio_func = 11,
1743*87ebcd8bSPankaj Patil };
1744*87ebcd8bSPankaj Patil
1745*87ebcd8bSPankaj Patil static const struct of_device_id glymur_tlmm_of_match[] = {
1746*87ebcd8bSPankaj Patil { .compatible = "qcom,glymur-tlmm", .data = &glymur_tlmm },
1747*87ebcd8bSPankaj Patil { }
1748*87ebcd8bSPankaj Patil };
1749*87ebcd8bSPankaj Patil
glymur_tlmm_probe(struct platform_device * pdev)1750*87ebcd8bSPankaj Patil static int glymur_tlmm_probe(struct platform_device *pdev)
1751*87ebcd8bSPankaj Patil {
1752*87ebcd8bSPankaj Patil return msm_pinctrl_probe(pdev, &glymur_tlmm);
1753*87ebcd8bSPankaj Patil }
1754*87ebcd8bSPankaj Patil
1755*87ebcd8bSPankaj Patil static struct platform_driver glymur_tlmm_driver = {
1756*87ebcd8bSPankaj Patil .driver = {
1757*87ebcd8bSPankaj Patil .name = "glymur-tlmm",
1758*87ebcd8bSPankaj Patil .of_match_table = glymur_tlmm_of_match,
1759*87ebcd8bSPankaj Patil },
1760*87ebcd8bSPankaj Patil .probe = glymur_tlmm_probe,
1761*87ebcd8bSPankaj Patil };
1762*87ebcd8bSPankaj Patil
glymur_tlmm_init(void)1763*87ebcd8bSPankaj Patil static int __init glymur_tlmm_init(void)
1764*87ebcd8bSPankaj Patil {
1765*87ebcd8bSPankaj Patil return platform_driver_register(&glymur_tlmm_driver);
1766*87ebcd8bSPankaj Patil }
1767*87ebcd8bSPankaj Patil arch_initcall(glymur_tlmm_init);
1768*87ebcd8bSPankaj Patil
glymur_tlmm_exit(void)1769*87ebcd8bSPankaj Patil static void __exit glymur_tlmm_exit(void)
1770*87ebcd8bSPankaj Patil {
1771*87ebcd8bSPankaj Patil platform_driver_unregister(&glymur_tlmm_driver);
1772*87ebcd8bSPankaj Patil }
1773*87ebcd8bSPankaj Patil module_exit(glymur_tlmm_exit);
1774*87ebcd8bSPankaj Patil
1775*87ebcd8bSPankaj Patil MODULE_DESCRIPTION("QTI GLYMUR TLMM driver");
1776*87ebcd8bSPankaj Patil MODULE_LICENSE("GPL");
1777*87ebcd8bSPankaj Patil MODULE_DEVICE_TABLE(of, glymur_tlmm_of_match);
1778