pinctrl-anorak.h 75 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
  4. */
  5. #define FUNCTION(fname) \
  6. [msm_mux_##fname] = { \
  7. .name = #fname, \
  8. .groups = fname##_groups, \
  9. .ngroups = ARRAY_SIZE(fname##_groups), \
  10. }
  11. #define REG_BASE 0x100000
  12. #define REG_SIZE 0x1000
  13. #define PINGROUP(id, f1, f2, f3, f4, f5, f6, f7, f8, f9, wake_off, bit) \
  14. { \
  15. .name = "gpio" #id, \
  16. .pins = gpio##id##_pins, \
  17. .npins = (unsigned int)ARRAY_SIZE(gpio##id##_pins), \
  18. .funcs = (int[]){ \
  19. msm_mux_gpio, /* gpio mode */ \
  20. msm_mux_##f1, \
  21. msm_mux_##f2, \
  22. msm_mux_##f3, \
  23. msm_mux_##f4, \
  24. msm_mux_##f5, \
  25. msm_mux_##f6, \
  26. msm_mux_##f7, \
  27. msm_mux_##f8, \
  28. msm_mux_##f9 \
  29. }, \
  30. .nfuncs = 10, \
  31. .ctl_reg = REG_BASE + REG_SIZE * id, \
  32. .io_reg = REG_BASE + 0x4 + REG_SIZE * id, \
  33. .intr_cfg_reg = REG_BASE + 0x8 + REG_SIZE * id, \
  34. .intr_status_reg = REG_BASE + 0xc + REG_SIZE * id, \
  35. .intr_target_reg = REG_BASE + 0x8 + REG_SIZE * id, \
  36. .mux_bit = 2, \
  37. .pull_bit = 0, \
  38. .drv_bit = 6, \
  39. .egpio_enable = 12, \
  40. .egpio_present = 11, \
  41. .oe_bit = 9, \
  42. .in_bit = 0, \
  43. .out_bit = 1, \
  44. .intr_enable_bit = 0, \
  45. .intr_status_bit = 0, \
  46. .intr_target_bit = 5, \
  47. .intr_target_kpss_val = 3, \
  48. .intr_raw_status_bit = 4, \
  49. .intr_polarity_bit = 1, \
  50. .intr_detection_bit = 2, \
  51. .intr_detection_width = 2, \
  52. .wake_reg = REG_BASE + wake_off, \
  53. .wake_bit = bit, \
  54. }
  55. #define SDC_QDSD_PINGROUP(pg_name, ctl, pull, drv) \
  56. { \
  57. .name = #pg_name, \
  58. .pins = pg_name##_pins, \
  59. .npins = (unsigned int)ARRAY_SIZE(pg_name##_pins), \
  60. .ctl_reg = ctl, \
  61. .io_reg = 0, \
  62. .intr_cfg_reg = 0, \
  63. .intr_status_reg = 0, \
  64. .intr_target_reg = 0, \
  65. .mux_bit = -1, \
  66. .pull_bit = pull, \
  67. .drv_bit = drv, \
  68. .oe_bit = -1, \
  69. .in_bit = -1, \
  70. .out_bit = -1, \
  71. .intr_enable_bit = -1, \
  72. .intr_status_bit = -1, \
  73. .intr_target_bit = -1, \
  74. .intr_raw_status_bit = -1, \
  75. .intr_polarity_bit = -1, \
  76. .intr_detection_bit = -1, \
  77. .intr_detection_width = -1, \
  78. }
  79. #define UFS_RESET(pg_name, offset) \
  80. { \
  81. .name = #pg_name, \
  82. .pins = pg_name##_pins, \
  83. .npins = (unsigned int)ARRAY_SIZE(pg_name##_pins), \
  84. .ctl_reg = offset, \
  85. .io_reg = offset + 0x4, \
  86. .intr_cfg_reg = 0, \
  87. .intr_status_reg = 0, \
  88. .intr_target_reg = 0, \
  89. .mux_bit = -1, \
  90. .pull_bit = 3, \
  91. .drv_bit = 0, \
  92. .oe_bit = -1, \
  93. .in_bit = -1, \
  94. .out_bit = 0, \
  95. .intr_enable_bit = -1, \
  96. .intr_status_bit = -1, \
  97. .intr_target_bit = -1, \
  98. .intr_raw_status_bit = -1, \
  99. .intr_polarity_bit = -1, \
  100. .intr_detection_bit = -1, \
  101. .intr_detection_width = -1, \
  102. }
  103. #define QUP_I3C(qup_mode, qup_offset) \
  104. { \
  105. .mode = qup_mode, \
  106. .offset = qup_offset, \
  107. }
  108. static const struct pinctrl_pin_desc anorak_pins[] = {
  109. PINCTRL_PIN(0, "GPIO_0"),
  110. PINCTRL_PIN(1, "GPIO_1"),
  111. PINCTRL_PIN(2, "GPIO_2"),
  112. PINCTRL_PIN(3, "GPIO_3"),
  113. PINCTRL_PIN(4, "GPIO_4"),
  114. PINCTRL_PIN(5, "GPIO_5"),
  115. PINCTRL_PIN(6, "GPIO_6"),
  116. PINCTRL_PIN(7, "GPIO_7"),
  117. PINCTRL_PIN(8, "GPIO_8"),
  118. PINCTRL_PIN(9, "GPIO_9"),
  119. PINCTRL_PIN(10, "GPIO_10"),
  120. PINCTRL_PIN(11, "GPIO_11"),
  121. PINCTRL_PIN(12, "GPIO_12"),
  122. PINCTRL_PIN(13, "GPIO_13"),
  123. PINCTRL_PIN(14, "GPIO_14"),
  124. PINCTRL_PIN(15, "GPIO_15"),
  125. PINCTRL_PIN(16, "GPIO_16"),
  126. PINCTRL_PIN(17, "GPIO_17"),
  127. PINCTRL_PIN(18, "GPIO_18"),
  128. PINCTRL_PIN(19, "GPIO_19"),
  129. PINCTRL_PIN(20, "GPIO_20"),
  130. PINCTRL_PIN(21, "GPIO_21"),
  131. PINCTRL_PIN(22, "GPIO_22"),
  132. PINCTRL_PIN(23, "GPIO_23"),
  133. PINCTRL_PIN(24, "GPIO_24"),
  134. PINCTRL_PIN(25, "GPIO_25"),
  135. PINCTRL_PIN(26, "GPIO_26"),
  136. PINCTRL_PIN(27, "GPIO_27"),
  137. PINCTRL_PIN(28, "GPIO_28"),
  138. PINCTRL_PIN(29, "GPIO_29"),
  139. PINCTRL_PIN(30, "GPIO_30"),
  140. PINCTRL_PIN(31, "GPIO_31"),
  141. PINCTRL_PIN(32, "GPIO_32"),
  142. PINCTRL_PIN(33, "GPIO_33"),
  143. PINCTRL_PIN(34, "GPIO_34"),
  144. PINCTRL_PIN(35, "GPIO_35"),
  145. PINCTRL_PIN(36, "GPIO_36"),
  146. PINCTRL_PIN(37, "GPIO_37"),
  147. PINCTRL_PIN(38, "GPIO_38"),
  148. PINCTRL_PIN(39, "GPIO_39"),
  149. PINCTRL_PIN(40, "GPIO_40"),
  150. PINCTRL_PIN(41, "GPIO_41"),
  151. PINCTRL_PIN(42, "GPIO_42"),
  152. PINCTRL_PIN(43, "GPIO_43"),
  153. PINCTRL_PIN(44, "GPIO_44"),
  154. PINCTRL_PIN(45, "GPIO_45"),
  155. PINCTRL_PIN(46, "GPIO_46"),
  156. PINCTRL_PIN(47, "GPIO_47"),
  157. PINCTRL_PIN(48, "GPIO_48"),
  158. PINCTRL_PIN(49, "GPIO_49"),
  159. PINCTRL_PIN(50, "GPIO_50"),
  160. PINCTRL_PIN(51, "GPIO_51"),
  161. PINCTRL_PIN(52, "GPIO_52"),
  162. PINCTRL_PIN(53, "GPIO_53"),
  163. PINCTRL_PIN(54, "GPIO_54"),
  164. PINCTRL_PIN(55, "GPIO_55"),
  165. PINCTRL_PIN(56, "GPIO_56"),
  166. PINCTRL_PIN(57, "GPIO_57"),
  167. PINCTRL_PIN(58, "GPIO_58"),
  168. PINCTRL_PIN(59, "GPIO_59"),
  169. PINCTRL_PIN(60, "GPIO_60"),
  170. PINCTRL_PIN(61, "GPIO_61"),
  171. PINCTRL_PIN(62, "GPIO_62"),
  172. PINCTRL_PIN(63, "GPIO_63"),
  173. PINCTRL_PIN(64, "GPIO_64"),
  174. PINCTRL_PIN(65, "GPIO_65"),
  175. PINCTRL_PIN(66, "GPIO_66"),
  176. PINCTRL_PIN(67, "GPIO_67"),
  177. PINCTRL_PIN(68, "GPIO_68"),
  178. PINCTRL_PIN(69, "GPIO_69"),
  179. PINCTRL_PIN(70, "GPIO_70"),
  180. PINCTRL_PIN(71, "GPIO_71"),
  181. PINCTRL_PIN(72, "GPIO_72"),
  182. PINCTRL_PIN(73, "GPIO_73"),
  183. PINCTRL_PIN(74, "GPIO_74"),
  184. PINCTRL_PIN(75, "GPIO_75"),
  185. PINCTRL_PIN(76, "GPIO_76"),
  186. PINCTRL_PIN(77, "GPIO_77"),
  187. PINCTRL_PIN(78, "GPIO_78"),
  188. PINCTRL_PIN(79, "GPIO_79"),
  189. PINCTRL_PIN(80, "GPIO_80"),
  190. PINCTRL_PIN(81, "GPIO_81"),
  191. PINCTRL_PIN(82, "GPIO_82"),
  192. PINCTRL_PIN(83, "GPIO_83"),
  193. PINCTRL_PIN(84, "GPIO_84"),
  194. PINCTRL_PIN(85, "GPIO_85"),
  195. PINCTRL_PIN(86, "GPIO_86"),
  196. PINCTRL_PIN(87, "GPIO_87"),
  197. PINCTRL_PIN(88, "GPIO_88"),
  198. PINCTRL_PIN(89, "GPIO_89"),
  199. PINCTRL_PIN(90, "GPIO_90"),
  200. PINCTRL_PIN(91, "GPIO_91"),
  201. PINCTRL_PIN(92, "GPIO_92"),
  202. PINCTRL_PIN(93, "GPIO_93"),
  203. PINCTRL_PIN(94, "GPIO_94"),
  204. PINCTRL_PIN(95, "GPIO_95"),
  205. PINCTRL_PIN(96, "GPIO_96"),
  206. PINCTRL_PIN(97, "GPIO_97"),
  207. PINCTRL_PIN(98, "GPIO_98"),
  208. PINCTRL_PIN(99, "GPIO_99"),
  209. PINCTRL_PIN(100, "GPIO_100"),
  210. PINCTRL_PIN(101, "GPIO_101"),
  211. PINCTRL_PIN(102, "GPIO_102"),
  212. PINCTRL_PIN(103, "GPIO_103"),
  213. PINCTRL_PIN(104, "GPIO_104"),
  214. PINCTRL_PIN(105, "GPIO_105"),
  215. PINCTRL_PIN(106, "GPIO_106"),
  216. PINCTRL_PIN(107, "GPIO_107"),
  217. PINCTRL_PIN(108, "GPIO_108"),
  218. PINCTRL_PIN(109, "GPIO_109"),
  219. PINCTRL_PIN(110, "GPIO_110"),
  220. PINCTRL_PIN(111, "GPIO_111"),
  221. PINCTRL_PIN(112, "GPIO_112"),
  222. PINCTRL_PIN(113, "GPIO_113"),
  223. PINCTRL_PIN(114, "GPIO_114"),
  224. PINCTRL_PIN(115, "GPIO_115"),
  225. PINCTRL_PIN(116, "GPIO_116"),
  226. PINCTRL_PIN(117, "GPIO_117"),
  227. PINCTRL_PIN(118, "GPIO_118"),
  228. PINCTRL_PIN(119, "GPIO_119"),
  229. PINCTRL_PIN(120, "GPIO_120"),
  230. PINCTRL_PIN(121, "GPIO_121"),
  231. PINCTRL_PIN(122, "GPIO_122"),
  232. PINCTRL_PIN(123, "GPIO_123"),
  233. PINCTRL_PIN(124, "GPIO_124"),
  234. PINCTRL_PIN(125, "GPIO_125"),
  235. PINCTRL_PIN(126, "GPIO_126"),
  236. PINCTRL_PIN(127, "GPIO_127"),
  237. PINCTRL_PIN(128, "GPIO_128"),
  238. PINCTRL_PIN(129, "GPIO_129"),
  239. PINCTRL_PIN(130, "GPIO_130"),
  240. PINCTRL_PIN(131, "GPIO_131"),
  241. PINCTRL_PIN(132, "GPIO_132"),
  242. PINCTRL_PIN(133, "GPIO_133"),
  243. PINCTRL_PIN(134, "GPIO_134"),
  244. PINCTRL_PIN(135, "GPIO_135"),
  245. PINCTRL_PIN(136, "GPIO_136"),
  246. PINCTRL_PIN(137, "GPIO_137"),
  247. PINCTRL_PIN(138, "GPIO_138"),
  248. PINCTRL_PIN(139, "GPIO_139"),
  249. PINCTRL_PIN(140, "GPIO_140"),
  250. PINCTRL_PIN(141, "GPIO_141"),
  251. PINCTRL_PIN(142, "GPIO_142"),
  252. PINCTRL_PIN(143, "GPIO_143"),
  253. PINCTRL_PIN(144, "GPIO_144"),
  254. PINCTRL_PIN(145, "GPIO_145"),
  255. PINCTRL_PIN(146, "GPIO_146"),
  256. PINCTRL_PIN(147, "GPIO_147"),
  257. PINCTRL_PIN(148, "GPIO_148"),
  258. PINCTRL_PIN(149, "GPIO_149"),
  259. PINCTRL_PIN(150, "GPIO_150"),
  260. PINCTRL_PIN(151, "GPIO_151"),
  261. PINCTRL_PIN(152, "GPIO_152"),
  262. PINCTRL_PIN(153, "GPIO_153"),
  263. PINCTRL_PIN(154, "GPIO_154"),
  264. PINCTRL_PIN(155, "GPIO_155"),
  265. PINCTRL_PIN(156, "GPIO_156"),
  266. PINCTRL_PIN(157, "GPIO_157"),
  267. PINCTRL_PIN(158, "GPIO_158"),
  268. PINCTRL_PIN(159, "GPIO_159"),
  269. PINCTRL_PIN(160, "GPIO_160"),
  270. PINCTRL_PIN(161, "GPIO_161"),
  271. PINCTRL_PIN(162, "GPIO_162"),
  272. PINCTRL_PIN(163, "GPIO_163"),
  273. PINCTRL_PIN(164, "GPIO_164"),
  274. PINCTRL_PIN(165, "GPIO_165"),
  275. PINCTRL_PIN(166, "GPIO_166"),
  276. PINCTRL_PIN(167, "GPIO_167"),
  277. PINCTRL_PIN(168, "GPIO_168"),
  278. PINCTRL_PIN(169, "GPIO_169"),
  279. PINCTRL_PIN(170, "GPIO_170"),
  280. PINCTRL_PIN(171, "GPIO_171"),
  281. PINCTRL_PIN(172, "GPIO_172"),
  282. PINCTRL_PIN(173, "GPIO_173"),
  283. PINCTRL_PIN(174, "GPIO_174"),
  284. PINCTRL_PIN(175, "GPIO_175"),
  285. PINCTRL_PIN(176, "GPIO_176"),
  286. PINCTRL_PIN(177, "GPIO_177"),
  287. PINCTRL_PIN(178, "GPIO_178"),
  288. PINCTRL_PIN(179, "GPIO_179"),
  289. PINCTRL_PIN(180, "GPIO_180"),
  290. PINCTRL_PIN(181, "GPIO_181"),
  291. PINCTRL_PIN(182, "GPIO_182"),
  292. PINCTRL_PIN(183, "GPIO_183"),
  293. PINCTRL_PIN(184, "GPIO_184"),
  294. PINCTRL_PIN(185, "GPIO_185"),
  295. PINCTRL_PIN(186, "GPIO_186"),
  296. PINCTRL_PIN(187, "GPIO_187"),
  297. PINCTRL_PIN(188, "GPIO_188"),
  298. PINCTRL_PIN(189, "GPIO_189"),
  299. PINCTRL_PIN(190, "GPIO_190"),
  300. PINCTRL_PIN(191, "GPIO_191"),
  301. PINCTRL_PIN(192, "GPIO_192"),
  302. PINCTRL_PIN(193, "GPIO_193"),
  303. PINCTRL_PIN(194, "GPIO_194"),
  304. PINCTRL_PIN(195, "GPIO_195"),
  305. PINCTRL_PIN(196, "GPIO_196"),
  306. PINCTRL_PIN(197, "GPIO_197"),
  307. PINCTRL_PIN(198, "GPIO_198"),
  308. PINCTRL_PIN(199, "GPIO_199"),
  309. PINCTRL_PIN(200, "GPIO_200"),
  310. PINCTRL_PIN(201, "GPIO_201"),
  311. PINCTRL_PIN(202, "GPIO_202"),
  312. PINCTRL_PIN(203, "GPIO_203"),
  313. PINCTRL_PIN(204, "GPIO_204"),
  314. PINCTRL_PIN(205, "GPIO_205"),
  315. PINCTRL_PIN(206, "GPIO_206"),
  316. PINCTRL_PIN(207, "GPIO_207"),
  317. PINCTRL_PIN(208, "GPIO_208"),
  318. PINCTRL_PIN(209, "GPIO_209"),
  319. PINCTRL_PIN(210, "GPIO_210"),
  320. PINCTRL_PIN(211, "GPIO_211"),
  321. PINCTRL_PIN(212, "GPIO_212"),
  322. PINCTRL_PIN(213, "GPIO_213"),
  323. PINCTRL_PIN(214, "GPIO_214"),
  324. PINCTRL_PIN(215, "GPIO_215"),
  325. PINCTRL_PIN(216, "GPIO_216"),
  326. PINCTRL_PIN(217, "GPIO_217"),
  327. PINCTRL_PIN(218, "GPIO_218"),
  328. PINCTRL_PIN(219, "GPIO_219"),
  329. PINCTRL_PIN(220, "GPIO_220"),
  330. PINCTRL_PIN(221, "GPIO_221"),
  331. PINCTRL_PIN(222, "GPIO_222"),
  332. PINCTRL_PIN(223, "GPIO_223"),
  333. PINCTRL_PIN(224, "UFS_RESET"),
  334. PINCTRL_PIN(225, "SDC2_CLK"),
  335. PINCTRL_PIN(226, "SDC2_CMD"),
  336. PINCTRL_PIN(227, "SDC2_DATA"),
  337. };
  338. #define DECLARE_MSM_GPIO_PINS(pin) \
  339. static const unsigned int gpio##pin##_pins[] = { pin }
  340. DECLARE_MSM_GPIO_PINS(0);
  341. DECLARE_MSM_GPIO_PINS(1);
  342. DECLARE_MSM_GPIO_PINS(2);
  343. DECLARE_MSM_GPIO_PINS(3);
  344. DECLARE_MSM_GPIO_PINS(4);
  345. DECLARE_MSM_GPIO_PINS(5);
  346. DECLARE_MSM_GPIO_PINS(6);
  347. DECLARE_MSM_GPIO_PINS(7);
  348. DECLARE_MSM_GPIO_PINS(8);
  349. DECLARE_MSM_GPIO_PINS(9);
  350. DECLARE_MSM_GPIO_PINS(10);
  351. DECLARE_MSM_GPIO_PINS(11);
  352. DECLARE_MSM_GPIO_PINS(12);
  353. DECLARE_MSM_GPIO_PINS(13);
  354. DECLARE_MSM_GPIO_PINS(14);
  355. DECLARE_MSM_GPIO_PINS(15);
  356. DECLARE_MSM_GPIO_PINS(16);
  357. DECLARE_MSM_GPIO_PINS(17);
  358. DECLARE_MSM_GPIO_PINS(18);
  359. DECLARE_MSM_GPIO_PINS(19);
  360. DECLARE_MSM_GPIO_PINS(20);
  361. DECLARE_MSM_GPIO_PINS(21);
  362. DECLARE_MSM_GPIO_PINS(22);
  363. DECLARE_MSM_GPIO_PINS(23);
  364. DECLARE_MSM_GPIO_PINS(24);
  365. DECLARE_MSM_GPIO_PINS(25);
  366. DECLARE_MSM_GPIO_PINS(26);
  367. DECLARE_MSM_GPIO_PINS(27);
  368. DECLARE_MSM_GPIO_PINS(28);
  369. DECLARE_MSM_GPIO_PINS(29);
  370. DECLARE_MSM_GPIO_PINS(30);
  371. DECLARE_MSM_GPIO_PINS(31);
  372. DECLARE_MSM_GPIO_PINS(32);
  373. DECLARE_MSM_GPIO_PINS(33);
  374. DECLARE_MSM_GPIO_PINS(34);
  375. DECLARE_MSM_GPIO_PINS(35);
  376. DECLARE_MSM_GPIO_PINS(36);
  377. DECLARE_MSM_GPIO_PINS(37);
  378. DECLARE_MSM_GPIO_PINS(38);
  379. DECLARE_MSM_GPIO_PINS(39);
  380. DECLARE_MSM_GPIO_PINS(40);
  381. DECLARE_MSM_GPIO_PINS(41);
  382. DECLARE_MSM_GPIO_PINS(42);
  383. DECLARE_MSM_GPIO_PINS(43);
  384. DECLARE_MSM_GPIO_PINS(44);
  385. DECLARE_MSM_GPIO_PINS(45);
  386. DECLARE_MSM_GPIO_PINS(46);
  387. DECLARE_MSM_GPIO_PINS(47);
  388. DECLARE_MSM_GPIO_PINS(48);
  389. DECLARE_MSM_GPIO_PINS(49);
  390. DECLARE_MSM_GPIO_PINS(50);
  391. DECLARE_MSM_GPIO_PINS(51);
  392. DECLARE_MSM_GPIO_PINS(52);
  393. DECLARE_MSM_GPIO_PINS(53);
  394. DECLARE_MSM_GPIO_PINS(54);
  395. DECLARE_MSM_GPIO_PINS(55);
  396. DECLARE_MSM_GPIO_PINS(56);
  397. DECLARE_MSM_GPIO_PINS(57);
  398. DECLARE_MSM_GPIO_PINS(58);
  399. DECLARE_MSM_GPIO_PINS(59);
  400. DECLARE_MSM_GPIO_PINS(60);
  401. DECLARE_MSM_GPIO_PINS(61);
  402. DECLARE_MSM_GPIO_PINS(62);
  403. DECLARE_MSM_GPIO_PINS(63);
  404. DECLARE_MSM_GPIO_PINS(64);
  405. DECLARE_MSM_GPIO_PINS(65);
  406. DECLARE_MSM_GPIO_PINS(66);
  407. DECLARE_MSM_GPIO_PINS(67);
  408. DECLARE_MSM_GPIO_PINS(68);
  409. DECLARE_MSM_GPIO_PINS(69);
  410. DECLARE_MSM_GPIO_PINS(70);
  411. DECLARE_MSM_GPIO_PINS(71);
  412. DECLARE_MSM_GPIO_PINS(72);
  413. DECLARE_MSM_GPIO_PINS(73);
  414. DECLARE_MSM_GPIO_PINS(74);
  415. DECLARE_MSM_GPIO_PINS(75);
  416. DECLARE_MSM_GPIO_PINS(76);
  417. DECLARE_MSM_GPIO_PINS(77);
  418. DECLARE_MSM_GPIO_PINS(78);
  419. DECLARE_MSM_GPIO_PINS(79);
  420. DECLARE_MSM_GPIO_PINS(80);
  421. DECLARE_MSM_GPIO_PINS(81);
  422. DECLARE_MSM_GPIO_PINS(82);
  423. DECLARE_MSM_GPIO_PINS(83);
  424. DECLARE_MSM_GPIO_PINS(84);
  425. DECLARE_MSM_GPIO_PINS(85);
  426. DECLARE_MSM_GPIO_PINS(86);
  427. DECLARE_MSM_GPIO_PINS(87);
  428. DECLARE_MSM_GPIO_PINS(88);
  429. DECLARE_MSM_GPIO_PINS(89);
  430. DECLARE_MSM_GPIO_PINS(90);
  431. DECLARE_MSM_GPIO_PINS(91);
  432. DECLARE_MSM_GPIO_PINS(92);
  433. DECLARE_MSM_GPIO_PINS(93);
  434. DECLARE_MSM_GPIO_PINS(94);
  435. DECLARE_MSM_GPIO_PINS(95);
  436. DECLARE_MSM_GPIO_PINS(96);
  437. DECLARE_MSM_GPIO_PINS(97);
  438. DECLARE_MSM_GPIO_PINS(98);
  439. DECLARE_MSM_GPIO_PINS(99);
  440. DECLARE_MSM_GPIO_PINS(100);
  441. DECLARE_MSM_GPIO_PINS(101);
  442. DECLARE_MSM_GPIO_PINS(102);
  443. DECLARE_MSM_GPIO_PINS(103);
  444. DECLARE_MSM_GPIO_PINS(104);
  445. DECLARE_MSM_GPIO_PINS(105);
  446. DECLARE_MSM_GPIO_PINS(106);
  447. DECLARE_MSM_GPIO_PINS(107);
  448. DECLARE_MSM_GPIO_PINS(108);
  449. DECLARE_MSM_GPIO_PINS(109);
  450. DECLARE_MSM_GPIO_PINS(110);
  451. DECLARE_MSM_GPIO_PINS(111);
  452. DECLARE_MSM_GPIO_PINS(112);
  453. DECLARE_MSM_GPIO_PINS(113);
  454. DECLARE_MSM_GPIO_PINS(114);
  455. DECLARE_MSM_GPIO_PINS(115);
  456. DECLARE_MSM_GPIO_PINS(116);
  457. DECLARE_MSM_GPIO_PINS(117);
  458. DECLARE_MSM_GPIO_PINS(118);
  459. DECLARE_MSM_GPIO_PINS(119);
  460. DECLARE_MSM_GPIO_PINS(120);
  461. DECLARE_MSM_GPIO_PINS(121);
  462. DECLARE_MSM_GPIO_PINS(122);
  463. DECLARE_MSM_GPIO_PINS(123);
  464. DECLARE_MSM_GPIO_PINS(124);
  465. DECLARE_MSM_GPIO_PINS(125);
  466. DECLARE_MSM_GPIO_PINS(126);
  467. DECLARE_MSM_GPIO_PINS(127);
  468. DECLARE_MSM_GPIO_PINS(128);
  469. DECLARE_MSM_GPIO_PINS(129);
  470. DECLARE_MSM_GPIO_PINS(130);
  471. DECLARE_MSM_GPIO_PINS(131);
  472. DECLARE_MSM_GPIO_PINS(132);
  473. DECLARE_MSM_GPIO_PINS(133);
  474. DECLARE_MSM_GPIO_PINS(134);
  475. DECLARE_MSM_GPIO_PINS(135);
  476. DECLARE_MSM_GPIO_PINS(136);
  477. DECLARE_MSM_GPIO_PINS(137);
  478. DECLARE_MSM_GPIO_PINS(138);
  479. DECLARE_MSM_GPIO_PINS(139);
  480. DECLARE_MSM_GPIO_PINS(140);
  481. DECLARE_MSM_GPIO_PINS(141);
  482. DECLARE_MSM_GPIO_PINS(142);
  483. DECLARE_MSM_GPIO_PINS(143);
  484. DECLARE_MSM_GPIO_PINS(144);
  485. DECLARE_MSM_GPIO_PINS(145);
  486. DECLARE_MSM_GPIO_PINS(146);
  487. DECLARE_MSM_GPIO_PINS(147);
  488. DECLARE_MSM_GPIO_PINS(148);
  489. DECLARE_MSM_GPIO_PINS(149);
  490. DECLARE_MSM_GPIO_PINS(150);
  491. DECLARE_MSM_GPIO_PINS(151);
  492. DECLARE_MSM_GPIO_PINS(152);
  493. DECLARE_MSM_GPIO_PINS(153);
  494. DECLARE_MSM_GPIO_PINS(154);
  495. DECLARE_MSM_GPIO_PINS(155);
  496. DECLARE_MSM_GPIO_PINS(156);
  497. DECLARE_MSM_GPIO_PINS(157);
  498. DECLARE_MSM_GPIO_PINS(158);
  499. DECLARE_MSM_GPIO_PINS(159);
  500. DECLARE_MSM_GPIO_PINS(160);
  501. DECLARE_MSM_GPIO_PINS(161);
  502. DECLARE_MSM_GPIO_PINS(162);
  503. DECLARE_MSM_GPIO_PINS(163);
  504. DECLARE_MSM_GPIO_PINS(164);
  505. DECLARE_MSM_GPIO_PINS(165);
  506. DECLARE_MSM_GPIO_PINS(166);
  507. DECLARE_MSM_GPIO_PINS(167);
  508. DECLARE_MSM_GPIO_PINS(168);
  509. DECLARE_MSM_GPIO_PINS(169);
  510. DECLARE_MSM_GPIO_PINS(170);
  511. DECLARE_MSM_GPIO_PINS(171);
  512. DECLARE_MSM_GPIO_PINS(172);
  513. DECLARE_MSM_GPIO_PINS(173);
  514. DECLARE_MSM_GPIO_PINS(174);
  515. DECLARE_MSM_GPIO_PINS(175);
  516. DECLARE_MSM_GPIO_PINS(176);
  517. DECLARE_MSM_GPIO_PINS(177);
  518. DECLARE_MSM_GPIO_PINS(178);
  519. DECLARE_MSM_GPIO_PINS(179);
  520. DECLARE_MSM_GPIO_PINS(180);
  521. DECLARE_MSM_GPIO_PINS(181);
  522. DECLARE_MSM_GPIO_PINS(182);
  523. DECLARE_MSM_GPIO_PINS(183);
  524. DECLARE_MSM_GPIO_PINS(184);
  525. DECLARE_MSM_GPIO_PINS(185);
  526. DECLARE_MSM_GPIO_PINS(186);
  527. DECLARE_MSM_GPIO_PINS(187);
  528. DECLARE_MSM_GPIO_PINS(188);
  529. DECLARE_MSM_GPIO_PINS(189);
  530. DECLARE_MSM_GPIO_PINS(190);
  531. DECLARE_MSM_GPIO_PINS(191);
  532. DECLARE_MSM_GPIO_PINS(192);
  533. DECLARE_MSM_GPIO_PINS(193);
  534. DECLARE_MSM_GPIO_PINS(194);
  535. DECLARE_MSM_GPIO_PINS(195);
  536. DECLARE_MSM_GPIO_PINS(196);
  537. DECLARE_MSM_GPIO_PINS(197);
  538. DECLARE_MSM_GPIO_PINS(198);
  539. DECLARE_MSM_GPIO_PINS(199);
  540. DECLARE_MSM_GPIO_PINS(200);
  541. DECLARE_MSM_GPIO_PINS(201);
  542. DECLARE_MSM_GPIO_PINS(202);
  543. DECLARE_MSM_GPIO_PINS(203);
  544. DECLARE_MSM_GPIO_PINS(204);
  545. DECLARE_MSM_GPIO_PINS(205);
  546. DECLARE_MSM_GPIO_PINS(206);
  547. DECLARE_MSM_GPIO_PINS(207);
  548. DECLARE_MSM_GPIO_PINS(208);
  549. DECLARE_MSM_GPIO_PINS(209);
  550. DECLARE_MSM_GPIO_PINS(210);
  551. DECLARE_MSM_GPIO_PINS(211);
  552. DECLARE_MSM_GPIO_PINS(212);
  553. DECLARE_MSM_GPIO_PINS(213);
  554. DECLARE_MSM_GPIO_PINS(214);
  555. DECLARE_MSM_GPIO_PINS(215);
  556. DECLARE_MSM_GPIO_PINS(216);
  557. DECLARE_MSM_GPIO_PINS(217);
  558. DECLARE_MSM_GPIO_PINS(218);
  559. DECLARE_MSM_GPIO_PINS(219);
  560. DECLARE_MSM_GPIO_PINS(220);
  561. DECLARE_MSM_GPIO_PINS(221);
  562. DECLARE_MSM_GPIO_PINS(222);
  563. DECLARE_MSM_GPIO_PINS(223);
  564. static const unsigned int ufs_reset_pins[] = { 224 };
  565. static const unsigned int sdc2_clk_pins[] = { 225 };
  566. static const unsigned int sdc2_cmd_pins[] = { 226 };
  567. static const unsigned int sdc2_data_pins[] = { 227 };
  568. enum anorak_functions {
  569. msm_mux_gpio,
  570. msm_mux_atest_char_start,
  571. msm_mux_atest_char_status0,
  572. msm_mux_atest_char_status1,
  573. msm_mux_atest_char_status2,
  574. msm_mux_atest_char_status3,
  575. msm_mux_atest_usb0_atereset,
  576. msm_mux_atest_usb0_testdataout00,
  577. msm_mux_atest_usb0_testdataout01,
  578. msm_mux_atest_usb0_testdataout02,
  579. msm_mux_atest_usb0_testdataout03,
  580. msm_mux_audio_ref_clk,
  581. msm_mux_cam_mclk,
  582. msm_mux_cci0_async_in0,
  583. msm_mux_cci0_async_in1,
  584. msm_mux_cci0_async_in2,
  585. msm_mux_cci0_timer0,
  586. msm_mux_cci0_timer1,
  587. msm_mux_cci0_timer2,
  588. msm_mux_cci0_timer3,
  589. msm_mux_cci0_timer4,
  590. msm_mux_cci1_async_in0,
  591. msm_mux_cci1_async_in1,
  592. msm_mux_cci1_async_in2,
  593. msm_mux_cci1_timer0,
  594. msm_mux_cci1_timer1,
  595. msm_mux_cci1_timer2,
  596. msm_mux_cci1_timer3,
  597. msm_mux_cci1_timer4,
  598. msm_mux_cci2_async_in0,
  599. msm_mux_cci2_async_in1,
  600. msm_mux_cci2_async_in2,
  601. msm_mux_cci2_timer0,
  602. msm_mux_cci2_timer1,
  603. msm_mux_cci2_timer2_mira,
  604. msm_mux_cci2_timer2_mirb,
  605. msm_mux_cci2_timer3_mira,
  606. msm_mux_cci2_timer3_mirb,
  607. msm_mux_cci2_timer4_mira,
  608. msm_mux_cci2_timer4_mirb,
  609. msm_mux_cci_i2c_scl0,
  610. msm_mux_cci_i2c_scl1,
  611. msm_mux_cci_i2c_scl10,
  612. msm_mux_cci_i2c_scl11,
  613. msm_mux_cci_i2c_scl2,
  614. msm_mux_cci_i2c_scl3,
  615. msm_mux_cci_i2c_scl4,
  616. msm_mux_cci_i2c_scl5,
  617. msm_mux_cci_i2c_scl6,
  618. msm_mux_cci_i2c_scl7,
  619. msm_mux_cci_i2c_scl8,
  620. msm_mux_cci_i2c_scl9,
  621. msm_mux_cci_i2c_sda0,
  622. msm_mux_cci_i2c_sda1,
  623. msm_mux_cci_i2c_sda10,
  624. msm_mux_cci_i2c_sda11,
  625. msm_mux_cci_i2c_sda2,
  626. msm_mux_cci_i2c_sda3,
  627. msm_mux_cci_i2c_sda4,
  628. msm_mux_cci_i2c_sda5,
  629. msm_mux_cci_i2c_sda6,
  630. msm_mux_cci_i2c_sda7,
  631. msm_mux_cci_i2c_sda8,
  632. msm_mux_cci_i2c_sda9,
  633. msm_mux_cmu_rng_entropy0,
  634. msm_mux_cmu_rng_entropy1,
  635. msm_mux_cmu_rng_entropy2,
  636. msm_mux_cmu_rng_entropy3,
  637. msm_mux_dbg_out_clk,
  638. msm_mux_ddr_bist_complete,
  639. msm_mux_ddr_bist_fail,
  640. msm_mux_ddr_bist_start,
  641. msm_mux_ddr_bist_stop,
  642. msm_mux_ddr_pxi0_test,
  643. msm_mux_ddr_pxi1_test,
  644. msm_mux_ddr_pxi2_test,
  645. msm_mux_ddr_pxi3_test,
  646. msm_mux_dp0_hot_plug,
  647. msm_mux_edp0_hot_plug,
  648. msm_mux_edp0_lcd_self,
  649. msm_mux_edp1_dpu0_lcd,
  650. msm_mux_edp1_dpu1_lcd,
  651. msm_mux_edp1_hot_plug,
  652. msm_mux_ext_mclk0,
  653. msm_mux_ext_mclk1,
  654. msm_mux_gcc_gp10_clk,
  655. msm_mux_gcc_gp11_clk,
  656. msm_mux_gcc_gp1_clk,
  657. msm_mux_gcc_gp2_clk,
  658. msm_mux_gcc_gp3_clk,
  659. msm_mux_gcc_gp4_clk,
  660. msm_mux_gcc_gp5_clk,
  661. msm_mux_gcc_gp6_clk,
  662. msm_mux_gcc_gp7_clk,
  663. msm_mux_gcc_gp8_clk,
  664. msm_mux_gcc_gp9_clk,
  665. msm_mux_i2s0_data0,
  666. msm_mux_i2s0_data1,
  667. msm_mux_i2s0_sck,
  668. msm_mux_i2s0_ws,
  669. msm_mux_i2s2_data0,
  670. msm_mux_i2s2_data1,
  671. msm_mux_i2s2_sck,
  672. msm_mux_i2s2_ws,
  673. msm_mux_ibi_i3c_qup0,
  674. msm_mux_ibi_i3c_qup1,
  675. msm_mux_jitter_bist_ref,
  676. msm_mux_mdp0_vsync0_mira,
  677. msm_mux_mdp0_vsync0_mirb,
  678. msm_mux_mdp0_vsync0_out,
  679. msm_mux_mdp0_vsync1_mira,
  680. msm_mux_mdp0_vsync1_mirb,
  681. msm_mux_mdp0_vsync1_out,
  682. msm_mux_mdp0_vsync2_out,
  683. msm_mux_mdp0_vsync3_out,
  684. msm_mux_mdp0_vsync4_out,
  685. msm_mux_mdp0_vsync5_out,
  686. msm_mux_mdp0_vsync6_out,
  687. msm_mux_mdp0_vsync7_out,
  688. msm_mux_mdp0_vsync8_out,
  689. msm_mux_mdp1_vsync0_mira,
  690. msm_mux_mdp1_vsync0_mirb,
  691. msm_mux_mdp1_vsync0_out,
  692. msm_mux_mdp1_vsync1_mira,
  693. msm_mux_mdp1_vsync1_mirb,
  694. msm_mux_mdp1_vsync1_out,
  695. msm_mux_mdp1_vsync2_out,
  696. msm_mux_mdp1_vsync3_out,
  697. msm_mux_mdp1_vsync4_out,
  698. msm_mux_mdp1_vsync5_out,
  699. msm_mux_mdp1_vsync6_out,
  700. msm_mux_mdp1_vsync7_out,
  701. msm_mux_mdp1_vsync8_out,
  702. msm_mux_pcie0_clk_req,
  703. msm_mux_pcie1_clk_req,
  704. msm_mux_pcie2_clk_req,
  705. msm_mux_phase_flag_status0,
  706. msm_mux_phase_flag_status1,
  707. msm_mux_phase_flag_status10,
  708. msm_mux_phase_flag_status11,
  709. msm_mux_phase_flag_status12,
  710. msm_mux_phase_flag_status13,
  711. msm_mux_phase_flag_status14,
  712. msm_mux_phase_flag_status15,
  713. msm_mux_phase_flag_status16,
  714. msm_mux_phase_flag_status17,
  715. msm_mux_phase_flag_status18,
  716. msm_mux_phase_flag_status19,
  717. msm_mux_phase_flag_status2,
  718. msm_mux_phase_flag_status20,
  719. msm_mux_phase_flag_status21,
  720. msm_mux_phase_flag_status22,
  721. msm_mux_phase_flag_status23,
  722. msm_mux_phase_flag_status24,
  723. msm_mux_phase_flag_status25,
  724. msm_mux_phase_flag_status26,
  725. msm_mux_phase_flag_status27,
  726. msm_mux_phase_flag_status28,
  727. msm_mux_phase_flag_status29,
  728. msm_mux_phase_flag_status3,
  729. msm_mux_phase_flag_status30,
  730. msm_mux_phase_flag_status31,
  731. msm_mux_phase_flag_status4,
  732. msm_mux_phase_flag_status5,
  733. msm_mux_phase_flag_status6,
  734. msm_mux_phase_flag_status7,
  735. msm_mux_phase_flag_status8,
  736. msm_mux_phase_flag_status9,
  737. msm_mux_pll_bist_sync,
  738. msm_mux_pll_clk_aux,
  739. msm_mux_prng_rosc_test0,
  740. msm_mux_prng_rosc_test1,
  741. msm_mux_prng_rosc_test2,
  742. msm_mux_prng_rosc_test3,
  743. msm_mux_pwm_0,
  744. msm_mux_pwm_1,
  745. msm_mux_pwm_10,
  746. msm_mux_pwm_11,
  747. msm_mux_pwm_12,
  748. msm_mux_pwm_13,
  749. msm_mux_pwm_14,
  750. msm_mux_pwm_15,
  751. msm_mux_pwm_16,
  752. msm_mux_pwm_17,
  753. msm_mux_pwm_18,
  754. msm_mux_pwm_19,
  755. msm_mux_pwm_2,
  756. msm_mux_pwm_3,
  757. msm_mux_pwm_4,
  758. msm_mux_pwm_5,
  759. msm_mux_pwm_6,
  760. msm_mux_pwm_7,
  761. msm_mux_pwm_8,
  762. msm_mux_pwm_9,
  763. msm_mux_qdss_cti_trig0,
  764. msm_mux_qdss_cti_trig1,
  765. msm_mux_qdss_gpio_traceclk,
  766. msm_mux_qdss_gpio_tracectl,
  767. msm_mux_qdss_gpio_tracedata0,
  768. msm_mux_qdss_gpio_tracedata1,
  769. msm_mux_qdss_gpio_tracedata10,
  770. msm_mux_qdss_gpio_tracedata11,
  771. msm_mux_qdss_gpio_tracedata12,
  772. msm_mux_qdss_gpio_tracedata13,
  773. msm_mux_qdss_gpio_tracedata14,
  774. msm_mux_qdss_gpio_tracedata15,
  775. msm_mux_qdss_gpio_tracedata2,
  776. msm_mux_qdss_gpio_tracedata3,
  777. msm_mux_qdss_gpio_tracedata4,
  778. msm_mux_qdss_gpio_tracedata5,
  779. msm_mux_qdss_gpio_tracedata6,
  780. msm_mux_qdss_gpio_tracedata7,
  781. msm_mux_qdss_gpio_tracedata8,
  782. msm_mux_qdss_gpio_tracedata9,
  783. msm_mux_qup0_se0_l0,
  784. msm_mux_qup0_se0_l1,
  785. msm_mux_qup0_se0_l2,
  786. msm_mux_qup0_se0_l3,
  787. msm_mux_qup0_se1_l0,
  788. msm_mux_qup0_se1_l1,
  789. msm_mux_qup0_se1_l2,
  790. msm_mux_qup0_se1_l3,
  791. msm_mux_qup0_se2_l0,
  792. msm_mux_qup0_se2_l1,
  793. msm_mux_qup0_se2_l2,
  794. msm_mux_qup0_se2_l3,
  795. msm_mux_qup0_se3_l0,
  796. msm_mux_qup0_se3_l1,
  797. msm_mux_qup0_se3_l2,
  798. msm_mux_qup0_se3_l3,
  799. msm_mux_qup0_se4_l0_mira,
  800. msm_mux_qup0_se4_l0_mirb,
  801. msm_mux_qup0_se4_l1_mira,
  802. msm_mux_qup0_se4_l1_mirb,
  803. msm_mux_qup0_se4_l2_mira,
  804. msm_mux_qup0_se4_l2_mirb,
  805. msm_mux_qup0_se4_l3_mira,
  806. msm_mux_qup0_se4_l3_mirb,
  807. msm_mux_qup0_se4_l4,
  808. msm_mux_qup0_se4_l5,
  809. msm_mux_qup0_se4_l6,
  810. msm_mux_qup0_se5_l0,
  811. msm_mux_qup0_se5_l1,
  812. msm_mux_qup0_se5_l2,
  813. msm_mux_qup0_se5_l3,
  814. msm_mux_qup0_se6_l0,
  815. msm_mux_qup0_se6_l1,
  816. msm_mux_qup0_se6_l2,
  817. msm_mux_qup0_se6_l3,
  818. msm_mux_qup1_se0_l0,
  819. msm_mux_qup1_se0_l1,
  820. msm_mux_qup1_se0_l2,
  821. msm_mux_qup1_se0_l3_mira,
  822. msm_mux_qup1_se0_l3_mirb,
  823. msm_mux_qup1_se1_l0,
  824. msm_mux_qup1_se1_l1,
  825. msm_mux_qup1_se1_l2,
  826. msm_mux_qup1_se1_l3_mira,
  827. msm_mux_qup1_se1_l3_mirb,
  828. msm_mux_qup1_se2_l0,
  829. msm_mux_qup1_se2_l1,
  830. msm_mux_qup1_se2_l2,
  831. msm_mux_qup1_se2_l3_mira,
  832. msm_mux_qup1_se2_l3_mirb,
  833. msm_mux_qup1_se3_l0,
  834. msm_mux_qup1_se3_l1,
  835. msm_mux_qup1_se3_l2,
  836. msm_mux_qup1_se3_l3_mira,
  837. msm_mux_qup1_se3_l3_mirb,
  838. msm_mux_qup1_se4_l0,
  839. msm_mux_qup1_se4_l1,
  840. msm_mux_qup1_se4_l2,
  841. msm_mux_qup1_se4_l3,
  842. msm_mux_qup1_se4_l4,
  843. msm_mux_qup1_se4_l5,
  844. msm_mux_qup1_se4_l6,
  845. msm_mux_qup1_se5_l0,
  846. msm_mux_qup1_se5_l1,
  847. msm_mux_qup1_se5_l2,
  848. msm_mux_qup1_se5_l3,
  849. msm_mux_qup1_se6_l0_mira,
  850. msm_mux_qup1_se6_l0_mirb,
  851. msm_mux_qup1_se6_l1_mira,
  852. msm_mux_qup1_se6_l1_mirb,
  853. msm_mux_qup1_se6_l2,
  854. msm_mux_qup1_se6_l3,
  855. msm_mux_sd_write_protect,
  856. msm_mux_sdcc5_vdd2_on,
  857. msm_mux_tb_trig_sdc2,
  858. msm_mux_tgu_ch0_trigout,
  859. msm_mux_tgu_ch1_trigout,
  860. msm_mux_tgu_ch2_trigout,
  861. msm_mux_tgu_ch3_trigout,
  862. msm_mux_tmess_prng_rosc0,
  863. msm_mux_tmess_prng_rosc1,
  864. msm_mux_tmess_prng_rosc2,
  865. msm_mux_tmess_prng_rosc3,
  866. msm_mux_tsense_pwm1_out,
  867. msm_mux_tsense_pwm2_out,
  868. msm_mux_usb0_phy_ps,
  869. msm_mux_usb2phy_ac_en,
  870. msm_mux_vsense_trigger_mirnat,
  871. msm_mux_NA,
  872. };
  873. static const char * const gpio_groups[] = {
  874. "gpio0", "gpio1", "gpio2", "gpio3", "gpio4", "gpio5", "gpio6", "gpio7",
  875. "gpio8", "gpio9", "gpio10", "gpio11", "gpio12", "gpio13", "gpio14",
  876. "gpio15", "gpio16", "gpio17", "gpio18", "gpio19", "gpio20", "gpio21",
  877. "gpio22", "gpio23", "gpio24", "gpio25", "gpio26", "gpio27", "gpio28",
  878. "gpio29", "gpio30", "gpio31", "gpio32", "gpio33", "gpio34", "gpio35",
  879. "gpio36", "gpio37", "gpio38", "gpio39", "gpio40", "gpio41", "gpio42",
  880. "gpio43", "gpio44", "gpio45", "gpio46", "gpio47", "gpio48", "gpio49",
  881. "gpio50", "gpio51", "gpio52", "gpio53", "gpio54", "gpio55", "gpio56",
  882. "gpio57", "gpio58", "gpio59", "gpio60", "gpio61", "gpio62", "gpio63",
  883. "gpio64", "gpio65", "gpio66", "gpio67", "gpio68", "gpio69", "gpio70",
  884. "gpio71", "gpio72", "gpio73", "gpio74", "gpio75", "gpio76", "gpio77",
  885. "gpio78", "gpio79", "gpio80", "gpio81", "gpio82", "gpio83", "gpio84",
  886. "gpio85", "gpio86", "gpio87", "gpio88", "gpio89", "gpio90", "gpio91",
  887. "gpio92", "gpio93", "gpio94", "gpio95", "gpio96", "gpio97", "gpio98",
  888. "gpio99", "gpio100", "gpio101", "gpio102", "gpio103", "gpio104",
  889. "gpio105", "gpio106", "gpio107", "gpio108", "gpio109", "gpio110",
  890. "gpio111", "gpio112", "gpio113", "gpio114", "gpio115", "gpio116",
  891. "gpio117", "gpio118", "gpio119", "gpio120", "gpio121", "gpio122",
  892. "gpio123", "gpio124", "gpio125", "gpio126", "gpio127", "gpio128",
  893. "gpio129", "gpio130", "gpio131", "gpio132", "gpio133", "gpio134",
  894. "gpio135", "gpio136", "gpio137", "gpio138", "gpio139", "gpio140",
  895. "gpio141", "gpio142", "gpio143", "gpio144", "gpio145", "gpio146",
  896. "gpio147", "gpio148", "gpio149", "gpio150", "gpio151", "gpio152",
  897. "gpio153", "gpio154", "gpio155", "gpio156", "gpio157", "gpio158",
  898. "gpio159", "gpio160", "gpio161", "gpio162", "gpio163", "gpio164",
  899. "gpio165", "gpio166", "gpio167", "gpio168", "gpio169", "gpio170",
  900. "gpio171", "gpio172", "gpio173", "gpio174", "gpio175", "gpio176",
  901. "gpio177", "gpio178", "gpio179", "gpio180", "gpio181", "gpio182",
  902. "gpio183", "gpio184", "gpio185", "gpio186", "gpio187", "gpio188",
  903. "gpio189", "gpio190", "gpio191", "gpio192", "gpio193", "gpio194",
  904. "gpio195", "gpio196", "gpio197", "gpio198", "gpio199", "gpio200",
  905. "gpio201", "gpio202", "gpio203", "gpio204", "gpio205", "gpio206",
  906. "gpio207", "gpio208", "gpio209", "gpio210", "gpio211", "gpio212",
  907. "gpio213", "gpio214", "gpio215", "gpio216", "gpio217", "gpio218",
  908. "gpio219", "gpio220", "gpio221", "gpio222", "gpio223",
  909. };
  910. static const char * const atest_char_start_groups[] = {
  911. "gpio15",
  912. };
  913. static const char * const atest_char_status0_groups[] = {
  914. "gpio19",
  915. };
  916. static const char * const atest_char_status1_groups[] = {
  917. "gpio18",
  918. };
  919. static const char * const atest_char_status2_groups[] = {
  920. "gpio17",
  921. };
  922. static const char * const atest_char_status3_groups[] = {
  923. "gpio16",
  924. };
  925. static const char * const atest_usb0_atereset_groups[] = {
  926. "gpio126",
  927. };
  928. static const char * const atest_usb0_testdataout00_groups[] = {
  929. "gpio127",
  930. };
  931. static const char * const atest_usb0_testdataout01_groups[] = {
  932. "gpio128",
  933. };
  934. static const char * const atest_usb0_testdataout02_groups[] = {
  935. "gpio129",
  936. };
  937. static const char * const atest_usb0_testdataout03_groups[] = {
  938. "gpio130",
  939. };
  940. static const char * const audio_ref_clk_groups[] = {
  941. "gpio162",
  942. };
  943. static const char * const cam_mclk_groups[] = {
  944. "gpio20", "gpio21", "gpio22", "gpio23", "gpio24", "gpio25", "gpio26",
  945. "gpio27", "gpio28", "gpio29", "gpio30", "gpio31",
  946. };
  947. static const char * const cci0_async_in0_groups[] = {
  948. "gpio40",
  949. };
  950. static const char * const cci0_async_in1_groups[] = {
  951. "gpio41",
  952. };
  953. static const char * const cci0_async_in2_groups[] = {
  954. "gpio42",
  955. };
  956. static const char * const cci0_timer0_groups[] = {
  957. "gpio32",
  958. };
  959. static const char * const cci0_timer1_groups[] = {
  960. "gpio33",
  961. };
  962. static const char * const cci0_timer2_groups[] = {
  963. "gpio34",
  964. };
  965. static const char * const cci0_timer3_groups[] = {
  966. "gpio35",
  967. };
  968. static const char * const cci0_timer4_groups[] = {
  969. "gpio36",
  970. };
  971. static const char * const cci1_async_in0_groups[] = {
  972. "gpio43",
  973. };
  974. static const char * const cci1_async_in1_groups[] = {
  975. "gpio44",
  976. };
  977. static const char * const cci1_async_in2_groups[] = {
  978. "gpio45",
  979. };
  980. static const char * const cci1_timer0_groups[] = {
  981. "gpio37",
  982. };
  983. static const char * const cci1_timer1_groups[] = {
  984. "gpio38",
  985. };
  986. static const char * const cci1_timer2_groups[] = {
  987. "gpio39",
  988. };
  989. static const char * const cci1_timer3_groups[] = {
  990. "gpio53",
  991. };
  992. static const char * const cci1_timer4_groups[] = {
  993. "gpio54",
  994. };
  995. static const char * const cci2_async_in0_groups[] = {
  996. "gpio46",
  997. };
  998. static const char * const cci2_async_in1_groups[] = {
  999. "gpio47",
  1000. };
  1001. static const char * const cci2_async_in2_groups[] = {
  1002. "gpio48",
  1003. };
  1004. static const char * const cci2_timer0_groups[] = {
  1005. "gpio55",
  1006. };
  1007. static const char * const cci2_timer1_groups[] = {
  1008. "gpio56",
  1009. };
  1010. static const char * const cci2_timer2_mira_groups[] = {
  1011. "gpio45",
  1012. };
  1013. static const char * const cci2_timer2_mirb_groups[] = {
  1014. "gpio49",
  1015. };
  1016. static const char * const cci2_timer3_mira_groups[] = {
  1017. "gpio46",
  1018. };
  1019. static const char * const cci2_timer3_mirb_groups[] = {
  1020. "gpio50",
  1021. };
  1022. static const char * const cci2_timer4_mira_groups[] = {
  1023. "gpio47",
  1024. };
  1025. static const char * const cci2_timer4_mirb_groups[] = {
  1026. "gpio51",
  1027. };
  1028. static const char * const cci_i2c_scl0_groups[] = {
  1029. "gpio1",
  1030. };
  1031. static const char * const cci_i2c_scl1_groups[] = {
  1032. "gpio3",
  1033. };
  1034. static const char * const cci_i2c_scl10_groups[] = {
  1035. "gpio50",
  1036. };
  1037. static const char * const cci_i2c_scl11_groups[] = {
  1038. "gpio52",
  1039. };
  1040. static const char * const cci_i2c_scl2_groups[] = {
  1041. "gpio5",
  1042. };
  1043. static const char * const cci_i2c_scl3_groups[] = {
  1044. "gpio7",
  1045. };
  1046. static const char * const cci_i2c_scl4_groups[] = {
  1047. "gpio9",
  1048. };
  1049. static const char * const cci_i2c_scl5_groups[] = {
  1050. "gpio11",
  1051. };
  1052. static const char * const cci_i2c_scl6_groups[] = {
  1053. "gpio13",
  1054. };
  1055. static const char * const cci_i2c_scl7_groups[] = {
  1056. "gpio15",
  1057. };
  1058. static const char * const cci_i2c_scl8_groups[] = {
  1059. "gpio17",
  1060. };
  1061. static const char * const cci_i2c_scl9_groups[] = {
  1062. "gpio19",
  1063. };
  1064. static const char * const cci_i2c_sda0_groups[] = {
  1065. "gpio0",
  1066. };
  1067. static const char * const cci_i2c_sda1_groups[] = {
  1068. "gpio2",
  1069. };
  1070. static const char * const cci_i2c_sda10_groups[] = {
  1071. "gpio49",
  1072. };
  1073. static const char * const cci_i2c_sda11_groups[] = {
  1074. "gpio51",
  1075. };
  1076. static const char * const cci_i2c_sda2_groups[] = {
  1077. "gpio4",
  1078. };
  1079. static const char * const cci_i2c_sda3_groups[] = {
  1080. "gpio6",
  1081. };
  1082. static const char * const cci_i2c_sda4_groups[] = {
  1083. "gpio8",
  1084. };
  1085. static const char * const cci_i2c_sda5_groups[] = {
  1086. "gpio10",
  1087. };
  1088. static const char * const cci_i2c_sda6_groups[] = {
  1089. "gpio12",
  1090. };
  1091. static const char * const cci_i2c_sda7_groups[] = {
  1092. "gpio14",
  1093. };
  1094. static const char * const cci_i2c_sda8_groups[] = {
  1095. "gpio16",
  1096. };
  1097. static const char * const cci_i2c_sda9_groups[] = {
  1098. "gpio18",
  1099. };
  1100. static const char * const cmu_rng_entropy0_groups[] = {
  1101. "gpio131",
  1102. };
  1103. static const char * const cmu_rng_entropy1_groups[] = {
  1104. "gpio130",
  1105. };
  1106. static const char * const cmu_rng_entropy2_groups[] = {
  1107. "gpio129",
  1108. };
  1109. static const char * const cmu_rng_entropy3_groups[] = {
  1110. "gpio128",
  1111. };
  1112. static const char * const dbg_out_clk_groups[] = {
  1113. "gpio133",
  1114. };
  1115. static const char * const ddr_bist_complete_groups[] = {
  1116. "gpio5",
  1117. };
  1118. static const char * const ddr_bist_fail_groups[] = {
  1119. "gpio2",
  1120. };
  1121. static const char * const ddr_bist_start_groups[] = {
  1122. "gpio3",
  1123. };
  1124. static const char * const ddr_bist_stop_groups[] = {
  1125. "gpio4",
  1126. };
  1127. static const char * const ddr_pxi0_test_groups[] = {
  1128. "gpio126", "gpio127",
  1129. };
  1130. static const char * const ddr_pxi1_test_groups[] = {
  1131. "gpio128", "gpio129",
  1132. };
  1133. static const char * const ddr_pxi2_test_groups[] = {
  1134. "gpio130", "gpio131",
  1135. };
  1136. static const char * const ddr_pxi3_test_groups[] = {
  1137. "gpio132", "gpio133",
  1138. };
  1139. static const char * const dp0_hot_plug_groups[] = {
  1140. "gpio103",
  1141. };
  1142. static const char * const edp0_hot_plug_groups[] = {
  1143. "gpio104", "gpio147",
  1144. };
  1145. static const char * const edp0_lcd_self_groups[] = {
  1146. "gpio106",
  1147. };
  1148. static const char * const edp1_dpu0_lcd_groups[] = {
  1149. "gpio107",
  1150. };
  1151. static const char * const edp1_dpu1_lcd_groups[] = {
  1152. "gpio107",
  1153. };
  1154. static const char * const edp1_hot_plug_groups[] = {
  1155. "gpio105", "gpio148",
  1156. };
  1157. static const char * const ext_mclk0_groups[] = {
  1158. "gpio162",
  1159. };
  1160. static const char * const ext_mclk1_groups[] = {
  1161. "gpio116",
  1162. };
  1163. static const char * const gcc_gp10_clk_groups[] = {
  1164. "gpio108",
  1165. };
  1166. static const char * const gcc_gp11_clk_groups[] = {
  1167. "gpio109",
  1168. };
  1169. static const char * const gcc_gp1_clk_groups[] = {
  1170. "gpio48", "gpio138",
  1171. };
  1172. static const char * const gcc_gp2_clk_groups[] = {
  1173. "gpio53", "gpio139",
  1174. };
  1175. static const char * const gcc_gp3_clk_groups[] = {
  1176. "gpio54", "gpio140",
  1177. };
  1178. static const char * const gcc_gp4_clk_groups[] = {
  1179. "gpio62",
  1180. };
  1181. static const char * const gcc_gp5_clk_groups[] = {
  1182. "gpio68",
  1183. };
  1184. static const char * const gcc_gp6_clk_groups[] = {
  1185. "gpio74",
  1186. };
  1187. static const char * const gcc_gp7_clk_groups[] = {
  1188. "gpio80",
  1189. };
  1190. static const char * const gcc_gp8_clk_groups[] = {
  1191. "gpio87",
  1192. };
  1193. static const char * const gcc_gp9_clk_groups[] = {
  1194. "gpio107",
  1195. };
  1196. static const char * const i2s0_data0_groups[] = {
  1197. "gpio163",
  1198. };
  1199. static const char * const i2s0_data1_groups[] = {
  1200. "gpio165",
  1201. };
  1202. static const char * const i2s0_sck_groups[] = {
  1203. "gpio164",
  1204. };
  1205. static const char * const i2s0_ws_groups[] = {
  1206. "gpio166",
  1207. };
  1208. static const char * const i2s2_data0_groups[] = {
  1209. "gpio155",
  1210. };
  1211. static const char * const i2s2_data1_groups[] = {
  1212. "gpio154",
  1213. };
  1214. static const char * const i2s2_sck_groups[] = {
  1215. "gpio156",
  1216. };
  1217. static const char * const i2s2_ws_groups[] = {
  1218. "gpio157",
  1219. };
  1220. static const char * const ibi_i3c_qup0_groups[] = {
  1221. "gpio94", "gpio95", "gpio98", "gpio99",
  1222. };
  1223. static const char * const ibi_i3c_qup1_groups[] = {
  1224. "gpio57", "gpio58", "gpio63", "gpio64",
  1225. };
  1226. static const char * const jitter_bist_ref_groups[] = {
  1227. "gpio158",
  1228. };
  1229. static const char * const mdp0_vsync0_mira_groups[] = {
  1230. "gpio110",
  1231. };
  1232. static const char * const mdp0_vsync0_mirb_groups[] = {
  1233. "gpio150",
  1234. };
  1235. static const char * const mdp0_vsync0_out_groups[] = {
  1236. "gpio69",
  1237. };
  1238. static const char * const mdp0_vsync1_mira_groups[] = {
  1239. "gpio111",
  1240. };
  1241. static const char * const mdp0_vsync1_mirb_groups[] = {
  1242. "gpio151",
  1243. };
  1244. static const char * const mdp0_vsync1_out_groups[] = {
  1245. "gpio70",
  1246. };
  1247. static const char * const mdp0_vsync2_out_groups[] = {
  1248. "gpio71",
  1249. };
  1250. static const char * const mdp0_vsync3_out_groups[] = {
  1251. "gpio72",
  1252. };
  1253. static const char * const mdp0_vsync4_out_groups[] = {
  1254. "gpio73",
  1255. };
  1256. static const char * const mdp0_vsync5_out_groups[] = {
  1257. "gpio74",
  1258. };
  1259. static const char * const mdp0_vsync6_out_groups[] = {
  1260. "gpio75",
  1261. };
  1262. static const char * const mdp0_vsync7_out_groups[] = {
  1263. "gpio76",
  1264. };
  1265. static const char * const mdp0_vsync8_out_groups[] = {
  1266. "gpio77",
  1267. };
  1268. static const char * const mdp1_vsync0_mira_groups[] = {
  1269. "gpio112",
  1270. };
  1271. static const char * const mdp1_vsync0_mirb_groups[] = {
  1272. "gpio152",
  1273. };
  1274. static const char * const mdp1_vsync0_out_groups[] = {
  1275. "gpio60",
  1276. };
  1277. static const char * const mdp1_vsync1_mira_groups[] = {
  1278. "gpio113",
  1279. };
  1280. static const char * const mdp1_vsync1_mirb_groups[] = {
  1281. "gpio153",
  1282. };
  1283. static const char * const mdp1_vsync1_out_groups[] = {
  1284. "gpio61",
  1285. };
  1286. static const char * const mdp1_vsync2_out_groups[] = {
  1287. "gpio62",
  1288. };
  1289. static const char * const mdp1_vsync3_out_groups[] = {
  1290. "gpio63",
  1291. };
  1292. static const char * const mdp1_vsync4_out_groups[] = {
  1293. "gpio64",
  1294. };
  1295. static const char * const mdp1_vsync5_out_groups[] = {
  1296. "gpio65",
  1297. };
  1298. static const char * const mdp1_vsync6_out_groups[] = {
  1299. "gpio66",
  1300. };
  1301. static const char * const mdp1_vsync7_out_groups[] = {
  1302. "gpio67",
  1303. };
  1304. static const char * const mdp1_vsync8_out_groups[] = {
  1305. "gpio68",
  1306. };
  1307. static const char * const pcie0_clk_req_groups[] = {
  1308. "gpio118",
  1309. };
  1310. static const char * const pcie1_clk_req_groups[] = {
  1311. "gpio142",
  1312. };
  1313. static const char * const pcie2_clk_req_groups[] = {
  1314. "gpio171",
  1315. };
  1316. static const char * const phase_flag_status0_groups[] = {
  1317. "gpio11",
  1318. };
  1319. static const char * const phase_flag_status1_groups[] = {
  1320. "gpio10",
  1321. };
  1322. static const char * const phase_flag_status10_groups[] = {
  1323. "gpio41",
  1324. };
  1325. static const char * const phase_flag_status11_groups[] = {
  1326. "gpio40",
  1327. };
  1328. static const char * const phase_flag_status12_groups[] = {
  1329. "gpio101",
  1330. };
  1331. static const char * const phase_flag_status13_groups[] = {
  1332. "gpio100",
  1333. };
  1334. static const char * const phase_flag_status14_groups[] = {
  1335. "gpio97",
  1336. };
  1337. static const char * const phase_flag_status15_groups[] = {
  1338. "gpio96",
  1339. };
  1340. static const char * const phase_flag_status16_groups[] = {
  1341. "gpio39",
  1342. };
  1343. static const char * const phase_flag_status17_groups[] = {
  1344. "gpio38",
  1345. };
  1346. static const char * const phase_flag_status18_groups[] = {
  1347. "gpio37",
  1348. };
  1349. static const char * const phase_flag_status19_groups[] = {
  1350. "gpio36",
  1351. };
  1352. static const char * const phase_flag_status2_groups[] = {
  1353. "gpio9",
  1354. };
  1355. static const char * const phase_flag_status20_groups[] = {
  1356. "gpio35",
  1357. };
  1358. static const char * const phase_flag_status21_groups[] = {
  1359. "gpio34",
  1360. };
  1361. static const char * const phase_flag_status22_groups[] = {
  1362. "gpio33",
  1363. };
  1364. static const char * const phase_flag_status23_groups[] = {
  1365. "gpio32",
  1366. };
  1367. static const char * const phase_flag_status24_groups[] = {
  1368. "gpio19",
  1369. };
  1370. static const char * const phase_flag_status25_groups[] = {
  1371. "gpio18",
  1372. };
  1373. static const char * const phase_flag_status26_groups[] = {
  1374. "gpio17",
  1375. };
  1376. static const char * const phase_flag_status27_groups[] = {
  1377. "gpio16",
  1378. };
  1379. static const char * const phase_flag_status28_groups[] = {
  1380. "gpio15",
  1381. };
  1382. static const char * const phase_flag_status29_groups[] = {
  1383. "gpio14",
  1384. };
  1385. static const char * const phase_flag_status3_groups[] = {
  1386. "gpio8",
  1387. };
  1388. static const char * const phase_flag_status30_groups[] = {
  1389. "gpio13",
  1390. };
  1391. static const char * const phase_flag_status31_groups[] = {
  1392. "gpio12",
  1393. };
  1394. static const char * const phase_flag_status4_groups[] = {
  1395. "gpio7",
  1396. };
  1397. static const char * const phase_flag_status5_groups[] = {
  1398. "gpio6",
  1399. };
  1400. static const char * const phase_flag_status6_groups[] = {
  1401. "gpio5",
  1402. };
  1403. static const char * const phase_flag_status7_groups[] = {
  1404. "gpio4",
  1405. };
  1406. static const char * const phase_flag_status8_groups[] = {
  1407. "gpio3",
  1408. };
  1409. static const char * const phase_flag_status9_groups[] = {
  1410. "gpio2",
  1411. };
  1412. static const char * const pll_bist_sync_groups[] = {
  1413. "gpio157",
  1414. };
  1415. static const char * const pll_clk_aux_groups[] = {
  1416. "gpio159",
  1417. };
  1418. static const char * const prng_rosc_test0_groups[] = {
  1419. "gpio29",
  1420. };
  1421. static const char * const prng_rosc_test1_groups[] = {
  1422. "gpio30",
  1423. };
  1424. static const char * const prng_rosc_test2_groups[] = {
  1425. "gpio28",
  1426. };
  1427. static const char * const prng_rosc_test3_groups[] = {
  1428. "gpio27",
  1429. };
  1430. static const char * const pwm_0_groups[] = {
  1431. "gpio100",
  1432. };
  1433. static const char * const pwm_1_groups[] = {
  1434. "gpio101",
  1435. };
  1436. static const char * const pwm_10_groups[] = {
  1437. "gpio84",
  1438. };
  1439. static const char * const pwm_11_groups[] = {
  1440. "gpio108",
  1441. };
  1442. static const char * const pwm_12_groups[] = {
  1443. "gpio109",
  1444. };
  1445. static const char * const pwm_13_groups[] = {
  1446. "gpio19",
  1447. };
  1448. static const char * const pwm_14_groups[] = {
  1449. "gpio31",
  1450. };
  1451. static const char * const pwm_15_groups[] = {
  1452. "gpio52",
  1453. };
  1454. static const char * const pwm_16_groups[] = {
  1455. "gpio114",
  1456. };
  1457. static const char * const pwm_17_groups[] = {
  1458. "gpio149",
  1459. };
  1460. static const char * const pwm_18_groups[] = {
  1461. "gpio169",
  1462. };
  1463. static const char * const pwm_19_groups[] = {
  1464. "gpio173",
  1465. };
  1466. static const char * const pwm_2_groups[] = {
  1467. "gpio60",
  1468. };
  1469. static const char * const pwm_3_groups[] = {
  1470. "gpio61",
  1471. };
  1472. static const char * const pwm_4_groups[] = {
  1473. "gpio66",
  1474. };
  1475. static const char * const pwm_5_groups[] = {
  1476. "gpio67",
  1477. };
  1478. static const char * const pwm_6_groups[] = {
  1479. "gpio72",
  1480. };
  1481. static const char * const pwm_7_groups[] = {
  1482. "gpio73",
  1483. };
  1484. static const char * const pwm_8_groups[] = {
  1485. "gpio78",
  1486. };
  1487. static const char * const pwm_9_groups[] = {
  1488. "gpio79",
  1489. };
  1490. static const char * const qdss_cti_trig0_groups[] = {
  1491. "gpio43", "gpio114", "gpio155", "gpio157",
  1492. };
  1493. static const char * const qdss_cti_trig1_groups[] = {
  1494. "gpio42", "gpio115", "gpio154", "gpio156",
  1495. };
  1496. static const char * const qdss_gpio_traceclk_groups[] = {
  1497. "gpio28", "gpio203",
  1498. };
  1499. static const char * const qdss_gpio_tracectl_groups[] = {
  1500. "gpio29", "gpio202",
  1501. };
  1502. static const char * const qdss_gpio_tracedata0_groups[] = {
  1503. "gpio20", "gpio221",
  1504. };
  1505. static const char * const qdss_gpio_tracedata1_groups[] = {
  1506. "gpio21", "gpio223",
  1507. };
  1508. static const char * const qdss_gpio_tracedata10_groups[] = {
  1509. "gpio44", "gpio134",
  1510. };
  1511. static const char * const qdss_gpio_tracedata11_groups[] = {
  1512. "gpio45", "gpio215",
  1513. };
  1514. static const char * const qdss_gpio_tracedata12_groups[] = {
  1515. "gpio46", "gpio216",
  1516. };
  1517. static const char * const qdss_gpio_tracedata13_groups[] = {
  1518. "gpio47", "gpio217",
  1519. };
  1520. static const char * const qdss_gpio_tracedata14_groups[] = {
  1521. "gpio48", "gpio219",
  1522. };
  1523. static const char * const qdss_gpio_tracedata15_groups[] = {
  1524. "gpio49", "gpio135",
  1525. };
  1526. static const char * const qdss_gpio_tracedata2_groups[] = {
  1527. "gpio22", "gpio191",
  1528. };
  1529. static const char * const qdss_gpio_tracedata3_groups[] = {
  1530. "gpio23", "gpio192",
  1531. };
  1532. static const char * const qdss_gpio_tracedata4_groups[] = {
  1533. "gpio24", "gpio193",
  1534. };
  1535. static const char * const qdss_gpio_tracedata5_groups[] = {
  1536. "gpio25", "gpio194",
  1537. };
  1538. static const char * const qdss_gpio_tracedata6_groups[] = {
  1539. "gpio26", "gpio197",
  1540. };
  1541. static const char * const qdss_gpio_tracedata7_groups[] = {
  1542. "gpio27", "gpio198",
  1543. };
  1544. static const char * const qdss_gpio_tracedata8_groups[] = {
  1545. "gpio30", "gpio206",
  1546. };
  1547. static const char * const qdss_gpio_tracedata9_groups[] = {
  1548. "gpio31", "gpio207",
  1549. };
  1550. static const char * const qup0_se0_l0_groups[] = {
  1551. "gpio94",
  1552. };
  1553. static const char * const qup0_se0_l1_groups[] = {
  1554. "gpio95",
  1555. };
  1556. static const char * const qup0_se0_l2_groups[] = {
  1557. "gpio96",
  1558. };
  1559. static const char * const qup0_se0_l3_groups[] = {
  1560. "gpio97",
  1561. };
  1562. static const char * const qup0_se1_l0_groups[] = {
  1563. "gpio98",
  1564. };
  1565. static const char * const qup0_se1_l1_groups[] = {
  1566. "gpio99",
  1567. };
  1568. static const char * const qup0_se1_l2_groups[] = {
  1569. "gpio100",
  1570. };
  1571. static const char * const qup0_se1_l3_groups[] = {
  1572. "gpio101",
  1573. };
  1574. static const char * const qup0_se2_l0_groups[] = {
  1575. "gpio150",
  1576. };
  1577. static const char * const qup0_se2_l1_groups[] = {
  1578. "gpio151",
  1579. };
  1580. static const char * const qup0_se2_l2_groups[] = {
  1581. "gpio152",
  1582. };
  1583. static const char * const qup0_se2_l3_groups[] = {
  1584. "gpio153",
  1585. };
  1586. static const char * const qup0_se3_l0_groups[] = {
  1587. "gpio134",
  1588. };
  1589. static const char * const qup0_se3_l1_groups[] = {
  1590. "gpio135",
  1591. };
  1592. static const char * const qup0_se3_l2_groups[] = {
  1593. "gpio136",
  1594. };
  1595. static const char * const qup0_se3_l3_groups[] = {
  1596. "gpio137",
  1597. };
  1598. static const char * const qup0_se4_l0_mira_groups[] = {
  1599. "gpio130",
  1600. };
  1601. static const char * const qup0_se4_l0_mirb_groups[] = {
  1602. "gpio162",
  1603. };
  1604. static const char * const qup0_se4_l1_mira_groups[] = {
  1605. "gpio131",
  1606. };
  1607. static const char * const qup0_se4_l1_mirb_groups[] = {
  1608. "gpio163",
  1609. };
  1610. static const char * const qup0_se4_l2_mira_groups[] = {
  1611. "gpio132",
  1612. };
  1613. static const char * const qup0_se4_l2_mirb_groups[] = {
  1614. "gpio164",
  1615. };
  1616. static const char * const qup0_se4_l3_mira_groups[] = {
  1617. "gpio133",
  1618. };
  1619. static const char * const qup0_se4_l3_mirb_groups[] = {
  1620. "gpio165",
  1621. };
  1622. static const char * const qup0_se4_l4_groups[] = {
  1623. "gpio166",
  1624. };
  1625. static const char * const qup0_se4_l5_groups[] = {
  1626. "gpio167",
  1627. };
  1628. static const char * const qup0_se4_l6_groups[] = {
  1629. "gpio168",
  1630. };
  1631. static const char * const qup0_se5_l0_groups[] = {
  1632. "gpio126",
  1633. };
  1634. static const char * const qup0_se5_l1_groups[] = {
  1635. "gpio127",
  1636. };
  1637. static const char * const qup0_se5_l2_groups[] = {
  1638. "gpio128",
  1639. };
  1640. static const char * const qup0_se5_l3_groups[] = {
  1641. "gpio129",
  1642. };
  1643. static const char * const qup0_se6_l0_groups[] = {
  1644. "gpio158",
  1645. };
  1646. static const char * const qup0_se6_l1_groups[] = {
  1647. "gpio159",
  1648. };
  1649. static const char * const qup0_se6_l2_groups[] = {
  1650. "gpio156",
  1651. };
  1652. static const char * const qup0_se6_l3_groups[] = {
  1653. "gpio157",
  1654. };
  1655. static const char * const qup1_se0_l0_groups[] = {
  1656. "gpio57",
  1657. };
  1658. static const char * const qup1_se0_l1_groups[] = {
  1659. "gpio58",
  1660. };
  1661. static const char * const qup1_se0_l2_groups[] = {
  1662. "gpio59",
  1663. };
  1664. static const char * const qup1_se0_l3_mira_groups[] = {
  1665. "gpio60",
  1666. };
  1667. static const char * const qup1_se0_l3_mirb_groups[] = {
  1668. "gpio62",
  1669. };
  1670. static const char * const qup1_se1_l0_groups[] = {
  1671. "gpio63",
  1672. };
  1673. static const char * const qup1_se1_l1_groups[] = {
  1674. "gpio64",
  1675. };
  1676. static const char * const qup1_se1_l2_groups[] = {
  1677. "gpio65",
  1678. };
  1679. static const char * const qup1_se1_l3_mira_groups[] = {
  1680. "gpio66",
  1681. };
  1682. static const char * const qup1_se1_l3_mirb_groups[] = {
  1683. "gpio68",
  1684. };
  1685. static const char * const qup1_se2_l0_groups[] = {
  1686. "gpio69",
  1687. };
  1688. static const char * const qup1_se2_l1_groups[] = {
  1689. "gpio70",
  1690. };
  1691. static const char * const qup1_se2_l2_groups[] = {
  1692. "gpio71",
  1693. };
  1694. static const char * const qup1_se2_l3_mira_groups[] = {
  1695. "gpio72",
  1696. };
  1697. static const char * const qup1_se2_l3_mirb_groups[] = {
  1698. "gpio74",
  1699. };
  1700. static const char * const qup1_se3_l0_groups[] = {
  1701. "gpio75",
  1702. };
  1703. static const char * const qup1_se3_l1_groups[] = {
  1704. "gpio76",
  1705. };
  1706. static const char * const qup1_se3_l2_groups[] = {
  1707. "gpio77",
  1708. };
  1709. static const char * const qup1_se3_l3_mira_groups[] = {
  1710. "gpio78",
  1711. };
  1712. static const char * const qup1_se3_l3_mirb_groups[] = {
  1713. "gpio80",
  1714. };
  1715. static const char * const qup1_se4_l0_groups[] = {
  1716. "gpio81",
  1717. };
  1718. static const char * const qup1_se4_l1_groups[] = {
  1719. "gpio82",
  1720. };
  1721. static const char * const qup1_se4_l2_groups[] = {
  1722. "gpio83",
  1723. };
  1724. static const char * const qup1_se4_l3_groups[] = {
  1725. "gpio84",
  1726. };
  1727. static const char * const qup1_se4_l4_groups[] = {
  1728. "gpio85",
  1729. };
  1730. static const char * const qup1_se4_l5_groups[] = {
  1731. "gpio86",
  1732. };
  1733. static const char * const qup1_se4_l6_groups[] = {
  1734. "gpio87",
  1735. };
  1736. static const char * const qup1_se5_l0_groups[] = {
  1737. "gpio88",
  1738. };
  1739. static const char * const qup1_se5_l1_groups[] = {
  1740. "gpio89",
  1741. };
  1742. static const char * const qup1_se5_l2_groups[] = {
  1743. "gpio90",
  1744. };
  1745. static const char * const qup1_se5_l3_groups[] = {
  1746. "gpio91",
  1747. };
  1748. static const char * const qup1_se6_l0_mira_groups[] = {
  1749. "gpio92",
  1750. };
  1751. static const char * const qup1_se6_l0_mirb_groups[] = {
  1752. "gpio103",
  1753. };
  1754. static const char * const qup1_se6_l1_mira_groups[] = {
  1755. "gpio93",
  1756. };
  1757. static const char * const qup1_se6_l1_mirb_groups[] = {
  1758. "gpio104",
  1759. };
  1760. static const char * const qup1_se6_l2_groups[] = {
  1761. "gpio105",
  1762. };
  1763. static const char * const qup1_se6_l3_groups[] = {
  1764. "gpio106",
  1765. };
  1766. static const char * const sd_write_protect_groups[] = {
  1767. "gpio155",
  1768. };
  1769. static const char * const sdcc5_vdd2_on_groups[] = {
  1770. "gpio154",
  1771. };
  1772. static const char * const tb_trig_sdc2_groups[] = {
  1773. "gpio174",
  1774. };
  1775. static const char * const tgu_ch0_trigout_groups[] = {
  1776. "gpio163",
  1777. };
  1778. static const char * const tgu_ch1_trigout_groups[] = {
  1779. "gpio164",
  1780. };
  1781. static const char * const tgu_ch2_trigout_groups[] = {
  1782. "gpio165",
  1783. };
  1784. static const char * const tgu_ch3_trigout_groups[] = {
  1785. "gpio166",
  1786. };
  1787. static const char * const tmess_prng_rosc0_groups[] = {
  1788. "gpio26",
  1789. };
  1790. static const char * const tmess_prng_rosc1_groups[] = {
  1791. "gpio25",
  1792. };
  1793. static const char * const tmess_prng_rosc2_groups[] = {
  1794. "gpio24",
  1795. };
  1796. static const char * const tmess_prng_rosc3_groups[] = {
  1797. "gpio23",
  1798. };
  1799. static const char * const tsense_pwm1_out_groups[] = {
  1800. "gpio102",
  1801. };
  1802. static const char * const tsense_pwm2_out_groups[] = {
  1803. "gpio102",
  1804. };
  1805. static const char * const usb0_phy_ps_groups[] = {
  1806. "gpio160",
  1807. };
  1808. static const char * const usb2phy_ac_en_groups[] = {
  1809. "gpio141",
  1810. };
  1811. static const char * const vsense_trigger_mirnat_groups[] = {
  1812. "gpio126",
  1813. };
  1814. static const struct msm_function anorak_functions[] = {
  1815. FUNCTION(gpio),
  1816. FUNCTION(atest_char_start),
  1817. FUNCTION(atest_char_status0),
  1818. FUNCTION(atest_char_status1),
  1819. FUNCTION(atest_char_status2),
  1820. FUNCTION(atest_char_status3),
  1821. FUNCTION(atest_usb0_atereset),
  1822. FUNCTION(atest_usb0_testdataout00),
  1823. FUNCTION(atest_usb0_testdataout01),
  1824. FUNCTION(atest_usb0_testdataout02),
  1825. FUNCTION(atest_usb0_testdataout03),
  1826. FUNCTION(audio_ref_clk),
  1827. FUNCTION(cam_mclk),
  1828. FUNCTION(cci0_async_in0),
  1829. FUNCTION(cci0_async_in1),
  1830. FUNCTION(cci0_async_in2),
  1831. FUNCTION(cci0_timer0),
  1832. FUNCTION(cci0_timer1),
  1833. FUNCTION(cci0_timer2),
  1834. FUNCTION(cci0_timer3),
  1835. FUNCTION(cci0_timer4),
  1836. FUNCTION(cci1_async_in0),
  1837. FUNCTION(cci1_async_in1),
  1838. FUNCTION(cci1_async_in2),
  1839. FUNCTION(cci1_timer0),
  1840. FUNCTION(cci1_timer1),
  1841. FUNCTION(cci1_timer2),
  1842. FUNCTION(cci1_timer3),
  1843. FUNCTION(cci1_timer4),
  1844. FUNCTION(cci2_async_in0),
  1845. FUNCTION(cci2_async_in1),
  1846. FUNCTION(cci2_async_in2),
  1847. FUNCTION(cci2_timer0),
  1848. FUNCTION(cci2_timer1),
  1849. FUNCTION(cci2_timer2_mira),
  1850. FUNCTION(cci2_timer2_mirb),
  1851. FUNCTION(cci2_timer3_mira),
  1852. FUNCTION(cci2_timer3_mirb),
  1853. FUNCTION(cci2_timer4_mira),
  1854. FUNCTION(cci2_timer4_mirb),
  1855. FUNCTION(cci_i2c_scl0),
  1856. FUNCTION(cci_i2c_scl1),
  1857. FUNCTION(cci_i2c_scl10),
  1858. FUNCTION(cci_i2c_scl11),
  1859. FUNCTION(cci_i2c_scl2),
  1860. FUNCTION(cci_i2c_scl3),
  1861. FUNCTION(cci_i2c_scl4),
  1862. FUNCTION(cci_i2c_scl5),
  1863. FUNCTION(cci_i2c_scl6),
  1864. FUNCTION(cci_i2c_scl7),
  1865. FUNCTION(cci_i2c_scl8),
  1866. FUNCTION(cci_i2c_scl9),
  1867. FUNCTION(cci_i2c_sda0),
  1868. FUNCTION(cci_i2c_sda1),
  1869. FUNCTION(cci_i2c_sda10),
  1870. FUNCTION(cci_i2c_sda11),
  1871. FUNCTION(cci_i2c_sda2),
  1872. FUNCTION(cci_i2c_sda3),
  1873. FUNCTION(cci_i2c_sda4),
  1874. FUNCTION(cci_i2c_sda5),
  1875. FUNCTION(cci_i2c_sda6),
  1876. FUNCTION(cci_i2c_sda7),
  1877. FUNCTION(cci_i2c_sda8),
  1878. FUNCTION(cci_i2c_sda9),
  1879. FUNCTION(cmu_rng_entropy0),
  1880. FUNCTION(cmu_rng_entropy1),
  1881. FUNCTION(cmu_rng_entropy2),
  1882. FUNCTION(cmu_rng_entropy3),
  1883. FUNCTION(dbg_out_clk),
  1884. FUNCTION(ddr_bist_complete),
  1885. FUNCTION(ddr_bist_fail),
  1886. FUNCTION(ddr_bist_start),
  1887. FUNCTION(ddr_bist_stop),
  1888. FUNCTION(ddr_pxi0_test),
  1889. FUNCTION(ddr_pxi1_test),
  1890. FUNCTION(ddr_pxi2_test),
  1891. FUNCTION(ddr_pxi3_test),
  1892. FUNCTION(dp0_hot_plug),
  1893. FUNCTION(edp0_hot_plug),
  1894. FUNCTION(edp0_lcd_self),
  1895. FUNCTION(edp1_dpu0_lcd),
  1896. FUNCTION(edp1_dpu1_lcd),
  1897. FUNCTION(edp1_hot_plug),
  1898. FUNCTION(ext_mclk0),
  1899. FUNCTION(ext_mclk1),
  1900. FUNCTION(gcc_gp10_clk),
  1901. FUNCTION(gcc_gp11_clk),
  1902. FUNCTION(gcc_gp1_clk),
  1903. FUNCTION(gcc_gp2_clk),
  1904. FUNCTION(gcc_gp3_clk),
  1905. FUNCTION(gcc_gp4_clk),
  1906. FUNCTION(gcc_gp5_clk),
  1907. FUNCTION(gcc_gp6_clk),
  1908. FUNCTION(gcc_gp7_clk),
  1909. FUNCTION(gcc_gp8_clk),
  1910. FUNCTION(gcc_gp9_clk),
  1911. FUNCTION(i2s0_data0),
  1912. FUNCTION(i2s0_data1),
  1913. FUNCTION(i2s0_sck),
  1914. FUNCTION(i2s0_ws),
  1915. FUNCTION(i2s2_data0),
  1916. FUNCTION(i2s2_data1),
  1917. FUNCTION(i2s2_sck),
  1918. FUNCTION(i2s2_ws),
  1919. FUNCTION(ibi_i3c_qup0),
  1920. FUNCTION(ibi_i3c_qup1),
  1921. FUNCTION(jitter_bist_ref),
  1922. FUNCTION(mdp0_vsync0_mira),
  1923. FUNCTION(mdp0_vsync0_mirb),
  1924. FUNCTION(mdp0_vsync0_out),
  1925. FUNCTION(mdp0_vsync1_mira),
  1926. FUNCTION(mdp0_vsync1_mirb),
  1927. FUNCTION(mdp0_vsync1_out),
  1928. FUNCTION(mdp0_vsync2_out),
  1929. FUNCTION(mdp0_vsync3_out),
  1930. FUNCTION(mdp0_vsync4_out),
  1931. FUNCTION(mdp0_vsync5_out),
  1932. FUNCTION(mdp0_vsync6_out),
  1933. FUNCTION(mdp0_vsync7_out),
  1934. FUNCTION(mdp0_vsync8_out),
  1935. FUNCTION(mdp1_vsync0_mira),
  1936. FUNCTION(mdp1_vsync0_mirb),
  1937. FUNCTION(mdp1_vsync0_out),
  1938. FUNCTION(mdp1_vsync1_mira),
  1939. FUNCTION(mdp1_vsync1_mirb),
  1940. FUNCTION(mdp1_vsync1_out),
  1941. FUNCTION(mdp1_vsync2_out),
  1942. FUNCTION(mdp1_vsync3_out),
  1943. FUNCTION(mdp1_vsync4_out),
  1944. FUNCTION(mdp1_vsync5_out),
  1945. FUNCTION(mdp1_vsync6_out),
  1946. FUNCTION(mdp1_vsync7_out),
  1947. FUNCTION(mdp1_vsync8_out),
  1948. FUNCTION(pcie0_clk_req),
  1949. FUNCTION(pcie1_clk_req),
  1950. FUNCTION(pcie2_clk_req),
  1951. FUNCTION(phase_flag_status0),
  1952. FUNCTION(phase_flag_status1),
  1953. FUNCTION(phase_flag_status10),
  1954. FUNCTION(phase_flag_status11),
  1955. FUNCTION(phase_flag_status12),
  1956. FUNCTION(phase_flag_status13),
  1957. FUNCTION(phase_flag_status14),
  1958. FUNCTION(phase_flag_status15),
  1959. FUNCTION(phase_flag_status16),
  1960. FUNCTION(phase_flag_status17),
  1961. FUNCTION(phase_flag_status18),
  1962. FUNCTION(phase_flag_status19),
  1963. FUNCTION(phase_flag_status2),
  1964. FUNCTION(phase_flag_status20),
  1965. FUNCTION(phase_flag_status21),
  1966. FUNCTION(phase_flag_status22),
  1967. FUNCTION(phase_flag_status23),
  1968. FUNCTION(phase_flag_status24),
  1969. FUNCTION(phase_flag_status25),
  1970. FUNCTION(phase_flag_status26),
  1971. FUNCTION(phase_flag_status27),
  1972. FUNCTION(phase_flag_status28),
  1973. FUNCTION(phase_flag_status29),
  1974. FUNCTION(phase_flag_status3),
  1975. FUNCTION(phase_flag_status30),
  1976. FUNCTION(phase_flag_status31),
  1977. FUNCTION(phase_flag_status4),
  1978. FUNCTION(phase_flag_status5),
  1979. FUNCTION(phase_flag_status6),
  1980. FUNCTION(phase_flag_status7),
  1981. FUNCTION(phase_flag_status8),
  1982. FUNCTION(phase_flag_status9),
  1983. FUNCTION(pll_bist_sync),
  1984. FUNCTION(pll_clk_aux),
  1985. FUNCTION(prng_rosc_test0),
  1986. FUNCTION(prng_rosc_test1),
  1987. FUNCTION(prng_rosc_test2),
  1988. FUNCTION(prng_rosc_test3),
  1989. FUNCTION(pwm_0),
  1990. FUNCTION(pwm_1),
  1991. FUNCTION(pwm_10),
  1992. FUNCTION(pwm_11),
  1993. FUNCTION(pwm_12),
  1994. FUNCTION(pwm_13),
  1995. FUNCTION(pwm_14),
  1996. FUNCTION(pwm_15),
  1997. FUNCTION(pwm_16),
  1998. FUNCTION(pwm_17),
  1999. FUNCTION(pwm_18),
  2000. FUNCTION(pwm_19),
  2001. FUNCTION(pwm_2),
  2002. FUNCTION(pwm_3),
  2003. FUNCTION(pwm_4),
  2004. FUNCTION(pwm_5),
  2005. FUNCTION(pwm_6),
  2006. FUNCTION(pwm_7),
  2007. FUNCTION(pwm_8),
  2008. FUNCTION(pwm_9),
  2009. FUNCTION(qdss_cti_trig0),
  2010. FUNCTION(qdss_cti_trig1),
  2011. FUNCTION(qdss_gpio_traceclk),
  2012. FUNCTION(qdss_gpio_tracectl),
  2013. FUNCTION(qdss_gpio_tracedata0),
  2014. FUNCTION(qdss_gpio_tracedata1),
  2015. FUNCTION(qdss_gpio_tracedata10),
  2016. FUNCTION(qdss_gpio_tracedata11),
  2017. FUNCTION(qdss_gpio_tracedata12),
  2018. FUNCTION(qdss_gpio_tracedata13),
  2019. FUNCTION(qdss_gpio_tracedata14),
  2020. FUNCTION(qdss_gpio_tracedata15),
  2021. FUNCTION(qdss_gpio_tracedata2),
  2022. FUNCTION(qdss_gpio_tracedata3),
  2023. FUNCTION(qdss_gpio_tracedata4),
  2024. FUNCTION(qdss_gpio_tracedata5),
  2025. FUNCTION(qdss_gpio_tracedata6),
  2026. FUNCTION(qdss_gpio_tracedata7),
  2027. FUNCTION(qdss_gpio_tracedata8),
  2028. FUNCTION(qdss_gpio_tracedata9),
  2029. FUNCTION(qup0_se0_l0),
  2030. FUNCTION(qup0_se0_l1),
  2031. FUNCTION(qup0_se0_l2),
  2032. FUNCTION(qup0_se0_l3),
  2033. FUNCTION(qup0_se1_l0),
  2034. FUNCTION(qup0_se1_l1),
  2035. FUNCTION(qup0_se1_l2),
  2036. FUNCTION(qup0_se1_l3),
  2037. FUNCTION(qup0_se2_l0),
  2038. FUNCTION(qup0_se2_l1),
  2039. FUNCTION(qup0_se2_l2),
  2040. FUNCTION(qup0_se2_l3),
  2041. FUNCTION(qup0_se3_l0),
  2042. FUNCTION(qup0_se3_l1),
  2043. FUNCTION(qup0_se3_l2),
  2044. FUNCTION(qup0_se3_l3),
  2045. FUNCTION(qup0_se4_l0_mira),
  2046. FUNCTION(qup0_se4_l0_mirb),
  2047. FUNCTION(qup0_se4_l1_mira),
  2048. FUNCTION(qup0_se4_l1_mirb),
  2049. FUNCTION(qup0_se4_l2_mira),
  2050. FUNCTION(qup0_se4_l2_mirb),
  2051. FUNCTION(qup0_se4_l3_mira),
  2052. FUNCTION(qup0_se4_l3_mirb),
  2053. FUNCTION(qup0_se4_l4),
  2054. FUNCTION(qup0_se4_l5),
  2055. FUNCTION(qup0_se4_l6),
  2056. FUNCTION(qup0_se5_l0),
  2057. FUNCTION(qup0_se5_l1),
  2058. FUNCTION(qup0_se5_l2),
  2059. FUNCTION(qup0_se5_l3),
  2060. FUNCTION(qup0_se6_l0),
  2061. FUNCTION(qup0_se6_l1),
  2062. FUNCTION(qup0_se6_l2),
  2063. FUNCTION(qup0_se6_l3),
  2064. FUNCTION(qup1_se0_l0),
  2065. FUNCTION(qup1_se0_l1),
  2066. FUNCTION(qup1_se0_l2),
  2067. FUNCTION(qup1_se0_l3_mira),
  2068. FUNCTION(qup1_se0_l3_mirb),
  2069. FUNCTION(qup1_se1_l0),
  2070. FUNCTION(qup1_se1_l1),
  2071. FUNCTION(qup1_se1_l2),
  2072. FUNCTION(qup1_se1_l3_mira),
  2073. FUNCTION(qup1_se1_l3_mirb),
  2074. FUNCTION(qup1_se2_l0),
  2075. FUNCTION(qup1_se2_l1),
  2076. FUNCTION(qup1_se2_l2),
  2077. FUNCTION(qup1_se2_l3_mira),
  2078. FUNCTION(qup1_se2_l3_mirb),
  2079. FUNCTION(qup1_se3_l0),
  2080. FUNCTION(qup1_se3_l1),
  2081. FUNCTION(qup1_se3_l2),
  2082. FUNCTION(qup1_se3_l3_mira),
  2083. FUNCTION(qup1_se3_l3_mirb),
  2084. FUNCTION(qup1_se4_l0),
  2085. FUNCTION(qup1_se4_l1),
  2086. FUNCTION(qup1_se4_l2),
  2087. FUNCTION(qup1_se4_l3),
  2088. FUNCTION(qup1_se4_l4),
  2089. FUNCTION(qup1_se4_l5),
  2090. FUNCTION(qup1_se4_l6),
  2091. FUNCTION(qup1_se5_l0),
  2092. FUNCTION(qup1_se5_l1),
  2093. FUNCTION(qup1_se5_l2),
  2094. FUNCTION(qup1_se5_l3),
  2095. FUNCTION(qup1_se6_l0_mira),
  2096. FUNCTION(qup1_se6_l0_mirb),
  2097. FUNCTION(qup1_se6_l1_mira),
  2098. FUNCTION(qup1_se6_l1_mirb),
  2099. FUNCTION(qup1_se6_l2),
  2100. FUNCTION(qup1_se6_l3),
  2101. FUNCTION(sd_write_protect),
  2102. FUNCTION(sdcc5_vdd2_on),
  2103. FUNCTION(tb_trig_sdc2),
  2104. FUNCTION(tgu_ch0_trigout),
  2105. FUNCTION(tgu_ch1_trigout),
  2106. FUNCTION(tgu_ch2_trigout),
  2107. FUNCTION(tgu_ch3_trigout),
  2108. FUNCTION(tmess_prng_rosc0),
  2109. FUNCTION(tmess_prng_rosc1),
  2110. FUNCTION(tmess_prng_rosc2),
  2111. FUNCTION(tmess_prng_rosc3),
  2112. FUNCTION(tsense_pwm1_out),
  2113. FUNCTION(tsense_pwm2_out),
  2114. FUNCTION(usb0_phy_ps),
  2115. FUNCTION(usb2phy_ac_en),
  2116. FUNCTION(vsense_trigger_mirnat),
  2117. };
  2118. /* Every pin is maintained as a single group, and missing or non-existing pin
  2119. * would be maintained as dummy group to synchronize pin group index with
  2120. * pin descriptor registered with pinctrl core.
  2121. * Clients would not be able to request these dummy pin groups.
  2122. */
  2123. static const struct msm_pingroup anorak_groups[] = {
  2124. [0] = PINGROUP(0, cci_i2c_sda0, NA, NA, NA, NA, NA, NA, NA, NA, 0, -1),
  2125. [1] = PINGROUP(1, cci_i2c_scl0, NA, NA, NA, NA, NA, NA, NA, NA, 0, -1),
  2126. [2] = PINGROUP(2, cci_i2c_sda1, ddr_bist_fail, NA, phase_flag_status9,
  2127. NA, NA, NA, NA, NA, 0, -1),
  2128. [3] = PINGROUP(3, cci_i2c_scl1, ddr_bist_start, NA, phase_flag_status8,
  2129. NA, NA, NA, NA, NA, 0, -1),
  2130. [4] = PINGROUP(4, cci_i2c_sda2, ddr_bist_stop, NA, phase_flag_status7,
  2131. NA, NA, NA, NA, NA, 0, -1),
  2132. [5] = PINGROUP(5, cci_i2c_scl2, ddr_bist_complete, NA,
  2133. phase_flag_status6, NA, NA, NA, NA, NA, 0, -1),
  2134. [6] = PINGROUP(6, cci_i2c_sda3, NA, phase_flag_status5, NA, NA, NA, NA,
  2135. NA, NA, 0, -1),
  2136. [7] = PINGROUP(7, cci_i2c_scl3, NA, phase_flag_status4, NA, NA, NA, NA,
  2137. NA, NA, 0, -1),
  2138. [8] = PINGROUP(8, cci_i2c_sda4, NA, phase_flag_status3, NA, NA, NA, NA,
  2139. NA, NA, 0, -1),
  2140. [9] = PINGROUP(9, cci_i2c_scl4, NA, phase_flag_status2, NA, NA, NA, NA,
  2141. NA, NA, 0, -1),
  2142. [10] = PINGROUP(10, cci_i2c_sda5, NA, phase_flag_status1, NA, NA, NA,
  2143. NA, NA, NA, 0, -1),
  2144. [11] = PINGROUP(11, cci_i2c_scl5, NA, phase_flag_status0, NA, NA, NA,
  2145. NA, NA, NA, 0, -1),
  2146. [12] = PINGROUP(12, cci_i2c_sda6, NA, phase_flag_status31, NA, NA, NA,
  2147. NA, NA, NA, 0, -1),
  2148. [13] = PINGROUP(13, cci_i2c_scl6, NA, phase_flag_status30, NA, NA, NA,
  2149. NA, NA, NA, 0, -1),
  2150. [14] = PINGROUP(14, cci_i2c_sda7, NA, phase_flag_status29, NA, NA, NA,
  2151. NA, NA, NA, 0, -1),
  2152. [15] = PINGROUP(15, cci_i2c_scl7, NA, phase_flag_status28,
  2153. atest_char_start, NA, NA, NA, NA, NA, 0, -1),
  2154. [16] = PINGROUP(16, cci_i2c_sda8, NA, phase_flag_status27,
  2155. atest_char_status3, NA, NA, NA, NA, NA, 0, -1),
  2156. [17] = PINGROUP(17, cci_i2c_scl8, NA, phase_flag_status26,
  2157. atest_char_status2, NA, NA, NA, NA, NA, 0, -1),
  2158. [18] = PINGROUP(18, cci_i2c_sda9, NA, phase_flag_status25,
  2159. atest_char_status1, NA, NA, NA, NA, NA, 0xE000C, 0),
  2160. [19] = PINGROUP(19, cci_i2c_scl9, pwm_13, NA, phase_flag_status24,
  2161. atest_char_status0, NA, NA, NA, NA, 0, -1),
  2162. [20] = PINGROUP(20, cam_mclk, qdss_gpio_tracedata0, NA, NA, NA, NA, NA,
  2163. NA, NA, 0, -1),
  2164. [21] = PINGROUP(21, cam_mclk, qdss_gpio_tracedata1, NA, NA, NA, NA, NA,
  2165. NA, NA, 0, -1),
  2166. [22] = PINGROUP(22, cam_mclk, qdss_gpio_tracedata2, NA, NA, NA, NA, NA,
  2167. NA, NA, 0, -1),
  2168. [23] = PINGROUP(23, cam_mclk, tmess_prng_rosc3, qdss_gpio_tracedata3,
  2169. NA, NA, NA, NA, NA, NA, 0, -1),
  2170. [24] = PINGROUP(24, cam_mclk, tmess_prng_rosc2, qdss_gpio_tracedata4,
  2171. NA, NA, NA, NA, NA, NA, 0, -1),
  2172. [25] = PINGROUP(25, cam_mclk, tmess_prng_rosc1, qdss_gpio_tracedata5,
  2173. NA, NA, NA, NA, NA, NA, 0, -1),
  2174. [26] = PINGROUP(26, cam_mclk, tmess_prng_rosc0, qdss_gpio_tracedata6,
  2175. NA, NA, NA, NA, NA, NA, 0, -1),
  2176. [27] = PINGROUP(27, cam_mclk, prng_rosc_test3, qdss_gpio_tracedata7,
  2177. NA, NA, NA, NA, NA, NA, 0, -1),
  2178. [28] = PINGROUP(28, cam_mclk, prng_rosc_test2, qdss_gpio_traceclk, NA,
  2179. NA, NA, NA, NA, NA, 0, -1),
  2180. [29] = PINGROUP(29, cam_mclk, prng_rosc_test0, qdss_gpio_tracectl, NA,
  2181. NA, NA, NA, NA, NA, 0, -1),
  2182. [30] = PINGROUP(30, cam_mclk, prng_rosc_test1, qdss_gpio_tracedata8,
  2183. NA, NA, NA, NA, NA, NA, 0, -1),
  2184. [31] = PINGROUP(31, cam_mclk, pwm_14, qdss_gpio_tracedata9, NA, NA, NA,
  2185. NA, NA, NA, 0xE000C, 1),
  2186. [32] = PINGROUP(32, cci0_timer0, NA, phase_flag_status23, NA, NA, NA,
  2187. NA, NA, NA, 0, -1),
  2188. [33] = PINGROUP(33, cci0_timer1, NA, phase_flag_status22, NA, NA, NA,
  2189. NA, NA, NA, 0, -1),
  2190. [34] = PINGROUP(34, cci0_timer2, NA, phase_flag_status21, NA, NA, NA,
  2191. NA, NA, NA, 0, -1),
  2192. [35] = PINGROUP(35, cci0_timer3, NA, NA, phase_flag_status20, NA, NA,
  2193. NA, NA, NA, 0, -1),
  2194. [36] = PINGROUP(36, cci0_timer4, NA, NA, phase_flag_status19, NA, NA,
  2195. NA, NA, NA, 0, -1),
  2196. [37] = PINGROUP(37, cci1_timer0, NA, NA, phase_flag_status18, NA, NA,
  2197. NA, NA, NA, 0xE000C, 2),
  2198. [38] = PINGROUP(38, cci1_timer1, NA, phase_flag_status17, NA, NA, NA,
  2199. NA, NA, NA, 0, -1),
  2200. [39] = PINGROUP(39, cci1_timer2, NA, phase_flag_status16, NA, NA, NA,
  2201. NA, NA, NA, 0, -1),
  2202. [40] = PINGROUP(40, cci0_async_in0, NA, phase_flag_status11, NA, NA,
  2203. NA, NA, NA, NA, 0xE000C, 3),
  2204. [41] = PINGROUP(41, cci0_async_in1, NA, phase_flag_status10, NA, NA,
  2205. NA, NA, NA, NA, 0xE000C, 4),
  2206. [42] = PINGROUP(42, cci0_async_in2, qdss_cti_trig1, NA, NA, NA, NA, NA,
  2207. NA, NA, 0xE000C, 5),
  2208. [43] = PINGROUP(43, cci1_async_in0, qdss_cti_trig0, NA, NA, NA, NA, NA,
  2209. NA, NA, 0xE000C, 6),
  2210. [44] = PINGROUP(44, cci1_async_in1, qdss_gpio_tracedata10, NA, NA, NA,
  2211. NA, NA, NA, NA, 0xE000C, 7),
  2212. [45] = PINGROUP(45, cci1_async_in2, cci2_timer2_mira,
  2213. qdss_gpio_tracedata11, NA, NA, NA, NA, NA, NA, 0xE000C, 8),
  2214. [46] = PINGROUP(46, cci2_async_in0, cci2_timer3_mira,
  2215. qdss_gpio_tracedata12, NA, NA, NA, NA, NA, NA, 0xE000C, 9),
  2216. [47] = PINGROUP(47, cci2_async_in1, cci2_timer4_mira,
  2217. qdss_gpio_tracedata13, NA, NA, NA, NA, NA, NA, 0xE000C, 10),
  2218. [48] = PINGROUP(48, cci2_async_in2, gcc_gp1_clk, qdss_gpio_tracedata14,
  2219. NA, NA, NA, NA, NA, NA, 0xE000C, 11),
  2220. [49] = PINGROUP(49, cci_i2c_sda10, cci2_timer2_mirb,
  2221. qdss_gpio_tracedata15, NA, NA, NA, NA, NA, NA, 0, -1),
  2222. [50] = PINGROUP(50, cci_i2c_scl10, cci2_timer3_mirb, NA, NA, NA, NA,
  2223. NA, NA, NA, 0, -1),
  2224. [51] = PINGROUP(51, cci_i2c_sda11, cci2_timer4_mirb, NA, NA, NA, NA,
  2225. NA, NA, NA, 0, -1),
  2226. [52] = PINGROUP(52, cci_i2c_scl11, pwm_15, NA, NA, NA, NA, NA, NA, NA, 0, -1),
  2227. [53] = PINGROUP(53, cci1_timer3, gcc_gp2_clk, NA, NA, NA, NA, NA, NA,
  2228. NA, 0xE000C, 12),
  2229. [54] = PINGROUP(54, cci1_timer4, gcc_gp3_clk, NA, NA, NA, NA, NA, NA,
  2230. NA, 0, -1),
  2231. [55] = PINGROUP(55, cci2_timer0, NA, NA, NA, NA, NA, NA, NA, NA, 0, -1),
  2232. [56] = PINGROUP(56, cci2_timer1, NA, NA, NA, NA, NA, NA, NA, NA, 0, -1),
  2233. [57] = PINGROUP(57, qup1_se0_l0, ibi_i3c_qup1, NA, NA, NA, NA, NA, NA,
  2234. NA, 0xE0010, 0),
  2235. [58] = PINGROUP(58, qup1_se0_l1, ibi_i3c_qup1, NA, NA, NA, NA, NA, NA,
  2236. NA, 0, -1),
  2237. [59] = PINGROUP(59, qup1_se0_l2, NA, NA, NA, NA, NA, NA, NA, NA, 0, -1),
  2238. [60] = PINGROUP(60, qup1_se0_l3_mira, pwm_2, mdp1_vsync0_out, NA, NA, NA,
  2239. NA, NA, NA, 0xE0010, 1),
  2240. [61] = PINGROUP(61, pwm_3, mdp1_vsync1_out, NA, NA, NA, NA, NA, NA, NA, 0xE0010, 2),
  2241. [62] = PINGROUP(62, gcc_gp4_clk, qup1_se0_l3_mirb, mdp1_vsync2_out, NA, NA,
  2242. NA, NA, NA, NA, 0xE0010, 3),
  2243. [63] = PINGROUP(63, qup1_se1_l0, ibi_i3c_qup1, mdp1_vsync3_out, NA, NA,
  2244. NA, NA, NA, NA, 0xE0010, 4),
  2245. [64] = PINGROUP(64, qup1_se1_l1, ibi_i3c_qup1, mdp1_vsync4_out, NA, NA,
  2246. NA, NA, NA, NA, 0, -1),
  2247. [65] = PINGROUP(65, qup1_se1_l2, mdp1_vsync5_out, NA, NA, NA, NA, NA,
  2248. NA, NA, 0, -1),
  2249. [66] = PINGROUP(66, qup1_se1_l3_mira, pwm_4, mdp1_vsync6_out, NA, NA, NA,
  2250. NA, NA, NA, 0xE0010, 5),
  2251. [67] = PINGROUP(67, pwm_5, mdp1_vsync7_out, NA, NA, NA, NA, NA, NA, NA, 0, -1),
  2252. [68] = PINGROUP(68, gcc_gp5_clk, qup1_se1_l3_mirb, mdp1_vsync8_out, NA, NA,
  2253. NA, NA, NA, NA, 0xE0010, 6),
  2254. [69] = PINGROUP(69, qup1_se2_l0, mdp0_vsync0_out, NA, NA, NA, NA, NA,
  2255. NA, NA, 0, -1),
  2256. [70] = PINGROUP(70, qup1_se2_l1, mdp0_vsync1_out, NA, NA, NA, NA, NA,
  2257. NA, NA, 0, -1),
  2258. [71] = PINGROUP(71, qup1_se2_l2, mdp0_vsync2_out, NA, NA, NA, NA, NA,
  2259. NA, NA, 0, -1),
  2260. [72] = PINGROUP(72, qup1_se2_l3_mira, pwm_6, mdp0_vsync3_out, NA, NA, NA,
  2261. NA, NA, NA, 0xE0010, 7),
  2262. [73] = PINGROUP(73, pwm_7, mdp0_vsync4_out, NA, NA, NA, NA, NA, NA, NA, 0, -1),
  2263. [74] = PINGROUP(74, gcc_gp6_clk, qup1_se2_l3_mirb, mdp0_vsync5_out, NA, NA,
  2264. NA, NA, NA, NA, 0xE0010, 8),
  2265. [75] = PINGROUP(75, qup1_se3_l0, mdp0_vsync6_out, NA, NA, NA, NA, NA,
  2266. NA, NA, 0, -1),
  2267. [76] = PINGROUP(76, qup1_se3_l1, mdp0_vsync7_out, NA, NA, NA, NA, NA,
  2268. NA, NA, 0, -1),
  2269. [77] = PINGROUP(77, qup1_se3_l2, mdp0_vsync8_out, NA, NA, NA, NA, NA,
  2270. NA, NA, 0, -1),
  2271. [78] = PINGROUP(78, qup1_se3_l3_mira, pwm_8, NA, NA, NA, NA, NA, NA, NA, 0xE0010, 9),
  2272. [79] = PINGROUP(79, pwm_9, NA, NA, NA, NA, NA, NA, NA, NA, 0, -1),
  2273. [80] = PINGROUP(80, gcc_gp7_clk, qup1_se3_l3_mirb, NA, NA, NA, NA, NA, NA,
  2274. NA, 0xE0010, 10),
  2275. [81] = PINGROUP(81, qup1_se4_l0, NA, NA, NA, NA, NA, NA, NA, NA, 0, -1),
  2276. [82] = PINGROUP(82, qup1_se4_l1, NA, NA, NA, NA, NA, NA, NA, NA, 0, -1),
  2277. [83] = PINGROUP(83, qup1_se4_l2, NA, NA, NA, NA, NA, NA, NA, NA, 0, -1),
  2278. [84] = PINGROUP(84, qup1_se4_l3, pwm_10, NA, NA, NA, NA, NA, NA, NA, 0xE0010, 11),
  2279. [85] = PINGROUP(85, qup1_se4_l4, NA, NA, NA, NA, NA, NA, NA, NA, 0, -1),
  2280. [86] = PINGROUP(86, qup1_se4_l5, NA, NA, NA, NA, NA, NA, NA, NA, 0xE0010, 12),
  2281. [87] = PINGROUP(87, gcc_gp8_clk, qup1_se4_l6, NA, NA, NA, NA, NA, NA,
  2282. NA, 0xE0010, 13),
  2283. [88] = PINGROUP(88, qup1_se5_l0, NA, NA, NA, NA, NA, NA, NA, NA, 0, -1),
  2284. [89] = PINGROUP(89, qup1_se5_l1, NA, NA, NA, NA, NA, NA, NA, NA, 0, -1),
  2285. [90] = PINGROUP(90, qup1_se5_l2, NA, NA, NA, NA, NA, NA, NA, NA, 0, -1),
  2286. [91] = PINGROUP(91, qup1_se5_l3, NA, NA, NA, NA, NA, NA, NA, NA, 0xE0010, 14),
  2287. [92] = PINGROUP(92, qup1_se6_l0_mira, NA, NA, NA, NA, NA, NA, NA, NA, 0, -1),
  2288. [93] = PINGROUP(93, qup1_se6_l1_mira, NA, NA, NA, NA, NA, NA, NA, NA, 0, -1),
  2289. [94] = PINGROUP(94, qup0_se0_l0, ibi_i3c_qup0, NA, NA, NA, NA, NA, NA,
  2290. NA, 0xE0000, 3),
  2291. [95] = PINGROUP(95, qup0_se0_l1, ibi_i3c_qup0, NA, NA, NA, NA, NA, NA,
  2292. NA, 0, -1),
  2293. [96] = PINGROUP(96, qup0_se0_l2, NA, phase_flag_status15, NA, NA, NA,
  2294. NA, NA, NA, 0, -1),
  2295. [97] = PINGROUP(97, qup0_se0_l3, NA, phase_flag_status14, NA, NA, NA,
  2296. NA, NA, NA, 0xE0000, 4),
  2297. [98] = PINGROUP(98, qup0_se1_l0, ibi_i3c_qup0, NA, NA, NA, NA, NA, NA,
  2298. NA, 0xE0000, 5),
  2299. [99] = PINGROUP(99, qup0_se1_l1, ibi_i3c_qup0, NA, NA, NA, NA, NA, NA,
  2300. NA, 0, -1),
  2301. [100] = PINGROUP(100, qup0_se1_l2, pwm_0, NA, phase_flag_status13, NA,
  2302. NA, NA, NA, NA, 0xE0000, 6),
  2303. [101] = PINGROUP(101, qup0_se1_l3, pwm_1, NA, phase_flag_status12, NA,
  2304. NA, NA, NA, NA, 0xE0000, 7),
  2305. [102] = PINGROUP(102, tsense_pwm1_out, tsense_pwm2_out, NA, NA, NA, NA,
  2306. NA, NA, NA, 0, -1),
  2307. [103] = PINGROUP(103, qup1_se6_l0_mirb, dp0_hot_plug, NA, NA, NA, NA, NA,
  2308. NA, NA, 0xE0010, 15),
  2309. [104] = PINGROUP(104, qup1_se6_l1_mirb, edp0_hot_plug, NA, NA, NA, NA, NA,
  2310. NA, NA, 0xE0014, 0),
  2311. [105] = PINGROUP(105, qup1_se6_l2, edp1_hot_plug, NA, NA, NA, NA, NA,
  2312. NA, NA, 0xE0014, 1),
  2313. [106] = PINGROUP(106, qup1_se6_l3, edp0_lcd_self, NA, NA, NA, NA, NA,
  2314. NA, NA, 0xE0014, 2),
  2315. [107] = PINGROUP(107, gcc_gp9_clk, edp1_dpu1_lcd, edp1_dpu0_lcd, NA,
  2316. NA, NA, NA, NA, NA, 0, -1),
  2317. [108] = PINGROUP(108, gcc_gp10_clk, pwm_11, NA, NA, NA, NA, NA, NA, NA, 0, -1),
  2318. [109] = PINGROUP(109, gcc_gp11_clk, pwm_12, NA, NA, NA, NA, NA, NA, NA, 0, -1),
  2319. [110] = PINGROUP(110, mdp0_vsync0_mira, NA, NA, NA, NA, NA, NA, NA, NA, 0xE0014, 3),
  2320. [111] = PINGROUP(111, mdp0_vsync1_mira, NA, NA, NA, NA, NA, NA, NA, NA, 0xE0014, 4),
  2321. [112] = PINGROUP(112, mdp1_vsync0_mira, NA, NA, NA, NA, NA, NA, NA, NA, 0xE0014, 5),
  2322. [113] = PINGROUP(113, mdp1_vsync1_mira, NA, NA, NA, NA, NA, NA, NA, NA, 0xE0000, 8),
  2323. [114] = PINGROUP(114, pwm_16, qdss_cti_trig0, NA, NA, NA, NA, NA, NA,
  2324. NA, 0xE000C, 13),
  2325. [115] = PINGROUP(115, qdss_cti_trig1, NA, NA, NA, NA, NA, NA, NA, NA, 0xE000C, 14),
  2326. [116] = PINGROUP(116, ext_mclk1, NA, NA, NA, NA, NA, NA, NA, NA, 0, -1),
  2327. [117] = PINGROUP(117, NA, NA, NA, NA, NA, NA, NA, NA, NA, 0, -1),
  2328. [118] = PINGROUP(118, pcie0_clk_req, NA, NA, NA, NA, NA, NA, NA, NA, 0xE0014, 6),
  2329. [119] = PINGROUP(119, NA, NA, NA, NA, NA, NA, NA, NA, NA, 0xE0014, 7),
  2330. [120] = PINGROUP(120, NA, NA, NA, NA, NA, NA, NA, NA, NA, 0, -1),
  2331. [121] = PINGROUP(121, NA, NA, NA, NA, NA, NA, NA, NA, NA, 0, -1),
  2332. [122] = PINGROUP(122, NA, NA, NA, NA, NA, NA, NA, NA, NA, 0xE0014, 8),
  2333. [123] = PINGROUP(123, NA, NA, NA, NA, NA, NA, NA, NA, NA, 0xE0014, 9),
  2334. [124] = PINGROUP(124, NA, NA, NA, NA, NA, NA, NA, NA, NA, 0, -1),
  2335. [125] = PINGROUP(125, NA, NA, NA, NA, NA, NA, NA, NA, NA, 0xE0014, 10),
  2336. [126] = PINGROUP(126, qup0_se5_l0, NA, vsense_trigger_mirnat,
  2337. atest_usb0_atereset, ddr_pxi0_test, NA, NA, NA, NA, 0, -1),
  2338. [127] = PINGROUP(127, qup0_se5_l1, NA, atest_usb0_testdataout00,
  2339. ddr_pxi0_test, NA, NA, NA, NA, NA, 0, -1),
  2340. [128] = PINGROUP(128, qup0_se5_l2, cmu_rng_entropy3, NA,
  2341. atest_usb0_testdataout01, ddr_pxi1_test, NA, NA, NA,
  2342. NA, 0, -1),
  2343. [129] = PINGROUP(129, qup0_se5_l3, cmu_rng_entropy2, NA,
  2344. atest_usb0_testdataout02, ddr_pxi1_test, NA, NA, NA,
  2345. NA, 0xE0000, 9),
  2346. [130] = PINGROUP(130, qup0_se4_l0_mira, cmu_rng_entropy1, NA,
  2347. atest_usb0_testdataout03, ddr_pxi2_test, NA, NA, NA,
  2348. NA, 0, -1),
  2349. [131] = PINGROUP(131, qup0_se4_l1_mira, cmu_rng_entropy0, NA, NA,
  2350. ddr_pxi2_test, NA, NA, NA, NA, 0, -1),
  2351. [132] = PINGROUP(132, qup0_se4_l2_mira, NA, NA, ddr_pxi3_test, NA, NA, NA,
  2352. NA, NA, 0, -1),
  2353. [133] = PINGROUP(133, qup0_se4_l3_mira, dbg_out_clk, ddr_pxi3_test, NA, NA,
  2354. NA, NA, NA, NA, 0xE0000, 10),
  2355. [134] = PINGROUP(134, qup0_se3_l0, qdss_gpio_tracedata10, NA, NA, NA,
  2356. NA, NA, NA, NA, 0, -1),
  2357. [135] = PINGROUP(135, qup0_se3_l1, qdss_gpio_tracedata15, NA, NA, NA,
  2358. NA, NA, NA, NA, 0, -1),
  2359. [136] = PINGROUP(136, qup0_se3_l2, NA, NA, NA, NA, NA, NA, NA, NA, 0, -1),
  2360. [137] = PINGROUP(137, qup0_se3_l3, NA, NA, NA, NA, NA, NA, NA, NA, 0xE0000, 11),
  2361. [138] = PINGROUP(138, gcc_gp1_clk, NA, NA, NA, NA, NA, NA, NA, NA, 0, -1),
  2362. [139] = PINGROUP(139, gcc_gp2_clk, NA, NA, NA, NA, NA, NA, NA, NA, 0xE0000, 12),
  2363. [140] = PINGROUP(140, gcc_gp3_clk, NA, NA, NA, NA, NA, NA, NA, NA, 0, -1),
  2364. [141] = PINGROUP(141, usb2phy_ac_en, NA, NA, NA, NA, NA, NA, NA, NA, 0, -1),
  2365. [142] = PINGROUP(142, pcie1_clk_req, NA, NA, NA, NA, NA, NA, NA, NA, 0xE0014, 11),
  2366. [143] = PINGROUP(143, NA, NA, NA, NA, NA, NA, NA, NA, NA, 0xE0014, 12),
  2367. [144] = PINGROUP(144, NA, NA, NA, NA, NA, NA, NA, NA, NA, 0, -1),
  2368. [145] = PINGROUP(145, NA, NA, NA, NA, NA, NA, NA, NA, NA, 0xE0014, 13),
  2369. [146] = PINGROUP(146, NA, NA, NA, NA, NA, NA, NA, NA, NA, 0xE0014, 14),
  2370. [147] = PINGROUP(147, edp0_hot_plug, NA, NA, NA, NA, NA, NA, NA, NA, 0xE0014, 15),
  2371. [148] = PINGROUP(148, edp1_hot_plug, NA, NA, NA, NA, NA, NA, NA, NA, 0xE0018, 0),
  2372. [149] = PINGROUP(149, pwm_17, NA, NA, NA, NA, NA, NA, NA, NA, 0, -1),
  2373. [150] = PINGROUP(150, qup0_se2_l0, mdp0_vsync0_mirb, NA, NA, NA, NA,
  2374. NA, NA, NA, 0xE0000, 13),
  2375. [151] = PINGROUP(151, qup0_se2_l1, mdp0_vsync1_mirb, NA, NA, NA, NA,
  2376. NA, NA, NA, 0xE0000, 14),
  2377. [152] = PINGROUP(152, qup0_se2_l2, mdp1_vsync0_mirb, NA, NA, NA, NA,
  2378. NA, NA, NA, 0xE0000, 15),
  2379. [153] = PINGROUP(153, qup0_se2_l3, mdp1_vsync1_mirb, NA, NA, NA, NA,
  2380. NA, NA, NA, 0xE0004, 0),
  2381. [154] = PINGROUP(154, i2s2_data1, sdcc5_vdd2_on, NA, qdss_cti_trig1,
  2382. NA, NA, NA, NA, NA, 0xE0004, 1),
  2383. [155] = PINGROUP(155, i2s2_data0, sd_write_protect, qdss_cti_trig0, NA,
  2384. NA, NA, NA, NA, NA, 0xE0004, 2),
  2385. [156] = PINGROUP(156, i2s2_sck, qup0_se6_l2, NA, qdss_cti_trig1, NA,
  2386. NA, NA, NA, NA, 0, -1),
  2387. [157] = PINGROUP(157, i2s2_ws, qup0_se6_l3, pll_bist_sync,
  2388. qdss_cti_trig0, NA, NA, NA, NA, NA, 0xE0004, 3),
  2389. [158] = PINGROUP(158, qup0_se6_l0, jitter_bist_ref, NA, NA, NA, NA, NA,
  2390. NA, NA, 0, -1),
  2391. [159] = PINGROUP(159, qup0_se6_l1, pll_clk_aux, NA, NA, NA, NA, NA, NA,
  2392. NA, 0, -1),
  2393. [160] = PINGROUP(160, usb0_phy_ps, NA, NA, NA, NA, NA, NA, NA, NA, 0, -1),
  2394. [161] = PINGROUP(161, NA, NA, NA, NA, NA, NA, NA, NA, NA, 0, -1),
  2395. [162] = PINGROUP(162, qup0_se4_l0_mirb, ext_mclk0, audio_ref_clk, NA, NA,
  2396. NA, NA, NA, NA, 0xE0004, 4),
  2397. [163] = PINGROUP(163, qup0_se4_l1_mirb, i2s0_data0, tgu_ch0_trigout, NA, NA,
  2398. NA, NA, NA, NA, 0xE0004, 5),
  2399. [164] = PINGROUP(164, qup0_se4_l2_mirb, i2s0_sck, tgu_ch1_trigout, NA, NA,
  2400. NA, NA, NA, NA, 0xE0004, 6),
  2401. [165] = PINGROUP(165, qup0_se4_l3_mirb, i2s0_data1, tgu_ch2_trigout, NA, NA,
  2402. NA, NA, NA, NA, 0xE0004, 7),
  2403. [166] = PINGROUP(166, qup0_se4_l4, i2s0_ws, tgu_ch3_trigout, NA, NA,
  2404. NA, NA, NA, NA, 0xE0004, 8),
  2405. [167] = PINGROUP(167, qup0_se4_l5, NA, NA, NA, NA, NA, NA, NA, NA, 0xE0004, 9),
  2406. [168] = PINGROUP(168, qup0_se4_l6, NA, NA, NA, NA, NA, NA, NA, NA, 0xE0004, 10),
  2407. [169] = PINGROUP(169, pwm_18, NA, NA, NA, NA, NA, NA, NA, NA, 0xE0004, 11),
  2408. [170] = PINGROUP(170, NA, NA, NA, NA, NA, NA, NA, NA, NA, 0xE0004, 12),
  2409. [171] = PINGROUP(171, pcie2_clk_req, NA, NA, NA, NA, NA, NA, NA, NA, 0xE0004, 13),
  2410. [172] = PINGROUP(172, NA, NA, NA, NA, NA, NA, NA, NA, NA, 0xE0004, 14),
  2411. [173] = PINGROUP(173, pwm_19, NA, NA, NA, NA, NA, NA, NA, NA, 0, -1),
  2412. [174] = PINGROUP(174, tb_trig_sdc2, NA, NA, NA, NA, NA, NA, NA, NA, 0, -1),
  2413. [175] = PINGROUP(175, NA, NA, NA, NA, NA, NA, NA, NA, NA, 0xE0004, 15),
  2414. [176] = PINGROUP(176, NA, NA, NA, NA, NA, NA, NA, NA, NA, 0, -1),
  2415. [177] = PINGROUP(177, NA, NA, NA, NA, NA, NA, NA, NA, NA, 0, -1),
  2416. [178] = PINGROUP(178, NA, NA, NA, NA, NA, NA, NA, NA, NA, 0, -1),
  2417. [179] = PINGROUP(179, NA, NA, NA, NA, NA, NA, NA, NA, NA, 0, -1),
  2418. [180] = PINGROUP(180, NA, NA, NA, NA, NA, NA, NA, NA, NA, 0, -1),
  2419. [181] = PINGROUP(181, NA, NA, NA, NA, NA, NA, NA, NA, NA, 0, -1),
  2420. [182] = PINGROUP(182, NA, NA, NA, NA, NA, NA, NA, NA, NA, 0, -1),
  2421. [183] = PINGROUP(183, NA, NA, NA, NA, NA, NA, NA, NA, NA, 0, -1),
  2422. [184] = PINGROUP(184, NA, NA, NA, NA, NA, NA, NA, NA, NA, 0, -1),
  2423. [185] = PINGROUP(185, NA, NA, NA, NA, NA, NA, NA, NA, NA, 0, -1),
  2424. [186] = PINGROUP(186, NA, NA, NA, NA, NA, NA, NA, NA, NA, 0xE0008, 0),
  2425. [187] = PINGROUP(187, NA, NA, NA, NA, NA, NA, NA, NA, NA, 0, -1),
  2426. [188] = PINGROUP(188, NA, NA, NA, NA, NA, NA, NA, NA, NA, 0, -1),
  2427. [189] = PINGROUP(189, NA, NA, NA, NA, NA, NA, NA, NA, NA, 0xE0008, 1),
  2428. [190] = PINGROUP(190, NA, NA, NA, NA, NA, NA, NA, NA, NA, 0, -1),
  2429. [191] = PINGROUP(191, qdss_gpio_tracedata2, NA, NA, NA, NA, NA, NA, NA,
  2430. NA, 0, -1),
  2431. [192] = PINGROUP(192, qdss_gpio_tracedata3, NA, NA, NA, NA, NA, NA, NA,
  2432. NA, 0, -1),
  2433. [193] = PINGROUP(193, qdss_gpio_tracedata4, NA, NA, NA, NA, NA, NA, NA,
  2434. NA, 0, -1),
  2435. [194] = PINGROUP(194, qdss_gpio_tracedata5, NA, NA, NA, NA, NA, NA, NA,
  2436. NA, 0xE0008, 2),
  2437. [195] = PINGROUP(195, NA, NA, NA, NA, NA, NA, NA, NA, NA, 0, -1),
  2438. [196] = PINGROUP(196, NA, NA, NA, NA, NA, NA, NA, NA, NA, 0xE0008, 3),
  2439. [197] = PINGROUP(197, qdss_gpio_tracedata6, NA, NA, NA, NA, NA, NA, NA,
  2440. NA, 0, -1),
  2441. [198] = PINGROUP(198, qdss_gpio_tracedata7, NA, NA, NA, NA, NA, NA, NA,
  2442. NA, 0, -1),
  2443. [199] = PINGROUP(199, NA, NA, NA, NA, NA, NA, NA, NA, NA, 0xE0008, 4),
  2444. [200] = PINGROUP(200, NA, NA, NA, NA, NA, NA, NA, NA, NA, 0, -1),
  2445. [201] = PINGROUP(201, NA, NA, NA, NA, NA, NA, NA, NA, NA, 0xE0008, 5),
  2446. [202] = PINGROUP(202, qdss_gpio_tracectl, NA, NA, NA, NA, NA, NA, NA,
  2447. NA, 0, -1),
  2448. [203] = PINGROUP(203, qdss_gpio_traceclk, NA, NA, NA, NA, NA, NA, NA,
  2449. NA, 0, -1),
  2450. [204] = PINGROUP(204, NA, NA, NA, NA, NA, NA, NA, NA, NA, 0, -1),
  2451. [205] = PINGROUP(205, NA, NA, NA, NA, NA, NA, NA, NA, NA, 0xE0008, 6),
  2452. [206] = PINGROUP(206, qdss_gpio_tracedata8, NA, NA, NA, NA, NA, NA, NA,
  2453. NA, 0, -1),
  2454. [207] = PINGROUP(207, qdss_gpio_tracedata9, NA, NA, NA, NA, NA, NA, NA,
  2455. NA, 0xE0008, 7),
  2456. [208] = PINGROUP(208, NA, NA, NA, NA, NA, NA, NA, NA, NA, 0xE0008, 8),
  2457. [209] = PINGROUP(209, NA, NA, NA, NA, NA, NA, NA, NA, NA, 0, -1),
  2458. [210] = PINGROUP(210, NA, NA, NA, NA, NA, NA, NA, NA, NA, 0xE0008, 9),
  2459. [211] = PINGROUP(211, NA, NA, NA, NA, NA, NA, NA, NA, NA, 0, -1),
  2460. [212] = PINGROUP(212, NA, NA, NA, NA, NA, NA, NA, NA, NA, 0xE0008, 10),
  2461. [213] = PINGROUP(213, NA, NA, NA, NA, NA, NA, NA, NA, NA, 0, -1),
  2462. [214] = PINGROUP(214, NA, NA, NA, NA, NA, NA, NA, NA, NA, 0, -1),
  2463. [215] = PINGROUP(215, qdss_gpio_tracedata11, NA, NA, NA, NA, NA, NA,
  2464. NA, NA, 0xE0008, 11),
  2465. [216] = PINGROUP(216, qdss_gpio_tracedata12, NA, NA, NA, NA, NA, NA,
  2466. NA, NA, 0, -1),
  2467. [217] = PINGROUP(217, qdss_gpio_tracedata13, NA, NA, NA, NA, NA, NA,
  2468. NA, NA, 0, -1),
  2469. [218] = PINGROUP(218, NA, NA, NA, NA, NA, NA, NA, NA, NA, 0xE0008, 12),
  2470. [219] = PINGROUP(219, qdss_gpio_tracedata14, NA, NA, NA, NA, NA, NA,
  2471. NA, NA, 0xE0008, 13),
  2472. [220] = PINGROUP(220, NA, NA, NA, NA, NA, NA, NA, NA, NA, 0, -1),
  2473. [221] = PINGROUP(221, qdss_gpio_tracedata0, NA, NA, NA, NA, NA, NA, NA,
  2474. NA, 0xE0008, 14),
  2475. [222] = PINGROUP(222, NA, NA, NA, NA, NA, NA, NA, NA, NA, 0, -1),
  2476. [223] = PINGROUP(223, qdss_gpio_tracedata1, NA, NA, NA, NA, NA, NA, NA,
  2477. NA, 0xE0008, 15),
  2478. [224] = UFS_RESET(ufs_reset, 0x1ee000),
  2479. [225] = SDC_QDSD_PINGROUP(sdc2_clk, 0x1e4000, 14, 6),
  2480. [226] = SDC_QDSD_PINGROUP(sdc2_cmd, 0x1e4000, 11, 3),
  2481. [227] = SDC_QDSD_PINGROUP(sdc2_data, 0x1e4000, 9, 0),
  2482. };
  2483. static struct pinctrl_qup anorak_qup_regs[] = {
  2484. };
  2485. static const struct msm_gpio_wakeirq_map anorak_pdc_map[] = {
  2486. { 18, 99 }, { 31, 120 }, { 37, 101 }, { 40, 103 }, { 41, 104 },
  2487. { 43, 106 }, { 44, 107 }, { 45, 92 }, { 46, 83 }, { 47, 86 },
  2488. { 53, 111 }, { 57, 121 }, { 60, 56 }, { 61, 108 }, { 62, 109 },
  2489. { 66, 110 }, { 68, 57 }, { 72, 112 }, { 74, 43 }, { 78, 114 },
  2490. { 84, 67 }, { 86, 66 }, { 87, 100 }, { 91, 102 }, { 94, 93 },
  2491. { 98, 123 }, { 100, 44 }, { 101, 97 }, { 103, 75 }, { 104, 52 },
  2492. { 106, 48 }, { 110, 53 }, { 111, 76 }, { 112, 49 }, { 113, 50 },
  2493. { 115, 54 }, { 118, 58 }, { 119, 77 }, { 122, 62 }, { 123, 63 },
  2494. { 129, 61 }, { 133, 65 }, { 137, 69 }, { 139, 70 }, { 142, 71 },
  2495. { 145, 74 }, { 146, 45 }, { 147, 78 }, { 148, 60 }, { 150, 119 },
  2496. { 152, 85 }, { 153, 79 }, { 154, 80 }, { 155, 81 }, { 157, 84 },
  2497. { 163, 88 }, { 164, 89 }, { 165, 73 }, { 166, 90 }, { 167, 91 },
  2498. { 169, 82 }, { 170, 95 }, { 171, 98 }, { 172, 47 }, { 175, 46 },
  2499. { 186, 129 }, { 189, 131 }, { 194, 116 }, { 196, 117 }, { 199, 113 },
  2500. { 201, 128 }, { 207, 115 }, { 208, 132 }, { 210, 135 }, { 212, 136 },
  2501. { 215, 137 },
  2502. };