18c2ecf20Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0-only 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved. 48c2ecf20Sopenharmony_ci */ 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_ci#include <linux/module.h> 78c2ecf20Sopenharmony_ci#include <linux/of.h> 88c2ecf20Sopenharmony_ci#include <linux/platform_device.h> 98c2ecf20Sopenharmony_ci#include <linux/pinctrl/pinctrl.h> 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_ci#include "pinctrl-msm.h" 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_cistatic const char * const sm8250_tiles[] = { 148c2ecf20Sopenharmony_ci "west", 158c2ecf20Sopenharmony_ci "south", 168c2ecf20Sopenharmony_ci "north", 178c2ecf20Sopenharmony_ci}; 188c2ecf20Sopenharmony_ci 198c2ecf20Sopenharmony_cienum { 208c2ecf20Sopenharmony_ci WEST, 218c2ecf20Sopenharmony_ci SOUTH, 228c2ecf20Sopenharmony_ci NORTH, 238c2ecf20Sopenharmony_ci}; 248c2ecf20Sopenharmony_ci 258c2ecf20Sopenharmony_ci#define FUNCTION(fname) \ 268c2ecf20Sopenharmony_ci [msm_mux_##fname] = { \ 278c2ecf20Sopenharmony_ci .name = #fname, \ 288c2ecf20Sopenharmony_ci .groups = fname##_groups, \ 298c2ecf20Sopenharmony_ci .ngroups = ARRAY_SIZE(fname##_groups), \ 308c2ecf20Sopenharmony_ci } 318c2ecf20Sopenharmony_ci 328c2ecf20Sopenharmony_ci#define REG_SIZE 0x1000 338c2ecf20Sopenharmony_ci#define PINGROUP(id, _tile, f1, f2, f3, f4, f5, f6, f7, f8, f9) \ 348c2ecf20Sopenharmony_ci { \ 358c2ecf20Sopenharmony_ci .name = "gpio" #id, \ 368c2ecf20Sopenharmony_ci .pins = gpio##id##_pins, \ 378c2ecf20Sopenharmony_ci .npins = (unsigned int)ARRAY_SIZE(gpio##id##_pins), \ 388c2ecf20Sopenharmony_ci .funcs = (int[]){ \ 398c2ecf20Sopenharmony_ci msm_mux_gpio, /* gpio mode */ \ 408c2ecf20Sopenharmony_ci msm_mux_##f1, \ 418c2ecf20Sopenharmony_ci msm_mux_##f2, \ 428c2ecf20Sopenharmony_ci msm_mux_##f3, \ 438c2ecf20Sopenharmony_ci msm_mux_##f4, \ 448c2ecf20Sopenharmony_ci msm_mux_##f5, \ 458c2ecf20Sopenharmony_ci msm_mux_##f6, \ 468c2ecf20Sopenharmony_ci msm_mux_##f7, \ 478c2ecf20Sopenharmony_ci msm_mux_##f8, \ 488c2ecf20Sopenharmony_ci msm_mux_##f9 \ 498c2ecf20Sopenharmony_ci }, \ 508c2ecf20Sopenharmony_ci .nfuncs = 10, \ 518c2ecf20Sopenharmony_ci .ctl_reg = REG_SIZE * id, \ 528c2ecf20Sopenharmony_ci .io_reg = REG_SIZE * id + 0x4, \ 538c2ecf20Sopenharmony_ci .intr_cfg_reg = REG_SIZE * id + 0x8, \ 548c2ecf20Sopenharmony_ci .intr_status_reg = REG_SIZE * id + 0xc, \ 558c2ecf20Sopenharmony_ci .intr_target_reg = REG_SIZE * id + 0x8, \ 568c2ecf20Sopenharmony_ci .tile = _tile, \ 578c2ecf20Sopenharmony_ci .mux_bit = 2, \ 588c2ecf20Sopenharmony_ci .pull_bit = 0, \ 598c2ecf20Sopenharmony_ci .drv_bit = 6, \ 608c2ecf20Sopenharmony_ci .oe_bit = 9, \ 618c2ecf20Sopenharmony_ci .in_bit = 0, \ 628c2ecf20Sopenharmony_ci .out_bit = 1, \ 638c2ecf20Sopenharmony_ci .intr_enable_bit = 0, \ 648c2ecf20Sopenharmony_ci .intr_status_bit = 0, \ 658c2ecf20Sopenharmony_ci .intr_target_bit = 5, \ 668c2ecf20Sopenharmony_ci .intr_target_kpss_val = 3, \ 678c2ecf20Sopenharmony_ci .intr_raw_status_bit = 4, \ 688c2ecf20Sopenharmony_ci .intr_polarity_bit = 1, \ 698c2ecf20Sopenharmony_ci .intr_detection_bit = 2, \ 708c2ecf20Sopenharmony_ci .intr_detection_width = 2, \ 718c2ecf20Sopenharmony_ci } 728c2ecf20Sopenharmony_ci 738c2ecf20Sopenharmony_ci#define SDC_PINGROUP(pg_name, ctl, pull, drv) \ 748c2ecf20Sopenharmony_ci { \ 758c2ecf20Sopenharmony_ci .name = #pg_name, \ 768c2ecf20Sopenharmony_ci .pins = pg_name##_pins, \ 778c2ecf20Sopenharmony_ci .npins = (unsigned int)ARRAY_SIZE(pg_name##_pins), \ 788c2ecf20Sopenharmony_ci .ctl_reg = ctl, \ 798c2ecf20Sopenharmony_ci .io_reg = 0, \ 808c2ecf20Sopenharmony_ci .intr_cfg_reg = 0, \ 818c2ecf20Sopenharmony_ci .intr_status_reg = 0, \ 828c2ecf20Sopenharmony_ci .intr_target_reg = 0, \ 838c2ecf20Sopenharmony_ci .tile = NORTH, \ 848c2ecf20Sopenharmony_ci .mux_bit = -1, \ 858c2ecf20Sopenharmony_ci .pull_bit = pull, \ 868c2ecf20Sopenharmony_ci .drv_bit = drv, \ 878c2ecf20Sopenharmony_ci .oe_bit = -1, \ 888c2ecf20Sopenharmony_ci .in_bit = -1, \ 898c2ecf20Sopenharmony_ci .out_bit = -1, \ 908c2ecf20Sopenharmony_ci .intr_enable_bit = -1, \ 918c2ecf20Sopenharmony_ci .intr_status_bit = -1, \ 928c2ecf20Sopenharmony_ci .intr_target_bit = -1, \ 938c2ecf20Sopenharmony_ci .intr_raw_status_bit = -1, \ 948c2ecf20Sopenharmony_ci .intr_polarity_bit = -1, \ 958c2ecf20Sopenharmony_ci .intr_detection_bit = -1, \ 968c2ecf20Sopenharmony_ci .intr_detection_width = -1, \ 978c2ecf20Sopenharmony_ci } 988c2ecf20Sopenharmony_ci 998c2ecf20Sopenharmony_ci#define UFS_RESET(pg_name, offset) \ 1008c2ecf20Sopenharmony_ci { \ 1018c2ecf20Sopenharmony_ci .name = #pg_name, \ 1028c2ecf20Sopenharmony_ci .pins = pg_name##_pins, \ 1038c2ecf20Sopenharmony_ci .npins = (unsigned int)ARRAY_SIZE(pg_name##_pins), \ 1048c2ecf20Sopenharmony_ci .ctl_reg = offset, \ 1058c2ecf20Sopenharmony_ci .io_reg = offset + 0x4, \ 1068c2ecf20Sopenharmony_ci .intr_cfg_reg = 0, \ 1078c2ecf20Sopenharmony_ci .intr_status_reg = 0, \ 1088c2ecf20Sopenharmony_ci .intr_target_reg = 0, \ 1098c2ecf20Sopenharmony_ci .tile = SOUTH, \ 1108c2ecf20Sopenharmony_ci .mux_bit = -1, \ 1118c2ecf20Sopenharmony_ci .pull_bit = 3, \ 1128c2ecf20Sopenharmony_ci .drv_bit = 0, \ 1138c2ecf20Sopenharmony_ci .oe_bit = -1, \ 1148c2ecf20Sopenharmony_ci .in_bit = -1, \ 1158c2ecf20Sopenharmony_ci .out_bit = 0, \ 1168c2ecf20Sopenharmony_ci .intr_enable_bit = -1, \ 1178c2ecf20Sopenharmony_ci .intr_status_bit = -1, \ 1188c2ecf20Sopenharmony_ci .intr_target_bit = -1, \ 1198c2ecf20Sopenharmony_ci .intr_raw_status_bit = -1, \ 1208c2ecf20Sopenharmony_ci .intr_polarity_bit = -1, \ 1218c2ecf20Sopenharmony_ci .intr_detection_bit = -1, \ 1228c2ecf20Sopenharmony_ci .intr_detection_width = -1, \ 1238c2ecf20Sopenharmony_ci } 1248c2ecf20Sopenharmony_ci 1258c2ecf20Sopenharmony_cistatic const struct pinctrl_pin_desc sm8250_pins[] = { 1268c2ecf20Sopenharmony_ci PINCTRL_PIN(0, "GPIO_0"), 1278c2ecf20Sopenharmony_ci PINCTRL_PIN(1, "GPIO_1"), 1288c2ecf20Sopenharmony_ci PINCTRL_PIN(2, "GPIO_2"), 1298c2ecf20Sopenharmony_ci PINCTRL_PIN(3, "GPIO_3"), 1308c2ecf20Sopenharmony_ci PINCTRL_PIN(4, "GPIO_4"), 1318c2ecf20Sopenharmony_ci PINCTRL_PIN(5, "GPIO_5"), 1328c2ecf20Sopenharmony_ci PINCTRL_PIN(6, "GPIO_6"), 1338c2ecf20Sopenharmony_ci PINCTRL_PIN(7, "GPIO_7"), 1348c2ecf20Sopenharmony_ci PINCTRL_PIN(8, "GPIO_8"), 1358c2ecf20Sopenharmony_ci PINCTRL_PIN(9, "GPIO_9"), 1368c2ecf20Sopenharmony_ci PINCTRL_PIN(10, "GPIO_10"), 1378c2ecf20Sopenharmony_ci PINCTRL_PIN(11, "GPIO_11"), 1388c2ecf20Sopenharmony_ci PINCTRL_PIN(12, "GPIO_12"), 1398c2ecf20Sopenharmony_ci PINCTRL_PIN(13, "GPIO_13"), 1408c2ecf20Sopenharmony_ci PINCTRL_PIN(14, "GPIO_14"), 1418c2ecf20Sopenharmony_ci PINCTRL_PIN(15, "GPIO_15"), 1428c2ecf20Sopenharmony_ci PINCTRL_PIN(16, "GPIO_16"), 1438c2ecf20Sopenharmony_ci PINCTRL_PIN(17, "GPIO_17"), 1448c2ecf20Sopenharmony_ci PINCTRL_PIN(18, "GPIO_18"), 1458c2ecf20Sopenharmony_ci PINCTRL_PIN(19, "GPIO_19"), 1468c2ecf20Sopenharmony_ci PINCTRL_PIN(20, "GPIO_20"), 1478c2ecf20Sopenharmony_ci PINCTRL_PIN(21, "GPIO_21"), 1488c2ecf20Sopenharmony_ci PINCTRL_PIN(22, "GPIO_22"), 1498c2ecf20Sopenharmony_ci PINCTRL_PIN(23, "GPIO_23"), 1508c2ecf20Sopenharmony_ci PINCTRL_PIN(24, "GPIO_24"), 1518c2ecf20Sopenharmony_ci PINCTRL_PIN(25, "GPIO_25"), 1528c2ecf20Sopenharmony_ci PINCTRL_PIN(26, "GPIO_26"), 1538c2ecf20Sopenharmony_ci PINCTRL_PIN(27, "GPIO_27"), 1548c2ecf20Sopenharmony_ci PINCTRL_PIN(28, "GPIO_28"), 1558c2ecf20Sopenharmony_ci PINCTRL_PIN(29, "GPIO_29"), 1568c2ecf20Sopenharmony_ci PINCTRL_PIN(30, "GPIO_30"), 1578c2ecf20Sopenharmony_ci PINCTRL_PIN(31, "GPIO_31"), 1588c2ecf20Sopenharmony_ci PINCTRL_PIN(32, "GPIO_32"), 1598c2ecf20Sopenharmony_ci PINCTRL_PIN(33, "GPIO_33"), 1608c2ecf20Sopenharmony_ci PINCTRL_PIN(34, "GPIO_34"), 1618c2ecf20Sopenharmony_ci PINCTRL_PIN(35, "GPIO_35"), 1628c2ecf20Sopenharmony_ci PINCTRL_PIN(36, "GPIO_36"), 1638c2ecf20Sopenharmony_ci PINCTRL_PIN(37, "GPIO_37"), 1648c2ecf20Sopenharmony_ci PINCTRL_PIN(38, "GPIO_38"), 1658c2ecf20Sopenharmony_ci PINCTRL_PIN(39, "GPIO_39"), 1668c2ecf20Sopenharmony_ci PINCTRL_PIN(40, "GPIO_40"), 1678c2ecf20Sopenharmony_ci PINCTRL_PIN(41, "GPIO_41"), 1688c2ecf20Sopenharmony_ci PINCTRL_PIN(42, "GPIO_42"), 1698c2ecf20Sopenharmony_ci PINCTRL_PIN(43, "GPIO_43"), 1708c2ecf20Sopenharmony_ci PINCTRL_PIN(44, "GPIO_44"), 1718c2ecf20Sopenharmony_ci PINCTRL_PIN(45, "GPIO_45"), 1728c2ecf20Sopenharmony_ci PINCTRL_PIN(46, "GPIO_46"), 1738c2ecf20Sopenharmony_ci PINCTRL_PIN(47, "GPIO_47"), 1748c2ecf20Sopenharmony_ci PINCTRL_PIN(48, "GPIO_48"), 1758c2ecf20Sopenharmony_ci PINCTRL_PIN(49, "GPIO_49"), 1768c2ecf20Sopenharmony_ci PINCTRL_PIN(50, "GPIO_50"), 1778c2ecf20Sopenharmony_ci PINCTRL_PIN(51, "GPIO_51"), 1788c2ecf20Sopenharmony_ci PINCTRL_PIN(52, "GPIO_52"), 1798c2ecf20Sopenharmony_ci PINCTRL_PIN(53, "GPIO_53"), 1808c2ecf20Sopenharmony_ci PINCTRL_PIN(54, "GPIO_54"), 1818c2ecf20Sopenharmony_ci PINCTRL_PIN(55, "GPIO_55"), 1828c2ecf20Sopenharmony_ci PINCTRL_PIN(56, "GPIO_56"), 1838c2ecf20Sopenharmony_ci PINCTRL_PIN(57, "GPIO_57"), 1848c2ecf20Sopenharmony_ci PINCTRL_PIN(58, "GPIO_58"), 1858c2ecf20Sopenharmony_ci PINCTRL_PIN(59, "GPIO_59"), 1868c2ecf20Sopenharmony_ci PINCTRL_PIN(60, "GPIO_60"), 1878c2ecf20Sopenharmony_ci PINCTRL_PIN(61, "GPIO_61"), 1888c2ecf20Sopenharmony_ci PINCTRL_PIN(62, "GPIO_62"), 1898c2ecf20Sopenharmony_ci PINCTRL_PIN(63, "GPIO_63"), 1908c2ecf20Sopenharmony_ci PINCTRL_PIN(64, "GPIO_64"), 1918c2ecf20Sopenharmony_ci PINCTRL_PIN(65, "GPIO_65"), 1928c2ecf20Sopenharmony_ci PINCTRL_PIN(66, "GPIO_66"), 1938c2ecf20Sopenharmony_ci PINCTRL_PIN(67, "GPIO_67"), 1948c2ecf20Sopenharmony_ci PINCTRL_PIN(68, "GPIO_68"), 1958c2ecf20Sopenharmony_ci PINCTRL_PIN(69, "GPIO_69"), 1968c2ecf20Sopenharmony_ci PINCTRL_PIN(70, "GPIO_70"), 1978c2ecf20Sopenharmony_ci PINCTRL_PIN(71, "GPIO_71"), 1988c2ecf20Sopenharmony_ci PINCTRL_PIN(72, "GPIO_72"), 1998c2ecf20Sopenharmony_ci PINCTRL_PIN(73, "GPIO_73"), 2008c2ecf20Sopenharmony_ci PINCTRL_PIN(74, "GPIO_74"), 2018c2ecf20Sopenharmony_ci PINCTRL_PIN(75, "GPIO_75"), 2028c2ecf20Sopenharmony_ci PINCTRL_PIN(76, "GPIO_76"), 2038c2ecf20Sopenharmony_ci PINCTRL_PIN(77, "GPIO_77"), 2048c2ecf20Sopenharmony_ci PINCTRL_PIN(78, "GPIO_78"), 2058c2ecf20Sopenharmony_ci PINCTRL_PIN(79, "GPIO_79"), 2068c2ecf20Sopenharmony_ci PINCTRL_PIN(80, "GPIO_80"), 2078c2ecf20Sopenharmony_ci PINCTRL_PIN(81, "GPIO_81"), 2088c2ecf20Sopenharmony_ci PINCTRL_PIN(82, "GPIO_82"), 2098c2ecf20Sopenharmony_ci PINCTRL_PIN(83, "GPIO_83"), 2108c2ecf20Sopenharmony_ci PINCTRL_PIN(84, "GPIO_84"), 2118c2ecf20Sopenharmony_ci PINCTRL_PIN(85, "GPIO_85"), 2128c2ecf20Sopenharmony_ci PINCTRL_PIN(86, "GPIO_86"), 2138c2ecf20Sopenharmony_ci PINCTRL_PIN(87, "GPIO_87"), 2148c2ecf20Sopenharmony_ci PINCTRL_PIN(88, "GPIO_88"), 2158c2ecf20Sopenharmony_ci PINCTRL_PIN(89, "GPIO_89"), 2168c2ecf20Sopenharmony_ci PINCTRL_PIN(90, "GPIO_90"), 2178c2ecf20Sopenharmony_ci PINCTRL_PIN(91, "GPIO_91"), 2188c2ecf20Sopenharmony_ci PINCTRL_PIN(92, "GPIO_92"), 2198c2ecf20Sopenharmony_ci PINCTRL_PIN(93, "GPIO_93"), 2208c2ecf20Sopenharmony_ci PINCTRL_PIN(94, "GPIO_94"), 2218c2ecf20Sopenharmony_ci PINCTRL_PIN(95, "GPIO_95"), 2228c2ecf20Sopenharmony_ci PINCTRL_PIN(96, "GPIO_96"), 2238c2ecf20Sopenharmony_ci PINCTRL_PIN(97, "GPIO_97"), 2248c2ecf20Sopenharmony_ci PINCTRL_PIN(98, "GPIO_98"), 2258c2ecf20Sopenharmony_ci PINCTRL_PIN(99, "GPIO_99"), 2268c2ecf20Sopenharmony_ci PINCTRL_PIN(100, "GPIO_100"), 2278c2ecf20Sopenharmony_ci PINCTRL_PIN(101, "GPIO_101"), 2288c2ecf20Sopenharmony_ci PINCTRL_PIN(102, "GPIO_102"), 2298c2ecf20Sopenharmony_ci PINCTRL_PIN(103, "GPIO_103"), 2308c2ecf20Sopenharmony_ci PINCTRL_PIN(104, "GPIO_104"), 2318c2ecf20Sopenharmony_ci PINCTRL_PIN(105, "GPIO_105"), 2328c2ecf20Sopenharmony_ci PINCTRL_PIN(106, "GPIO_106"), 2338c2ecf20Sopenharmony_ci PINCTRL_PIN(107, "GPIO_107"), 2348c2ecf20Sopenharmony_ci PINCTRL_PIN(108, "GPIO_108"), 2358c2ecf20Sopenharmony_ci PINCTRL_PIN(109, "GPIO_109"), 2368c2ecf20Sopenharmony_ci PINCTRL_PIN(110, "GPIO_110"), 2378c2ecf20Sopenharmony_ci PINCTRL_PIN(111, "GPIO_111"), 2388c2ecf20Sopenharmony_ci PINCTRL_PIN(112, "GPIO_112"), 2398c2ecf20Sopenharmony_ci PINCTRL_PIN(113, "GPIO_113"), 2408c2ecf20Sopenharmony_ci PINCTRL_PIN(114, "GPIO_114"), 2418c2ecf20Sopenharmony_ci PINCTRL_PIN(115, "GPIO_115"), 2428c2ecf20Sopenharmony_ci PINCTRL_PIN(116, "GPIO_116"), 2438c2ecf20Sopenharmony_ci PINCTRL_PIN(117, "GPIO_117"), 2448c2ecf20Sopenharmony_ci PINCTRL_PIN(118, "GPIO_118"), 2458c2ecf20Sopenharmony_ci PINCTRL_PIN(119, "GPIO_119"), 2468c2ecf20Sopenharmony_ci PINCTRL_PIN(120, "GPIO_120"), 2478c2ecf20Sopenharmony_ci PINCTRL_PIN(121, "GPIO_121"), 2488c2ecf20Sopenharmony_ci PINCTRL_PIN(122, "GPIO_122"), 2498c2ecf20Sopenharmony_ci PINCTRL_PIN(123, "GPIO_123"), 2508c2ecf20Sopenharmony_ci PINCTRL_PIN(124, "GPIO_124"), 2518c2ecf20Sopenharmony_ci PINCTRL_PIN(125, "GPIO_125"), 2528c2ecf20Sopenharmony_ci PINCTRL_PIN(126, "GPIO_126"), 2538c2ecf20Sopenharmony_ci PINCTRL_PIN(127, "GPIO_127"), 2548c2ecf20Sopenharmony_ci PINCTRL_PIN(128, "GPIO_128"), 2558c2ecf20Sopenharmony_ci PINCTRL_PIN(129, "GPIO_129"), 2568c2ecf20Sopenharmony_ci PINCTRL_PIN(130, "GPIO_130"), 2578c2ecf20Sopenharmony_ci PINCTRL_PIN(131, "GPIO_131"), 2588c2ecf20Sopenharmony_ci PINCTRL_PIN(132, "GPIO_132"), 2598c2ecf20Sopenharmony_ci PINCTRL_PIN(133, "GPIO_133"), 2608c2ecf20Sopenharmony_ci PINCTRL_PIN(134, "GPIO_134"), 2618c2ecf20Sopenharmony_ci PINCTRL_PIN(135, "GPIO_135"), 2628c2ecf20Sopenharmony_ci PINCTRL_PIN(136, "GPIO_136"), 2638c2ecf20Sopenharmony_ci PINCTRL_PIN(137, "GPIO_137"), 2648c2ecf20Sopenharmony_ci PINCTRL_PIN(138, "GPIO_138"), 2658c2ecf20Sopenharmony_ci PINCTRL_PIN(139, "GPIO_139"), 2668c2ecf20Sopenharmony_ci PINCTRL_PIN(140, "GPIO_140"), 2678c2ecf20Sopenharmony_ci PINCTRL_PIN(141, "GPIO_141"), 2688c2ecf20Sopenharmony_ci PINCTRL_PIN(142, "GPIO_142"), 2698c2ecf20Sopenharmony_ci PINCTRL_PIN(143, "GPIO_143"), 2708c2ecf20Sopenharmony_ci PINCTRL_PIN(144, "GPIO_144"), 2718c2ecf20Sopenharmony_ci PINCTRL_PIN(145, "GPIO_145"), 2728c2ecf20Sopenharmony_ci PINCTRL_PIN(146, "GPIO_146"), 2738c2ecf20Sopenharmony_ci PINCTRL_PIN(147, "GPIO_147"), 2748c2ecf20Sopenharmony_ci PINCTRL_PIN(148, "GPIO_148"), 2758c2ecf20Sopenharmony_ci PINCTRL_PIN(149, "GPIO_149"), 2768c2ecf20Sopenharmony_ci PINCTRL_PIN(150, "GPIO_150"), 2778c2ecf20Sopenharmony_ci PINCTRL_PIN(151, "GPIO_151"), 2788c2ecf20Sopenharmony_ci PINCTRL_PIN(152, "GPIO_152"), 2798c2ecf20Sopenharmony_ci PINCTRL_PIN(153, "GPIO_153"), 2808c2ecf20Sopenharmony_ci PINCTRL_PIN(154, "GPIO_154"), 2818c2ecf20Sopenharmony_ci PINCTRL_PIN(155, "GPIO_155"), 2828c2ecf20Sopenharmony_ci PINCTRL_PIN(156, "GPIO_156"), 2838c2ecf20Sopenharmony_ci PINCTRL_PIN(157, "GPIO_157"), 2848c2ecf20Sopenharmony_ci PINCTRL_PIN(158, "GPIO_158"), 2858c2ecf20Sopenharmony_ci PINCTRL_PIN(159, "GPIO_159"), 2868c2ecf20Sopenharmony_ci PINCTRL_PIN(160, "GPIO_160"), 2878c2ecf20Sopenharmony_ci PINCTRL_PIN(161, "GPIO_161"), 2888c2ecf20Sopenharmony_ci PINCTRL_PIN(162, "GPIO_162"), 2898c2ecf20Sopenharmony_ci PINCTRL_PIN(163, "GPIO_163"), 2908c2ecf20Sopenharmony_ci PINCTRL_PIN(164, "GPIO_164"), 2918c2ecf20Sopenharmony_ci PINCTRL_PIN(165, "GPIO_165"), 2928c2ecf20Sopenharmony_ci PINCTRL_PIN(166, "GPIO_166"), 2938c2ecf20Sopenharmony_ci PINCTRL_PIN(167, "GPIO_167"), 2948c2ecf20Sopenharmony_ci PINCTRL_PIN(168, "GPIO_168"), 2958c2ecf20Sopenharmony_ci PINCTRL_PIN(169, "GPIO_169"), 2968c2ecf20Sopenharmony_ci PINCTRL_PIN(170, "GPIO_170"), 2978c2ecf20Sopenharmony_ci PINCTRL_PIN(171, "GPIO_171"), 2988c2ecf20Sopenharmony_ci PINCTRL_PIN(172, "GPIO_172"), 2998c2ecf20Sopenharmony_ci PINCTRL_PIN(173, "GPIO_173"), 3008c2ecf20Sopenharmony_ci PINCTRL_PIN(174, "GPIO_174"), 3018c2ecf20Sopenharmony_ci PINCTRL_PIN(175, "GPIO_175"), 3028c2ecf20Sopenharmony_ci PINCTRL_PIN(176, "GPIO_176"), 3038c2ecf20Sopenharmony_ci PINCTRL_PIN(177, "GPIO_177"), 3048c2ecf20Sopenharmony_ci PINCTRL_PIN(178, "GPIO_178"), 3058c2ecf20Sopenharmony_ci PINCTRL_PIN(179, "GPIO_179"), 3068c2ecf20Sopenharmony_ci PINCTRL_PIN(180, "SDC2_CLK"), 3078c2ecf20Sopenharmony_ci PINCTRL_PIN(181, "SDC2_CMD"), 3088c2ecf20Sopenharmony_ci PINCTRL_PIN(182, "SDC2_DATA"), 3098c2ecf20Sopenharmony_ci PINCTRL_PIN(183, "UFS_RESET"), 3108c2ecf20Sopenharmony_ci}; 3118c2ecf20Sopenharmony_ci 3128c2ecf20Sopenharmony_ci#define DECLARE_MSM_GPIO_PINS(pin) \ 3138c2ecf20Sopenharmony_ci static const unsigned int gpio##pin##_pins[] = { pin } 3148c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(0); 3158c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(1); 3168c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(2); 3178c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(3); 3188c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(4); 3198c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(5); 3208c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(6); 3218c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(7); 3228c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(8); 3238c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(9); 3248c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(10); 3258c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(11); 3268c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(12); 3278c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(13); 3288c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(14); 3298c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(15); 3308c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(16); 3318c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(17); 3328c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(18); 3338c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(19); 3348c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(20); 3358c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(21); 3368c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(22); 3378c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(23); 3388c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(24); 3398c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(25); 3408c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(26); 3418c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(27); 3428c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(28); 3438c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(29); 3448c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(30); 3458c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(31); 3468c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(32); 3478c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(33); 3488c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(34); 3498c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(35); 3508c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(36); 3518c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(37); 3528c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(38); 3538c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(39); 3548c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(40); 3558c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(41); 3568c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(42); 3578c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(43); 3588c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(44); 3598c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(45); 3608c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(46); 3618c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(47); 3628c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(48); 3638c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(49); 3648c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(50); 3658c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(51); 3668c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(52); 3678c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(53); 3688c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(54); 3698c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(55); 3708c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(56); 3718c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(57); 3728c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(58); 3738c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(59); 3748c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(60); 3758c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(61); 3768c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(62); 3778c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(63); 3788c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(64); 3798c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(65); 3808c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(66); 3818c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(67); 3828c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(68); 3838c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(69); 3848c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(70); 3858c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(71); 3868c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(72); 3878c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(73); 3888c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(74); 3898c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(75); 3908c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(76); 3918c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(77); 3928c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(78); 3938c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(79); 3948c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(80); 3958c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(81); 3968c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(82); 3978c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(83); 3988c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(84); 3998c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(85); 4008c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(86); 4018c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(87); 4028c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(88); 4038c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(89); 4048c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(90); 4058c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(91); 4068c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(92); 4078c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(93); 4088c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(94); 4098c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(95); 4108c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(96); 4118c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(97); 4128c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(98); 4138c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(99); 4148c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(100); 4158c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(101); 4168c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(102); 4178c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(103); 4188c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(104); 4198c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(105); 4208c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(106); 4218c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(107); 4228c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(108); 4238c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(109); 4248c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(110); 4258c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(111); 4268c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(112); 4278c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(113); 4288c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(114); 4298c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(115); 4308c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(116); 4318c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(117); 4328c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(118); 4338c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(119); 4348c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(120); 4358c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(121); 4368c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(122); 4378c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(123); 4388c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(124); 4398c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(125); 4408c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(126); 4418c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(127); 4428c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(128); 4438c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(129); 4448c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(130); 4458c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(131); 4468c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(132); 4478c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(133); 4488c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(134); 4498c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(135); 4508c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(136); 4518c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(137); 4528c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(138); 4538c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(139); 4548c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(140); 4558c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(141); 4568c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(142); 4578c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(143); 4588c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(144); 4598c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(145); 4608c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(146); 4618c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(147); 4628c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(148); 4638c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(149); 4648c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(150); 4658c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(151); 4668c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(152); 4678c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(153); 4688c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(154); 4698c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(155); 4708c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(156); 4718c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(157); 4728c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(158); 4738c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(159); 4748c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(160); 4758c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(161); 4768c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(162); 4778c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(163); 4788c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(164); 4798c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(165); 4808c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(166); 4818c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(167); 4828c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(168); 4838c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(169); 4848c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(170); 4858c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(171); 4868c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(172); 4878c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(173); 4888c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(174); 4898c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(175); 4908c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(176); 4918c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(177); 4928c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(178); 4938c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(179); 4948c2ecf20Sopenharmony_ci 4958c2ecf20Sopenharmony_cistatic const unsigned int ufs_reset_pins[] = { 180 }; 4968c2ecf20Sopenharmony_cistatic const unsigned int sdc2_clk_pins[] = { 181 }; 4978c2ecf20Sopenharmony_cistatic const unsigned int sdc2_cmd_pins[] = { 182 }; 4988c2ecf20Sopenharmony_cistatic const unsigned int sdc2_data_pins[] = { 183 }; 4998c2ecf20Sopenharmony_ci 5008c2ecf20Sopenharmony_cienum sm8250_functions { 5018c2ecf20Sopenharmony_ci msm_mux_aoss_cti, 5028c2ecf20Sopenharmony_ci msm_mux_atest, 5038c2ecf20Sopenharmony_ci msm_mux_audio_ref, 5048c2ecf20Sopenharmony_ci msm_mux_cam_mclk, 5058c2ecf20Sopenharmony_ci msm_mux_cci_async, 5068c2ecf20Sopenharmony_ci msm_mux_cci_i2c, 5078c2ecf20Sopenharmony_ci msm_mux_cci_timer0, 5088c2ecf20Sopenharmony_ci msm_mux_cci_timer1, 5098c2ecf20Sopenharmony_ci msm_mux_cci_timer2, 5108c2ecf20Sopenharmony_ci msm_mux_cci_timer3, 5118c2ecf20Sopenharmony_ci msm_mux_cci_timer4, 5128c2ecf20Sopenharmony_ci msm_mux_cri_trng, 5138c2ecf20Sopenharmony_ci msm_mux_cri_trng0, 5148c2ecf20Sopenharmony_ci msm_mux_cri_trng1, 5158c2ecf20Sopenharmony_ci msm_mux_dbg_out, 5168c2ecf20Sopenharmony_ci msm_mux_ddr_bist, 5178c2ecf20Sopenharmony_ci msm_mux_ddr_pxi0, 5188c2ecf20Sopenharmony_ci msm_mux_ddr_pxi1, 5198c2ecf20Sopenharmony_ci msm_mux_ddr_pxi2, 5208c2ecf20Sopenharmony_ci msm_mux_ddr_pxi3, 5218c2ecf20Sopenharmony_ci msm_mux_dp_hot, 5228c2ecf20Sopenharmony_ci msm_mux_dp_lcd, 5238c2ecf20Sopenharmony_ci msm_mux_gcc_gp1, 5248c2ecf20Sopenharmony_ci msm_mux_gcc_gp2, 5258c2ecf20Sopenharmony_ci msm_mux_gcc_gp3, 5268c2ecf20Sopenharmony_ci msm_mux_gpio, 5278c2ecf20Sopenharmony_ci msm_mux_ibi_i3c, 5288c2ecf20Sopenharmony_ci msm_mux_jitter_bist, 5298c2ecf20Sopenharmony_ci msm_mux_lpass_slimbus, 5308c2ecf20Sopenharmony_ci msm_mux_mdp_vsync, 5318c2ecf20Sopenharmony_ci msm_mux_mdp_vsync0, 5328c2ecf20Sopenharmony_ci msm_mux_mdp_vsync1, 5338c2ecf20Sopenharmony_ci msm_mux_mdp_vsync2, 5348c2ecf20Sopenharmony_ci msm_mux_mdp_vsync3, 5358c2ecf20Sopenharmony_ci msm_mux_mi2s0_data0, 5368c2ecf20Sopenharmony_ci msm_mux_mi2s0_data1, 5378c2ecf20Sopenharmony_ci msm_mux_mi2s0_sck, 5388c2ecf20Sopenharmony_ci msm_mux_mi2s0_ws, 5398c2ecf20Sopenharmony_ci msm_mux_mi2s1_data0, 5408c2ecf20Sopenharmony_ci msm_mux_mi2s1_data1, 5418c2ecf20Sopenharmony_ci msm_mux_mi2s1_sck, 5428c2ecf20Sopenharmony_ci msm_mux_mi2s1_ws, 5438c2ecf20Sopenharmony_ci msm_mux_mi2s2_data0, 5448c2ecf20Sopenharmony_ci msm_mux_mi2s2_data1, 5458c2ecf20Sopenharmony_ci msm_mux_mi2s2_sck, 5468c2ecf20Sopenharmony_ci msm_mux_mi2s2_ws, 5478c2ecf20Sopenharmony_ci msm_mux_pci_e0, 5488c2ecf20Sopenharmony_ci msm_mux_pci_e1, 5498c2ecf20Sopenharmony_ci msm_mux_pci_e2, 5508c2ecf20Sopenharmony_ci msm_mux_phase_flag, 5518c2ecf20Sopenharmony_ci msm_mux_pll_bist, 5528c2ecf20Sopenharmony_ci msm_mux_pll_bypassnl, 5538c2ecf20Sopenharmony_ci msm_mux_pll_clk, 5548c2ecf20Sopenharmony_ci msm_mux_pll_reset, 5558c2ecf20Sopenharmony_ci msm_mux_pri_mi2s, 5568c2ecf20Sopenharmony_ci msm_mux_prng_rosc, 5578c2ecf20Sopenharmony_ci msm_mux_qdss_cti, 5588c2ecf20Sopenharmony_ci msm_mux_qdss_gpio, 5598c2ecf20Sopenharmony_ci msm_mux_qspi0, 5608c2ecf20Sopenharmony_ci msm_mux_qspi1, 5618c2ecf20Sopenharmony_ci msm_mux_qspi2, 5628c2ecf20Sopenharmony_ci msm_mux_qspi3, 5638c2ecf20Sopenharmony_ci msm_mux_qspi_clk, 5648c2ecf20Sopenharmony_ci msm_mux_qspi_cs, 5658c2ecf20Sopenharmony_ci msm_mux_qup0, 5668c2ecf20Sopenharmony_ci msm_mux_qup1, 5678c2ecf20Sopenharmony_ci msm_mux_qup10, 5688c2ecf20Sopenharmony_ci msm_mux_qup11, 5698c2ecf20Sopenharmony_ci msm_mux_qup12, 5708c2ecf20Sopenharmony_ci msm_mux_qup13, 5718c2ecf20Sopenharmony_ci msm_mux_qup14, 5728c2ecf20Sopenharmony_ci msm_mux_qup15, 5738c2ecf20Sopenharmony_ci msm_mux_qup16, 5748c2ecf20Sopenharmony_ci msm_mux_qup17, 5758c2ecf20Sopenharmony_ci msm_mux_qup18, 5768c2ecf20Sopenharmony_ci msm_mux_qup19, 5778c2ecf20Sopenharmony_ci msm_mux_qup2, 5788c2ecf20Sopenharmony_ci msm_mux_qup3, 5798c2ecf20Sopenharmony_ci msm_mux_qup4, 5808c2ecf20Sopenharmony_ci msm_mux_qup5, 5818c2ecf20Sopenharmony_ci msm_mux_qup6, 5828c2ecf20Sopenharmony_ci msm_mux_qup7, 5838c2ecf20Sopenharmony_ci msm_mux_qup8, 5848c2ecf20Sopenharmony_ci msm_mux_qup9, 5858c2ecf20Sopenharmony_ci msm_mux_qup_l4, 5868c2ecf20Sopenharmony_ci msm_mux_qup_l5, 5878c2ecf20Sopenharmony_ci msm_mux_qup_l6, 5888c2ecf20Sopenharmony_ci msm_mux_sd_write, 5898c2ecf20Sopenharmony_ci msm_mux_sdc40, 5908c2ecf20Sopenharmony_ci msm_mux_sdc41, 5918c2ecf20Sopenharmony_ci msm_mux_sdc42, 5928c2ecf20Sopenharmony_ci msm_mux_sdc43, 5938c2ecf20Sopenharmony_ci msm_mux_sdc4_clk, 5948c2ecf20Sopenharmony_ci msm_mux_sdc4_cmd, 5958c2ecf20Sopenharmony_ci msm_mux_sec_mi2s, 5968c2ecf20Sopenharmony_ci msm_mux_sp_cmu, 5978c2ecf20Sopenharmony_ci msm_mux_tgu_ch0, 5988c2ecf20Sopenharmony_ci msm_mux_tgu_ch1, 5998c2ecf20Sopenharmony_ci msm_mux_tgu_ch2, 6008c2ecf20Sopenharmony_ci msm_mux_tgu_ch3, 6018c2ecf20Sopenharmony_ci msm_mux_tsense_pwm1, 6028c2ecf20Sopenharmony_ci msm_mux_tsense_pwm2, 6038c2ecf20Sopenharmony_ci msm_mux_tsif0_clk, 6048c2ecf20Sopenharmony_ci msm_mux_tsif0_data, 6058c2ecf20Sopenharmony_ci msm_mux_tsif0_en, 6068c2ecf20Sopenharmony_ci msm_mux_tsif0_error, 6078c2ecf20Sopenharmony_ci msm_mux_tsif0_sync, 6088c2ecf20Sopenharmony_ci msm_mux_tsif1_clk, 6098c2ecf20Sopenharmony_ci msm_mux_tsif1_data, 6108c2ecf20Sopenharmony_ci msm_mux_tsif1_en, 6118c2ecf20Sopenharmony_ci msm_mux_tsif1_error, 6128c2ecf20Sopenharmony_ci msm_mux_tsif1_sync, 6138c2ecf20Sopenharmony_ci msm_mux_usb2phy_ac, 6148c2ecf20Sopenharmony_ci msm_mux_usb_phy, 6158c2ecf20Sopenharmony_ci msm_mux_vsense_trigger, 6168c2ecf20Sopenharmony_ci msm_mux__, 6178c2ecf20Sopenharmony_ci}; 6188c2ecf20Sopenharmony_ci 6198c2ecf20Sopenharmony_cistatic const char * const tsif1_data_groups[] = { 6208c2ecf20Sopenharmony_ci "gpio75", 6218c2ecf20Sopenharmony_ci}; 6228c2ecf20Sopenharmony_cistatic const char * const sdc41_groups[] = { 6238c2ecf20Sopenharmony_ci "gpio75", 6248c2ecf20Sopenharmony_ci}; 6258c2ecf20Sopenharmony_cistatic const char * const tsif1_sync_groups[] = { 6268c2ecf20Sopenharmony_ci "gpio76", 6278c2ecf20Sopenharmony_ci}; 6288c2ecf20Sopenharmony_cistatic const char * const sdc40_groups[] = { 6298c2ecf20Sopenharmony_ci "gpio76", 6308c2ecf20Sopenharmony_ci}; 6318c2ecf20Sopenharmony_cistatic const char * const aoss_cti_groups[] = { 6328c2ecf20Sopenharmony_ci "gpio77", 6338c2ecf20Sopenharmony_ci}; 6348c2ecf20Sopenharmony_cistatic const char * const phase_flag_groups[] = { 6358c2ecf20Sopenharmony_ci "gpio45", "gpio46", "gpio47", "gpio48", "gpio49", "gpio50", "gpio51", 6368c2ecf20Sopenharmony_ci "gpio69", "gpio70", "gpio71", "gpio72", "gpio73", "gpio74", "gpio77", 6378c2ecf20Sopenharmony_ci "gpio78", "gpio79", "gpio80", "gpio81", "gpio82", "gpio83", "gpio84", 6388c2ecf20Sopenharmony_ci "gpio103", "gpio104", "gpio115", "gpio116", "gpio117", "gpio118", 6398c2ecf20Sopenharmony_ci "gpio119", "gpio120", "gpio122", "gpio124", "gpio125", 6408c2ecf20Sopenharmony_ci}; 6418c2ecf20Sopenharmony_cistatic const char * const sd_write_groups[] = { 6428c2ecf20Sopenharmony_ci "gpio78", 6438c2ecf20Sopenharmony_ci}; 6448c2ecf20Sopenharmony_cistatic const char * const pci_e0_groups[] = { 6458c2ecf20Sopenharmony_ci "gpio79", "gpio80", 6468c2ecf20Sopenharmony_ci}; 6478c2ecf20Sopenharmony_cistatic const char * const pci_e1_groups[] = { 6488c2ecf20Sopenharmony_ci "gpio82", "gpio83", 6498c2ecf20Sopenharmony_ci}; 6508c2ecf20Sopenharmony_cistatic const char * const pci_e2_groups[] = { 6518c2ecf20Sopenharmony_ci "gpio85", "gpio86", 6528c2ecf20Sopenharmony_ci}; 6538c2ecf20Sopenharmony_cistatic const char * const tgu_ch0_groups[] = { 6548c2ecf20Sopenharmony_ci "gpio85", 6558c2ecf20Sopenharmony_ci}; 6568c2ecf20Sopenharmony_cistatic const char * const atest_groups[] = { 6578c2ecf20Sopenharmony_ci "gpio24", "gpio25", "gpio26", "gpio27", "gpio32", "gpio33", "gpio34", 6588c2ecf20Sopenharmony_ci "gpio35", "gpio36", "gpio37", "gpio85", "gpio86", "gpio87", "gpio88", 6598c2ecf20Sopenharmony_ci "gpio89", 6608c2ecf20Sopenharmony_ci}; 6618c2ecf20Sopenharmony_cistatic const char * const tgu_ch3_groups[] = { 6628c2ecf20Sopenharmony_ci "gpio86", 6638c2ecf20Sopenharmony_ci}; 6648c2ecf20Sopenharmony_cistatic const char * const tsif1_error_groups[] = { 6658c2ecf20Sopenharmony_ci "gpio90", 6668c2ecf20Sopenharmony_ci}; 6678c2ecf20Sopenharmony_cistatic const char * const tgu_ch1_groups[] = { 6688c2ecf20Sopenharmony_ci "gpio90", 6698c2ecf20Sopenharmony_ci}; 6708c2ecf20Sopenharmony_cistatic const char * const tsif0_error_groups[] = { 6718c2ecf20Sopenharmony_ci "gpio91", 6728c2ecf20Sopenharmony_ci}; 6738c2ecf20Sopenharmony_cistatic const char * const tgu_ch2_groups[] = { 6748c2ecf20Sopenharmony_ci "gpio91", 6758c2ecf20Sopenharmony_ci}; 6768c2ecf20Sopenharmony_cistatic const char * const cam_mclk_groups[] = { 6778c2ecf20Sopenharmony_ci "gpio94", "gpio95", "gpio96", "gpio97", "gpio98", "gpio99", "gpio100", 6788c2ecf20Sopenharmony_ci}; 6798c2ecf20Sopenharmony_cistatic const char * const ddr_bist_groups[] = { 6808c2ecf20Sopenharmony_ci "gpio94", "gpio95", "gpio143", "gpio144", 6818c2ecf20Sopenharmony_ci}; 6828c2ecf20Sopenharmony_cistatic const char * const pll_bypassnl_groups[] = { 6838c2ecf20Sopenharmony_ci "gpio96", 6848c2ecf20Sopenharmony_ci}; 6858c2ecf20Sopenharmony_cistatic const char * const pll_reset_groups[] = { 6868c2ecf20Sopenharmony_ci "gpio97", 6878c2ecf20Sopenharmony_ci}; 6888c2ecf20Sopenharmony_cistatic const char * const cci_i2c_groups[] = { 6898c2ecf20Sopenharmony_ci "gpio101", "gpio102", "gpio103", "gpio104", "gpio105", "gpio106", 6908c2ecf20Sopenharmony_ci "gpio107", "gpio108", 6918c2ecf20Sopenharmony_ci}; 6928c2ecf20Sopenharmony_cistatic const char * const qdss_gpio_groups[] = { 6938c2ecf20Sopenharmony_ci "gpio94", "gpio95", "gpio96", "gpio97", "gpio98", "gpio99", "gpio100", 6948c2ecf20Sopenharmony_ci "gpio101", "gpio102", "gpio103", "gpio104", "gpio105", "gpio106", 6958c2ecf20Sopenharmony_ci "gpio107", "gpio108", "gpio109", "gpio110", "gpio111", "gpio160", 6968c2ecf20Sopenharmony_ci "gpio161", "gpio162", "gpio163", "gpio164", "gpio165", "gpio166", 6978c2ecf20Sopenharmony_ci "gpio167", "gpio168", "gpio169", "gpio170", "gpio171", "gpio172", 6988c2ecf20Sopenharmony_ci "gpio173", "gpio174", "gpio175", "gpio176", "gpio177", 6998c2ecf20Sopenharmony_ci}; 7008c2ecf20Sopenharmony_cistatic const char * const gcc_gp1_groups[] = { 7018c2ecf20Sopenharmony_ci "gpio106", "gpio136", 7028c2ecf20Sopenharmony_ci}; 7038c2ecf20Sopenharmony_cistatic const char * const gcc_gp2_groups[] = { 7048c2ecf20Sopenharmony_ci "gpio107", "gpio137", 7058c2ecf20Sopenharmony_ci}; 7068c2ecf20Sopenharmony_cistatic const char * const gcc_gp3_groups[] = { 7078c2ecf20Sopenharmony_ci "gpio108", "gpio138", 7088c2ecf20Sopenharmony_ci}; 7098c2ecf20Sopenharmony_cistatic const char * const cci_timer0_groups[] = { 7108c2ecf20Sopenharmony_ci "gpio109", 7118c2ecf20Sopenharmony_ci}; 7128c2ecf20Sopenharmony_cistatic const char * const cci_timer1_groups[] = { 7138c2ecf20Sopenharmony_ci "gpio110", 7148c2ecf20Sopenharmony_ci}; 7158c2ecf20Sopenharmony_cistatic const char * const cci_timer2_groups[] = { 7168c2ecf20Sopenharmony_ci "gpio111", 7178c2ecf20Sopenharmony_ci}; 7188c2ecf20Sopenharmony_cistatic const char * const cci_timer3_groups[] = { 7198c2ecf20Sopenharmony_ci "gpio112", 7208c2ecf20Sopenharmony_ci}; 7218c2ecf20Sopenharmony_cistatic const char * const cci_async_groups[] = { 7228c2ecf20Sopenharmony_ci "gpio112", "gpio113", "gpio114", 7238c2ecf20Sopenharmony_ci}; 7248c2ecf20Sopenharmony_cistatic const char * const cci_timer4_groups[] = { 7258c2ecf20Sopenharmony_ci "gpio113", 7268c2ecf20Sopenharmony_ci}; 7278c2ecf20Sopenharmony_cistatic const char * const qup2_groups[] = { 7288c2ecf20Sopenharmony_ci "gpio115", "gpio116", "gpio117", "gpio118", 7298c2ecf20Sopenharmony_ci}; 7308c2ecf20Sopenharmony_cistatic const char * const qup3_groups[] = { 7318c2ecf20Sopenharmony_ci "gpio119", "gpio120", "gpio121", "gpio122", 7328c2ecf20Sopenharmony_ci}; 7338c2ecf20Sopenharmony_cistatic const char * const tsense_pwm1_groups[] = { 7348c2ecf20Sopenharmony_ci "gpio123", 7358c2ecf20Sopenharmony_ci}; 7368c2ecf20Sopenharmony_cistatic const char * const tsense_pwm2_groups[] = { 7378c2ecf20Sopenharmony_ci "gpio123", 7388c2ecf20Sopenharmony_ci}; 7398c2ecf20Sopenharmony_cistatic const char * const qup9_groups[] = { 7408c2ecf20Sopenharmony_ci "gpio125", "gpio126", "gpio127", "gpio128", 7418c2ecf20Sopenharmony_ci}; 7428c2ecf20Sopenharmony_cistatic const char * const qup10_groups[] = { 7438c2ecf20Sopenharmony_ci "gpio129", "gpio130", "gpio131", "gpio132", 7448c2ecf20Sopenharmony_ci}; 7458c2ecf20Sopenharmony_cistatic const char * const mi2s2_sck_groups[] = { 7468c2ecf20Sopenharmony_ci "gpio133", 7478c2ecf20Sopenharmony_ci}; 7488c2ecf20Sopenharmony_cistatic const char * const mi2s2_data0_groups[] = { 7498c2ecf20Sopenharmony_ci "gpio134", 7508c2ecf20Sopenharmony_ci}; 7518c2ecf20Sopenharmony_cistatic const char * const mi2s2_ws_groups[] = { 7528c2ecf20Sopenharmony_ci "gpio135", 7538c2ecf20Sopenharmony_ci}; 7548c2ecf20Sopenharmony_cistatic const char * const pri_mi2s_groups[] = { 7558c2ecf20Sopenharmony_ci "gpio136", 7568c2ecf20Sopenharmony_ci}; 7578c2ecf20Sopenharmony_cistatic const char * const sec_mi2s_groups[] = { 7588c2ecf20Sopenharmony_ci "gpio137", 7598c2ecf20Sopenharmony_ci}; 7608c2ecf20Sopenharmony_cistatic const char * const audio_ref_groups[] = { 7618c2ecf20Sopenharmony_ci "gpio137", 7628c2ecf20Sopenharmony_ci}; 7638c2ecf20Sopenharmony_cistatic const char * const mi2s2_data1_groups[] = { 7648c2ecf20Sopenharmony_ci "gpio137", 7658c2ecf20Sopenharmony_ci}; 7668c2ecf20Sopenharmony_cistatic const char * const mi2s0_sck_groups[] = { 7678c2ecf20Sopenharmony_ci "gpio138", 7688c2ecf20Sopenharmony_ci}; 7698c2ecf20Sopenharmony_cistatic const char * const mi2s0_data0_groups[] = { 7708c2ecf20Sopenharmony_ci "gpio139", 7718c2ecf20Sopenharmony_ci}; 7728c2ecf20Sopenharmony_cistatic const char * const mi2s0_data1_groups[] = { 7738c2ecf20Sopenharmony_ci "gpio140", 7748c2ecf20Sopenharmony_ci}; 7758c2ecf20Sopenharmony_cistatic const char * const mi2s0_ws_groups[] = { 7768c2ecf20Sopenharmony_ci "gpio141", 7778c2ecf20Sopenharmony_ci}; 7788c2ecf20Sopenharmony_cistatic const char * const lpass_slimbus_groups[] = { 7798c2ecf20Sopenharmony_ci "gpio142", "gpio143", "gpio144", "gpio145", 7808c2ecf20Sopenharmony_ci}; 7818c2ecf20Sopenharmony_cistatic const char * const mi2s1_sck_groups[] = { 7828c2ecf20Sopenharmony_ci "gpio142", 7838c2ecf20Sopenharmony_ci}; 7848c2ecf20Sopenharmony_cistatic const char * const mi2s1_data0_groups[] = { 7858c2ecf20Sopenharmony_ci "gpio143", 7868c2ecf20Sopenharmony_ci}; 7878c2ecf20Sopenharmony_cistatic const char * const mi2s1_data1_groups[] = { 7888c2ecf20Sopenharmony_ci "gpio144", 7898c2ecf20Sopenharmony_ci}; 7908c2ecf20Sopenharmony_cistatic const char * const mi2s1_ws_groups[] = { 7918c2ecf20Sopenharmony_ci "gpio145", 7928c2ecf20Sopenharmony_ci}; 7938c2ecf20Sopenharmony_cistatic const char * const cri_trng0_groups[] = { 7948c2ecf20Sopenharmony_ci "gpio159", 7958c2ecf20Sopenharmony_ci}; 7968c2ecf20Sopenharmony_cistatic const char * const cri_trng1_groups[] = { 7978c2ecf20Sopenharmony_ci "gpio160", 7988c2ecf20Sopenharmony_ci}; 7998c2ecf20Sopenharmony_cistatic const char * const cri_trng_groups[] = { 8008c2ecf20Sopenharmony_ci "gpio161", 8018c2ecf20Sopenharmony_ci}; 8028c2ecf20Sopenharmony_cistatic const char * const sp_cmu_groups[] = { 8038c2ecf20Sopenharmony_ci "gpio162", 8048c2ecf20Sopenharmony_ci}; 8058c2ecf20Sopenharmony_cistatic const char * const prng_rosc_groups[] = { 8068c2ecf20Sopenharmony_ci "gpio163", 8078c2ecf20Sopenharmony_ci}; 8088c2ecf20Sopenharmony_cistatic const char * const qup19_groups[] = { 8098c2ecf20Sopenharmony_ci "gpio0", "gpio1", "gpio2", "gpio3", 8108c2ecf20Sopenharmony_ci}; 8118c2ecf20Sopenharmony_cistatic const char * const gpio_groups[] = { 8128c2ecf20Sopenharmony_ci "gpio0", "gpio1", "gpio2", "gpio3", "gpio4", "gpio5", "gpio6", "gpio7", 8138c2ecf20Sopenharmony_ci "gpio8", "gpio9", "gpio10", "gpio11", "gpio12", "gpio13", "gpio14", 8148c2ecf20Sopenharmony_ci "gpio15", "gpio16", "gpio17", "gpio18", "gpio19", "gpio20", "gpio21", 8158c2ecf20Sopenharmony_ci "gpio22", "gpio23", "gpio24", "gpio25", "gpio26", "gpio27", "gpio28", 8168c2ecf20Sopenharmony_ci "gpio29", "gpio30", "gpio31", "gpio32", "gpio33", "gpio34", "gpio35", 8178c2ecf20Sopenharmony_ci "gpio36", "gpio37", "gpio38", "gpio39", "gpio40", "gpio41", "gpio42", 8188c2ecf20Sopenharmony_ci "gpio43", "gpio44", "gpio45", "gpio46", "gpio47", "gpio48", "gpio49", 8198c2ecf20Sopenharmony_ci "gpio50", "gpio51", "gpio52", "gpio53", "gpio54", "gpio55", "gpio56", 8208c2ecf20Sopenharmony_ci "gpio57", "gpio58", "gpio59", "gpio60", "gpio61", "gpio62", "gpio63", 8218c2ecf20Sopenharmony_ci "gpio64", "gpio65", "gpio66", "gpio67", "gpio68", "gpio69", "gpio70", 8228c2ecf20Sopenharmony_ci "gpio71", "gpio72", "gpio73", "gpio74", "gpio75", "gpio76", "gpio77", 8238c2ecf20Sopenharmony_ci "gpio78", "gpio79", "gpio80", "gpio81", "gpio82", "gpio83", "gpio84", 8248c2ecf20Sopenharmony_ci "gpio85", "gpio86", "gpio87", "gpio88", "gpio89", "gpio90", "gpio91", 8258c2ecf20Sopenharmony_ci "gpio92", "gpio93", "gpio94", "gpio95", "gpio96", "gpio97", "gpio98", 8268c2ecf20Sopenharmony_ci "gpio99", "gpio100", "gpio101", "gpio102", "gpio103", "gpio104", 8278c2ecf20Sopenharmony_ci "gpio105", "gpio106", "gpio107", "gpio108", "gpio109", "gpio110", 8288c2ecf20Sopenharmony_ci "gpio111", "gpio112", "gpio113", "gpio114", "gpio115", "gpio116", 8298c2ecf20Sopenharmony_ci "gpio117", "gpio118", "gpio119", "gpio120", "gpio121", "gpio122", 8308c2ecf20Sopenharmony_ci "gpio123", "gpio124", "gpio125", "gpio126", "gpio127", "gpio128", 8318c2ecf20Sopenharmony_ci "gpio129", "gpio130", "gpio131", "gpio132", "gpio133", "gpio134", 8328c2ecf20Sopenharmony_ci "gpio135", "gpio136", "gpio137", "gpio138", "gpio139", "gpio140", 8338c2ecf20Sopenharmony_ci "gpio141", "gpio142", "gpio143", "gpio144", "gpio145", "gpio146", 8348c2ecf20Sopenharmony_ci "gpio147", "gpio148", "gpio149", "gpio150", "gpio151", "gpio152", 8358c2ecf20Sopenharmony_ci "gpio153", "gpio154", "gpio155", "gpio156", "gpio157", "gpio158", 8368c2ecf20Sopenharmony_ci "gpio159", "gpio160", "gpio161", "gpio162", "gpio163", "gpio164", 8378c2ecf20Sopenharmony_ci "gpio165", "gpio166", "gpio167", "gpio168", "gpio169", "gpio170", 8388c2ecf20Sopenharmony_ci "gpio171", "gpio172", "gpio173", "gpio174", "gpio175", "gpio176", 8398c2ecf20Sopenharmony_ci "gpio177", "gpio178", "gpio179", 8408c2ecf20Sopenharmony_ci}; 8418c2ecf20Sopenharmony_cistatic const char * const qdss_cti_groups[] = { 8428c2ecf20Sopenharmony_ci "gpio0", "gpio2", "gpio2", "gpio44", "gpio45", "gpio46", "gpio92", 8438c2ecf20Sopenharmony_ci "gpio93", 8448c2ecf20Sopenharmony_ci}; 8458c2ecf20Sopenharmony_cistatic const char * const qup1_groups[] = { 8468c2ecf20Sopenharmony_ci "gpio4", "gpio5", "gpio6", "gpio7", 8478c2ecf20Sopenharmony_ci}; 8488c2ecf20Sopenharmony_cistatic const char * const ibi_i3c_groups[] = { 8498c2ecf20Sopenharmony_ci "gpio4", "gpio5", "gpio24", "gpio25", "gpio28", "gpio29", "gpio40", 8508c2ecf20Sopenharmony_ci "gpio41", 8518c2ecf20Sopenharmony_ci}; 8528c2ecf20Sopenharmony_cistatic const char * const qup_l4_groups[] = { 8538c2ecf20Sopenharmony_ci "gpio6", "gpio14", "gpio46", "gpio123", 8548c2ecf20Sopenharmony_ci}; 8558c2ecf20Sopenharmony_cistatic const char * const qup_l5_groups[] = { 8568c2ecf20Sopenharmony_ci "gpio7", "gpio15", "gpio47", "gpio124", 8578c2ecf20Sopenharmony_ci}; 8588c2ecf20Sopenharmony_cistatic const char * const qup4_groups[] = { 8598c2ecf20Sopenharmony_ci "gpio8", "gpio9", "gpio10", "gpio11", 8608c2ecf20Sopenharmony_ci}; 8618c2ecf20Sopenharmony_cistatic const char * const qup5_groups[] = { 8628c2ecf20Sopenharmony_ci "gpio12", "gpio13", "gpio14", "gpio15", 8638c2ecf20Sopenharmony_ci}; 8648c2ecf20Sopenharmony_cistatic const char * const qup6_groups[] = { 8658c2ecf20Sopenharmony_ci "gpio16", "gpio17", "gpio18", "gpio19", 8668c2ecf20Sopenharmony_ci}; 8678c2ecf20Sopenharmony_cistatic const char * const qup7_groups[] = { 8688c2ecf20Sopenharmony_ci "gpio20", "gpio21", "gpio22", "gpio23", 8698c2ecf20Sopenharmony_ci}; 8708c2ecf20Sopenharmony_cistatic const char * const qup8_groups[] = { 8718c2ecf20Sopenharmony_ci "gpio24", "gpio25", "gpio26", "gpio27", 8728c2ecf20Sopenharmony_ci}; 8738c2ecf20Sopenharmony_cistatic const char * const qup0_groups[] = { 8748c2ecf20Sopenharmony_ci "gpio28", "gpio29", "gpio30", "gpio31", 8758c2ecf20Sopenharmony_ci}; 8768c2ecf20Sopenharmony_cistatic const char * const qup12_groups[] = { 8778c2ecf20Sopenharmony_ci "gpio32", "gpio33", "gpio34", "gpio35", 8788c2ecf20Sopenharmony_ci}; 8798c2ecf20Sopenharmony_cistatic const char * const qup13_groups[] = { 8808c2ecf20Sopenharmony_ci "gpio36", "gpio37", "gpio38", "gpio39", 8818c2ecf20Sopenharmony_ci}; 8828c2ecf20Sopenharmony_cistatic const char * const qup14_groups[] = { 8838c2ecf20Sopenharmony_ci "gpio40", "gpio41", "gpio42", "gpio43", 8848c2ecf20Sopenharmony_ci}; 8858c2ecf20Sopenharmony_cistatic const char * const ddr_pxi3_groups[] = { 8868c2ecf20Sopenharmony_ci "gpio40", "gpio43", 8878c2ecf20Sopenharmony_ci}; 8888c2ecf20Sopenharmony_cistatic const char * const ddr_pxi1_groups[] = { 8898c2ecf20Sopenharmony_ci "gpio41", "gpio42", 8908c2ecf20Sopenharmony_ci}; 8918c2ecf20Sopenharmony_cistatic const char * const vsense_trigger_groups[] = { 8928c2ecf20Sopenharmony_ci "gpio42", 8938c2ecf20Sopenharmony_ci}; 8948c2ecf20Sopenharmony_cistatic const char * const qup15_groups[] = { 8958c2ecf20Sopenharmony_ci "gpio44", "gpio45", "gpio46", "gpio47", 8968c2ecf20Sopenharmony_ci}; 8978c2ecf20Sopenharmony_cistatic const char * const dbg_out_groups[] = { 8988c2ecf20Sopenharmony_ci "gpio44", 8998c2ecf20Sopenharmony_ci}; 9008c2ecf20Sopenharmony_cistatic const char * const qup16_groups[] = { 9018c2ecf20Sopenharmony_ci "gpio48", "gpio49", "gpio50", "gpio51", 9028c2ecf20Sopenharmony_ci}; 9038c2ecf20Sopenharmony_cistatic const char * const qup17_groups[] = { 9048c2ecf20Sopenharmony_ci "gpio52", "gpio53", "gpio54", "gpio55", 9058c2ecf20Sopenharmony_ci}; 9068c2ecf20Sopenharmony_cistatic const char * const ddr_pxi0_groups[] = { 9078c2ecf20Sopenharmony_ci "gpio52", "gpio53", 9088c2ecf20Sopenharmony_ci}; 9098c2ecf20Sopenharmony_cistatic const char * const jitter_bist_groups[] = { 9108c2ecf20Sopenharmony_ci "gpio54", 9118c2ecf20Sopenharmony_ci}; 9128c2ecf20Sopenharmony_cistatic const char * const pll_bist_groups[] = { 9138c2ecf20Sopenharmony_ci "gpio55", 9148c2ecf20Sopenharmony_ci}; 9158c2ecf20Sopenharmony_cistatic const char * const ddr_pxi2_groups[] = { 9168c2ecf20Sopenharmony_ci "gpio55", "gpio56", 9178c2ecf20Sopenharmony_ci}; 9188c2ecf20Sopenharmony_cistatic const char * const qup18_groups[] = { 9198c2ecf20Sopenharmony_ci "gpio56", "gpio57", "gpio58", "gpio59", 9208c2ecf20Sopenharmony_ci}; 9218c2ecf20Sopenharmony_cistatic const char * const qup11_groups[] = { 9228c2ecf20Sopenharmony_ci "gpio60", "gpio61", "gpio62", "gpio63", 9238c2ecf20Sopenharmony_ci}; 9248c2ecf20Sopenharmony_cistatic const char * const usb2phy_ac_groups[] = { 9258c2ecf20Sopenharmony_ci "gpio64", "gpio90", 9268c2ecf20Sopenharmony_ci}; 9278c2ecf20Sopenharmony_cistatic const char * const qup_l6_groups[] = { 9288c2ecf20Sopenharmony_ci "gpio64", "gpio77", "gpio92", "gpio93", 9298c2ecf20Sopenharmony_ci}; 9308c2ecf20Sopenharmony_cistatic const char * const usb_phy_groups[] = { 9318c2ecf20Sopenharmony_ci "gpio65", 9328c2ecf20Sopenharmony_ci}; 9338c2ecf20Sopenharmony_cistatic const char * const pll_clk_groups[] = { 9348c2ecf20Sopenharmony_ci "gpio65", 9358c2ecf20Sopenharmony_ci}; 9368c2ecf20Sopenharmony_cistatic const char * const mdp_vsync_groups[] = { 9378c2ecf20Sopenharmony_ci "gpio66", "gpio67", "gpio68", "gpio122", "gpio124", 9388c2ecf20Sopenharmony_ci}; 9398c2ecf20Sopenharmony_cistatic const char * const dp_lcd_groups[] = { 9408c2ecf20Sopenharmony_ci "gpio67", 9418c2ecf20Sopenharmony_ci}; 9428c2ecf20Sopenharmony_cistatic const char * const dp_hot_groups[] = { 9438c2ecf20Sopenharmony_ci "gpio68", 9448c2ecf20Sopenharmony_ci}; 9458c2ecf20Sopenharmony_cistatic const char * const qspi_cs_groups[] = { 9468c2ecf20Sopenharmony_ci "gpio69", "gpio75", 9478c2ecf20Sopenharmony_ci}; 9488c2ecf20Sopenharmony_cistatic const char * const tsif0_clk_groups[] = { 9498c2ecf20Sopenharmony_ci "gpio69", 9508c2ecf20Sopenharmony_ci}; 9518c2ecf20Sopenharmony_cistatic const char * const qspi0_groups[] = { 9528c2ecf20Sopenharmony_ci "gpio70", 9538c2ecf20Sopenharmony_ci}; 9548c2ecf20Sopenharmony_cistatic const char * const tsif0_en_groups[] = { 9558c2ecf20Sopenharmony_ci "gpio70", 9568c2ecf20Sopenharmony_ci}; 9578c2ecf20Sopenharmony_cistatic const char * const mdp_vsync0_groups[] = { 9588c2ecf20Sopenharmony_ci "gpio70", 9598c2ecf20Sopenharmony_ci}; 9608c2ecf20Sopenharmony_cistatic const char * const mdp_vsync1_groups[] = { 9618c2ecf20Sopenharmony_ci "gpio70", 9628c2ecf20Sopenharmony_ci}; 9638c2ecf20Sopenharmony_cistatic const char * const mdp_vsync2_groups[] = { 9648c2ecf20Sopenharmony_ci "gpio70", 9658c2ecf20Sopenharmony_ci}; 9668c2ecf20Sopenharmony_cistatic const char * const mdp_vsync3_groups[] = { 9678c2ecf20Sopenharmony_ci "gpio70", 9688c2ecf20Sopenharmony_ci}; 9698c2ecf20Sopenharmony_cistatic const char * const qspi1_groups[] = { 9708c2ecf20Sopenharmony_ci "gpio71", 9718c2ecf20Sopenharmony_ci}; 9728c2ecf20Sopenharmony_cistatic const char * const tsif0_data_groups[] = { 9738c2ecf20Sopenharmony_ci "gpio71", 9748c2ecf20Sopenharmony_ci}; 9758c2ecf20Sopenharmony_cistatic const char * const sdc4_cmd_groups[] = { 9768c2ecf20Sopenharmony_ci "gpio71", 9778c2ecf20Sopenharmony_ci}; 9788c2ecf20Sopenharmony_cistatic const char * const qspi2_groups[] = { 9798c2ecf20Sopenharmony_ci "gpio72", 9808c2ecf20Sopenharmony_ci}; 9818c2ecf20Sopenharmony_cistatic const char * const tsif0_sync_groups[] = { 9828c2ecf20Sopenharmony_ci "gpio72", 9838c2ecf20Sopenharmony_ci}; 9848c2ecf20Sopenharmony_cistatic const char * const sdc43_groups[] = { 9858c2ecf20Sopenharmony_ci "gpio72", 9868c2ecf20Sopenharmony_ci}; 9878c2ecf20Sopenharmony_cistatic const char * const qspi_clk_groups[] = { 9888c2ecf20Sopenharmony_ci "gpio73", 9898c2ecf20Sopenharmony_ci}; 9908c2ecf20Sopenharmony_cistatic const char * const tsif1_clk_groups[] = { 9918c2ecf20Sopenharmony_ci "gpio73", 9928c2ecf20Sopenharmony_ci}; 9938c2ecf20Sopenharmony_cistatic const char * const sdc4_clk_groups[] = { 9948c2ecf20Sopenharmony_ci "gpio73", 9958c2ecf20Sopenharmony_ci}; 9968c2ecf20Sopenharmony_cistatic const char * const qspi3_groups[] = { 9978c2ecf20Sopenharmony_ci "gpio74", 9988c2ecf20Sopenharmony_ci}; 9998c2ecf20Sopenharmony_cistatic const char * const tsif1_en_groups[] = { 10008c2ecf20Sopenharmony_ci "gpio74", 10018c2ecf20Sopenharmony_ci}; 10028c2ecf20Sopenharmony_cistatic const char * const sdc42_groups[] = { 10038c2ecf20Sopenharmony_ci "gpio74", 10048c2ecf20Sopenharmony_ci}; 10058c2ecf20Sopenharmony_ci 10068c2ecf20Sopenharmony_cistatic const struct msm_function sm8250_functions[] = { 10078c2ecf20Sopenharmony_ci FUNCTION(aoss_cti), 10088c2ecf20Sopenharmony_ci FUNCTION(atest), 10098c2ecf20Sopenharmony_ci FUNCTION(audio_ref), 10108c2ecf20Sopenharmony_ci FUNCTION(cam_mclk), 10118c2ecf20Sopenharmony_ci FUNCTION(cci_async), 10128c2ecf20Sopenharmony_ci FUNCTION(cci_i2c), 10138c2ecf20Sopenharmony_ci FUNCTION(cci_timer0), 10148c2ecf20Sopenharmony_ci FUNCTION(cci_timer1), 10158c2ecf20Sopenharmony_ci FUNCTION(cci_timer2), 10168c2ecf20Sopenharmony_ci FUNCTION(cci_timer3), 10178c2ecf20Sopenharmony_ci FUNCTION(cci_timer4), 10188c2ecf20Sopenharmony_ci FUNCTION(cri_trng), 10198c2ecf20Sopenharmony_ci FUNCTION(cri_trng0), 10208c2ecf20Sopenharmony_ci FUNCTION(cri_trng1), 10218c2ecf20Sopenharmony_ci FUNCTION(dbg_out), 10228c2ecf20Sopenharmony_ci FUNCTION(ddr_bist), 10238c2ecf20Sopenharmony_ci FUNCTION(ddr_pxi0), 10248c2ecf20Sopenharmony_ci FUNCTION(ddr_pxi1), 10258c2ecf20Sopenharmony_ci FUNCTION(ddr_pxi2), 10268c2ecf20Sopenharmony_ci FUNCTION(ddr_pxi3), 10278c2ecf20Sopenharmony_ci FUNCTION(dp_hot), 10288c2ecf20Sopenharmony_ci FUNCTION(dp_lcd), 10298c2ecf20Sopenharmony_ci FUNCTION(gcc_gp1), 10308c2ecf20Sopenharmony_ci FUNCTION(gcc_gp2), 10318c2ecf20Sopenharmony_ci FUNCTION(gcc_gp3), 10328c2ecf20Sopenharmony_ci FUNCTION(gpio), 10338c2ecf20Sopenharmony_ci FUNCTION(ibi_i3c), 10348c2ecf20Sopenharmony_ci FUNCTION(jitter_bist), 10358c2ecf20Sopenharmony_ci FUNCTION(lpass_slimbus), 10368c2ecf20Sopenharmony_ci FUNCTION(mdp_vsync), 10378c2ecf20Sopenharmony_ci FUNCTION(mdp_vsync0), 10388c2ecf20Sopenharmony_ci FUNCTION(mdp_vsync1), 10398c2ecf20Sopenharmony_ci FUNCTION(mdp_vsync2), 10408c2ecf20Sopenharmony_ci FUNCTION(mdp_vsync3), 10418c2ecf20Sopenharmony_ci FUNCTION(mi2s0_data0), 10428c2ecf20Sopenharmony_ci FUNCTION(mi2s0_data1), 10438c2ecf20Sopenharmony_ci FUNCTION(mi2s0_sck), 10448c2ecf20Sopenharmony_ci FUNCTION(mi2s0_ws), 10458c2ecf20Sopenharmony_ci FUNCTION(mi2s1_data0), 10468c2ecf20Sopenharmony_ci FUNCTION(mi2s1_data1), 10478c2ecf20Sopenharmony_ci FUNCTION(mi2s1_sck), 10488c2ecf20Sopenharmony_ci FUNCTION(mi2s1_ws), 10498c2ecf20Sopenharmony_ci FUNCTION(mi2s2_data0), 10508c2ecf20Sopenharmony_ci FUNCTION(mi2s2_data1), 10518c2ecf20Sopenharmony_ci FUNCTION(mi2s2_sck), 10528c2ecf20Sopenharmony_ci FUNCTION(mi2s2_ws), 10538c2ecf20Sopenharmony_ci FUNCTION(pci_e0), 10548c2ecf20Sopenharmony_ci FUNCTION(pci_e1), 10558c2ecf20Sopenharmony_ci FUNCTION(pci_e2), 10568c2ecf20Sopenharmony_ci FUNCTION(phase_flag), 10578c2ecf20Sopenharmony_ci FUNCTION(pll_bist), 10588c2ecf20Sopenharmony_ci FUNCTION(pll_bypassnl), 10598c2ecf20Sopenharmony_ci FUNCTION(pll_clk), 10608c2ecf20Sopenharmony_ci FUNCTION(pll_reset), 10618c2ecf20Sopenharmony_ci FUNCTION(pri_mi2s), 10628c2ecf20Sopenharmony_ci FUNCTION(prng_rosc), 10638c2ecf20Sopenharmony_ci FUNCTION(qdss_cti), 10648c2ecf20Sopenharmony_ci FUNCTION(qdss_gpio), 10658c2ecf20Sopenharmony_ci FUNCTION(qspi0), 10668c2ecf20Sopenharmony_ci FUNCTION(qspi1), 10678c2ecf20Sopenharmony_ci FUNCTION(qspi2), 10688c2ecf20Sopenharmony_ci FUNCTION(qspi3), 10698c2ecf20Sopenharmony_ci FUNCTION(qspi_clk), 10708c2ecf20Sopenharmony_ci FUNCTION(qspi_cs), 10718c2ecf20Sopenharmony_ci FUNCTION(qup0), 10728c2ecf20Sopenharmony_ci FUNCTION(qup1), 10738c2ecf20Sopenharmony_ci FUNCTION(qup10), 10748c2ecf20Sopenharmony_ci FUNCTION(qup11), 10758c2ecf20Sopenharmony_ci FUNCTION(qup12), 10768c2ecf20Sopenharmony_ci FUNCTION(qup13), 10778c2ecf20Sopenharmony_ci FUNCTION(qup14), 10788c2ecf20Sopenharmony_ci FUNCTION(qup15), 10798c2ecf20Sopenharmony_ci FUNCTION(qup16), 10808c2ecf20Sopenharmony_ci FUNCTION(qup17), 10818c2ecf20Sopenharmony_ci FUNCTION(qup18), 10828c2ecf20Sopenharmony_ci FUNCTION(qup19), 10838c2ecf20Sopenharmony_ci FUNCTION(qup2), 10848c2ecf20Sopenharmony_ci FUNCTION(qup3), 10858c2ecf20Sopenharmony_ci FUNCTION(qup4), 10868c2ecf20Sopenharmony_ci FUNCTION(qup5), 10878c2ecf20Sopenharmony_ci FUNCTION(qup6), 10888c2ecf20Sopenharmony_ci FUNCTION(qup7), 10898c2ecf20Sopenharmony_ci FUNCTION(qup8), 10908c2ecf20Sopenharmony_ci FUNCTION(qup9), 10918c2ecf20Sopenharmony_ci FUNCTION(qup_l4), 10928c2ecf20Sopenharmony_ci FUNCTION(qup_l5), 10938c2ecf20Sopenharmony_ci FUNCTION(qup_l6), 10948c2ecf20Sopenharmony_ci FUNCTION(sd_write), 10958c2ecf20Sopenharmony_ci FUNCTION(sdc40), 10968c2ecf20Sopenharmony_ci FUNCTION(sdc41), 10978c2ecf20Sopenharmony_ci FUNCTION(sdc42), 10988c2ecf20Sopenharmony_ci FUNCTION(sdc43), 10998c2ecf20Sopenharmony_ci FUNCTION(sdc4_clk), 11008c2ecf20Sopenharmony_ci FUNCTION(sdc4_cmd), 11018c2ecf20Sopenharmony_ci FUNCTION(sec_mi2s), 11028c2ecf20Sopenharmony_ci FUNCTION(sp_cmu), 11038c2ecf20Sopenharmony_ci FUNCTION(tgu_ch0), 11048c2ecf20Sopenharmony_ci FUNCTION(tgu_ch1), 11058c2ecf20Sopenharmony_ci FUNCTION(tgu_ch2), 11068c2ecf20Sopenharmony_ci FUNCTION(tgu_ch3), 11078c2ecf20Sopenharmony_ci FUNCTION(tsense_pwm1), 11088c2ecf20Sopenharmony_ci FUNCTION(tsense_pwm2), 11098c2ecf20Sopenharmony_ci FUNCTION(tsif0_clk), 11108c2ecf20Sopenharmony_ci FUNCTION(tsif0_data), 11118c2ecf20Sopenharmony_ci FUNCTION(tsif0_en), 11128c2ecf20Sopenharmony_ci FUNCTION(tsif0_error), 11138c2ecf20Sopenharmony_ci FUNCTION(tsif0_sync), 11148c2ecf20Sopenharmony_ci FUNCTION(tsif1_clk), 11158c2ecf20Sopenharmony_ci FUNCTION(tsif1_data), 11168c2ecf20Sopenharmony_ci FUNCTION(tsif1_en), 11178c2ecf20Sopenharmony_ci FUNCTION(tsif1_error), 11188c2ecf20Sopenharmony_ci FUNCTION(tsif1_sync), 11198c2ecf20Sopenharmony_ci FUNCTION(usb2phy_ac), 11208c2ecf20Sopenharmony_ci FUNCTION(usb_phy), 11218c2ecf20Sopenharmony_ci FUNCTION(vsense_trigger), 11228c2ecf20Sopenharmony_ci}; 11238c2ecf20Sopenharmony_ci 11248c2ecf20Sopenharmony_ci/* Every pin is maintained as a single group, and missing or non-existing pin 11258c2ecf20Sopenharmony_ci * would be maintained as dummy group to synchronize pin group index with 11268c2ecf20Sopenharmony_ci * pin descriptor registered with pinctrl core. 11278c2ecf20Sopenharmony_ci * Clients would not be able to request these dummy pin groups. 11288c2ecf20Sopenharmony_ci */ 11298c2ecf20Sopenharmony_cistatic const struct msm_pingroup sm8250_groups[] = { 11308c2ecf20Sopenharmony_ci [0] = PINGROUP(0, SOUTH, qup19, qdss_cti, _, _, _, _, _, _, _), 11318c2ecf20Sopenharmony_ci [1] = PINGROUP(1, SOUTH, qup19, _, _, _, _, _, _, _, _), 11328c2ecf20Sopenharmony_ci [2] = PINGROUP(2, SOUTH, qup19, qdss_cti, qdss_cti, _, _, _, _, _, _), 11338c2ecf20Sopenharmony_ci [3] = PINGROUP(3, SOUTH, qup19, _, _, _, _, _, _, _, _), 11348c2ecf20Sopenharmony_ci [4] = PINGROUP(4, NORTH, qup1, ibi_i3c, _, _, _, _, _, _, _), 11358c2ecf20Sopenharmony_ci [5] = PINGROUP(5, NORTH, qup1, ibi_i3c, _, _, _, _, _, _, _), 11368c2ecf20Sopenharmony_ci [6] = PINGROUP(6, NORTH, qup1, qup_l4, _, _, _, _, _, _, _), 11378c2ecf20Sopenharmony_ci [7] = PINGROUP(7, NORTH, qup1, qup_l5, _, _, _, _, _, _, _), 11388c2ecf20Sopenharmony_ci [8] = PINGROUP(8, NORTH, qup4, _, _, _, _, _, _, _, _), 11398c2ecf20Sopenharmony_ci [9] = PINGROUP(9, NORTH, qup4, _, _, _, _, _, _, _, _), 11408c2ecf20Sopenharmony_ci [10] = PINGROUP(10, NORTH, qup4, _, _, _, _, _, _, _, _), 11418c2ecf20Sopenharmony_ci [11] = PINGROUP(11, NORTH, qup4, _, _, _, _, _, _, _, _), 11428c2ecf20Sopenharmony_ci [12] = PINGROUP(12, NORTH, qup5, _, _, _, _, _, _, _, _), 11438c2ecf20Sopenharmony_ci [13] = PINGROUP(13, NORTH, qup5, _, _, _, _, _, _, _, _), 11448c2ecf20Sopenharmony_ci [14] = PINGROUP(14, NORTH, qup5, qup_l4, _, _, _, _, _, _, _), 11458c2ecf20Sopenharmony_ci [15] = PINGROUP(15, NORTH, qup5, qup_l5, _, _, _, _, _, _, _), 11468c2ecf20Sopenharmony_ci [16] = PINGROUP(16, NORTH, qup6, _, _, _, _, _, _, _, _), 11478c2ecf20Sopenharmony_ci [17] = PINGROUP(17, NORTH, qup6, _, _, _, _, _, _, _, _), 11488c2ecf20Sopenharmony_ci [18] = PINGROUP(18, NORTH, qup6, _, _, _, _, _, _, _, _), 11498c2ecf20Sopenharmony_ci [19] = PINGROUP(19, NORTH, qup6, _, _, _, _, _, _, _, _), 11508c2ecf20Sopenharmony_ci [20] = PINGROUP(20, NORTH, qup7, _, _, _, _, _, _, _, _), 11518c2ecf20Sopenharmony_ci [21] = PINGROUP(21, NORTH, qup7, _, _, _, _, _, _, _, _), 11528c2ecf20Sopenharmony_ci [22] = PINGROUP(22, NORTH, qup7, _, _, _, _, _, _, _, _), 11538c2ecf20Sopenharmony_ci [23] = PINGROUP(23, NORTH, qup7, _, _, _, _, _, _, _, _), 11548c2ecf20Sopenharmony_ci [24] = PINGROUP(24, SOUTH, qup8, ibi_i3c, atest, _, _, _, _, _, _), 11558c2ecf20Sopenharmony_ci [25] = PINGROUP(25, SOUTH, qup8, ibi_i3c, atest, _, _, _, _, _, _), 11568c2ecf20Sopenharmony_ci [26] = PINGROUP(26, SOUTH, qup8, atest, _, _, _, _, _, _, _), 11578c2ecf20Sopenharmony_ci [27] = PINGROUP(27, SOUTH, qup8, atest, _, _, _, _, _, _, _), 11588c2ecf20Sopenharmony_ci [28] = PINGROUP(28, NORTH, qup0, ibi_i3c, _, _, _, _, _, _, _), 11598c2ecf20Sopenharmony_ci [29] = PINGROUP(29, NORTH, qup0, ibi_i3c, _, _, _, _, _, _, _), 11608c2ecf20Sopenharmony_ci [30] = PINGROUP(30, NORTH, qup0, _, _, _, _, _, _, _, _), 11618c2ecf20Sopenharmony_ci [31] = PINGROUP(31, NORTH, qup0, _, _, _, _, _, _, _, _), 11628c2ecf20Sopenharmony_ci [32] = PINGROUP(32, SOUTH, qup12, _, atest, _, _, _, _, _, _), 11638c2ecf20Sopenharmony_ci [33] = PINGROUP(33, SOUTH, qup12, atest, _, _, _, _, _, _, _), 11648c2ecf20Sopenharmony_ci [34] = PINGROUP(34, SOUTH, qup12, atest, _, _, _, _, _, _, _), 11658c2ecf20Sopenharmony_ci [35] = PINGROUP(35, SOUTH, qup12, atest, _, _, _, _, _, _, _), 11668c2ecf20Sopenharmony_ci [36] = PINGROUP(36, SOUTH, qup13, atest, _, _, _, _, _, _, _), 11678c2ecf20Sopenharmony_ci [37] = PINGROUP(37, SOUTH, qup13, atest, _, _, _, _, _, _, _), 11688c2ecf20Sopenharmony_ci [38] = PINGROUP(38, SOUTH, qup13, _, _, _, _, _, _, _, _), 11698c2ecf20Sopenharmony_ci [39] = PINGROUP(39, SOUTH, qup13, _, _, _, _, _, _, _, _), 11708c2ecf20Sopenharmony_ci [40] = PINGROUP(40, SOUTH, qup14, ibi_i3c, _, ddr_pxi3, _, _, _, _, _), 11718c2ecf20Sopenharmony_ci [41] = PINGROUP(41, SOUTH, qup14, ibi_i3c, _, ddr_pxi1, _, _, _, _, _), 11728c2ecf20Sopenharmony_ci [42] = PINGROUP(42, SOUTH, qup14, vsense_trigger, ddr_pxi1, _, _, _, _, _, _), 11738c2ecf20Sopenharmony_ci [43] = PINGROUP(43, SOUTH, qup14, ddr_pxi3, _, _, _, _, _, _, _), 11748c2ecf20Sopenharmony_ci [44] = PINGROUP(44, SOUTH, qup15, qdss_cti, dbg_out, _, _, _, _, _, _), 11758c2ecf20Sopenharmony_ci [45] = PINGROUP(45, SOUTH, qup15, qdss_cti, phase_flag, _, _, _, _, _, _), 11768c2ecf20Sopenharmony_ci [46] = PINGROUP(46, SOUTH, qup15, qup_l4, qdss_cti, phase_flag, _, _, _, _, _), 11778c2ecf20Sopenharmony_ci [47] = PINGROUP(47, SOUTH, qup15, qup_l5, phase_flag, _, _, _, _, _, _), 11788c2ecf20Sopenharmony_ci [48] = PINGROUP(48, SOUTH, qup16, phase_flag, _, _, _, _, _, _, _), 11798c2ecf20Sopenharmony_ci [49] = PINGROUP(49, SOUTH, qup16, phase_flag, _, _, _, _, _, _, _), 11808c2ecf20Sopenharmony_ci [50] = PINGROUP(50, SOUTH, qup16, phase_flag, _, _, _, _, _, _, _), 11818c2ecf20Sopenharmony_ci [51] = PINGROUP(51, SOUTH, qup16, phase_flag, _, _, _, _, _, _, _), 11828c2ecf20Sopenharmony_ci [52] = PINGROUP(52, SOUTH, qup17, ddr_pxi0, _, _, _, _, _, _, _), 11838c2ecf20Sopenharmony_ci [53] = PINGROUP(53, SOUTH, qup17, ddr_pxi0, _, _, _, _, _, _, _), 11848c2ecf20Sopenharmony_ci [54] = PINGROUP(54, SOUTH, qup17, jitter_bist, _, _, _, _, _, _, _), 11858c2ecf20Sopenharmony_ci [55] = PINGROUP(55, SOUTH, qup17, pll_bist, ddr_pxi2, _, _, _, _, _, _), 11868c2ecf20Sopenharmony_ci [56] = PINGROUP(56, SOUTH, qup18, ddr_pxi2, _, _, _, _, _, _, _), 11878c2ecf20Sopenharmony_ci [57] = PINGROUP(57, SOUTH, qup18, _, _, _, _, _, _, _, _), 11888c2ecf20Sopenharmony_ci [58] = PINGROUP(58, SOUTH, qup18, _, _, _, _, _, _, _, _), 11898c2ecf20Sopenharmony_ci [59] = PINGROUP(59, SOUTH, qup18, _, _, _, _, _, _, _, _), 11908c2ecf20Sopenharmony_ci [60] = PINGROUP(60, SOUTH, qup11, _, _, _, _, _, _, _, _), 11918c2ecf20Sopenharmony_ci [61] = PINGROUP(61, SOUTH, qup11, _, _, _, _, _, _, _, _), 11928c2ecf20Sopenharmony_ci [62] = PINGROUP(62, SOUTH, qup11, _, _, _, _, _, _, _, _), 11938c2ecf20Sopenharmony_ci [63] = PINGROUP(63, SOUTH, qup11, _, _, _, _, _, _, _, _), 11948c2ecf20Sopenharmony_ci [64] = PINGROUP(64, SOUTH, usb2phy_ac, qup_l6, _, _, _, _, _, _, _), 11958c2ecf20Sopenharmony_ci [65] = PINGROUP(65, SOUTH, usb_phy, pll_clk, _, _, _, _, _, _, _), 11968c2ecf20Sopenharmony_ci [66] = PINGROUP(66, NORTH, mdp_vsync, _, _, _, _, _, _, _, _), 11978c2ecf20Sopenharmony_ci [67] = PINGROUP(67, NORTH, mdp_vsync, dp_lcd, _, _, _, _, _, _, _), 11988c2ecf20Sopenharmony_ci [68] = PINGROUP(68, NORTH, mdp_vsync, dp_hot, _, _, _, _, _, _, _), 11998c2ecf20Sopenharmony_ci [69] = PINGROUP(69, SOUTH, qspi_cs, tsif0_clk, phase_flag, _, _, _, _, _, _), 12008c2ecf20Sopenharmony_ci [70] = PINGROUP(70, SOUTH, qspi0, tsif0_en, mdp_vsync0, mdp_vsync1, mdp_vsync2, mdp_vsync3, phase_flag, _, _), 12018c2ecf20Sopenharmony_ci [71] = PINGROUP(71, SOUTH, qspi1, tsif0_data, sdc4_cmd, phase_flag, _, _, _, _, _), 12028c2ecf20Sopenharmony_ci [72] = PINGROUP(72, SOUTH, qspi2, tsif0_sync, sdc43, phase_flag, _, _, _, _, _), 12038c2ecf20Sopenharmony_ci [73] = PINGROUP(73, SOUTH, qspi_clk, tsif1_clk, sdc4_clk, phase_flag, _, _, _, _, _), 12048c2ecf20Sopenharmony_ci [74] = PINGROUP(74, SOUTH, qspi3, tsif1_en, sdc42, phase_flag, _, _, _, _, _), 12058c2ecf20Sopenharmony_ci [75] = PINGROUP(75, SOUTH, qspi_cs, tsif1_data, sdc41, _, _, _, _, _, _), 12068c2ecf20Sopenharmony_ci [76] = PINGROUP(76, SOUTH, tsif1_sync, sdc40, _, _, _, _, _, _, _), 12078c2ecf20Sopenharmony_ci [77] = PINGROUP(77, NORTH, qup_l6, aoss_cti, phase_flag, _, _, _, _, _, _), 12088c2ecf20Sopenharmony_ci [78] = PINGROUP(78, NORTH, sd_write, phase_flag, _, _, _, _, _, _, _), 12098c2ecf20Sopenharmony_ci [79] = PINGROUP(79, NORTH, pci_e0, phase_flag, _, _, _, _, _, _, _), 12108c2ecf20Sopenharmony_ci [80] = PINGROUP(80, NORTH, pci_e0, phase_flag, _, _, _, _, _, _, _), 12118c2ecf20Sopenharmony_ci [81] = PINGROUP(81, NORTH, phase_flag, _, _, _, _, _, _, _, _), 12128c2ecf20Sopenharmony_ci [82] = PINGROUP(82, NORTH, pci_e1, phase_flag, _, _, _, _, _, _, _), 12138c2ecf20Sopenharmony_ci [83] = PINGROUP(83, NORTH, pci_e1, phase_flag, _, _, _, _, _, _, _), 12148c2ecf20Sopenharmony_ci [84] = PINGROUP(84, NORTH, phase_flag, _, _, _, _, _, _, _, _), 12158c2ecf20Sopenharmony_ci [85] = PINGROUP(85, SOUTH, pci_e2, tgu_ch0, atest, _, _, _, _, _, _), 12168c2ecf20Sopenharmony_ci [86] = PINGROUP(86, SOUTH, pci_e2, tgu_ch3, atest, _, _, _, _, _, _), 12178c2ecf20Sopenharmony_ci [87] = PINGROUP(87, SOUTH, atest, _, _, _, _, _, _, _, _), 12188c2ecf20Sopenharmony_ci [88] = PINGROUP(88, SOUTH, _, atest, _, _, _, _, _, _, _), 12198c2ecf20Sopenharmony_ci [89] = PINGROUP(89, SOUTH, _, atest, _, _, _, _, _, _, _), 12208c2ecf20Sopenharmony_ci [90] = PINGROUP(90, SOUTH, tsif1_error, usb2phy_ac, tgu_ch1, _, _, _, _, _, _), 12218c2ecf20Sopenharmony_ci [91] = PINGROUP(91, SOUTH, tsif0_error, tgu_ch2, _, _, _, _, _, _, _), 12228c2ecf20Sopenharmony_ci [92] = PINGROUP(92, NORTH, qup_l6, qdss_cti, _, _, _, _, _, _, _), 12238c2ecf20Sopenharmony_ci [93] = PINGROUP(93, NORTH, qup_l6, qdss_cti, _, _, _, _, _, _, _), 12248c2ecf20Sopenharmony_ci [94] = PINGROUP(94, NORTH, cam_mclk, ddr_bist, qdss_gpio, _, _, _, _, _, _), 12258c2ecf20Sopenharmony_ci [95] = PINGROUP(95, NORTH, cam_mclk, ddr_bist, qdss_gpio, _, _, _, _, _, _), 12268c2ecf20Sopenharmony_ci [96] = PINGROUP(96, NORTH, cam_mclk, pll_bypassnl, qdss_gpio, _, _, _, _, _, _), 12278c2ecf20Sopenharmony_ci [97] = PINGROUP(97, NORTH, cam_mclk, pll_reset, qdss_gpio, _, _, _, _, _, _), 12288c2ecf20Sopenharmony_ci [98] = PINGROUP(98, NORTH, cam_mclk, qdss_gpio, _, _, _, _, _, _, _), 12298c2ecf20Sopenharmony_ci [99] = PINGROUP(99, NORTH, cam_mclk, qdss_gpio, _, _, _, _, _, _, _), 12308c2ecf20Sopenharmony_ci [100] = PINGROUP(100, NORTH, cam_mclk, qdss_gpio, _, _, _, _, _, _, _), 12318c2ecf20Sopenharmony_ci [101] = PINGROUP(101, NORTH, cci_i2c, qdss_gpio, _, _, _, _, _, _, _), 12328c2ecf20Sopenharmony_ci [102] = PINGROUP(102, NORTH, cci_i2c, qdss_gpio, _, _, _, _, _, _, _), 12338c2ecf20Sopenharmony_ci [103] = PINGROUP(103, NORTH, cci_i2c, phase_flag, _, qdss_gpio, _, _, _, _, _), 12348c2ecf20Sopenharmony_ci [104] = PINGROUP(104, NORTH, cci_i2c, phase_flag, _, qdss_gpio, _, _, _, _, _), 12358c2ecf20Sopenharmony_ci [105] = PINGROUP(105, NORTH, cci_i2c, qdss_gpio, _, _, _, _, _, _, _), 12368c2ecf20Sopenharmony_ci [106] = PINGROUP(106, NORTH, cci_i2c, gcc_gp1, qdss_gpio, _, _, _, _, _, _), 12378c2ecf20Sopenharmony_ci [107] = PINGROUP(107, NORTH, cci_i2c, gcc_gp2, qdss_gpio, _, _, _, _, _, _), 12388c2ecf20Sopenharmony_ci [108] = PINGROUP(108, NORTH, cci_i2c, gcc_gp3, qdss_gpio, _, _, _, _, _, _), 12398c2ecf20Sopenharmony_ci [109] = PINGROUP(109, NORTH, cci_timer0, qdss_gpio, _, _, _, _, _, _, _), 12408c2ecf20Sopenharmony_ci [110] = PINGROUP(110, NORTH, cci_timer1, qdss_gpio, _, _, _, _, _, _, _), 12418c2ecf20Sopenharmony_ci [111] = PINGROUP(111, NORTH, cci_timer2, qdss_gpio, _, _, _, _, _, _, _), 12428c2ecf20Sopenharmony_ci [112] = PINGROUP(112, NORTH, cci_timer3, cci_async, _, _, _, _, _, _, _), 12438c2ecf20Sopenharmony_ci [113] = PINGROUP(113, NORTH, cci_timer4, cci_async, _, _, _, _, _, _, _), 12448c2ecf20Sopenharmony_ci [114] = PINGROUP(114, NORTH, cci_async, _, _, _, _, _, _, _, _), 12458c2ecf20Sopenharmony_ci [115] = PINGROUP(115, NORTH, qup2, phase_flag, _, _, _, _, _, _, _), 12468c2ecf20Sopenharmony_ci [116] = PINGROUP(116, NORTH, qup2, phase_flag, _, _, _, _, _, _, _), 12478c2ecf20Sopenharmony_ci [117] = PINGROUP(117, NORTH, qup2, phase_flag, _, _, _, _, _, _, _), 12488c2ecf20Sopenharmony_ci [118] = PINGROUP(118, NORTH, qup2, phase_flag, _, _, _, _, _, _, _), 12498c2ecf20Sopenharmony_ci [119] = PINGROUP(119, NORTH, qup3, phase_flag, _, _, _, _, _, _, _), 12508c2ecf20Sopenharmony_ci [120] = PINGROUP(120, NORTH, qup3, phase_flag, _, _, _, _, _, _, _), 12518c2ecf20Sopenharmony_ci [121] = PINGROUP(121, NORTH, qup3, _, _, _, _, _, _, _, _), 12528c2ecf20Sopenharmony_ci [122] = PINGROUP(122, NORTH, qup3, mdp_vsync, phase_flag, _, _, _, _, _, _), 12538c2ecf20Sopenharmony_ci [123] = PINGROUP(123, NORTH, qup_l4, tsense_pwm1, tsense_pwm2, _, _, _, _, _, _), 12548c2ecf20Sopenharmony_ci [124] = PINGROUP(124, NORTH, qup_l5, mdp_vsync, phase_flag, _, _, _, _, _, _), 12558c2ecf20Sopenharmony_ci [125] = PINGROUP(125, SOUTH, qup9, phase_flag, _, _, _, _, _, _, _), 12568c2ecf20Sopenharmony_ci [126] = PINGROUP(126, SOUTH, qup9, _, _, _, _, _, _, _, _), 12578c2ecf20Sopenharmony_ci [127] = PINGROUP(127, SOUTH, qup9, _, _, _, _, _, _, _, _), 12588c2ecf20Sopenharmony_ci [128] = PINGROUP(128, SOUTH, qup9, _, _, _, _, _, _, _, _), 12598c2ecf20Sopenharmony_ci [129] = PINGROUP(129, SOUTH, qup10, _, _, _, _, _, _, _, _), 12608c2ecf20Sopenharmony_ci [130] = PINGROUP(130, SOUTH, qup10, _, _, _, _, _, _, _, _), 12618c2ecf20Sopenharmony_ci [131] = PINGROUP(131, SOUTH, qup10, _, _, _, _, _, _, _, _), 12628c2ecf20Sopenharmony_ci [132] = PINGROUP(132, SOUTH, qup10, _, _, _, _, _, _, _, _), 12638c2ecf20Sopenharmony_ci [133] = PINGROUP(133, WEST, mi2s2_sck, _, _, _, _, _, _, _, _), 12648c2ecf20Sopenharmony_ci [134] = PINGROUP(134, WEST, mi2s2_data0, _, _, _, _, _, _, _, _), 12658c2ecf20Sopenharmony_ci [135] = PINGROUP(135, WEST, mi2s2_ws, _, _, _, _, _, _, _, _), 12668c2ecf20Sopenharmony_ci [136] = PINGROUP(136, WEST, pri_mi2s, gcc_gp1, _, _, _, _, _, _, _), 12678c2ecf20Sopenharmony_ci [137] = PINGROUP(137, WEST, sec_mi2s, audio_ref, mi2s2_data1, gcc_gp2, _, _, _, _, _), 12688c2ecf20Sopenharmony_ci [138] = PINGROUP(138, WEST, mi2s0_sck, gcc_gp3, _, _, _, _, _, _, _), 12698c2ecf20Sopenharmony_ci [139] = PINGROUP(139, WEST, mi2s0_data0, _, _, _, _, _, _, _, _), 12708c2ecf20Sopenharmony_ci [140] = PINGROUP(140, WEST, mi2s0_data1, _, _, _, _, _, _, _, _), 12718c2ecf20Sopenharmony_ci [141] = PINGROUP(141, WEST, mi2s0_ws, _, _, _, _, _, _, _, _), 12728c2ecf20Sopenharmony_ci [142] = PINGROUP(142, WEST, lpass_slimbus, mi2s1_sck, _, _, _, _, _, _, _), 12738c2ecf20Sopenharmony_ci [143] = PINGROUP(143, WEST, lpass_slimbus, mi2s1_data0, ddr_bist, _, _, _, _, _, _), 12748c2ecf20Sopenharmony_ci [144] = PINGROUP(144, WEST, lpass_slimbus, mi2s1_data1, ddr_bist, _, _, _, _, _, _), 12758c2ecf20Sopenharmony_ci [145] = PINGROUP(145, WEST, lpass_slimbus, mi2s1_ws, _, _, _, _, _, _, _), 12768c2ecf20Sopenharmony_ci [146] = PINGROUP(146, WEST, _, _, _, _, _, _, _, _, _), 12778c2ecf20Sopenharmony_ci [147] = PINGROUP(147, WEST, _, _, _, _, _, _, _, _, _), 12788c2ecf20Sopenharmony_ci [148] = PINGROUP(148, WEST, _, _, _, _, _, _, _, _, _), 12798c2ecf20Sopenharmony_ci [149] = PINGROUP(149, WEST, _, _, _, _, _, _, _, _, _), 12808c2ecf20Sopenharmony_ci [150] = PINGROUP(150, WEST, _, _, _, _, _, _, _, _, _), 12818c2ecf20Sopenharmony_ci [151] = PINGROUP(151, WEST, _, _, _, _, _, _, _, _, _), 12828c2ecf20Sopenharmony_ci [152] = PINGROUP(152, WEST, _, _, _, _, _, _, _, _, _), 12838c2ecf20Sopenharmony_ci [153] = PINGROUP(153, WEST, _, _, _, _, _, _, _, _, _), 12848c2ecf20Sopenharmony_ci [154] = PINGROUP(154, WEST, _, _, _, _, _, _, _, _, _), 12858c2ecf20Sopenharmony_ci [155] = PINGROUP(155, WEST, _, _, _, _, _, _, _, _, _), 12868c2ecf20Sopenharmony_ci [156] = PINGROUP(156, WEST, _, _, _, _, _, _, _, _, _), 12878c2ecf20Sopenharmony_ci [157] = PINGROUP(157, WEST, _, _, _, _, _, _, _, _, _), 12888c2ecf20Sopenharmony_ci [158] = PINGROUP(158, WEST, _, _, _, _, _, _, _, _, _), 12898c2ecf20Sopenharmony_ci [159] = PINGROUP(159, WEST, cri_trng0, _, _, _, _, _, _, _, _), 12908c2ecf20Sopenharmony_ci [160] = PINGROUP(160, WEST, cri_trng1, qdss_gpio, _, _, _, _, _, _, _), 12918c2ecf20Sopenharmony_ci [161] = PINGROUP(161, WEST, cri_trng, qdss_gpio, _, _, _, _, _, _, _), 12928c2ecf20Sopenharmony_ci [162] = PINGROUP(162, WEST, sp_cmu, qdss_gpio, _, _, _, _, _, _, _), 12938c2ecf20Sopenharmony_ci [163] = PINGROUP(163, WEST, prng_rosc, qdss_gpio, _, _, _, _, _, _, _), 12948c2ecf20Sopenharmony_ci [164] = PINGROUP(164, WEST, qdss_gpio, _, _, _, _, _, _, _, _), 12958c2ecf20Sopenharmony_ci [165] = PINGROUP(165, WEST, qdss_gpio, _, _, _, _, _, _, _, _), 12968c2ecf20Sopenharmony_ci [166] = PINGROUP(166, WEST, qdss_gpio, _, _, _, _, _, _, _, _), 12978c2ecf20Sopenharmony_ci [167] = PINGROUP(167, WEST, qdss_gpio, _, _, _, _, _, _, _, _), 12988c2ecf20Sopenharmony_ci [168] = PINGROUP(168, WEST, qdss_gpio, _, _, _, _, _, _, _, _), 12998c2ecf20Sopenharmony_ci [169] = PINGROUP(169, WEST, qdss_gpio, _, _, _, _, _, _, _, _), 13008c2ecf20Sopenharmony_ci [170] = PINGROUP(170, WEST, qdss_gpio, _, _, _, _, _, _, _, _), 13018c2ecf20Sopenharmony_ci [171] = PINGROUP(171, WEST, qdss_gpio, _, _, _, _, _, _, _, _), 13028c2ecf20Sopenharmony_ci [172] = PINGROUP(172, WEST, qdss_gpio, _, _, _, _, _, _, _, _), 13038c2ecf20Sopenharmony_ci [173] = PINGROUP(173, WEST, qdss_gpio, _, _, _, _, _, _, _, _), 13048c2ecf20Sopenharmony_ci [174] = PINGROUP(174, WEST, qdss_gpio, _, _, _, _, _, _, _, _), 13058c2ecf20Sopenharmony_ci [175] = PINGROUP(175, WEST, qdss_gpio, _, _, _, _, _, _, _, _), 13068c2ecf20Sopenharmony_ci [176] = PINGROUP(176, WEST, qdss_gpio, _, _, _, _, _, _, _, _), 13078c2ecf20Sopenharmony_ci [177] = PINGROUP(177, WEST, qdss_gpio, _, _, _, _, _, _, _, _), 13088c2ecf20Sopenharmony_ci [178] = PINGROUP(178, WEST, _, _, _, _, _, _, _, _, _), 13098c2ecf20Sopenharmony_ci [179] = PINGROUP(179, WEST, _, _, _, _, _, _, _, _, _), 13108c2ecf20Sopenharmony_ci [180] = UFS_RESET(ufs_reset, 0xb8000), 13118c2ecf20Sopenharmony_ci [181] = SDC_PINGROUP(sdc2_clk, 0xb7000, 14, 6), 13128c2ecf20Sopenharmony_ci [182] = SDC_PINGROUP(sdc2_cmd, 0xb7000, 11, 3), 13138c2ecf20Sopenharmony_ci [183] = SDC_PINGROUP(sdc2_data, 0xb7000, 9, 0), 13148c2ecf20Sopenharmony_ci}; 13158c2ecf20Sopenharmony_ci 13168c2ecf20Sopenharmony_cistatic const struct msm_gpio_wakeirq_map sm8250_pdc_map[] = { 13178c2ecf20Sopenharmony_ci { 0, 79 }, { 1, 84 }, { 2, 80 }, { 3, 82 }, { 4, 107 }, { 7, 43 }, 13188c2ecf20Sopenharmony_ci { 11, 42 }, { 14, 44 }, { 15, 52 }, { 19, 67 }, { 23, 68 }, { 24, 105 }, 13198c2ecf20Sopenharmony_ci { 27, 92 }, { 28, 106 }, { 31, 69 }, { 35, 70 }, { 39, 73 }, 13208c2ecf20Sopenharmony_ci { 40, 108 }, { 43, 71 }, { 45, 72 }, { 47, 83 }, { 51, 74 }, { 55, 77 }, 13218c2ecf20Sopenharmony_ci { 59, 78 }, { 63, 75 }, { 64, 81 }, { 65, 87 }, { 66, 88 }, { 67, 89 }, 13228c2ecf20Sopenharmony_ci { 68, 54 }, { 70, 85 }, { 77, 46 }, { 80, 90 }, { 81, 91 }, { 83, 97 }, 13238c2ecf20Sopenharmony_ci { 84, 98 }, { 86, 99 }, { 87, 100 }, { 88, 101 }, { 89, 102 }, 13248c2ecf20Sopenharmony_ci { 92, 103 }, { 93, 104 }, { 100, 53 }, { 103, 47 }, { 104, 48 }, 13258c2ecf20Sopenharmony_ci { 108, 49 }, { 109, 94 }, { 110, 95 }, { 111, 96 }, { 112, 55 }, 13268c2ecf20Sopenharmony_ci { 113, 56 }, { 118, 50 }, { 121, 51 }, { 122, 57 }, { 123, 58 }, 13278c2ecf20Sopenharmony_ci { 124, 45 }, { 126, 59 }, { 128, 76 }, { 129, 86 }, { 132, 93 }, 13288c2ecf20Sopenharmony_ci { 133, 65 }, { 134, 66 }, { 136, 62 }, { 137, 63 }, { 138, 64 }, 13298c2ecf20Sopenharmony_ci { 142, 60 }, { 143, 61 } 13308c2ecf20Sopenharmony_ci}; 13318c2ecf20Sopenharmony_ci 13328c2ecf20Sopenharmony_cistatic const struct msm_pinctrl_soc_data sm8250_pinctrl = { 13338c2ecf20Sopenharmony_ci .pins = sm8250_pins, 13348c2ecf20Sopenharmony_ci .npins = ARRAY_SIZE(sm8250_pins), 13358c2ecf20Sopenharmony_ci .functions = sm8250_functions, 13368c2ecf20Sopenharmony_ci .nfunctions = ARRAY_SIZE(sm8250_functions), 13378c2ecf20Sopenharmony_ci .groups = sm8250_groups, 13388c2ecf20Sopenharmony_ci .ngroups = ARRAY_SIZE(sm8250_groups), 13398c2ecf20Sopenharmony_ci .ngpios = 181, 13408c2ecf20Sopenharmony_ci .tiles = sm8250_tiles, 13418c2ecf20Sopenharmony_ci .ntiles = ARRAY_SIZE(sm8250_tiles), 13428c2ecf20Sopenharmony_ci .wakeirq_map = sm8250_pdc_map, 13438c2ecf20Sopenharmony_ci .nwakeirq_map = ARRAY_SIZE(sm8250_pdc_map), 13448c2ecf20Sopenharmony_ci}; 13458c2ecf20Sopenharmony_ci 13468c2ecf20Sopenharmony_cistatic int sm8250_pinctrl_probe(struct platform_device *pdev) 13478c2ecf20Sopenharmony_ci{ 13488c2ecf20Sopenharmony_ci return msm_pinctrl_probe(pdev, &sm8250_pinctrl); 13498c2ecf20Sopenharmony_ci} 13508c2ecf20Sopenharmony_ci 13518c2ecf20Sopenharmony_cistatic const struct of_device_id sm8250_pinctrl_of_match[] = { 13528c2ecf20Sopenharmony_ci { .compatible = "qcom,sm8250-pinctrl", }, 13538c2ecf20Sopenharmony_ci { }, 13548c2ecf20Sopenharmony_ci}; 13558c2ecf20Sopenharmony_ci 13568c2ecf20Sopenharmony_cistatic struct platform_driver sm8250_pinctrl_driver = { 13578c2ecf20Sopenharmony_ci .driver = { 13588c2ecf20Sopenharmony_ci .name = "sm8250-pinctrl", 13598c2ecf20Sopenharmony_ci .of_match_table = sm8250_pinctrl_of_match, 13608c2ecf20Sopenharmony_ci }, 13618c2ecf20Sopenharmony_ci .probe = sm8250_pinctrl_probe, 13628c2ecf20Sopenharmony_ci .remove = msm_pinctrl_remove, 13638c2ecf20Sopenharmony_ci}; 13648c2ecf20Sopenharmony_ci 13658c2ecf20Sopenharmony_cistatic int __init sm8250_pinctrl_init(void) 13668c2ecf20Sopenharmony_ci{ 13678c2ecf20Sopenharmony_ci return platform_driver_register(&sm8250_pinctrl_driver); 13688c2ecf20Sopenharmony_ci} 13698c2ecf20Sopenharmony_ciarch_initcall(sm8250_pinctrl_init); 13708c2ecf20Sopenharmony_ci 13718c2ecf20Sopenharmony_cistatic void __exit sm8250_pinctrl_exit(void) 13728c2ecf20Sopenharmony_ci{ 13738c2ecf20Sopenharmony_ci platform_driver_unregister(&sm8250_pinctrl_driver); 13748c2ecf20Sopenharmony_ci} 13758c2ecf20Sopenharmony_cimodule_exit(sm8250_pinctrl_exit); 13768c2ecf20Sopenharmony_ci 13778c2ecf20Sopenharmony_ciMODULE_DESCRIPTION("QTI sm8250 pinctrl driver"); 13788c2ecf20Sopenharmony_ciMODULE_LICENSE("GPL v2"); 13798c2ecf20Sopenharmony_ciMODULE_DEVICE_TABLE(of, sm8250_pinctrl_of_match); 1380