1ff5eb002SOtto Pflüger // SPDX-License-Identifier: GPL-2.0-only
2ff5eb002SOtto Pflüger /*
3ff5eb002SOtto Pflüger * Copyright (c) 2024, The Linux Foundation. All rights reserved.
4ff5eb002SOtto Pflüger */
5ff5eb002SOtto Pflüger
6ff5eb002SOtto Pflüger #include <linux/module.h>
7ff5eb002SOtto Pflüger #include <linux/of.h>
8ff5eb002SOtto Pflüger #include <linux/platform_device.h>
9ff5eb002SOtto Pflüger
10ff5eb002SOtto Pflüger #include "pinctrl-msm.h"
11ff5eb002SOtto Pflüger
12ff5eb002SOtto Pflüger static const struct pinctrl_pin_desc msm8917_pins[] = {
13ff5eb002SOtto Pflüger PINCTRL_PIN(0, "GPIO_0"),
14ff5eb002SOtto Pflüger PINCTRL_PIN(1, "GPIO_1"),
15ff5eb002SOtto Pflüger PINCTRL_PIN(2, "GPIO_2"),
16ff5eb002SOtto Pflüger PINCTRL_PIN(3, "GPIO_3"),
17ff5eb002SOtto Pflüger PINCTRL_PIN(4, "GPIO_4"),
18ff5eb002SOtto Pflüger PINCTRL_PIN(5, "GPIO_5"),
19ff5eb002SOtto Pflüger PINCTRL_PIN(6, "GPIO_6"),
20ff5eb002SOtto Pflüger PINCTRL_PIN(7, "GPIO_7"),
21ff5eb002SOtto Pflüger PINCTRL_PIN(8, "GPIO_8"),
22ff5eb002SOtto Pflüger PINCTRL_PIN(9, "GPIO_9"),
23ff5eb002SOtto Pflüger PINCTRL_PIN(10, "GPIO_10"),
24ff5eb002SOtto Pflüger PINCTRL_PIN(11, "GPIO_11"),
25ff5eb002SOtto Pflüger PINCTRL_PIN(12, "GPIO_12"),
26ff5eb002SOtto Pflüger PINCTRL_PIN(13, "GPIO_13"),
27ff5eb002SOtto Pflüger PINCTRL_PIN(14, "GPIO_14"),
28ff5eb002SOtto Pflüger PINCTRL_PIN(15, "GPIO_15"),
29ff5eb002SOtto Pflüger PINCTRL_PIN(16, "GPIO_16"),
30ff5eb002SOtto Pflüger PINCTRL_PIN(17, "GPIO_17"),
31ff5eb002SOtto Pflüger PINCTRL_PIN(18, "GPIO_18"),
32ff5eb002SOtto Pflüger PINCTRL_PIN(19, "GPIO_19"),
33ff5eb002SOtto Pflüger PINCTRL_PIN(20, "GPIO_20"),
34ff5eb002SOtto Pflüger PINCTRL_PIN(21, "GPIO_21"),
35ff5eb002SOtto Pflüger PINCTRL_PIN(22, "GPIO_22"),
36ff5eb002SOtto Pflüger PINCTRL_PIN(23, "GPIO_23"),
37ff5eb002SOtto Pflüger PINCTRL_PIN(24, "GPIO_24"),
38ff5eb002SOtto Pflüger PINCTRL_PIN(25, "GPIO_25"),
39ff5eb002SOtto Pflüger PINCTRL_PIN(26, "GPIO_26"),
40ff5eb002SOtto Pflüger PINCTRL_PIN(27, "GPIO_27"),
41ff5eb002SOtto Pflüger PINCTRL_PIN(28, "GPIO_28"),
42ff5eb002SOtto Pflüger PINCTRL_PIN(29, "GPIO_29"),
43ff5eb002SOtto Pflüger PINCTRL_PIN(30, "GPIO_30"),
44ff5eb002SOtto Pflüger PINCTRL_PIN(31, "GPIO_31"),
45ff5eb002SOtto Pflüger PINCTRL_PIN(32, "GPIO_32"),
46ff5eb002SOtto Pflüger PINCTRL_PIN(33, "GPIO_33"),
47ff5eb002SOtto Pflüger PINCTRL_PIN(34, "GPIO_34"),
48ff5eb002SOtto Pflüger PINCTRL_PIN(35, "GPIO_35"),
49ff5eb002SOtto Pflüger PINCTRL_PIN(36, "GPIO_36"),
50ff5eb002SOtto Pflüger PINCTRL_PIN(37, "GPIO_37"),
51ff5eb002SOtto Pflüger PINCTRL_PIN(38, "GPIO_38"),
52ff5eb002SOtto Pflüger PINCTRL_PIN(39, "GPIO_39"),
53ff5eb002SOtto Pflüger PINCTRL_PIN(40, "GPIO_40"),
54ff5eb002SOtto Pflüger PINCTRL_PIN(41, "GPIO_41"),
55ff5eb002SOtto Pflüger PINCTRL_PIN(42, "GPIO_42"),
56ff5eb002SOtto Pflüger PINCTRL_PIN(43, "GPIO_43"),
57ff5eb002SOtto Pflüger PINCTRL_PIN(44, "GPIO_44"),
58ff5eb002SOtto Pflüger PINCTRL_PIN(45, "GPIO_45"),
59ff5eb002SOtto Pflüger PINCTRL_PIN(46, "GPIO_46"),
60ff5eb002SOtto Pflüger PINCTRL_PIN(47, "GPIO_47"),
61ff5eb002SOtto Pflüger PINCTRL_PIN(48, "GPIO_48"),
62ff5eb002SOtto Pflüger PINCTRL_PIN(49, "GPIO_49"),
63ff5eb002SOtto Pflüger PINCTRL_PIN(50, "GPIO_50"),
64ff5eb002SOtto Pflüger PINCTRL_PIN(51, "GPIO_51"),
65ff5eb002SOtto Pflüger PINCTRL_PIN(52, "GPIO_52"),
66ff5eb002SOtto Pflüger PINCTRL_PIN(53, "GPIO_53"),
67ff5eb002SOtto Pflüger PINCTRL_PIN(54, "GPIO_54"),
68ff5eb002SOtto Pflüger PINCTRL_PIN(55, "GPIO_55"),
69ff5eb002SOtto Pflüger PINCTRL_PIN(56, "GPIO_56"),
70ff5eb002SOtto Pflüger PINCTRL_PIN(57, "GPIO_57"),
71ff5eb002SOtto Pflüger PINCTRL_PIN(58, "GPIO_58"),
72ff5eb002SOtto Pflüger PINCTRL_PIN(59, "GPIO_59"),
73ff5eb002SOtto Pflüger PINCTRL_PIN(60, "GPIO_60"),
74ff5eb002SOtto Pflüger PINCTRL_PIN(61, "GPIO_61"),
75ff5eb002SOtto Pflüger PINCTRL_PIN(62, "GPIO_62"),
76ff5eb002SOtto Pflüger PINCTRL_PIN(63, "GPIO_63"),
77ff5eb002SOtto Pflüger PINCTRL_PIN(64, "GPIO_64"),
78ff5eb002SOtto Pflüger PINCTRL_PIN(65, "GPIO_65"),
79ff5eb002SOtto Pflüger PINCTRL_PIN(66, "GPIO_66"),
80ff5eb002SOtto Pflüger PINCTRL_PIN(67, "GPIO_67"),
81ff5eb002SOtto Pflüger PINCTRL_PIN(68, "GPIO_68"),
82ff5eb002SOtto Pflüger PINCTRL_PIN(69, "GPIO_69"),
83ff5eb002SOtto Pflüger PINCTRL_PIN(70, "GPIO_70"),
84ff5eb002SOtto Pflüger PINCTRL_PIN(71, "GPIO_71"),
85ff5eb002SOtto Pflüger PINCTRL_PIN(72, "GPIO_72"),
86ff5eb002SOtto Pflüger PINCTRL_PIN(73, "GPIO_73"),
87ff5eb002SOtto Pflüger PINCTRL_PIN(74, "GPIO_74"),
88ff5eb002SOtto Pflüger PINCTRL_PIN(75, "GPIO_75"),
89ff5eb002SOtto Pflüger PINCTRL_PIN(76, "GPIO_76"),
90ff5eb002SOtto Pflüger PINCTRL_PIN(77, "GPIO_77"),
91ff5eb002SOtto Pflüger PINCTRL_PIN(78, "GPIO_78"),
92ff5eb002SOtto Pflüger PINCTRL_PIN(79, "GPIO_79"),
93ff5eb002SOtto Pflüger PINCTRL_PIN(80, "GPIO_80"),
94ff5eb002SOtto Pflüger PINCTRL_PIN(81, "GPIO_81"),
95ff5eb002SOtto Pflüger PINCTRL_PIN(82, "GPIO_82"),
96ff5eb002SOtto Pflüger PINCTRL_PIN(83, "GPIO_83"),
97ff5eb002SOtto Pflüger PINCTRL_PIN(84, "GPIO_84"),
98ff5eb002SOtto Pflüger PINCTRL_PIN(85, "GPIO_85"),
99ff5eb002SOtto Pflüger PINCTRL_PIN(86, "GPIO_86"),
100ff5eb002SOtto Pflüger PINCTRL_PIN(87, "GPIO_87"),
101ff5eb002SOtto Pflüger PINCTRL_PIN(88, "GPIO_88"),
102ff5eb002SOtto Pflüger PINCTRL_PIN(89, "GPIO_89"),
103ff5eb002SOtto Pflüger PINCTRL_PIN(90, "GPIO_90"),
104ff5eb002SOtto Pflüger PINCTRL_PIN(91, "GPIO_91"),
105ff5eb002SOtto Pflüger PINCTRL_PIN(92, "GPIO_92"),
106ff5eb002SOtto Pflüger PINCTRL_PIN(93, "GPIO_93"),
107ff5eb002SOtto Pflüger PINCTRL_PIN(94, "GPIO_94"),
108ff5eb002SOtto Pflüger PINCTRL_PIN(95, "GPIO_95"),
109ff5eb002SOtto Pflüger PINCTRL_PIN(96, "GPIO_96"),
110ff5eb002SOtto Pflüger PINCTRL_PIN(97, "GPIO_97"),
111ff5eb002SOtto Pflüger PINCTRL_PIN(98, "GPIO_98"),
112ff5eb002SOtto Pflüger PINCTRL_PIN(99, "GPIO_99"),
113ff5eb002SOtto Pflüger PINCTRL_PIN(100, "GPIO_100"),
114ff5eb002SOtto Pflüger PINCTRL_PIN(101, "GPIO_101"),
115ff5eb002SOtto Pflüger PINCTRL_PIN(102, "GPIO_102"),
116ff5eb002SOtto Pflüger PINCTRL_PIN(103, "GPIO_103"),
117ff5eb002SOtto Pflüger PINCTRL_PIN(104, "GPIO_104"),
118ff5eb002SOtto Pflüger PINCTRL_PIN(105, "GPIO_105"),
119ff5eb002SOtto Pflüger PINCTRL_PIN(106, "GPIO_106"),
120ff5eb002SOtto Pflüger PINCTRL_PIN(107, "GPIO_107"),
121ff5eb002SOtto Pflüger PINCTRL_PIN(108, "GPIO_108"),
122ff5eb002SOtto Pflüger PINCTRL_PIN(109, "GPIO_109"),
123ff5eb002SOtto Pflüger PINCTRL_PIN(110, "GPIO_110"),
124ff5eb002SOtto Pflüger PINCTRL_PIN(111, "GPIO_111"),
125ff5eb002SOtto Pflüger PINCTRL_PIN(112, "GPIO_112"),
126ff5eb002SOtto Pflüger PINCTRL_PIN(113, "GPIO_113"),
127ff5eb002SOtto Pflüger PINCTRL_PIN(114, "GPIO_114"),
128ff5eb002SOtto Pflüger PINCTRL_PIN(115, "GPIO_115"),
129ff5eb002SOtto Pflüger PINCTRL_PIN(116, "GPIO_116"),
130ff5eb002SOtto Pflüger PINCTRL_PIN(117, "GPIO_117"),
131ff5eb002SOtto Pflüger PINCTRL_PIN(118, "GPIO_118"),
132ff5eb002SOtto Pflüger PINCTRL_PIN(119, "GPIO_119"),
133ff5eb002SOtto Pflüger PINCTRL_PIN(120, "GPIO_120"),
134ff5eb002SOtto Pflüger PINCTRL_PIN(121, "GPIO_121"),
135ff5eb002SOtto Pflüger PINCTRL_PIN(122, "GPIO_122"),
136ff5eb002SOtto Pflüger PINCTRL_PIN(123, "GPIO_123"),
137ff5eb002SOtto Pflüger PINCTRL_PIN(124, "GPIO_124"),
138ff5eb002SOtto Pflüger PINCTRL_PIN(125, "GPIO_125"),
139ff5eb002SOtto Pflüger PINCTRL_PIN(126, "GPIO_126"),
140ff5eb002SOtto Pflüger PINCTRL_PIN(127, "GPIO_127"),
141ff5eb002SOtto Pflüger PINCTRL_PIN(128, "GPIO_128"),
142ff5eb002SOtto Pflüger PINCTRL_PIN(129, "GPIO_129"),
143ff5eb002SOtto Pflüger PINCTRL_PIN(130, "GPIO_130"),
144ff5eb002SOtto Pflüger PINCTRL_PIN(131, "GPIO_131"),
145ff5eb002SOtto Pflüger PINCTRL_PIN(132, "GPIO_132"),
146ff5eb002SOtto Pflüger PINCTRL_PIN(133, "GPIO_133"),
147ff5eb002SOtto Pflüger PINCTRL_PIN(134, "SDC1_CLK"),
148ff5eb002SOtto Pflüger PINCTRL_PIN(135, "SDC1_CMD"),
149ff5eb002SOtto Pflüger PINCTRL_PIN(136, "SDC1_DATA"),
150ff5eb002SOtto Pflüger PINCTRL_PIN(137, "SDC1_RCLK"),
151ff5eb002SOtto Pflüger PINCTRL_PIN(138, "SDC2_CLK"),
152ff5eb002SOtto Pflüger PINCTRL_PIN(139, "SDC2_CMD"),
153ff5eb002SOtto Pflüger PINCTRL_PIN(140, "SDC2_DATA"),
154ff5eb002SOtto Pflüger PINCTRL_PIN(141, "QDSD_CLK"),
155ff5eb002SOtto Pflüger PINCTRL_PIN(142, "QDSD_CMD"),
156ff5eb002SOtto Pflüger PINCTRL_PIN(143, "QDSD_DATA0"),
157ff5eb002SOtto Pflüger PINCTRL_PIN(144, "QDSD_DATA1"),
158ff5eb002SOtto Pflüger PINCTRL_PIN(145, "QDSD_DATA2"),
159ff5eb002SOtto Pflüger PINCTRL_PIN(146, "QDSD_DATA3"),
160ff5eb002SOtto Pflüger };
161ff5eb002SOtto Pflüger
162ff5eb002SOtto Pflüger #define DECLARE_MSM_GPIO_PINS(pin) \
163ff5eb002SOtto Pflüger static const unsigned int gpio##pin##_pins[] = { pin }
164ff5eb002SOtto Pflüger
165ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(0);
166ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(1);
167ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(2);
168ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(3);
169ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(4);
170ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(5);
171ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(6);
172ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(7);
173ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(8);
174ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(9);
175ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(10);
176ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(11);
177ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(12);
178ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(13);
179ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(14);
180ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(15);
181ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(16);
182ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(17);
183ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(18);
184ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(19);
185ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(20);
186ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(21);
187ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(22);
188ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(23);
189ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(24);
190ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(25);
191ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(26);
192ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(27);
193ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(28);
194ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(29);
195ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(30);
196ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(31);
197ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(32);
198ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(33);
199ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(34);
200ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(35);
201ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(36);
202ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(37);
203ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(38);
204ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(39);
205ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(40);
206ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(41);
207ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(42);
208ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(43);
209ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(44);
210ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(45);
211ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(46);
212ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(47);
213ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(48);
214ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(49);
215ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(50);
216ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(51);
217ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(52);
218ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(53);
219ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(54);
220ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(55);
221ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(56);
222ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(57);
223ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(58);
224ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(59);
225ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(60);
226ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(61);
227ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(62);
228ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(63);
229ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(64);
230ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(65);
231ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(66);
232ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(67);
233ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(68);
234ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(69);
235ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(70);
236ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(71);
237ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(72);
238ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(73);
239ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(74);
240ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(75);
241ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(76);
242ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(77);
243ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(78);
244ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(79);
245ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(80);
246ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(81);
247ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(82);
248ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(83);
249ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(84);
250ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(85);
251ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(86);
252ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(87);
253ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(88);
254ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(89);
255ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(90);
256ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(91);
257ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(92);
258ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(93);
259ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(94);
260ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(95);
261ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(96);
262ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(97);
263ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(98);
264ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(99);
265ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(100);
266ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(101);
267ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(102);
268ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(103);
269ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(104);
270ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(105);
271ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(106);
272ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(107);
273ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(108);
274ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(109);
275ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(110);
276ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(111);
277ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(112);
278ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(113);
279ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(114);
280ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(115);
281ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(116);
282ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(117);
283ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(118);
284ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(119);
285ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(120);
286ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(121);
287ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(122);
288ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(123);
289ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(124);
290ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(125);
291ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(126);
292ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(127);
293ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(128);
294ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(129);
295ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(130);
296ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(131);
297ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(132);
298ff5eb002SOtto Pflüger DECLARE_MSM_GPIO_PINS(133);
299ff5eb002SOtto Pflüger
300ff5eb002SOtto Pflüger static const unsigned int sdc1_clk_pins[] = { 134 };
301ff5eb002SOtto Pflüger static const unsigned int sdc1_cmd_pins[] = { 135 };
302ff5eb002SOtto Pflüger static const unsigned int sdc1_data_pins[] = { 136 };
303ff5eb002SOtto Pflüger static const unsigned int sdc1_rclk_pins[] = { 137 };
304ff5eb002SOtto Pflüger static const unsigned int sdc2_clk_pins[] = { 138 };
305ff5eb002SOtto Pflüger static const unsigned int sdc2_cmd_pins[] = { 139 };
306ff5eb002SOtto Pflüger static const unsigned int sdc2_data_pins[] = { 140 };
307ff5eb002SOtto Pflüger static const unsigned int qdsd_clk_pins[] = { 141 };
308ff5eb002SOtto Pflüger static const unsigned int qdsd_cmd_pins[] = { 142 };
309ff5eb002SOtto Pflüger static const unsigned int qdsd_data0_pins[] = { 143 };
310ff5eb002SOtto Pflüger static const unsigned int qdsd_data1_pins[] = { 144 };
311ff5eb002SOtto Pflüger static const unsigned int qdsd_data2_pins[] = { 145 };
312ff5eb002SOtto Pflüger static const unsigned int qdsd_data3_pins[] = { 146 };
313ff5eb002SOtto Pflüger
314ff5eb002SOtto Pflüger #define PINGROUP(id, f1, f2, f3, f4, f5, f6, f7, f8, f9) \
315ff5eb002SOtto Pflüger { \
316ff5eb002SOtto Pflüger .grp = PINCTRL_PINGROUP("gpio" #id, \
317ff5eb002SOtto Pflüger gpio##id##_pins, \
318ff5eb002SOtto Pflüger ARRAY_SIZE(gpio##id##_pins)), \
319ff5eb002SOtto Pflüger .funcs = (int[]){ \
320ff5eb002SOtto Pflüger msm_mux_gpio, \
321ff5eb002SOtto Pflüger msm_mux_##f1, \
322ff5eb002SOtto Pflüger msm_mux_##f2, \
323ff5eb002SOtto Pflüger msm_mux_##f3, \
324ff5eb002SOtto Pflüger msm_mux_##f4, \
325ff5eb002SOtto Pflüger msm_mux_##f5, \
326ff5eb002SOtto Pflüger msm_mux_##f6, \
327ff5eb002SOtto Pflüger msm_mux_##f7, \
328ff5eb002SOtto Pflüger msm_mux_##f8, \
329ff5eb002SOtto Pflüger msm_mux_##f9 \
330ff5eb002SOtto Pflüger }, \
331ff5eb002SOtto Pflüger .nfuncs = 10, \
332ff5eb002SOtto Pflüger .ctl_reg = 0x1000 * id, \
333ff5eb002SOtto Pflüger .io_reg = 0x4 + 0x1000 * id, \
334ff5eb002SOtto Pflüger .intr_cfg_reg = 0x8 + 0x1000 * id, \
335ff5eb002SOtto Pflüger .intr_status_reg = 0xc + 0x1000 * id, \
336ff5eb002SOtto Pflüger .intr_target_reg = 0x8 + 0x1000 * id, \
337ff5eb002SOtto Pflüger .mux_bit = 2, \
338ff5eb002SOtto Pflüger .pull_bit = 0, \
339ff5eb002SOtto Pflüger .drv_bit = 6, \
340ff5eb002SOtto Pflüger .oe_bit = 9, \
341ff5eb002SOtto Pflüger .in_bit = 0, \
342ff5eb002SOtto Pflüger .out_bit = 1, \
343ff5eb002SOtto Pflüger .intr_enable_bit = 0, \
344ff5eb002SOtto Pflüger .intr_status_bit = 0, \
345ff5eb002SOtto Pflüger .intr_target_bit = 5, \
346ff5eb002SOtto Pflüger .intr_target_kpss_val = 4, \
347ff5eb002SOtto Pflüger .intr_raw_status_bit = 4, \
348ff5eb002SOtto Pflüger .intr_polarity_bit = 1, \
349ff5eb002SOtto Pflüger .intr_detection_bit = 2, \
350ff5eb002SOtto Pflüger .intr_detection_width = 2, \
351ff5eb002SOtto Pflüger }
352ff5eb002SOtto Pflüger
353ff5eb002SOtto Pflüger #define SDC_PINGROUP(pg_name, ctl, pull, drv) \
354ff5eb002SOtto Pflüger { \
355ff5eb002SOtto Pflüger .grp = PINCTRL_PINGROUP(#pg_name, \
356ff5eb002SOtto Pflüger pg_name##_pins, \
357ff5eb002SOtto Pflüger ARRAY_SIZE(pg_name##_pins)), \
358ff5eb002SOtto Pflüger .ctl_reg = ctl, \
359ff5eb002SOtto Pflüger .io_reg = 0, \
360ff5eb002SOtto Pflüger .intr_cfg_reg = 0, \
361ff5eb002SOtto Pflüger .intr_status_reg = 0, \
362ff5eb002SOtto Pflüger .intr_target_reg = 0, \
363ff5eb002SOtto Pflüger .mux_bit = -1, \
364ff5eb002SOtto Pflüger .pull_bit = pull, \
365ff5eb002SOtto Pflüger .drv_bit = drv, \
366ff5eb002SOtto Pflüger .oe_bit = -1, \
367ff5eb002SOtto Pflüger .in_bit = -1, \
368ff5eb002SOtto Pflüger .out_bit = -1, \
369ff5eb002SOtto Pflüger .intr_enable_bit = -1, \
370ff5eb002SOtto Pflüger .intr_status_bit = -1, \
371ff5eb002SOtto Pflüger .intr_target_bit = -1, \
372ff5eb002SOtto Pflüger .intr_target_kpss_val = -1, \
373ff5eb002SOtto Pflüger .intr_raw_status_bit = -1, \
374ff5eb002SOtto Pflüger .intr_polarity_bit = -1, \
375ff5eb002SOtto Pflüger .intr_detection_bit = -1, \
376ff5eb002SOtto Pflüger .intr_detection_width = -1, \
377ff5eb002SOtto Pflüger }
378ff5eb002SOtto Pflüger
379ff5eb002SOtto Pflüger enum msm8917_functions {
380ff5eb002SOtto Pflüger msm_mux_accel_int,
381ff5eb002SOtto Pflüger msm_mux_adsp_ext,
382ff5eb002SOtto Pflüger msm_mux_alsp_int,
383ff5eb002SOtto Pflüger msm_mux_atest_bbrx0,
384ff5eb002SOtto Pflüger msm_mux_atest_bbrx1,
385ff5eb002SOtto Pflüger msm_mux_atest_char,
386ff5eb002SOtto Pflüger msm_mux_atest_char0,
387ff5eb002SOtto Pflüger msm_mux_atest_char1,
388ff5eb002SOtto Pflüger msm_mux_atest_char2,
389ff5eb002SOtto Pflüger msm_mux_atest_char3,
390ff5eb002SOtto Pflüger msm_mux_atest_combodac_to_gpio_native,
391ff5eb002SOtto Pflüger msm_mux_atest_gpsadc_dtest0_native,
392ff5eb002SOtto Pflüger msm_mux_atest_gpsadc_dtest1_native,
393ff5eb002SOtto Pflüger msm_mux_atest_tsens,
394ff5eb002SOtto Pflüger msm_mux_atest_wlan0,
395ff5eb002SOtto Pflüger msm_mux_atest_wlan1,
396ff5eb002SOtto Pflüger msm_mux_audio_ref,
397ff5eb002SOtto Pflüger msm_mux_audio_reset,
398ff5eb002SOtto Pflüger msm_mux_bimc_dte0,
399ff5eb002SOtto Pflüger msm_mux_bimc_dte1,
400ff5eb002SOtto Pflüger msm_mux_blsp6_spi,
401ff5eb002SOtto Pflüger msm_mux_blsp8_spi,
402ff5eb002SOtto Pflüger msm_mux_blsp_i2c1,
403ff5eb002SOtto Pflüger msm_mux_blsp_i2c2,
404ff5eb002SOtto Pflüger msm_mux_blsp_i2c3,
405ff5eb002SOtto Pflüger msm_mux_blsp_i2c4,
406ff5eb002SOtto Pflüger msm_mux_blsp_i2c5,
407ff5eb002SOtto Pflüger msm_mux_blsp_i2c6,
408ff5eb002SOtto Pflüger msm_mux_blsp_i2c7,
409ff5eb002SOtto Pflüger msm_mux_blsp_i2c8,
410ff5eb002SOtto Pflüger msm_mux_blsp_spi1,
411ff5eb002SOtto Pflüger msm_mux_blsp_spi2,
412ff5eb002SOtto Pflüger msm_mux_blsp_spi3,
413ff5eb002SOtto Pflüger msm_mux_blsp_spi4,
414ff5eb002SOtto Pflüger msm_mux_blsp_spi5,
415ff5eb002SOtto Pflüger msm_mux_blsp_spi6,
416ff5eb002SOtto Pflüger msm_mux_blsp_spi7,
417ff5eb002SOtto Pflüger msm_mux_blsp_spi8,
418ff5eb002SOtto Pflüger msm_mux_blsp_uart1,
419ff5eb002SOtto Pflüger msm_mux_blsp_uart2,
420ff5eb002SOtto Pflüger msm_mux_blsp_uart3,
421ff5eb002SOtto Pflüger msm_mux_blsp_uart4,
422ff5eb002SOtto Pflüger msm_mux_blsp_uart5,
423ff5eb002SOtto Pflüger msm_mux_blsp_uart6,
424ff5eb002SOtto Pflüger msm_mux_blsp_uart7,
425ff5eb002SOtto Pflüger msm_mux_blsp_uart8,
426ff5eb002SOtto Pflüger msm_mux_cam0_ldo,
427ff5eb002SOtto Pflüger msm_mux_cam1_rst,
428ff5eb002SOtto Pflüger msm_mux_cam1_standby,
429ff5eb002SOtto Pflüger msm_mux_cam2_rst,
430ff5eb002SOtto Pflüger msm_mux_cam2_standby,
431ff5eb002SOtto Pflüger msm_mux_cam_mclk,
432ff5eb002SOtto Pflüger msm_mux_cci_async,
433ff5eb002SOtto Pflüger msm_mux_cci_i2c,
434ff5eb002SOtto Pflüger msm_mux_cci_timer0,
435ff5eb002SOtto Pflüger msm_mux_cci_timer1,
436ff5eb002SOtto Pflüger msm_mux_cdc_pdm0,
437ff5eb002SOtto Pflüger msm_mux_codec_int1,
438ff5eb002SOtto Pflüger msm_mux_codec_int2,
439ff5eb002SOtto Pflüger msm_mux_codec_mad,
440ff5eb002SOtto Pflüger msm_mux_coex_uart,
441ff5eb002SOtto Pflüger msm_mux_cri_trng,
442ff5eb002SOtto Pflüger msm_mux_cri_trng0,
443ff5eb002SOtto Pflüger msm_mux_cri_trng1,
444ff5eb002SOtto Pflüger msm_mux_dbg_out,
445ff5eb002SOtto Pflüger msm_mux_dmic0_clk,
446ff5eb002SOtto Pflüger msm_mux_dmic0_data,
447ff5eb002SOtto Pflüger msm_mux_ebi_cdc,
448ff5eb002SOtto Pflüger msm_mux_ebi_ch0,
449ff5eb002SOtto Pflüger msm_mux_ext_lpass,
450ff5eb002SOtto Pflüger msm_mux_forced_usb,
451ff5eb002SOtto Pflüger msm_mux_fp_gpio,
452ff5eb002SOtto Pflüger msm_mux_fp_int,
453ff5eb002SOtto Pflüger msm_mux_gcc_gp1_clk_a,
454ff5eb002SOtto Pflüger msm_mux_gcc_gp1_clk_b,
455ff5eb002SOtto Pflüger msm_mux_gcc_gp2_clk_a,
456ff5eb002SOtto Pflüger msm_mux_gcc_gp2_clk_b,
457ff5eb002SOtto Pflüger msm_mux_gcc_gp3_clk_a,
458ff5eb002SOtto Pflüger msm_mux_gcc_gp3_clk_b,
459ff5eb002SOtto Pflüger msm_mux_gcc_plltest,
460ff5eb002SOtto Pflüger msm_mux_gcc_tlmm,
461ff5eb002SOtto Pflüger msm_mux_gpio,
462ff5eb002SOtto Pflüger msm_mux_gsm0_tx,
463ff5eb002SOtto Pflüger msm_mux_key_focus,
464ff5eb002SOtto Pflüger msm_mux_key_snapshot,
465ff5eb002SOtto Pflüger msm_mux_key_volp,
466ff5eb002SOtto Pflüger msm_mux_ldo_en,
467ff5eb002SOtto Pflüger msm_mux_ldo_update,
468ff5eb002SOtto Pflüger msm_mux_lpass_slimbus,
469ff5eb002SOtto Pflüger msm_mux_lpass_slimbus0,
470ff5eb002SOtto Pflüger msm_mux_lpass_slimbus1,
471ff5eb002SOtto Pflüger msm_mux_m_voc,
472ff5eb002SOtto Pflüger msm_mux_mag_int,
473ff5eb002SOtto Pflüger msm_mux_mdp_vsync,
474ff5eb002SOtto Pflüger msm_mux_mipi_dsi0,
475ff5eb002SOtto Pflüger msm_mux_modem_tsync,
476ff5eb002SOtto Pflüger msm_mux_nav_pps,
477ff5eb002SOtto Pflüger msm_mux_nav_pps_in_a,
478ff5eb002SOtto Pflüger msm_mux_nav_pps_in_b,
479ff5eb002SOtto Pflüger msm_mux_nav_tsync,
480ff5eb002SOtto Pflüger msm_mux_nfc_pwr,
481ff5eb002SOtto Pflüger msm_mux_ov_ldo,
482ff5eb002SOtto Pflüger msm_mux_pa_indicator,
483ff5eb002SOtto Pflüger msm_mux_pbs0,
484ff5eb002SOtto Pflüger msm_mux_pbs1,
485ff5eb002SOtto Pflüger msm_mux_pbs2,
486ff5eb002SOtto Pflüger msm_mux_pri_mi2s,
487ff5eb002SOtto Pflüger msm_mux_pri_mi2s_mclk_a,
488ff5eb002SOtto Pflüger msm_mux_pri_mi2s_mclk_b,
489ff5eb002SOtto Pflüger msm_mux_pri_mi2s_ws,
490ff5eb002SOtto Pflüger msm_mux_prng_rosc,
491ff5eb002SOtto Pflüger msm_mux_pwr_crypto_enabled_a,
492ff5eb002SOtto Pflüger msm_mux_pwr_crypto_enabled_b,
493ff5eb002SOtto Pflüger msm_mux_pwr_modem_enabled_a,
494ff5eb002SOtto Pflüger msm_mux_pwr_modem_enabled_b,
495ff5eb002SOtto Pflüger msm_mux_pwr_nav_enabled_a,
496ff5eb002SOtto Pflüger msm_mux_pwr_nav_enabled_b,
497ff5eb002SOtto Pflüger msm_mux_qdss_cti_trig_in_a0,
498ff5eb002SOtto Pflüger msm_mux_qdss_cti_trig_in_a1,
499ff5eb002SOtto Pflüger msm_mux_qdss_cti_trig_in_b0,
500ff5eb002SOtto Pflüger msm_mux_qdss_cti_trig_in_b1,
501ff5eb002SOtto Pflüger msm_mux_qdss_cti_trig_out_a0,
502ff5eb002SOtto Pflüger msm_mux_qdss_cti_trig_out_a1,
503ff5eb002SOtto Pflüger msm_mux_qdss_cti_trig_out_b0,
504ff5eb002SOtto Pflüger msm_mux_qdss_cti_trig_out_b1,
505ff5eb002SOtto Pflüger msm_mux_qdss_traceclk_a,
506ff5eb002SOtto Pflüger msm_mux_qdss_traceclk_b,
507ff5eb002SOtto Pflüger msm_mux_qdss_tracectl_a,
508ff5eb002SOtto Pflüger msm_mux_qdss_tracectl_b,
509ff5eb002SOtto Pflüger msm_mux_qdss_tracedata_a,
510ff5eb002SOtto Pflüger msm_mux_qdss_tracedata_b,
511ff5eb002SOtto Pflüger msm_mux_sd_write,
512ff5eb002SOtto Pflüger msm_mux_sdcard_det,
513ff5eb002SOtto Pflüger msm_mux_sec_mi2s,
514ff5eb002SOtto Pflüger msm_mux_sec_mi2s_mclk_a,
515ff5eb002SOtto Pflüger msm_mux_sec_mi2s_mclk_b,
516ff5eb002SOtto Pflüger msm_mux_sensor_rst,
517ff5eb002SOtto Pflüger msm_mux_smb_int,
518ff5eb002SOtto Pflüger msm_mux_ssbi_wtr1,
519ff5eb002SOtto Pflüger msm_mux_ts_resout,
520ff5eb002SOtto Pflüger msm_mux_ts_sample,
521ff5eb002SOtto Pflüger msm_mux_uim1_clk,
522ff5eb002SOtto Pflüger msm_mux_uim1_data,
523ff5eb002SOtto Pflüger msm_mux_uim1_present,
524ff5eb002SOtto Pflüger msm_mux_uim1_reset,
525ff5eb002SOtto Pflüger msm_mux_uim2_clk,
526ff5eb002SOtto Pflüger msm_mux_uim2_data,
527ff5eb002SOtto Pflüger msm_mux_uim2_present,
528ff5eb002SOtto Pflüger msm_mux_uim2_reset,
529ff5eb002SOtto Pflüger msm_mux_uim_batt,
530ff5eb002SOtto Pflüger msm_mux_us_emitter,
531ff5eb002SOtto Pflüger msm_mux_us_euro,
532ff5eb002SOtto Pflüger msm_mux_wcss_bt,
533ff5eb002SOtto Pflüger msm_mux_wcss_fm,
534ff5eb002SOtto Pflüger msm_mux_wcss_wlan,
535ff5eb002SOtto Pflüger msm_mux_wcss_wlan0,
536ff5eb002SOtto Pflüger msm_mux_wcss_wlan1,
537ff5eb002SOtto Pflüger msm_mux_wcss_wlan2,
538ff5eb002SOtto Pflüger msm_mux_webcam_rst,
539ff5eb002SOtto Pflüger msm_mux_webcam_standby,
540ff5eb002SOtto Pflüger msm_mux_wsa_io,
541ff5eb002SOtto Pflüger msm_mux_wsa_irq,
542*3dd3ab69SDang Huynh msm_mux_wsa_reset,
543ff5eb002SOtto Pflüger msm_mux__,
544ff5eb002SOtto Pflüger };
545ff5eb002SOtto Pflüger
546ff5eb002SOtto Pflüger static const char * const qdss_tracedata_b_groups[] = {
547ff5eb002SOtto Pflüger "gpio0", "gpio1", "gpio6", "gpio7", "gpio12", "gpio13", "gpio23",
548ff5eb002SOtto Pflüger "gpio42", "gpio43", "gpio44", "gpio47", "gpio66", "gpio86", "gpio87",
549ff5eb002SOtto Pflüger "gpio88", "gpio92",
550ff5eb002SOtto Pflüger };
551ff5eb002SOtto Pflüger
552ff5eb002SOtto Pflüger static const char * const blsp_uart1_groups[] = {
553ff5eb002SOtto Pflüger "gpio0", "gpio1", "gpio2", "gpio3",
554ff5eb002SOtto Pflüger };
555ff5eb002SOtto Pflüger
556ff5eb002SOtto Pflüger static const char * const gpio_groups[] = {
557ff5eb002SOtto Pflüger "gpio0", "gpio1", "gpio2", "gpio3", "gpio4", "gpio5", "gpio6", "gpio7",
558ff5eb002SOtto Pflüger "gpio8", "gpio9", "gpio10", "gpio11", "gpio12", "gpio13", "gpio14",
559ff5eb002SOtto Pflüger "gpio15", "gpio16", "gpio17", "gpio18", "gpio19", "gpio20", "gpio21",
560ff5eb002SOtto Pflüger "gpio22", "gpio23", "gpio24", "gpio25", "gpio26", "gpio27", "gpio28",
561ff5eb002SOtto Pflüger "gpio29", "gpio30", "gpio31", "gpio32", "gpio33", "gpio34", "gpio35",
562ff5eb002SOtto Pflüger "gpio36", "gpio37", "gpio38", "gpio39", "gpio40", "gpio41", "gpio42",
563ff5eb002SOtto Pflüger "gpio43", "gpio44", "gpio45", "gpio46", "gpio47", "gpio48", "gpio49",
564ff5eb002SOtto Pflüger "gpio50", "gpio51", "gpio52", "gpio53", "gpio54", "gpio55", "gpio56",
565ff5eb002SOtto Pflüger "gpio57", "gpio58", "gpio59", "gpio60", "gpio61", "gpio62", "gpio63",
566ff5eb002SOtto Pflüger "gpio64", "gpio65", "gpio66", "gpio67", "gpio68", "gpio69", "gpio70",
567ff5eb002SOtto Pflüger "gpio71", "gpio72", "gpio73", "gpio74", "gpio75", "gpio76", "gpio77",
568ff5eb002SOtto Pflüger "gpio78", "gpio79", "gpio80", "gpio81", "gpio82", "gpio83", "gpio84",
569ff5eb002SOtto Pflüger "gpio85", "gpio86", "gpio87", "gpio88", "gpio89", "gpio90", "gpio91",
570ff5eb002SOtto Pflüger "gpio92", "gpio93", "gpio94", "gpio95", "gpio96", "gpio97", "gpio98",
571ff5eb002SOtto Pflüger "gpio99", "gpio100", "gpio101", "gpio102", "gpio103", "gpio104",
572ff5eb002SOtto Pflüger "gpio105", "gpio106", "gpio107", "gpio108", "gpio109", "gpio110",
573ff5eb002SOtto Pflüger "gpio111", "gpio112", "gpio113", "gpio114", "gpio115", "gpio116",
574ff5eb002SOtto Pflüger "gpio117", "gpio118", "gpio119", "gpio120", "gpio121", "gpio122",
575ff5eb002SOtto Pflüger "gpio123", "gpio124", "gpio125", "gpio126", "gpio127", "gpio128",
576ff5eb002SOtto Pflüger "gpio129", "gpio130", "gpio131", "gpio132", "gpio133",
577ff5eb002SOtto Pflüger };
578ff5eb002SOtto Pflüger
579ff5eb002SOtto Pflüger static const char * const blsp_spi1_groups[] = {
580ff5eb002SOtto Pflüger "gpio0", "gpio1", "gpio2", "gpio3",
581ff5eb002SOtto Pflüger };
582ff5eb002SOtto Pflüger
583ff5eb002SOtto Pflüger static const char * const adsp_ext_groups[] = {
584ff5eb002SOtto Pflüger "gpio1",
585ff5eb002SOtto Pflüger };
586ff5eb002SOtto Pflüger
587ff5eb002SOtto Pflüger static const char * const blsp_i2c1_groups[] = {
588ff5eb002SOtto Pflüger "gpio2", "gpio3",
589ff5eb002SOtto Pflüger };
590ff5eb002SOtto Pflüger
591ff5eb002SOtto Pflüger static const char * const prng_rosc_groups[] = {
592ff5eb002SOtto Pflüger "gpio2",
593ff5eb002SOtto Pflüger };
594ff5eb002SOtto Pflüger
595ff5eb002SOtto Pflüger static const char * const qdss_cti_trig_out_b0_groups[] = {
596ff5eb002SOtto Pflüger "gpio2",
597ff5eb002SOtto Pflüger };
598ff5eb002SOtto Pflüger
599ff5eb002SOtto Pflüger static const char * const blsp_spi2_groups[] = {
600ff5eb002SOtto Pflüger "gpio4", "gpio5", "gpio6", "gpio7",
601ff5eb002SOtto Pflüger };
602ff5eb002SOtto Pflüger
603ff5eb002SOtto Pflüger static const char * const blsp_uart2_groups[] = {
604ff5eb002SOtto Pflüger "gpio4", "gpio5", "gpio6", "gpio7",
605ff5eb002SOtto Pflüger };
606ff5eb002SOtto Pflüger
607ff5eb002SOtto Pflüger static const char * const blsp_uart3_groups[] = {
608ff5eb002SOtto Pflüger "gpio8", "gpio9", "gpio10", "gpio11",
609ff5eb002SOtto Pflüger };
610ff5eb002SOtto Pflüger
611ff5eb002SOtto Pflüger static const char * const pbs0_groups[] = {
612ff5eb002SOtto Pflüger "gpio8",
613ff5eb002SOtto Pflüger };
614ff5eb002SOtto Pflüger
615ff5eb002SOtto Pflüger static const char * const pbs1_groups[] = {
616ff5eb002SOtto Pflüger "gpio9",
617ff5eb002SOtto Pflüger };
618ff5eb002SOtto Pflüger
619ff5eb002SOtto Pflüger static const char * const pwr_modem_enabled_b_groups[] = {
620ff5eb002SOtto Pflüger "gpio9",
621ff5eb002SOtto Pflüger };
622ff5eb002SOtto Pflüger
623ff5eb002SOtto Pflüger static const char * const blsp_i2c3_groups[] = {
624ff5eb002SOtto Pflüger "gpio10", "gpio11",
625ff5eb002SOtto Pflüger };
626ff5eb002SOtto Pflüger
627ff5eb002SOtto Pflüger static const char * const gcc_gp2_clk_b_groups[] = {
628ff5eb002SOtto Pflüger "gpio10",
629ff5eb002SOtto Pflüger };
630ff5eb002SOtto Pflüger
631ff5eb002SOtto Pflüger static const char * const ldo_update_groups[] = {
632ff5eb002SOtto Pflüger "gpio4",
633ff5eb002SOtto Pflüger };
634ff5eb002SOtto Pflüger
635ff5eb002SOtto Pflüger static const char * const atest_combodac_to_gpio_native_groups[] = {
636ff5eb002SOtto Pflüger "gpio4", "gpio12", "gpio13", "gpio20", "gpio21", "gpio28", "gpio29",
637ff5eb002SOtto Pflüger "gpio30", "gpio39", "gpio40", "gpio41", "gpio42", "gpio43", "gpio44",
638ff5eb002SOtto Pflüger "gpio45", "gpio46", "gpio47", "gpio48", "gpio67", "gpio115",
639ff5eb002SOtto Pflüger };
640ff5eb002SOtto Pflüger
641ff5eb002SOtto Pflüger static const char * const ldo_en_groups[] = {
642ff5eb002SOtto Pflüger "gpio5",
643ff5eb002SOtto Pflüger };
644ff5eb002SOtto Pflüger
645ff5eb002SOtto Pflüger static const char * const blsp_i2c2_groups[] = {
646ff5eb002SOtto Pflüger "gpio6", "gpio7",
647ff5eb002SOtto Pflüger };
648ff5eb002SOtto Pflüger
649ff5eb002SOtto Pflüger static const char * const gcc_gp1_clk_b_groups[] = {
650ff5eb002SOtto Pflüger "gpio6",
651ff5eb002SOtto Pflüger };
652ff5eb002SOtto Pflüger
653ff5eb002SOtto Pflüger static const char * const pbs2_groups[] = {
654ff5eb002SOtto Pflüger "gpio7",
655ff5eb002SOtto Pflüger };
656ff5eb002SOtto Pflüger
657ff5eb002SOtto Pflüger static const char * const atest_gpsadc_dtest0_native_groups[] = {
658ff5eb002SOtto Pflüger "gpio7",
659ff5eb002SOtto Pflüger };
660ff5eb002SOtto Pflüger
661ff5eb002SOtto Pflüger static const char * const blsp_spi3_groups[] = {
662ff5eb002SOtto Pflüger "gpio8", "gpio9", "gpio10", "gpio11",
663ff5eb002SOtto Pflüger };
664ff5eb002SOtto Pflüger
665ff5eb002SOtto Pflüger static const char * const gcc_gp3_clk_b_groups[] = {
666ff5eb002SOtto Pflüger "gpio11",
667ff5eb002SOtto Pflüger };
668ff5eb002SOtto Pflüger
669ff5eb002SOtto Pflüger static const char * const blsp_spi4_groups[] = {
670ff5eb002SOtto Pflüger "gpio12", "gpio13", "gpio14", "gpio15",
671ff5eb002SOtto Pflüger };
672ff5eb002SOtto Pflüger
673ff5eb002SOtto Pflüger static const char * const blsp_uart4_groups[] = {
674ff5eb002SOtto Pflüger "gpio12", "gpio13", "gpio14", "gpio15",
675ff5eb002SOtto Pflüger };
676ff5eb002SOtto Pflüger
677ff5eb002SOtto Pflüger static const char * const sec_mi2s_groups[] = {
678ff5eb002SOtto Pflüger "gpio12", "gpio13", "gpio94", "gpio95",
679ff5eb002SOtto Pflüger };
680ff5eb002SOtto Pflüger
681ff5eb002SOtto Pflüger static const char * const pwr_nav_enabled_b_groups[] = {
682ff5eb002SOtto Pflüger "gpio12",
683ff5eb002SOtto Pflüger };
684ff5eb002SOtto Pflüger
685ff5eb002SOtto Pflüger static const char * const codec_mad_groups[] = {
686ff5eb002SOtto Pflüger "gpio13",
687ff5eb002SOtto Pflüger };
688ff5eb002SOtto Pflüger
689ff5eb002SOtto Pflüger static const char * const pwr_crypto_enabled_b_groups[] = {
690ff5eb002SOtto Pflüger "gpio13",
691ff5eb002SOtto Pflüger };
692ff5eb002SOtto Pflüger
693ff5eb002SOtto Pflüger static const char * const blsp_i2c4_groups[] = {
694ff5eb002SOtto Pflüger "gpio14", "gpio15",
695ff5eb002SOtto Pflüger };
696ff5eb002SOtto Pflüger
697ff5eb002SOtto Pflüger static const char * const blsp_spi5_groups[] = {
698ff5eb002SOtto Pflüger "gpio16", "gpio17", "gpio18", "gpio19",
699ff5eb002SOtto Pflüger };
700ff5eb002SOtto Pflüger
701ff5eb002SOtto Pflüger static const char * const blsp_uart5_groups[] = {
702ff5eb002SOtto Pflüger "gpio16", "gpio17", "gpio18", "gpio19",
703ff5eb002SOtto Pflüger };
704ff5eb002SOtto Pflüger
705ff5eb002SOtto Pflüger static const char * const qdss_traceclk_a_groups[] = {
706ff5eb002SOtto Pflüger "gpio16",
707ff5eb002SOtto Pflüger };
708ff5eb002SOtto Pflüger
709ff5eb002SOtto Pflüger static const char * const atest_bbrx1_groups[] = {
710ff5eb002SOtto Pflüger "gpio16",
711ff5eb002SOtto Pflüger };
712ff5eb002SOtto Pflüger
713ff5eb002SOtto Pflüger static const char * const m_voc_groups[] = {
714ff5eb002SOtto Pflüger "gpio17", "gpio21",
715ff5eb002SOtto Pflüger };
716ff5eb002SOtto Pflüger
717ff5eb002SOtto Pflüger static const char * const qdss_cti_trig_in_a0_groups[] = {
718ff5eb002SOtto Pflüger "gpio17",
719ff5eb002SOtto Pflüger };
720ff5eb002SOtto Pflüger
721ff5eb002SOtto Pflüger static const char * const qdss_cti_trig_in_b0_groups[] = {
722ff5eb002SOtto Pflüger "gpio21",
723ff5eb002SOtto Pflüger };
724ff5eb002SOtto Pflüger
725ff5eb002SOtto Pflüger static const char * const blsp_i2c6_groups[] = {
726ff5eb002SOtto Pflüger "gpio22", "gpio23",
727ff5eb002SOtto Pflüger };
728ff5eb002SOtto Pflüger
729ff5eb002SOtto Pflüger static const char * const qdss_traceclk_b_groups[] = {
730ff5eb002SOtto Pflüger "gpio22",
731ff5eb002SOtto Pflüger };
732ff5eb002SOtto Pflüger
733ff5eb002SOtto Pflüger static const char * const atest_wlan0_groups[] = {
734ff5eb002SOtto Pflüger "gpio22",
735ff5eb002SOtto Pflüger };
736ff5eb002SOtto Pflüger
737ff5eb002SOtto Pflüger static const char * const atest_bbrx0_groups[] = {
738ff5eb002SOtto Pflüger "gpio17",
739ff5eb002SOtto Pflüger };
740ff5eb002SOtto Pflüger
741ff5eb002SOtto Pflüger static const char * const blsp_i2c5_groups[] = {
742ff5eb002SOtto Pflüger "gpio18", "gpio19",
743ff5eb002SOtto Pflüger };
744ff5eb002SOtto Pflüger
745ff5eb002SOtto Pflüger static const char * const qdss_tracectl_a_groups[] = {
746ff5eb002SOtto Pflüger "gpio18",
747ff5eb002SOtto Pflüger };
748ff5eb002SOtto Pflüger
749ff5eb002SOtto Pflüger static const char * const atest_gpsadc_dtest1_native_groups[] = {
750ff5eb002SOtto Pflüger "gpio18",
751ff5eb002SOtto Pflüger };
752ff5eb002SOtto Pflüger
753ff5eb002SOtto Pflüger static const char * const qdss_tracedata_a_groups[] = {
754ff5eb002SOtto Pflüger "gpio19", "gpio26", "gpio27", "gpio28", "gpio29", "gpio30", "gpio31",
755ff5eb002SOtto Pflüger "gpio32", "gpio33", "gpio34", "gpio35", "gpio36", "gpio38", "gpio39",
756ff5eb002SOtto Pflüger "gpio40", "gpio50",
757ff5eb002SOtto Pflüger };
758ff5eb002SOtto Pflüger
759ff5eb002SOtto Pflüger static const char * const blsp_spi6_groups[] = {
760ff5eb002SOtto Pflüger "gpio20", "gpio21", "gpio22", "gpio23",
761ff5eb002SOtto Pflüger };
762ff5eb002SOtto Pflüger
763ff5eb002SOtto Pflüger static const char * const blsp_uart6_groups[] = {
764ff5eb002SOtto Pflüger "gpio20", "gpio21", "gpio22", "gpio23",
765ff5eb002SOtto Pflüger };
766ff5eb002SOtto Pflüger
767ff5eb002SOtto Pflüger static const char * const qdss_tracectl_b_groups[] = {
768ff5eb002SOtto Pflüger "gpio20",
769ff5eb002SOtto Pflüger };
770ff5eb002SOtto Pflüger
771ff5eb002SOtto Pflüger static const char * const atest_wlan1_groups[] = {
772ff5eb002SOtto Pflüger "gpio23",
773ff5eb002SOtto Pflüger };
774ff5eb002SOtto Pflüger
775ff5eb002SOtto Pflüger static const char * const mdp_vsync_groups[] = {
776ff5eb002SOtto Pflüger "gpio24", "gpio25",
777ff5eb002SOtto Pflüger };
778ff5eb002SOtto Pflüger
779ff5eb002SOtto Pflüger static const char * const pri_mi2s_mclk_a_groups[] = {
780ff5eb002SOtto Pflüger "gpio25",
781ff5eb002SOtto Pflüger };
782ff5eb002SOtto Pflüger
783ff5eb002SOtto Pflüger static const char * const sec_mi2s_mclk_a_groups[] = {
784ff5eb002SOtto Pflüger "gpio25",
785ff5eb002SOtto Pflüger };
786ff5eb002SOtto Pflüger
787ff5eb002SOtto Pflüger static const char * const cam_mclk_groups[] = {
788ff5eb002SOtto Pflüger "gpio26", "gpio27", "gpio28",
789ff5eb002SOtto Pflüger };
790ff5eb002SOtto Pflüger
791ff5eb002SOtto Pflüger static const char * const cci_i2c_groups[] = {
792ff5eb002SOtto Pflüger "gpio29", "gpio30", "gpio31", "gpio32",
793ff5eb002SOtto Pflüger };
794ff5eb002SOtto Pflüger
795ff5eb002SOtto Pflüger static const char * const pwr_modem_enabled_a_groups[] = {
796ff5eb002SOtto Pflüger "gpio29",
797ff5eb002SOtto Pflüger };
798ff5eb002SOtto Pflüger
799ff5eb002SOtto Pflüger static const char * const cci_timer0_groups[] = {
800ff5eb002SOtto Pflüger "gpio33",
801ff5eb002SOtto Pflüger };
802ff5eb002SOtto Pflüger
803ff5eb002SOtto Pflüger static const char * const cci_timer1_groups[] = {
804ff5eb002SOtto Pflüger "gpio34",
805ff5eb002SOtto Pflüger };
806ff5eb002SOtto Pflüger
807ff5eb002SOtto Pflüger static const char * const cam1_standby_groups[] = {
808ff5eb002SOtto Pflüger "gpio35",
809ff5eb002SOtto Pflüger };
810ff5eb002SOtto Pflüger
811ff5eb002SOtto Pflüger static const char * const pwr_nav_enabled_a_groups[] = {
812ff5eb002SOtto Pflüger "gpio35",
813ff5eb002SOtto Pflüger };
814ff5eb002SOtto Pflüger
815ff5eb002SOtto Pflüger static const char * const cam1_rst_groups[] = {
816ff5eb002SOtto Pflüger "gpio36",
817ff5eb002SOtto Pflüger };
818ff5eb002SOtto Pflüger
819ff5eb002SOtto Pflüger static const char * const pwr_crypto_enabled_a_groups[] = {
820ff5eb002SOtto Pflüger "gpio36",
821ff5eb002SOtto Pflüger };
822ff5eb002SOtto Pflüger
823ff5eb002SOtto Pflüger static const char * const forced_usb_groups[] = {
824ff5eb002SOtto Pflüger "gpio37",
825ff5eb002SOtto Pflüger };
826ff5eb002SOtto Pflüger
827ff5eb002SOtto Pflüger static const char * const qdss_cti_trig_out_b1_groups[] = {
828ff5eb002SOtto Pflüger "gpio37",
829ff5eb002SOtto Pflüger };
830ff5eb002SOtto Pflüger
831ff5eb002SOtto Pflüger static const char * const cam2_rst_groups[] = {
832ff5eb002SOtto Pflüger "gpio38",
833ff5eb002SOtto Pflüger };
834ff5eb002SOtto Pflüger
835ff5eb002SOtto Pflüger static const char * const webcam_standby_groups[] = {
836ff5eb002SOtto Pflüger "gpio39",
837ff5eb002SOtto Pflüger };
838ff5eb002SOtto Pflüger
839ff5eb002SOtto Pflüger static const char * const cci_async_groups[] = {
840ff5eb002SOtto Pflüger "gpio39",
841ff5eb002SOtto Pflüger };
842ff5eb002SOtto Pflüger
843ff5eb002SOtto Pflüger static const char * const webcam_rst_groups[] = {
844ff5eb002SOtto Pflüger "gpio40",
845ff5eb002SOtto Pflüger };
846ff5eb002SOtto Pflüger
847ff5eb002SOtto Pflüger static const char * const ov_ldo_groups[] = {
848ff5eb002SOtto Pflüger "gpio41",
849ff5eb002SOtto Pflüger };
850ff5eb002SOtto Pflüger
851ff5eb002SOtto Pflüger static const char * const sd_write_groups[] = {
852ff5eb002SOtto Pflüger "gpio41",
853ff5eb002SOtto Pflüger };
854ff5eb002SOtto Pflüger
855ff5eb002SOtto Pflüger static const char * const accel_int_groups[] = {
856ff5eb002SOtto Pflüger "gpio42",
857ff5eb002SOtto Pflüger };
858ff5eb002SOtto Pflüger
859ff5eb002SOtto Pflüger static const char * const gcc_gp1_clk_a_groups[] = {
860ff5eb002SOtto Pflüger "gpio42",
861ff5eb002SOtto Pflüger };
862ff5eb002SOtto Pflüger
863ff5eb002SOtto Pflüger static const char * const alsp_int_groups[] = {
864ff5eb002SOtto Pflüger "gpio43",
865ff5eb002SOtto Pflüger };
866ff5eb002SOtto Pflüger
867ff5eb002SOtto Pflüger static const char * const gcc_gp2_clk_a_groups[] = {
868ff5eb002SOtto Pflüger "gpio43",
869ff5eb002SOtto Pflüger };
870ff5eb002SOtto Pflüger
871ff5eb002SOtto Pflüger static const char * const mag_int_groups[] = {
872ff5eb002SOtto Pflüger "gpio44",
873ff5eb002SOtto Pflüger };
874ff5eb002SOtto Pflüger
875ff5eb002SOtto Pflüger static const char * const gcc_gp3_clk_a_groups[] = {
876ff5eb002SOtto Pflüger "gpio44",
877ff5eb002SOtto Pflüger };
878ff5eb002SOtto Pflüger
879ff5eb002SOtto Pflüger static const char * const blsp6_spi_groups[] = {
880ff5eb002SOtto Pflüger "gpio47",
881ff5eb002SOtto Pflüger };
882ff5eb002SOtto Pflüger
883ff5eb002SOtto Pflüger static const char * const fp_int_groups[] = {
884ff5eb002SOtto Pflüger "gpio48",
885ff5eb002SOtto Pflüger };
886ff5eb002SOtto Pflüger
887ff5eb002SOtto Pflüger static const char * const qdss_cti_trig_in_b1_groups[] = {
888ff5eb002SOtto Pflüger "gpio48",
889ff5eb002SOtto Pflüger };
890ff5eb002SOtto Pflüger
891ff5eb002SOtto Pflüger static const char * const uim_batt_groups[] = {
892ff5eb002SOtto Pflüger "gpio49",
893ff5eb002SOtto Pflüger };
894ff5eb002SOtto Pflüger
895ff5eb002SOtto Pflüger static const char * const cam2_standby_groups[] = {
896ff5eb002SOtto Pflüger "gpio50",
897ff5eb002SOtto Pflüger };
898ff5eb002SOtto Pflüger
899ff5eb002SOtto Pflüger static const char * const uim1_data_groups[] = {
900ff5eb002SOtto Pflüger "gpio51",
901ff5eb002SOtto Pflüger };
902ff5eb002SOtto Pflüger
903ff5eb002SOtto Pflüger static const char * const uim1_clk_groups[] = {
904ff5eb002SOtto Pflüger "gpio52",
905ff5eb002SOtto Pflüger };
906ff5eb002SOtto Pflüger
907ff5eb002SOtto Pflüger static const char * const uim1_reset_groups[] = {
908ff5eb002SOtto Pflüger "gpio53",
909ff5eb002SOtto Pflüger };
910ff5eb002SOtto Pflüger
911ff5eb002SOtto Pflüger static const char * const uim1_present_groups[] = {
912ff5eb002SOtto Pflüger "gpio54",
913ff5eb002SOtto Pflüger };
914ff5eb002SOtto Pflüger
915ff5eb002SOtto Pflüger static const char * const uim2_data_groups[] = {
916ff5eb002SOtto Pflüger "gpio55",
917ff5eb002SOtto Pflüger };
918ff5eb002SOtto Pflüger
919ff5eb002SOtto Pflüger static const char * const uim2_clk_groups[] = {
920ff5eb002SOtto Pflüger "gpio56",
921ff5eb002SOtto Pflüger };
922ff5eb002SOtto Pflüger
923ff5eb002SOtto Pflüger static const char * const uim2_reset_groups[] = {
924ff5eb002SOtto Pflüger "gpio57",
925ff5eb002SOtto Pflüger };
926ff5eb002SOtto Pflüger
927ff5eb002SOtto Pflüger static const char * const uim2_present_groups[] = {
928ff5eb002SOtto Pflüger "gpio58",
929ff5eb002SOtto Pflüger };
930ff5eb002SOtto Pflüger
931ff5eb002SOtto Pflüger static const char * const sensor_rst_groups[] = {
932ff5eb002SOtto Pflüger "gpio59",
933ff5eb002SOtto Pflüger };
934ff5eb002SOtto Pflüger
935ff5eb002SOtto Pflüger static const char * const mipi_dsi0_groups[] = {
936ff5eb002SOtto Pflüger "gpio60",
937ff5eb002SOtto Pflüger };
938ff5eb002SOtto Pflüger
939ff5eb002SOtto Pflüger static const char * const smb_int_groups[] = {
940ff5eb002SOtto Pflüger "gpio61",
941ff5eb002SOtto Pflüger };
942ff5eb002SOtto Pflüger
943ff5eb002SOtto Pflüger static const char * const cam0_ldo_groups[] = {
944ff5eb002SOtto Pflüger "gpio62",
945ff5eb002SOtto Pflüger };
946ff5eb002SOtto Pflüger
947ff5eb002SOtto Pflüger static const char * const us_euro_groups[] = {
948ff5eb002SOtto Pflüger "gpio63",
949ff5eb002SOtto Pflüger };
950ff5eb002SOtto Pflüger
951ff5eb002SOtto Pflüger static const char * const atest_char3_groups[] = {
952ff5eb002SOtto Pflüger "gpio63",
953ff5eb002SOtto Pflüger };
954ff5eb002SOtto Pflüger
955ff5eb002SOtto Pflüger static const char * const dbg_out_groups[] = {
956ff5eb002SOtto Pflüger "gpio63",
957ff5eb002SOtto Pflüger };
958ff5eb002SOtto Pflüger
959ff5eb002SOtto Pflüger static const char * const bimc_dte0_groups[] = {
960ff5eb002SOtto Pflüger "gpio63", "gpio65",
961ff5eb002SOtto Pflüger };
962ff5eb002SOtto Pflüger
963ff5eb002SOtto Pflüger static const char * const ts_resout_groups[] = {
964ff5eb002SOtto Pflüger "gpio64",
965ff5eb002SOtto Pflüger };
966ff5eb002SOtto Pflüger
967ff5eb002SOtto Pflüger static const char * const ts_sample_groups[] = {
968ff5eb002SOtto Pflüger "gpio65",
969ff5eb002SOtto Pflüger };
970ff5eb002SOtto Pflüger
971ff5eb002SOtto Pflüger static const char * const sec_mi2s_mclk_b_groups[] = {
972ff5eb002SOtto Pflüger "gpio66",
973ff5eb002SOtto Pflüger };
974ff5eb002SOtto Pflüger
975ff5eb002SOtto Pflüger static const char * const pri_mi2s_groups[] = {
976ff5eb002SOtto Pflüger "gpio66", "gpio85", "gpio86", "gpio88", "gpio94", "gpio95",
977ff5eb002SOtto Pflüger };
978ff5eb002SOtto Pflüger
979ff5eb002SOtto Pflüger static const char * const sdcard_det_groups[] = {
980ff5eb002SOtto Pflüger "gpio67",
981ff5eb002SOtto Pflüger };
982ff5eb002SOtto Pflüger
983ff5eb002SOtto Pflüger static const char * const atest_char1_groups[] = {
984ff5eb002SOtto Pflüger "gpio67",
985ff5eb002SOtto Pflüger };
986ff5eb002SOtto Pflüger
987ff5eb002SOtto Pflüger static const char * const ebi_cdc_groups[] = {
988ff5eb002SOtto Pflüger "gpio67", "gpio69", "gpio118", "gpio119", "gpio120", "gpio123",
989ff5eb002SOtto Pflüger };
990ff5eb002SOtto Pflüger
991ff5eb002SOtto Pflüger static const char * const audio_reset_groups[] = {
992ff5eb002SOtto Pflüger "gpio68",
993ff5eb002SOtto Pflüger };
994ff5eb002SOtto Pflüger
995ff5eb002SOtto Pflüger static const char * const atest_char0_groups[] = {
996ff5eb002SOtto Pflüger "gpio68",
997ff5eb002SOtto Pflüger };
998ff5eb002SOtto Pflüger
999ff5eb002SOtto Pflüger static const char * const audio_ref_groups[] = {
1000ff5eb002SOtto Pflüger "gpio69",
1001ff5eb002SOtto Pflüger };
1002ff5eb002SOtto Pflüger
1003ff5eb002SOtto Pflüger static const char * const cdc_pdm0_groups[] = {
1004ff5eb002SOtto Pflüger "gpio69", "gpio70", "gpio71", "gpio72", "gpio73", "gpio74",
1005ff5eb002SOtto Pflüger };
1006ff5eb002SOtto Pflüger
1007ff5eb002SOtto Pflüger static const char * const pri_mi2s_mclk_b_groups[] = {
1008ff5eb002SOtto Pflüger "gpio69",
1009ff5eb002SOtto Pflüger };
1010ff5eb002SOtto Pflüger
1011ff5eb002SOtto Pflüger static const char * const lpass_slimbus_groups[] = {
1012ff5eb002SOtto Pflüger "gpio70",
1013ff5eb002SOtto Pflüger };
1014ff5eb002SOtto Pflüger
1015ff5eb002SOtto Pflüger static const char * const lpass_slimbus0_groups[] = {
1016ff5eb002SOtto Pflüger "gpio71",
1017ff5eb002SOtto Pflüger };
1018ff5eb002SOtto Pflüger
1019ff5eb002SOtto Pflüger static const char * const lpass_slimbus1_groups[] = {
1020ff5eb002SOtto Pflüger "gpio72",
1021ff5eb002SOtto Pflüger };
1022ff5eb002SOtto Pflüger
1023ff5eb002SOtto Pflüger static const char * const codec_int1_groups[] = {
1024ff5eb002SOtto Pflüger "gpio73",
1025ff5eb002SOtto Pflüger };
1026ff5eb002SOtto Pflüger
1027ff5eb002SOtto Pflüger static const char * const codec_int2_groups[] = {
1028ff5eb002SOtto Pflüger "gpio74",
1029ff5eb002SOtto Pflüger };
1030ff5eb002SOtto Pflüger
1031ff5eb002SOtto Pflüger static const char * const wcss_bt_groups[] = {
1032ff5eb002SOtto Pflüger "gpio75", "gpio83", "gpio84",
1033ff5eb002SOtto Pflüger };
1034ff5eb002SOtto Pflüger
1035ff5eb002SOtto Pflüger static const char * const atest_char2_groups[] = {
1036ff5eb002SOtto Pflüger "gpio75",
1037ff5eb002SOtto Pflüger };
1038ff5eb002SOtto Pflüger
1039ff5eb002SOtto Pflüger static const char * const ebi_ch0_groups[] = {
1040ff5eb002SOtto Pflüger "gpio75",
1041ff5eb002SOtto Pflüger };
1042ff5eb002SOtto Pflüger
1043ff5eb002SOtto Pflüger static const char * const wcss_wlan2_groups[] = {
1044ff5eb002SOtto Pflüger "gpio76",
1045ff5eb002SOtto Pflüger };
1046ff5eb002SOtto Pflüger
1047ff5eb002SOtto Pflüger static const char * const wcss_wlan1_groups[] = {
1048ff5eb002SOtto Pflüger "gpio77",
1049ff5eb002SOtto Pflüger };
1050ff5eb002SOtto Pflüger
1051ff5eb002SOtto Pflüger static const char * const wcss_wlan0_groups[] = {
1052ff5eb002SOtto Pflüger "gpio78",
1053ff5eb002SOtto Pflüger };
1054ff5eb002SOtto Pflüger
1055ff5eb002SOtto Pflüger static const char * const wcss_wlan_groups[] = {
1056ff5eb002SOtto Pflüger "gpio79", "gpio80",
1057ff5eb002SOtto Pflüger };
1058ff5eb002SOtto Pflüger
1059ff5eb002SOtto Pflüger static const char * const wcss_fm_groups[] = {
1060ff5eb002SOtto Pflüger "gpio81", "gpio82",
1061ff5eb002SOtto Pflüger };
1062ff5eb002SOtto Pflüger
1063ff5eb002SOtto Pflüger static const char * const ext_lpass_groups[] = {
1064ff5eb002SOtto Pflüger "gpio81",
1065ff5eb002SOtto Pflüger };
1066ff5eb002SOtto Pflüger
1067ff5eb002SOtto Pflüger static const char * const cri_trng_groups[] = {
1068ff5eb002SOtto Pflüger "gpio82",
1069ff5eb002SOtto Pflüger };
1070ff5eb002SOtto Pflüger
1071ff5eb002SOtto Pflüger static const char * const cri_trng1_groups[] = {
1072ff5eb002SOtto Pflüger "gpio83",
1073ff5eb002SOtto Pflüger };
1074ff5eb002SOtto Pflüger
1075ff5eb002SOtto Pflüger static const char * const cri_trng0_groups[] = {
1076ff5eb002SOtto Pflüger "gpio84",
1077ff5eb002SOtto Pflüger };
1078ff5eb002SOtto Pflüger
1079ff5eb002SOtto Pflüger static const char * const blsp_spi7_groups[] = {
1080ff5eb002SOtto Pflüger "gpio85", "gpio86", "gpio87", "gpio88",
1081ff5eb002SOtto Pflüger };
1082ff5eb002SOtto Pflüger
1083ff5eb002SOtto Pflüger static const char * const blsp_uart7_groups[] = {
1084ff5eb002SOtto Pflüger "gpio85", "gpio86", "gpio87", "gpio88",
1085ff5eb002SOtto Pflüger };
1086ff5eb002SOtto Pflüger
1087ff5eb002SOtto Pflüger static const char * const pri_mi2s_ws_groups[] = {
1088ff5eb002SOtto Pflüger "gpio87",
1089ff5eb002SOtto Pflüger };
1090ff5eb002SOtto Pflüger
1091ff5eb002SOtto Pflüger static const char * const blsp_i2c7_groups[] = {
1092ff5eb002SOtto Pflüger "gpio87", "gpio88",
1093ff5eb002SOtto Pflüger };
1094ff5eb002SOtto Pflüger
1095ff5eb002SOtto Pflüger static const char * const gcc_tlmm_groups[] = {
1096ff5eb002SOtto Pflüger "gpio87",
1097ff5eb002SOtto Pflüger };
1098ff5eb002SOtto Pflüger
1099ff5eb002SOtto Pflüger static const char * const dmic0_clk_groups[] = {
1100ff5eb002SOtto Pflüger "gpio89",
1101ff5eb002SOtto Pflüger };
1102ff5eb002SOtto Pflüger
1103ff5eb002SOtto Pflüger static const char * const dmic0_data_groups[] = {
1104ff5eb002SOtto Pflüger "gpio90",
1105ff5eb002SOtto Pflüger };
1106ff5eb002SOtto Pflüger
1107ff5eb002SOtto Pflüger static const char * const key_volp_groups[] = {
1108ff5eb002SOtto Pflüger "gpio91",
1109ff5eb002SOtto Pflüger };
1110ff5eb002SOtto Pflüger
1111ff5eb002SOtto Pflüger static const char * const qdss_cti_trig_in_a1_groups[] = {
1112ff5eb002SOtto Pflüger "gpio91",
1113ff5eb002SOtto Pflüger };
1114ff5eb002SOtto Pflüger
1115ff5eb002SOtto Pflüger static const char * const us_emitter_groups[] = {
1116ff5eb002SOtto Pflüger "gpio92",
1117ff5eb002SOtto Pflüger };
1118ff5eb002SOtto Pflüger
1119ff5eb002SOtto Pflüger static const char * const wsa_irq_groups[] = {
1120ff5eb002SOtto Pflüger "gpio93",
1121ff5eb002SOtto Pflüger };
1122ff5eb002SOtto Pflüger
1123ff5eb002SOtto Pflüger static const char * const wsa_io_groups[] = {
1124ff5eb002SOtto Pflüger "gpio94", "gpio95",
1125ff5eb002SOtto Pflüger };
1126ff5eb002SOtto Pflüger
1127*3dd3ab69SDang Huynh static const char * const wsa_reset_groups[] = {
1128*3dd3ab69SDang Huynh "gpio96",
1129*3dd3ab69SDang Huynh };
1130*3dd3ab69SDang Huynh
1131ff5eb002SOtto Pflüger static const char * const blsp_spi8_groups[] = {
1132ff5eb002SOtto Pflüger "gpio96", "gpio97", "gpio98", "gpio99",
1133ff5eb002SOtto Pflüger };
1134ff5eb002SOtto Pflüger
1135ff5eb002SOtto Pflüger static const char * const blsp_uart8_groups[] = {
1136ff5eb002SOtto Pflüger "gpio96", "gpio97", "gpio98", "gpio99",
1137ff5eb002SOtto Pflüger };
1138ff5eb002SOtto Pflüger
1139ff5eb002SOtto Pflüger static const char * const blsp_i2c8_groups[] = {
1140ff5eb002SOtto Pflüger "gpio98", "gpio99",
1141ff5eb002SOtto Pflüger };
1142ff5eb002SOtto Pflüger
1143ff5eb002SOtto Pflüger static const char * const gcc_plltest_groups[] = {
1144ff5eb002SOtto Pflüger "gpio98", "gpio99",
1145ff5eb002SOtto Pflüger };
1146ff5eb002SOtto Pflüger
1147ff5eb002SOtto Pflüger static const char * const nav_pps_in_a_groups[] = {
1148ff5eb002SOtto Pflüger "gpio115",
1149ff5eb002SOtto Pflüger };
1150ff5eb002SOtto Pflüger
1151ff5eb002SOtto Pflüger static const char * const pa_indicator_groups[] = {
1152ff5eb002SOtto Pflüger "gpio116",
1153ff5eb002SOtto Pflüger };
1154ff5eb002SOtto Pflüger
1155ff5eb002SOtto Pflüger static const char * const modem_tsync_groups[] = {
1156ff5eb002SOtto Pflüger "gpio117",
1157ff5eb002SOtto Pflüger };
1158ff5eb002SOtto Pflüger
1159ff5eb002SOtto Pflüger static const char * const nav_tsync_groups[] = {
1160ff5eb002SOtto Pflüger "gpio117",
1161ff5eb002SOtto Pflüger };
1162ff5eb002SOtto Pflüger
1163ff5eb002SOtto Pflüger static const char * const nav_pps_in_b_groups[] = {
1164ff5eb002SOtto Pflüger "gpio117",
1165ff5eb002SOtto Pflüger };
1166ff5eb002SOtto Pflüger
1167ff5eb002SOtto Pflüger static const char * const nav_pps_groups[] = {
1168ff5eb002SOtto Pflüger "gpio117",
1169ff5eb002SOtto Pflüger };
1170ff5eb002SOtto Pflüger
1171ff5eb002SOtto Pflüger static const char * const gsm0_tx_groups[] = {
1172ff5eb002SOtto Pflüger "gpio119",
1173ff5eb002SOtto Pflüger };
1174ff5eb002SOtto Pflüger
1175ff5eb002SOtto Pflüger static const char * const atest_char_groups[] = {
1176ff5eb002SOtto Pflüger "gpio120",
1177ff5eb002SOtto Pflüger };
1178ff5eb002SOtto Pflüger
1179ff5eb002SOtto Pflüger static const char * const atest_tsens_groups[] = {
1180ff5eb002SOtto Pflüger "gpio120",
1181ff5eb002SOtto Pflüger };
1182ff5eb002SOtto Pflüger
1183ff5eb002SOtto Pflüger static const char * const bimc_dte1_groups[] = {
1184ff5eb002SOtto Pflüger "gpio121", "gpio122",
1185ff5eb002SOtto Pflüger };
1186ff5eb002SOtto Pflüger
1187ff5eb002SOtto Pflüger static const char * const ssbi_wtr1_groups[] = {
1188ff5eb002SOtto Pflüger "gpio122", "gpio123",
1189ff5eb002SOtto Pflüger };
1190ff5eb002SOtto Pflüger
1191ff5eb002SOtto Pflüger static const char * const fp_gpio_groups[] = {
1192ff5eb002SOtto Pflüger "gpio124",
1193ff5eb002SOtto Pflüger };
1194ff5eb002SOtto Pflüger
1195ff5eb002SOtto Pflüger static const char * const coex_uart_groups[] = {
1196ff5eb002SOtto Pflüger "gpio124", "gpio127",
1197ff5eb002SOtto Pflüger };
1198ff5eb002SOtto Pflüger
1199ff5eb002SOtto Pflüger static const char * const key_snapshot_groups[] = {
1200ff5eb002SOtto Pflüger "gpio127",
1201ff5eb002SOtto Pflüger };
1202ff5eb002SOtto Pflüger
1203ff5eb002SOtto Pflüger static const char * const key_focus_groups[] = {
1204ff5eb002SOtto Pflüger "gpio128",
1205ff5eb002SOtto Pflüger };
1206ff5eb002SOtto Pflüger
1207ff5eb002SOtto Pflüger static const char * const nfc_pwr_groups[] = {
1208ff5eb002SOtto Pflüger "gpio129",
1209ff5eb002SOtto Pflüger };
1210ff5eb002SOtto Pflüger
1211ff5eb002SOtto Pflüger static const char * const blsp8_spi_groups[] = {
1212ff5eb002SOtto Pflüger "gpio130",
1213ff5eb002SOtto Pflüger };
1214ff5eb002SOtto Pflüger
1215ff5eb002SOtto Pflüger static const char * const qdss_cti_trig_out_a0_groups[] = {
1216ff5eb002SOtto Pflüger "gpio132",
1217ff5eb002SOtto Pflüger };
1218ff5eb002SOtto Pflüger
1219ff5eb002SOtto Pflüger static const char * const qdss_cti_trig_out_a1_groups[] = {
1220ff5eb002SOtto Pflüger "gpio133",
1221ff5eb002SOtto Pflüger };
1222ff5eb002SOtto Pflüger
1223ff5eb002SOtto Pflüger static const struct pinfunction msm8917_functions[] = {
1224ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(accel_int),
1225ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(adsp_ext),
1226ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(alsp_int),
1227ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(atest_bbrx0),
1228ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(atest_bbrx1),
1229ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(atest_char),
1230ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(atest_char0),
1231ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(atest_char1),
1232ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(atest_char2),
1233ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(atest_char3),
1234ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(atest_combodac_to_gpio_native),
1235ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(atest_gpsadc_dtest0_native),
1236ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(atest_gpsadc_dtest1_native),
1237ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(atest_tsens),
1238ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(atest_wlan0),
1239ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(atest_wlan1),
1240ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(audio_ref),
1241ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(audio_reset),
1242ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(bimc_dte0),
1243ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(bimc_dte1),
1244ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(blsp6_spi),
1245ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(blsp8_spi),
1246ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(blsp_i2c1),
1247ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(blsp_i2c2),
1248ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(blsp_i2c3),
1249ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(blsp_i2c4),
1250ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(blsp_i2c5),
1251ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(blsp_i2c6),
1252ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(blsp_i2c7),
1253ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(blsp_i2c8),
1254ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(blsp_spi1),
1255ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(blsp_spi2),
1256ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(blsp_spi3),
1257ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(blsp_spi4),
1258ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(blsp_spi5),
1259ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(blsp_spi6),
1260ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(blsp_spi7),
1261ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(blsp_spi8),
1262ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(blsp_uart1),
1263ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(blsp_uart2),
1264ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(blsp_uart3),
1265ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(blsp_uart4),
1266ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(blsp_uart5),
1267ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(blsp_uart6),
1268ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(blsp_uart7),
1269ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(blsp_uart8),
1270ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(cam0_ldo),
1271ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(cam1_rst),
1272ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(cam1_standby),
1273ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(cam2_rst),
1274ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(cam2_standby),
1275ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(cam_mclk),
1276ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(cci_async),
1277ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(cci_i2c),
1278ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(cci_timer0),
1279ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(cci_timer1),
1280ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(cdc_pdm0),
1281ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(codec_int1),
1282ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(codec_int2),
1283ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(codec_mad),
1284ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(coex_uart),
1285ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(cri_trng),
1286ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(cri_trng0),
1287ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(cri_trng1),
1288ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(dbg_out),
1289ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(dmic0_clk),
1290ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(dmic0_data),
1291ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(ebi_cdc),
1292ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(ebi_ch0),
1293ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(ext_lpass),
1294ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(forced_usb),
1295ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(fp_gpio),
1296ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(fp_int),
1297ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(gcc_gp1_clk_a),
1298ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(gcc_gp1_clk_b),
1299ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(gcc_gp2_clk_a),
1300ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(gcc_gp2_clk_b),
1301ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(gcc_gp3_clk_a),
1302ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(gcc_gp3_clk_b),
1303ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(gcc_plltest),
1304ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(gcc_tlmm),
1305ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(gpio),
1306ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(gsm0_tx),
1307ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(key_focus),
1308ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(key_snapshot),
1309ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(key_volp),
1310ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(ldo_en),
1311ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(ldo_update),
1312ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(lpass_slimbus),
1313ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(lpass_slimbus0),
1314ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(lpass_slimbus1),
1315ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(m_voc),
1316ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(mag_int),
1317ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(mdp_vsync),
1318ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(mipi_dsi0),
1319ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(modem_tsync),
1320ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(nav_pps),
1321ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(nav_pps_in_a),
1322ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(nav_pps_in_b),
1323ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(nav_tsync),
1324ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(nfc_pwr),
1325ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(ov_ldo),
1326ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(pa_indicator),
1327ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(pbs0),
1328ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(pbs1),
1329ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(pbs2),
1330ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(pri_mi2s),
1331ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(pri_mi2s_mclk_a),
1332ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(pri_mi2s_mclk_b),
1333ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(pri_mi2s_ws),
1334ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(prng_rosc),
1335ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(pwr_crypto_enabled_a),
1336ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(pwr_crypto_enabled_b),
1337ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(pwr_modem_enabled_a),
1338ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(pwr_modem_enabled_b),
1339ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(pwr_nav_enabled_a),
1340ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(pwr_nav_enabled_b),
1341ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(qdss_cti_trig_in_a0),
1342ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(qdss_cti_trig_in_a1),
1343ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(qdss_cti_trig_in_b0),
1344ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(qdss_cti_trig_in_b1),
1345ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(qdss_cti_trig_out_a0),
1346ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(qdss_cti_trig_out_a1),
1347ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(qdss_cti_trig_out_b0),
1348ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(qdss_cti_trig_out_b1),
1349ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(qdss_traceclk_a),
1350ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(qdss_traceclk_b),
1351ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(qdss_tracectl_a),
1352ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(qdss_tracectl_b),
1353ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(qdss_tracedata_a),
1354ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(qdss_tracedata_b),
1355ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(sd_write),
1356ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(sdcard_det),
1357ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(sec_mi2s),
1358ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(sec_mi2s_mclk_a),
1359ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(sec_mi2s_mclk_b),
1360ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(sensor_rst),
1361ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(smb_int),
1362ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(ssbi_wtr1),
1363ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(ts_resout),
1364ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(ts_sample),
1365ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(uim1_clk),
1366ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(uim1_data),
1367ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(uim1_present),
1368ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(uim1_reset),
1369ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(uim2_clk),
1370ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(uim2_data),
1371ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(uim2_present),
1372ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(uim2_reset),
1373ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(uim_batt),
1374ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(us_emitter),
1375ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(us_euro),
1376ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(wcss_bt),
1377ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(wcss_fm),
1378ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(wcss_wlan),
1379ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(wcss_wlan0),
1380ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(wcss_wlan1),
1381ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(wcss_wlan2),
1382ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(webcam_rst),
1383ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(webcam_standby),
1384ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(wsa_io),
1385ff5eb002SOtto Pflüger MSM_PIN_FUNCTION(wsa_irq),
1386*3dd3ab69SDang Huynh MSM_PIN_FUNCTION(wsa_reset),
1387ff5eb002SOtto Pflüger };
1388ff5eb002SOtto Pflüger
1389ff5eb002SOtto Pflüger static const struct msm_pingroup msm8917_groups[] = {
1390ff5eb002SOtto Pflüger PINGROUP(0, blsp_spi1, blsp_uart1, qdss_tracedata_b, _, _, _, _,
1391ff5eb002SOtto Pflüger _, _),
1392ff5eb002SOtto Pflüger PINGROUP(1, blsp_spi1, blsp_uart1, adsp_ext, _, _, _, _, _,
1393ff5eb002SOtto Pflüger qdss_tracedata_b),
1394ff5eb002SOtto Pflüger PINGROUP(2, blsp_spi1, blsp_uart1, blsp_i2c1, prng_rosc, _, _, _,
1395ff5eb002SOtto Pflüger _, _),
1396ff5eb002SOtto Pflüger PINGROUP(3, blsp_spi1, blsp_uart1, blsp_i2c1, _, _, _, _, _, _),
1397ff5eb002SOtto Pflüger PINGROUP(4, blsp_spi2, blsp_uart2, ldo_update, _,
1398ff5eb002SOtto Pflüger atest_combodac_to_gpio_native, _, _, _, _),
1399ff5eb002SOtto Pflüger PINGROUP(5, blsp_spi2, blsp_uart2, ldo_en, _, _, _, _, _, _),
1400ff5eb002SOtto Pflüger PINGROUP(6, blsp_spi2, blsp_uart2, blsp_i2c2, gcc_gp1_clk_b,
1401ff5eb002SOtto Pflüger qdss_tracedata_b, _, _, _, _),
1402ff5eb002SOtto Pflüger PINGROUP(7, blsp_spi2, blsp_uart2, blsp_i2c2, pbs2, _,
1403ff5eb002SOtto Pflüger qdss_tracedata_b, _, atest_gpsadc_dtest0_native, _),
1404ff5eb002SOtto Pflüger PINGROUP(8, blsp_spi3, blsp_uart3, pbs0, _, _, _, _, _, _),
1405ff5eb002SOtto Pflüger PINGROUP(9, blsp_spi3, blsp_uart3, pbs1, pwr_modem_enabled_b, _, _,
1406ff5eb002SOtto Pflüger _, _, _),
1407ff5eb002SOtto Pflüger PINGROUP(10, blsp_spi3, blsp_uart3, blsp_i2c3, gcc_gp2_clk_b, _, _,
1408ff5eb002SOtto Pflüger _, _, _),
1409ff5eb002SOtto Pflüger PINGROUP(11, blsp_spi3, blsp_uart3, blsp_i2c3, gcc_gp3_clk_b, _, _,
1410ff5eb002SOtto Pflüger _, _, _),
1411ff5eb002SOtto Pflüger PINGROUP(12, blsp_spi4, blsp_uart4, sec_mi2s, pwr_nav_enabled_b, _,
1412ff5eb002SOtto Pflüger _, _, _, _),
1413ff5eb002SOtto Pflüger PINGROUP(13, blsp_spi4, blsp_uart4, sec_mi2s, pwr_crypto_enabled_b, _,
1414ff5eb002SOtto Pflüger _, _, _, _),
1415ff5eb002SOtto Pflüger PINGROUP(14, blsp_spi4, blsp_uart4, blsp_i2c4, _, _, _, _, _, _),
1416ff5eb002SOtto Pflüger PINGROUP(15, blsp_spi4, blsp_uart4, blsp_i2c4, _, _, _, _, _, _),
1417ff5eb002SOtto Pflüger PINGROUP(16, blsp_spi5, blsp_uart5, _, _, _, _, qdss_traceclk_a,
1418ff5eb002SOtto Pflüger _, atest_bbrx1),
1419ff5eb002SOtto Pflüger PINGROUP(17, blsp_spi5, blsp_uart5, m_voc, qdss_cti_trig_in_a0, _,
1420ff5eb002SOtto Pflüger atest_bbrx0, _, _, _),
1421ff5eb002SOtto Pflüger PINGROUP(18, blsp_spi5, blsp_uart5, blsp_i2c5, qdss_tracectl_a, _,
1422ff5eb002SOtto Pflüger atest_gpsadc_dtest1_native, _, _, _),
1423ff5eb002SOtto Pflüger PINGROUP(19, blsp_spi5, blsp_uart5, blsp_i2c5, qdss_tracedata_a, _,
1424ff5eb002SOtto Pflüger _, _, _, _),
1425ff5eb002SOtto Pflüger PINGROUP(20, blsp_spi6, blsp_uart6, _, _, _, _, _, _,
1426ff5eb002SOtto Pflüger qdss_tracectl_b),
1427ff5eb002SOtto Pflüger PINGROUP(21, blsp_spi6, blsp_uart6, m_voc, _, _, _, _, _,
1428ff5eb002SOtto Pflüger qdss_cti_trig_in_b0),
1429ff5eb002SOtto Pflüger PINGROUP(22, blsp_spi6, blsp_uart6, blsp_i2c6, qdss_traceclk_b, _,
1430ff5eb002SOtto Pflüger atest_wlan0, _, _, _),
1431ff5eb002SOtto Pflüger PINGROUP(23, blsp_spi6, blsp_uart6, blsp_i2c6, qdss_tracedata_b, _,
1432ff5eb002SOtto Pflüger atest_wlan1, _, _, _),
1433ff5eb002SOtto Pflüger PINGROUP(24, mdp_vsync, _, _, _, _, _, _, _, _),
1434ff5eb002SOtto Pflüger PINGROUP(25, mdp_vsync, pri_mi2s_mclk_a, sec_mi2s_mclk_a, _, _, _,
1435ff5eb002SOtto Pflüger _, _, _),
1436ff5eb002SOtto Pflüger PINGROUP(26, cam_mclk, _, _, _, _, _, qdss_tracedata_a, _, _),
1437ff5eb002SOtto Pflüger PINGROUP(27, cam_mclk, _, _, _, _, _, _, _, qdss_tracedata_a),
1438ff5eb002SOtto Pflüger PINGROUP(28, cam_mclk, _, _, _, _, _, qdss_tracedata_a, _,
1439ff5eb002SOtto Pflüger atest_combodac_to_gpio_native),
1440ff5eb002SOtto Pflüger PINGROUP(29, cci_i2c, pwr_modem_enabled_a, _, _, _, _, _,
1441ff5eb002SOtto Pflüger qdss_tracedata_a, _),
1442ff5eb002SOtto Pflüger PINGROUP(30, cci_i2c, _, _, _, _, _, _, _, qdss_tracedata_a),
1443ff5eb002SOtto Pflüger PINGROUP(31, cci_i2c, _, _, _, _, _, _, _, qdss_tracedata_a),
1444ff5eb002SOtto Pflüger PINGROUP(32, cci_i2c, _, _, _, _, _, _, _, qdss_tracedata_a),
1445ff5eb002SOtto Pflüger PINGROUP(33, cci_timer0, _, _, _, _, _, _, _, qdss_tracedata_a),
1446ff5eb002SOtto Pflüger PINGROUP(34, cci_timer1, _, _, _, _, _, _, _, qdss_tracedata_a),
1447ff5eb002SOtto Pflüger PINGROUP(35, pwr_nav_enabled_a, _, _, _, _, _, _, _,
1448ff5eb002SOtto Pflüger qdss_tracedata_a),
1449ff5eb002SOtto Pflüger PINGROUP(36, pwr_crypto_enabled_a, _, _, _, _, _, _, _,
1450ff5eb002SOtto Pflüger qdss_tracedata_a),
1451ff5eb002SOtto Pflüger PINGROUP(37, _, _, _, _, _, qdss_cti_trig_out_b1, _, _, _),
1452ff5eb002SOtto Pflüger PINGROUP(38, _, qdss_tracedata_a, _, _, _, _, _, _, _),
1453ff5eb002SOtto Pflüger PINGROUP(39, cci_async, _, _, _, _, _, qdss_tracedata_a, _,
1454ff5eb002SOtto Pflüger atest_combodac_to_gpio_native),
1455ff5eb002SOtto Pflüger PINGROUP(40, _, _, _, _, qdss_tracedata_a, _,
1456ff5eb002SOtto Pflüger atest_combodac_to_gpio_native, _, _),
1457ff5eb002SOtto Pflüger PINGROUP(41, sd_write, _, _, _, _, _, _, _,
1458ff5eb002SOtto Pflüger atest_combodac_to_gpio_native),
1459ff5eb002SOtto Pflüger PINGROUP(42, gcc_gp1_clk_a, qdss_tracedata_b, _,
1460ff5eb002SOtto Pflüger atest_combodac_to_gpio_native, _, _, _, _, _),
1461ff5eb002SOtto Pflüger PINGROUP(43, gcc_gp2_clk_a, qdss_tracedata_b, _,
1462ff5eb002SOtto Pflüger atest_combodac_to_gpio_native, _, _, _, _, _),
1463ff5eb002SOtto Pflüger PINGROUP(44, gcc_gp3_clk_a, qdss_tracedata_b, _,
1464ff5eb002SOtto Pflüger atest_combodac_to_gpio_native, _, _, _, _, _),
1465ff5eb002SOtto Pflüger PINGROUP(45, _, _, atest_combodac_to_gpio_native, _, _, _, _, _,
1466ff5eb002SOtto Pflüger _),
1467ff5eb002SOtto Pflüger PINGROUP(46, _, _, atest_combodac_to_gpio_native, _, _, _, _, _,
1468ff5eb002SOtto Pflüger _),
1469ff5eb002SOtto Pflüger PINGROUP(47, blsp6_spi, _, qdss_tracedata_b, _,
1470ff5eb002SOtto Pflüger atest_combodac_to_gpio_native, _, _, _, _),
1471ff5eb002SOtto Pflüger PINGROUP(48, _, qdss_cti_trig_in_b1, _,
1472ff5eb002SOtto Pflüger atest_combodac_to_gpio_native, _, _, _, _, _),
1473ff5eb002SOtto Pflüger PINGROUP(49, uim_batt, _, _, _, _, _, _, _, _),
1474ff5eb002SOtto Pflüger PINGROUP(50, qdss_tracedata_a, _, _, _, _, _, _, _, _),
1475ff5eb002SOtto Pflüger PINGROUP(51, uim1_data, _, _, _, _, _, _, _, _),
1476ff5eb002SOtto Pflüger PINGROUP(52, uim1_clk, _, _, _, _, _, _, _, _),
1477ff5eb002SOtto Pflüger PINGROUP(53, uim1_reset, _, _, _, _, _, _, _, _),
1478ff5eb002SOtto Pflüger PINGROUP(54, uim1_present, _, _, _, _, _, _, _, _),
1479ff5eb002SOtto Pflüger PINGROUP(55, uim2_data, _, _, _, _, _, _, _, _),
1480ff5eb002SOtto Pflüger PINGROUP(56, uim2_clk, _, _, _, _, _, _, _, _),
1481ff5eb002SOtto Pflüger PINGROUP(57, uim2_reset, _, _, _, _, _, _, _, _),
1482ff5eb002SOtto Pflüger PINGROUP(58, uim2_present, _, _, _, _, _, _, _, _),
1483ff5eb002SOtto Pflüger PINGROUP(59, _, _, _, _, _, _, _, _, _),
1484ff5eb002SOtto Pflüger PINGROUP(60, _, _, _, _, _, _, _, _, _),
1485ff5eb002SOtto Pflüger PINGROUP(61, _, _, _, _, _, _, _, _, _),
1486ff5eb002SOtto Pflüger PINGROUP(62, _, _, _, _, _, _, _, _, _),
1487ff5eb002SOtto Pflüger PINGROUP(63, atest_char3, dbg_out, bimc_dte0, _, _, _, _, _, _),
1488ff5eb002SOtto Pflüger PINGROUP(64, _, _, _, _, _, _, _, _, _),
1489ff5eb002SOtto Pflüger PINGROUP(65, bimc_dte0, _, _, _, _, _, _, _, _),
1490ff5eb002SOtto Pflüger PINGROUP(66, sec_mi2s_mclk_b, pri_mi2s, _, qdss_tracedata_b, _, _,
1491ff5eb002SOtto Pflüger _, _, _),
1492ff5eb002SOtto Pflüger PINGROUP(67, atest_char1, ebi_cdc, _, atest_combodac_to_gpio_native,
1493ff5eb002SOtto Pflüger _, _, _, _, _),
1494ff5eb002SOtto Pflüger PINGROUP(68, atest_char0, _, _, _, _, _, _, _, _),
1495ff5eb002SOtto Pflüger PINGROUP(69, audio_ref, cdc_pdm0, pri_mi2s_mclk_b, ebi_cdc, _, _, _,
1496ff5eb002SOtto Pflüger _, _),
1497ff5eb002SOtto Pflüger PINGROUP(70, lpass_slimbus, cdc_pdm0, _, _, _, _, _, _, _),
1498ff5eb002SOtto Pflüger PINGROUP(71, lpass_slimbus0, cdc_pdm0, _, _, _, _, _, _, _),
1499ff5eb002SOtto Pflüger PINGROUP(72, lpass_slimbus1, cdc_pdm0, _, _, _, _, _, _, _),
1500ff5eb002SOtto Pflüger PINGROUP(73, cdc_pdm0, _, _, _, _, _, _, _, _),
1501ff5eb002SOtto Pflüger PINGROUP(74, cdc_pdm0, _, _, _, _, _, _, _, _),
1502ff5eb002SOtto Pflüger PINGROUP(75, wcss_bt, atest_char2, _, ebi_ch0, _, _, _, _, _),
1503ff5eb002SOtto Pflüger PINGROUP(76, wcss_wlan2, _, _, _, _, _, _, _, _),
1504ff5eb002SOtto Pflüger PINGROUP(77, wcss_wlan1, _, _, _, _, _, _, _, _),
1505ff5eb002SOtto Pflüger PINGROUP(78, wcss_wlan0, _, _, _, _, _, _, _, _),
1506ff5eb002SOtto Pflüger PINGROUP(79, wcss_wlan, _, _, _, _, _, _, _, _),
1507ff5eb002SOtto Pflüger PINGROUP(80, wcss_wlan, _, _, _, _, _, _, _, _),
1508ff5eb002SOtto Pflüger PINGROUP(81, wcss_fm, ext_lpass, _, _, _, _, _, _, _),
1509ff5eb002SOtto Pflüger PINGROUP(82, wcss_fm, cri_trng, _, _, _, _, _, _, _),
1510ff5eb002SOtto Pflüger PINGROUP(83, wcss_bt, cri_trng1, _, _, _, _, _, _, _),
1511ff5eb002SOtto Pflüger PINGROUP(84, wcss_bt, cri_trng0, _, _, _, _, _, _, _),
1512ff5eb002SOtto Pflüger PINGROUP(85, pri_mi2s, blsp_spi7, blsp_uart7, _, _, _, _, _, _),
1513ff5eb002SOtto Pflüger PINGROUP(86, pri_mi2s, blsp_spi7, blsp_uart7, qdss_tracedata_b, _, _,
1514ff5eb002SOtto Pflüger _, _, _),
1515ff5eb002SOtto Pflüger PINGROUP(87, pri_mi2s_ws, blsp_spi7, blsp_uart7, blsp_i2c7,
1516ff5eb002SOtto Pflüger qdss_tracedata_b, gcc_tlmm, _, _, _),
1517ff5eb002SOtto Pflüger PINGROUP(88, pri_mi2s, blsp_spi7, blsp_uart7, blsp_i2c7, _, _, _,
1518ff5eb002SOtto Pflüger _, _),
1519ff5eb002SOtto Pflüger PINGROUP(89, dmic0_clk, _, _, _, _, _, _, _, _),
1520ff5eb002SOtto Pflüger PINGROUP(90, dmic0_data, _, _, _, _, _, _, _, _),
1521ff5eb002SOtto Pflüger PINGROUP(91, _, _, _, _, _, qdss_cti_trig_in_a1, _, _, _),
1522ff5eb002SOtto Pflüger PINGROUP(92, _, _, _, _, _, qdss_tracedata_b, _, _, _),
1523ff5eb002SOtto Pflüger PINGROUP(93, _, _, _, _, _, _, _, _, _),
1524ff5eb002SOtto Pflüger PINGROUP(94, wsa_io, sec_mi2s, pri_mi2s, _, _, _, _, _, _),
1525ff5eb002SOtto Pflüger PINGROUP(95, wsa_io, sec_mi2s, pri_mi2s, _, _, _, _, _, _),
1526ff5eb002SOtto Pflüger PINGROUP(96, blsp_spi8, blsp_uart8, _, _, _, _, _, _, _),
1527ff5eb002SOtto Pflüger PINGROUP(97, blsp_spi8, blsp_uart8, _, _, _, _, _, _, _),
1528ff5eb002SOtto Pflüger PINGROUP(98, blsp_spi8, blsp_uart8, blsp_i2c8, gcc_plltest, _, _, _,
1529ff5eb002SOtto Pflüger _, _),
1530ff5eb002SOtto Pflüger PINGROUP(99, blsp_spi8, blsp_uart8, blsp_i2c8, gcc_plltest, _, _, _,
1531ff5eb002SOtto Pflüger _, _),
1532ff5eb002SOtto Pflüger PINGROUP(100, _, _, _, _, _, _, _, _, _),
1533ff5eb002SOtto Pflüger PINGROUP(101, _, _, _, _, _, _, _, _, _),
1534ff5eb002SOtto Pflüger PINGROUP(102, _, _, _, _, _, _, _, _, _),
1535ff5eb002SOtto Pflüger PINGROUP(103, _, _, _, _, _, _, _, _, _),
1536ff5eb002SOtto Pflüger PINGROUP(104, _, _, _, _, _, _, _, _, _),
1537ff5eb002SOtto Pflüger PINGROUP(105, _, _, _, _, _, _, _, _, _),
1538ff5eb002SOtto Pflüger PINGROUP(106, _, _, _, _, _, _, _, _, _),
1539ff5eb002SOtto Pflüger PINGROUP(107, _, _, _, _, _, _, _, _, _),
1540ff5eb002SOtto Pflüger PINGROUP(108, _, _, _, _, _, _, _, _, _),
1541ff5eb002SOtto Pflüger PINGROUP(109, _, _, _, _, _, _, _, _, _),
1542ff5eb002SOtto Pflüger PINGROUP(110, _, _, _, _, _, _, _, _, _),
1543ff5eb002SOtto Pflüger PINGROUP(111, _, _, _, _, _, _, _, _, _),
1544ff5eb002SOtto Pflüger PINGROUP(112, _, _, _, _, _, _, _, _, _),
1545ff5eb002SOtto Pflüger PINGROUP(113, _, _, _, _, _, _, _, _, _),
1546ff5eb002SOtto Pflüger PINGROUP(114, _, _, _, _, _, _, _, _, _),
1547ff5eb002SOtto Pflüger PINGROUP(115, _, _, nav_pps_in_a, _, atest_combodac_to_gpio_native,
1548ff5eb002SOtto Pflüger _, _, _, _),
1549ff5eb002SOtto Pflüger PINGROUP(116, _, pa_indicator, _, _, _, _, _, _, _),
1550ff5eb002SOtto Pflüger PINGROUP(117, _, modem_tsync, nav_tsync, nav_pps_in_b, nav_pps, _,
1551ff5eb002SOtto Pflüger _, _, _),
1552ff5eb002SOtto Pflüger PINGROUP(118, _, ebi_cdc, _, _, _, _, _, _, _),
1553ff5eb002SOtto Pflüger PINGROUP(119, gsm0_tx, _, ebi_cdc, _, _, _, _, _, _),
1554ff5eb002SOtto Pflüger PINGROUP(120, _, atest_char, ebi_cdc, _, atest_tsens, _, _, _, _),
1555ff5eb002SOtto Pflüger PINGROUP(121, _, _, _, bimc_dte1, _, _, _, _, _),
1556ff5eb002SOtto Pflüger PINGROUP(122, _, ssbi_wtr1, _, _, bimc_dte1, _, _, _, _),
1557ff5eb002SOtto Pflüger PINGROUP(123, _, ssbi_wtr1, ebi_cdc, _, _, _, _, _, _),
1558ff5eb002SOtto Pflüger PINGROUP(124, coex_uart, _, _, _, _, _, _, _, _),
1559ff5eb002SOtto Pflüger PINGROUP(125, _, _, _, _, _, _, _, _, _),
1560ff5eb002SOtto Pflüger PINGROUP(126, _, _, _, _, _, _, _, _, _),
1561ff5eb002SOtto Pflüger PINGROUP(127, coex_uart, _, _, _, _, _, _, _, _),
1562ff5eb002SOtto Pflüger PINGROUP(128, _, _, _, _, _, _, _, _, _),
1563ff5eb002SOtto Pflüger PINGROUP(129, _, _, _, _, _, _, _, _, _),
1564ff5eb002SOtto Pflüger PINGROUP(130, blsp8_spi, _, _, _, _, _, _, _, _),
1565ff5eb002SOtto Pflüger PINGROUP(131, _, _, _, _, _, _, _, _, _),
1566ff5eb002SOtto Pflüger PINGROUP(132, qdss_cti_trig_out_a0, _, _, _, _, _, _, _, _),
1567ff5eb002SOtto Pflüger PINGROUP(133, qdss_cti_trig_out_a1, _, _, _, _, _, _, _, _),
1568ff5eb002SOtto Pflüger SDC_PINGROUP(sdc1_clk, 0x10a000, 13, 6),
1569ff5eb002SOtto Pflüger SDC_PINGROUP(sdc1_cmd, 0x10a000, 11, 3),
1570ff5eb002SOtto Pflüger SDC_PINGROUP(sdc1_data, 0x10a000, 9, 0),
1571ff5eb002SOtto Pflüger SDC_PINGROUP(sdc1_rclk, 0x10a000, 15, 0),
1572ff5eb002SOtto Pflüger SDC_PINGROUP(sdc2_clk, 0x109000, 14, 6),
1573ff5eb002SOtto Pflüger SDC_PINGROUP(sdc2_cmd, 0x109000, 11, 3),
1574ff5eb002SOtto Pflüger SDC_PINGROUP(sdc2_data, 0x109000, 9, 0),
1575ff5eb002SOtto Pflüger SDC_PINGROUP(qdsd_clk, 0x19c000, 3, 0),
1576ff5eb002SOtto Pflüger SDC_PINGROUP(qdsd_cmd, 0x19c000, 8, 5),
1577ff5eb002SOtto Pflüger SDC_PINGROUP(qdsd_data0, 0x19c000, 13, 10),
1578ff5eb002SOtto Pflüger SDC_PINGROUP(qdsd_data1, 0x19c000, 18, 15),
1579ff5eb002SOtto Pflüger SDC_PINGROUP(qdsd_data2, 0x19c000, 23, 20),
1580ff5eb002SOtto Pflüger SDC_PINGROUP(qdsd_data3, 0x19c000, 28, 25),
1581ff5eb002SOtto Pflüger };
1582ff5eb002SOtto Pflüger
1583ff5eb002SOtto Pflüger static const struct msm_pinctrl_soc_data msm8917_pinctrl = {
1584ff5eb002SOtto Pflüger .pins = msm8917_pins,
1585ff5eb002SOtto Pflüger .npins = ARRAY_SIZE(msm8917_pins),
1586ff5eb002SOtto Pflüger .functions = msm8917_functions,
1587ff5eb002SOtto Pflüger .nfunctions = ARRAY_SIZE(msm8917_functions),
1588ff5eb002SOtto Pflüger .groups = msm8917_groups,
1589ff5eb002SOtto Pflüger .ngroups = ARRAY_SIZE(msm8917_groups),
1590ff5eb002SOtto Pflüger .ngpios = 134,
1591ff5eb002SOtto Pflüger };
1592ff5eb002SOtto Pflüger
msm8917_pinctrl_probe(struct platform_device * pdev)1593ff5eb002SOtto Pflüger static int msm8917_pinctrl_probe(struct platform_device *pdev)
1594ff5eb002SOtto Pflüger {
1595ff5eb002SOtto Pflüger return msm_pinctrl_probe(pdev, &msm8917_pinctrl);
1596ff5eb002SOtto Pflüger }
1597ff5eb002SOtto Pflüger
1598ff5eb002SOtto Pflüger static const struct of_device_id msm8917_pinctrl_of_match[] = {
1599ff5eb002SOtto Pflüger { .compatible = "qcom,msm8917-pinctrl", },
1600ff5eb002SOtto Pflüger { },
1601ff5eb002SOtto Pflüger };
1602ff5eb002SOtto Pflüger MODULE_DEVICE_TABLE(of, msm8917_pinctrl_of_match);
1603ff5eb002SOtto Pflüger
1604ff5eb002SOtto Pflüger static struct platform_driver msm8917_pinctrl_driver = {
1605ff5eb002SOtto Pflüger .driver = {
1606ff5eb002SOtto Pflüger .name = "msm8917-pinctrl",
1607ff5eb002SOtto Pflüger .of_match_table = msm8917_pinctrl_of_match,
1608ff5eb002SOtto Pflüger },
1609ff5eb002SOtto Pflüger .probe = msm8917_pinctrl_probe,
1610ff5eb002SOtto Pflüger };
1611ff5eb002SOtto Pflüger
msm8917_pinctrl_init(void)1612ff5eb002SOtto Pflüger static int __init msm8917_pinctrl_init(void)
1613ff5eb002SOtto Pflüger {
1614ff5eb002SOtto Pflüger return platform_driver_register(&msm8917_pinctrl_driver);
1615ff5eb002SOtto Pflüger }
1616ff5eb002SOtto Pflüger arch_initcall(msm8917_pinctrl_init);
1617ff5eb002SOtto Pflüger
msm8917_pinctrl_exit(void)1618ff5eb002SOtto Pflüger static void __exit msm8917_pinctrl_exit(void)
1619ff5eb002SOtto Pflüger {
1620ff5eb002SOtto Pflüger platform_driver_unregister(&msm8917_pinctrl_driver);
1621ff5eb002SOtto Pflüger }
1622ff5eb002SOtto Pflüger module_exit(msm8917_pinctrl_exit);
1623ff5eb002SOtto Pflüger
1624*3dd3ab69SDang Huynh MODULE_DESCRIPTION("Qualcomm msm8917/msm8937 pinctrl driver");
1625ff5eb002SOtto Pflüger MODULE_LICENSE("GPL");
1626