18c2ecf20Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * Copyright (c) 2016, The Linux Foundation. All rights reserved. 48c2ecf20Sopenharmony_ci * Copyright (c) 2018, Craig Tatlor. 58c2ecf20Sopenharmony_ci */ 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_ci#include <linux/module.h> 88c2ecf20Sopenharmony_ci#include <linux/of.h> 98c2ecf20Sopenharmony_ci#include <linux/platform_device.h> 108c2ecf20Sopenharmony_ci#include <linux/pinctrl/pinctrl.h> 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ci#include "pinctrl-msm.h" 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_cistatic const char * const sdm660_tiles[] = { 158c2ecf20Sopenharmony_ci "north", 168c2ecf20Sopenharmony_ci "center", 178c2ecf20Sopenharmony_ci "south" 188c2ecf20Sopenharmony_ci}; 198c2ecf20Sopenharmony_ci 208c2ecf20Sopenharmony_cienum { 218c2ecf20Sopenharmony_ci NORTH, 228c2ecf20Sopenharmony_ci CENTER, 238c2ecf20Sopenharmony_ci SOUTH 248c2ecf20Sopenharmony_ci}; 258c2ecf20Sopenharmony_ci 268c2ecf20Sopenharmony_ci#define REG_SIZE 0x1000 278c2ecf20Sopenharmony_ci 288c2ecf20Sopenharmony_ci#define FUNCTION(fname) \ 298c2ecf20Sopenharmony_ci [msm_mux_##fname] = { \ 308c2ecf20Sopenharmony_ci .name = #fname, \ 318c2ecf20Sopenharmony_ci .groups = fname##_groups, \ 328c2ecf20Sopenharmony_ci .ngroups = ARRAY_SIZE(fname##_groups), \ 338c2ecf20Sopenharmony_ci } 348c2ecf20Sopenharmony_ci 358c2ecf20Sopenharmony_ci 368c2ecf20Sopenharmony_ci#define PINGROUP(id, _tile, f1, f2, f3, f4, f5, f6, f7, f8, f9) \ 378c2ecf20Sopenharmony_ci { \ 388c2ecf20Sopenharmony_ci .name = "gpio" #id, \ 398c2ecf20Sopenharmony_ci .pins = gpio##id##_pins, \ 408c2ecf20Sopenharmony_ci .npins = (unsigned)ARRAY_SIZE(gpio##id##_pins), \ 418c2ecf20Sopenharmony_ci .funcs = (int[]){ \ 428c2ecf20Sopenharmony_ci msm_mux_gpio, /* gpio mode */ \ 438c2ecf20Sopenharmony_ci msm_mux_##f1, \ 448c2ecf20Sopenharmony_ci msm_mux_##f2, \ 458c2ecf20Sopenharmony_ci msm_mux_##f3, \ 468c2ecf20Sopenharmony_ci msm_mux_##f4, \ 478c2ecf20Sopenharmony_ci msm_mux_##f5, \ 488c2ecf20Sopenharmony_ci msm_mux_##f6, \ 498c2ecf20Sopenharmony_ci msm_mux_##f7, \ 508c2ecf20Sopenharmony_ci msm_mux_##f8, \ 518c2ecf20Sopenharmony_ci msm_mux_##f9 \ 528c2ecf20Sopenharmony_ci }, \ 538c2ecf20Sopenharmony_ci .nfuncs = 10, \ 548c2ecf20Sopenharmony_ci .ctl_reg = REG_SIZE * id, \ 558c2ecf20Sopenharmony_ci .io_reg = 0x4 + REG_SIZE * id, \ 568c2ecf20Sopenharmony_ci .intr_cfg_reg = 0x8 + REG_SIZE * id, \ 578c2ecf20Sopenharmony_ci .intr_status_reg = 0xc + REG_SIZE * id, \ 588c2ecf20Sopenharmony_ci .intr_target_reg = 0x8 + REG_SIZE * id, \ 598c2ecf20Sopenharmony_ci .tile = _tile, \ 608c2ecf20Sopenharmony_ci .mux_bit = 2, \ 618c2ecf20Sopenharmony_ci .pull_bit = 0, \ 628c2ecf20Sopenharmony_ci .drv_bit = 6, \ 638c2ecf20Sopenharmony_ci .oe_bit = 9, \ 648c2ecf20Sopenharmony_ci .in_bit = 0, \ 658c2ecf20Sopenharmony_ci .out_bit = 1, \ 668c2ecf20Sopenharmony_ci .intr_enable_bit = 0, \ 678c2ecf20Sopenharmony_ci .intr_status_bit = 0, \ 688c2ecf20Sopenharmony_ci .intr_target_bit = 5, \ 698c2ecf20Sopenharmony_ci .intr_target_kpss_val = 3, \ 708c2ecf20Sopenharmony_ci .intr_raw_status_bit = 4, \ 718c2ecf20Sopenharmony_ci .intr_polarity_bit = 1, \ 728c2ecf20Sopenharmony_ci .intr_detection_bit = 2, \ 738c2ecf20Sopenharmony_ci .intr_detection_width = 2, \ 748c2ecf20Sopenharmony_ci } 758c2ecf20Sopenharmony_ci 768c2ecf20Sopenharmony_ci#define SDC_QDSD_PINGROUP(pg_name, ctl, pull, drv) \ 778c2ecf20Sopenharmony_ci { \ 788c2ecf20Sopenharmony_ci .name = #pg_name, \ 798c2ecf20Sopenharmony_ci .pins = pg_name##_pins, \ 808c2ecf20Sopenharmony_ci .npins = (unsigned)ARRAY_SIZE(pg_name##_pins), \ 818c2ecf20Sopenharmony_ci .ctl_reg = ctl, \ 828c2ecf20Sopenharmony_ci .io_reg = 0, \ 838c2ecf20Sopenharmony_ci .intr_cfg_reg = 0, \ 848c2ecf20Sopenharmony_ci .intr_status_reg = 0, \ 858c2ecf20Sopenharmony_ci .intr_target_reg = 0, \ 868c2ecf20Sopenharmony_ci .tile = NORTH, \ 878c2ecf20Sopenharmony_ci .mux_bit = -1, \ 888c2ecf20Sopenharmony_ci .pull_bit = pull, \ 898c2ecf20Sopenharmony_ci .drv_bit = drv, \ 908c2ecf20Sopenharmony_ci .oe_bit = -1, \ 918c2ecf20Sopenharmony_ci .in_bit = -1, \ 928c2ecf20Sopenharmony_ci .out_bit = -1, \ 938c2ecf20Sopenharmony_ci .intr_enable_bit = -1, \ 948c2ecf20Sopenharmony_ci .intr_status_bit = -1, \ 958c2ecf20Sopenharmony_ci .intr_target_bit = -1, \ 968c2ecf20Sopenharmony_ci .intr_raw_status_bit = -1, \ 978c2ecf20Sopenharmony_ci .intr_polarity_bit = -1, \ 988c2ecf20Sopenharmony_ci .intr_detection_bit = -1, \ 998c2ecf20Sopenharmony_ci .intr_detection_width = -1, \ 1008c2ecf20Sopenharmony_ci } 1018c2ecf20Sopenharmony_ci 1028c2ecf20Sopenharmony_cistatic const struct pinctrl_pin_desc sdm660_pins[] = { 1038c2ecf20Sopenharmony_ci PINCTRL_PIN(0, "GPIO_0"), 1048c2ecf20Sopenharmony_ci PINCTRL_PIN(1, "GPIO_1"), 1058c2ecf20Sopenharmony_ci PINCTRL_PIN(2, "GPIO_2"), 1068c2ecf20Sopenharmony_ci PINCTRL_PIN(3, "GPIO_3"), 1078c2ecf20Sopenharmony_ci PINCTRL_PIN(4, "GPIO_4"), 1088c2ecf20Sopenharmony_ci PINCTRL_PIN(5, "GPIO_5"), 1098c2ecf20Sopenharmony_ci PINCTRL_PIN(6, "GPIO_6"), 1108c2ecf20Sopenharmony_ci PINCTRL_PIN(7, "GPIO_7"), 1118c2ecf20Sopenharmony_ci PINCTRL_PIN(8, "GPIO_8"), 1128c2ecf20Sopenharmony_ci PINCTRL_PIN(9, "GPIO_9"), 1138c2ecf20Sopenharmony_ci PINCTRL_PIN(10, "GPIO_10"), 1148c2ecf20Sopenharmony_ci PINCTRL_PIN(11, "GPIO_11"), 1158c2ecf20Sopenharmony_ci PINCTRL_PIN(12, "GPIO_12"), 1168c2ecf20Sopenharmony_ci PINCTRL_PIN(13, "GPIO_13"), 1178c2ecf20Sopenharmony_ci PINCTRL_PIN(14, "GPIO_14"), 1188c2ecf20Sopenharmony_ci PINCTRL_PIN(15, "GPIO_15"), 1198c2ecf20Sopenharmony_ci PINCTRL_PIN(16, "GPIO_16"), 1208c2ecf20Sopenharmony_ci PINCTRL_PIN(17, "GPIO_17"), 1218c2ecf20Sopenharmony_ci PINCTRL_PIN(18, "GPIO_18"), 1228c2ecf20Sopenharmony_ci PINCTRL_PIN(19, "GPIO_19"), 1238c2ecf20Sopenharmony_ci PINCTRL_PIN(20, "GPIO_20"), 1248c2ecf20Sopenharmony_ci PINCTRL_PIN(21, "GPIO_21"), 1258c2ecf20Sopenharmony_ci PINCTRL_PIN(22, "GPIO_22"), 1268c2ecf20Sopenharmony_ci PINCTRL_PIN(23, "GPIO_23"), 1278c2ecf20Sopenharmony_ci PINCTRL_PIN(24, "GPIO_24"), 1288c2ecf20Sopenharmony_ci PINCTRL_PIN(25, "GPIO_25"), 1298c2ecf20Sopenharmony_ci PINCTRL_PIN(26, "GPIO_26"), 1308c2ecf20Sopenharmony_ci PINCTRL_PIN(27, "GPIO_27"), 1318c2ecf20Sopenharmony_ci PINCTRL_PIN(28, "GPIO_28"), 1328c2ecf20Sopenharmony_ci PINCTRL_PIN(29, "GPIO_29"), 1338c2ecf20Sopenharmony_ci PINCTRL_PIN(30, "GPIO_30"), 1348c2ecf20Sopenharmony_ci PINCTRL_PIN(31, "GPIO_31"), 1358c2ecf20Sopenharmony_ci PINCTRL_PIN(32, "GPIO_32"), 1368c2ecf20Sopenharmony_ci PINCTRL_PIN(33, "GPIO_33"), 1378c2ecf20Sopenharmony_ci PINCTRL_PIN(34, "GPIO_34"), 1388c2ecf20Sopenharmony_ci PINCTRL_PIN(35, "GPIO_35"), 1398c2ecf20Sopenharmony_ci PINCTRL_PIN(36, "GPIO_36"), 1408c2ecf20Sopenharmony_ci PINCTRL_PIN(37, "GPIO_37"), 1418c2ecf20Sopenharmony_ci PINCTRL_PIN(38, "GPIO_38"), 1428c2ecf20Sopenharmony_ci PINCTRL_PIN(39, "GPIO_39"), 1438c2ecf20Sopenharmony_ci PINCTRL_PIN(40, "GPIO_40"), 1448c2ecf20Sopenharmony_ci PINCTRL_PIN(41, "GPIO_41"), 1458c2ecf20Sopenharmony_ci PINCTRL_PIN(42, "GPIO_42"), 1468c2ecf20Sopenharmony_ci PINCTRL_PIN(43, "GPIO_43"), 1478c2ecf20Sopenharmony_ci PINCTRL_PIN(44, "GPIO_44"), 1488c2ecf20Sopenharmony_ci PINCTRL_PIN(45, "GPIO_45"), 1498c2ecf20Sopenharmony_ci PINCTRL_PIN(46, "GPIO_46"), 1508c2ecf20Sopenharmony_ci PINCTRL_PIN(47, "GPIO_47"), 1518c2ecf20Sopenharmony_ci PINCTRL_PIN(48, "GPIO_48"), 1528c2ecf20Sopenharmony_ci PINCTRL_PIN(49, "GPIO_49"), 1538c2ecf20Sopenharmony_ci PINCTRL_PIN(50, "GPIO_50"), 1548c2ecf20Sopenharmony_ci PINCTRL_PIN(51, "GPIO_51"), 1558c2ecf20Sopenharmony_ci PINCTRL_PIN(52, "GPIO_52"), 1568c2ecf20Sopenharmony_ci PINCTRL_PIN(53, "GPIO_53"), 1578c2ecf20Sopenharmony_ci PINCTRL_PIN(54, "GPIO_54"), 1588c2ecf20Sopenharmony_ci PINCTRL_PIN(55, "GPIO_55"), 1598c2ecf20Sopenharmony_ci PINCTRL_PIN(56, "GPIO_56"), 1608c2ecf20Sopenharmony_ci PINCTRL_PIN(57, "GPIO_57"), 1618c2ecf20Sopenharmony_ci PINCTRL_PIN(58, "GPIO_58"), 1628c2ecf20Sopenharmony_ci PINCTRL_PIN(59, "GPIO_59"), 1638c2ecf20Sopenharmony_ci PINCTRL_PIN(60, "GPIO_60"), 1648c2ecf20Sopenharmony_ci PINCTRL_PIN(61, "GPIO_61"), 1658c2ecf20Sopenharmony_ci PINCTRL_PIN(62, "GPIO_62"), 1668c2ecf20Sopenharmony_ci PINCTRL_PIN(63, "GPIO_63"), 1678c2ecf20Sopenharmony_ci PINCTRL_PIN(64, "GPIO_64"), 1688c2ecf20Sopenharmony_ci PINCTRL_PIN(65, "GPIO_65"), 1698c2ecf20Sopenharmony_ci PINCTRL_PIN(66, "GPIO_66"), 1708c2ecf20Sopenharmony_ci PINCTRL_PIN(67, "GPIO_67"), 1718c2ecf20Sopenharmony_ci PINCTRL_PIN(68, "GPIO_68"), 1728c2ecf20Sopenharmony_ci PINCTRL_PIN(69, "GPIO_69"), 1738c2ecf20Sopenharmony_ci PINCTRL_PIN(70, "GPIO_70"), 1748c2ecf20Sopenharmony_ci PINCTRL_PIN(71, "GPIO_71"), 1758c2ecf20Sopenharmony_ci PINCTRL_PIN(72, "GPIO_72"), 1768c2ecf20Sopenharmony_ci PINCTRL_PIN(73, "GPIO_73"), 1778c2ecf20Sopenharmony_ci PINCTRL_PIN(74, "GPIO_74"), 1788c2ecf20Sopenharmony_ci PINCTRL_PIN(75, "GPIO_75"), 1798c2ecf20Sopenharmony_ci PINCTRL_PIN(76, "GPIO_76"), 1808c2ecf20Sopenharmony_ci PINCTRL_PIN(77, "GPIO_77"), 1818c2ecf20Sopenharmony_ci PINCTRL_PIN(78, "GPIO_78"), 1828c2ecf20Sopenharmony_ci PINCTRL_PIN(79, "GPIO_79"), 1838c2ecf20Sopenharmony_ci PINCTRL_PIN(80, "GPIO_80"), 1848c2ecf20Sopenharmony_ci PINCTRL_PIN(81, "GPIO_81"), 1858c2ecf20Sopenharmony_ci PINCTRL_PIN(82, "GPIO_82"), 1868c2ecf20Sopenharmony_ci PINCTRL_PIN(83, "GPIO_83"), 1878c2ecf20Sopenharmony_ci PINCTRL_PIN(84, "GPIO_84"), 1888c2ecf20Sopenharmony_ci PINCTRL_PIN(85, "GPIO_85"), 1898c2ecf20Sopenharmony_ci PINCTRL_PIN(86, "GPIO_86"), 1908c2ecf20Sopenharmony_ci PINCTRL_PIN(87, "GPIO_87"), 1918c2ecf20Sopenharmony_ci PINCTRL_PIN(88, "GPIO_88"), 1928c2ecf20Sopenharmony_ci PINCTRL_PIN(89, "GPIO_89"), 1938c2ecf20Sopenharmony_ci PINCTRL_PIN(90, "GPIO_90"), 1948c2ecf20Sopenharmony_ci PINCTRL_PIN(91, "GPIO_91"), 1958c2ecf20Sopenharmony_ci PINCTRL_PIN(92, "GPIO_92"), 1968c2ecf20Sopenharmony_ci PINCTRL_PIN(93, "GPIO_93"), 1978c2ecf20Sopenharmony_ci PINCTRL_PIN(94, "GPIO_94"), 1988c2ecf20Sopenharmony_ci PINCTRL_PIN(95, "GPIO_95"), 1998c2ecf20Sopenharmony_ci PINCTRL_PIN(96, "GPIO_96"), 2008c2ecf20Sopenharmony_ci PINCTRL_PIN(97, "GPIO_97"), 2018c2ecf20Sopenharmony_ci PINCTRL_PIN(98, "GPIO_98"), 2028c2ecf20Sopenharmony_ci PINCTRL_PIN(99, "GPIO_99"), 2038c2ecf20Sopenharmony_ci PINCTRL_PIN(100, "GPIO_100"), 2048c2ecf20Sopenharmony_ci PINCTRL_PIN(101, "GPIO_101"), 2058c2ecf20Sopenharmony_ci PINCTRL_PIN(102, "GPIO_102"), 2068c2ecf20Sopenharmony_ci PINCTRL_PIN(103, "GPIO_103"), 2078c2ecf20Sopenharmony_ci PINCTRL_PIN(104, "GPIO_104"), 2088c2ecf20Sopenharmony_ci PINCTRL_PIN(105, "GPIO_105"), 2098c2ecf20Sopenharmony_ci PINCTRL_PIN(106, "GPIO_106"), 2108c2ecf20Sopenharmony_ci PINCTRL_PIN(107, "GPIO_107"), 2118c2ecf20Sopenharmony_ci PINCTRL_PIN(108, "GPIO_108"), 2128c2ecf20Sopenharmony_ci PINCTRL_PIN(109, "GPIO_109"), 2138c2ecf20Sopenharmony_ci PINCTRL_PIN(110, "GPIO_110"), 2148c2ecf20Sopenharmony_ci PINCTRL_PIN(111, "GPIO_111"), 2158c2ecf20Sopenharmony_ci PINCTRL_PIN(112, "GPIO_112"), 2168c2ecf20Sopenharmony_ci PINCTRL_PIN(113, "GPIO_113"), 2178c2ecf20Sopenharmony_ci PINCTRL_PIN(114, "SDC1_CLK"), 2188c2ecf20Sopenharmony_ci PINCTRL_PIN(115, "SDC1_CMD"), 2198c2ecf20Sopenharmony_ci PINCTRL_PIN(116, "SDC1_DATA"), 2208c2ecf20Sopenharmony_ci PINCTRL_PIN(117, "SDC2_CLK"), 2218c2ecf20Sopenharmony_ci PINCTRL_PIN(118, "SDC2_CMD"), 2228c2ecf20Sopenharmony_ci PINCTRL_PIN(119, "SDC2_DATA"), 2238c2ecf20Sopenharmony_ci PINCTRL_PIN(120, "SDC1_RCLK"), 2248c2ecf20Sopenharmony_ci}; 2258c2ecf20Sopenharmony_ci 2268c2ecf20Sopenharmony_ci#define DECLARE_MSM_GPIO_PINS(pin) \ 2278c2ecf20Sopenharmony_ci static const unsigned int gpio##pin##_pins[] = { pin } 2288c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(0); 2298c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(1); 2308c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(2); 2318c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(3); 2328c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(4); 2338c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(5); 2348c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(6); 2358c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(7); 2368c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(8); 2378c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(9); 2388c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(10); 2398c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(11); 2408c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(12); 2418c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(13); 2428c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(14); 2438c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(15); 2448c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(16); 2458c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(17); 2468c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(18); 2478c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(19); 2488c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(20); 2498c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(21); 2508c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(22); 2518c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(23); 2528c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(24); 2538c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(25); 2548c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(26); 2558c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(27); 2568c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(28); 2578c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(29); 2588c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(30); 2598c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(31); 2608c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(32); 2618c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(33); 2628c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(34); 2638c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(35); 2648c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(36); 2658c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(37); 2668c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(38); 2678c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(39); 2688c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(40); 2698c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(41); 2708c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(42); 2718c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(43); 2728c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(44); 2738c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(45); 2748c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(46); 2758c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(47); 2768c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(48); 2778c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(49); 2788c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(50); 2798c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(51); 2808c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(52); 2818c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(53); 2828c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(54); 2838c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(55); 2848c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(56); 2858c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(57); 2868c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(58); 2878c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(59); 2888c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(60); 2898c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(61); 2908c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(62); 2918c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(63); 2928c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(64); 2938c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(65); 2948c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(66); 2958c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(67); 2968c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(68); 2978c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(69); 2988c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(70); 2998c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(71); 3008c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(72); 3018c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(73); 3028c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(74); 3038c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(75); 3048c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(76); 3058c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(77); 3068c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(78); 3078c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(79); 3088c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(80); 3098c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(81); 3108c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(82); 3118c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(83); 3128c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(84); 3138c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(85); 3148c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(86); 3158c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(87); 3168c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(88); 3178c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(89); 3188c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(90); 3198c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(91); 3208c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(92); 3218c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(93); 3228c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(94); 3238c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(95); 3248c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(96); 3258c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(97); 3268c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(98); 3278c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(99); 3288c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(100); 3298c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(101); 3308c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(102); 3318c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(103); 3328c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(104); 3338c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(105); 3348c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(106); 3358c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(107); 3368c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(108); 3378c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(109); 3388c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(110); 3398c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(111); 3408c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(112); 3418c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(113); 3428c2ecf20Sopenharmony_ci 3438c2ecf20Sopenharmony_cistatic const unsigned int sdc1_clk_pins[] = { 114 }; 3448c2ecf20Sopenharmony_cistatic const unsigned int sdc1_cmd_pins[] = { 115 }; 3458c2ecf20Sopenharmony_cistatic const unsigned int sdc1_data_pins[] = { 116 }; 3468c2ecf20Sopenharmony_cistatic const unsigned int sdc1_rclk_pins[] = { 120 }; 3478c2ecf20Sopenharmony_cistatic const unsigned int sdc2_clk_pins[] = { 117 }; 3488c2ecf20Sopenharmony_cistatic const unsigned int sdc2_cmd_pins[] = { 118 }; 3498c2ecf20Sopenharmony_cistatic const unsigned int sdc2_data_pins[] = { 119 }; 3508c2ecf20Sopenharmony_ci 3518c2ecf20Sopenharmony_cienum sdm660_functions { 3528c2ecf20Sopenharmony_ci msm_mux_adsp_ext, 3538c2ecf20Sopenharmony_ci msm_mux_agera_pll, 3548c2ecf20Sopenharmony_ci msm_mux_atest_char, 3558c2ecf20Sopenharmony_ci msm_mux_atest_char0, 3568c2ecf20Sopenharmony_ci msm_mux_atest_char1, 3578c2ecf20Sopenharmony_ci msm_mux_atest_char2, 3588c2ecf20Sopenharmony_ci msm_mux_atest_char3, 3598c2ecf20Sopenharmony_ci msm_mux_atest_gpsadc0, 3608c2ecf20Sopenharmony_ci msm_mux_atest_gpsadc1, 3618c2ecf20Sopenharmony_ci msm_mux_atest_tsens, 3628c2ecf20Sopenharmony_ci msm_mux_atest_tsens2, 3638c2ecf20Sopenharmony_ci msm_mux_atest_usb1, 3648c2ecf20Sopenharmony_ci msm_mux_atest_usb10, 3658c2ecf20Sopenharmony_ci msm_mux_atest_usb11, 3668c2ecf20Sopenharmony_ci msm_mux_atest_usb12, 3678c2ecf20Sopenharmony_ci msm_mux_atest_usb13, 3688c2ecf20Sopenharmony_ci msm_mux_atest_usb2, 3698c2ecf20Sopenharmony_ci msm_mux_atest_usb20, 3708c2ecf20Sopenharmony_ci msm_mux_atest_usb21, 3718c2ecf20Sopenharmony_ci msm_mux_atest_usb22, 3728c2ecf20Sopenharmony_ci msm_mux_atest_usb23, 3738c2ecf20Sopenharmony_ci msm_mux_audio_ref, 3748c2ecf20Sopenharmony_ci msm_mux_bimc_dte0, 3758c2ecf20Sopenharmony_ci msm_mux_bimc_dte1, 3768c2ecf20Sopenharmony_ci msm_mux_blsp_i2c1, 3778c2ecf20Sopenharmony_ci msm_mux_blsp_i2c2, 3788c2ecf20Sopenharmony_ci msm_mux_blsp_i2c3, 3798c2ecf20Sopenharmony_ci msm_mux_blsp_i2c4, 3808c2ecf20Sopenharmony_ci msm_mux_blsp_i2c5, 3818c2ecf20Sopenharmony_ci msm_mux_blsp_i2c6, 3828c2ecf20Sopenharmony_ci msm_mux_blsp_i2c7, 3838c2ecf20Sopenharmony_ci msm_mux_blsp_i2c8_a, 3848c2ecf20Sopenharmony_ci msm_mux_blsp_i2c8_b, 3858c2ecf20Sopenharmony_ci msm_mux_blsp_spi1, 3868c2ecf20Sopenharmony_ci msm_mux_blsp_spi2, 3878c2ecf20Sopenharmony_ci msm_mux_blsp_spi3, 3888c2ecf20Sopenharmony_ci msm_mux_blsp_spi3_cs1, 3898c2ecf20Sopenharmony_ci msm_mux_blsp_spi3_cs2, 3908c2ecf20Sopenharmony_ci msm_mux_blsp_spi4, 3918c2ecf20Sopenharmony_ci msm_mux_blsp_spi5, 3928c2ecf20Sopenharmony_ci msm_mux_blsp_spi6, 3938c2ecf20Sopenharmony_ci msm_mux_blsp_spi7, 3948c2ecf20Sopenharmony_ci msm_mux_blsp_spi8_a, 3958c2ecf20Sopenharmony_ci msm_mux_blsp_spi8_b, 3968c2ecf20Sopenharmony_ci msm_mux_blsp_spi8_cs1, 3978c2ecf20Sopenharmony_ci msm_mux_blsp_spi8_cs2, 3988c2ecf20Sopenharmony_ci msm_mux_blsp_uart1, 3998c2ecf20Sopenharmony_ci msm_mux_blsp_uart2, 4008c2ecf20Sopenharmony_ci msm_mux_blsp_uart5, 4018c2ecf20Sopenharmony_ci msm_mux_blsp_uart6_a, 4028c2ecf20Sopenharmony_ci msm_mux_blsp_uart6_b, 4038c2ecf20Sopenharmony_ci msm_mux_blsp_uim1, 4048c2ecf20Sopenharmony_ci msm_mux_blsp_uim2, 4058c2ecf20Sopenharmony_ci msm_mux_blsp_uim5, 4068c2ecf20Sopenharmony_ci msm_mux_blsp_uim6, 4078c2ecf20Sopenharmony_ci msm_mux_cam_mclk, 4088c2ecf20Sopenharmony_ci msm_mux_cci_async, 4098c2ecf20Sopenharmony_ci msm_mux_cci_i2c, 4108c2ecf20Sopenharmony_ci msm_mux_cri_trng, 4118c2ecf20Sopenharmony_ci msm_mux_cri_trng0, 4128c2ecf20Sopenharmony_ci msm_mux_cri_trng1, 4138c2ecf20Sopenharmony_ci msm_mux_dbg_out, 4148c2ecf20Sopenharmony_ci msm_mux_ddr_bist, 4158c2ecf20Sopenharmony_ci msm_mux_gcc_gp1, 4168c2ecf20Sopenharmony_ci msm_mux_gcc_gp2, 4178c2ecf20Sopenharmony_ci msm_mux_gcc_gp3, 4188c2ecf20Sopenharmony_ci msm_mux_gpio, 4198c2ecf20Sopenharmony_ci msm_mux_gps_tx_a, 4208c2ecf20Sopenharmony_ci msm_mux_gps_tx_b, 4218c2ecf20Sopenharmony_ci msm_mux_gps_tx_c, 4228c2ecf20Sopenharmony_ci msm_mux_isense_dbg, 4238c2ecf20Sopenharmony_ci msm_mux_jitter_bist, 4248c2ecf20Sopenharmony_ci msm_mux_ldo_en, 4258c2ecf20Sopenharmony_ci msm_mux_ldo_update, 4268c2ecf20Sopenharmony_ci msm_mux_m_voc, 4278c2ecf20Sopenharmony_ci msm_mux_mdp_vsync, 4288c2ecf20Sopenharmony_ci msm_mux_mdss_vsync0, 4298c2ecf20Sopenharmony_ci msm_mux_mdss_vsync1, 4308c2ecf20Sopenharmony_ci msm_mux_mdss_vsync2, 4318c2ecf20Sopenharmony_ci msm_mux_mdss_vsync3, 4328c2ecf20Sopenharmony_ci msm_mux_mss_lte, 4338c2ecf20Sopenharmony_ci msm_mux_nav_pps_a, 4348c2ecf20Sopenharmony_ci msm_mux_nav_pps_b, 4358c2ecf20Sopenharmony_ci msm_mux_nav_pps_c, 4368c2ecf20Sopenharmony_ci msm_mux_pa_indicator, 4378c2ecf20Sopenharmony_ci msm_mux_phase_flag0, 4388c2ecf20Sopenharmony_ci msm_mux_phase_flag1, 4398c2ecf20Sopenharmony_ci msm_mux_phase_flag2, 4408c2ecf20Sopenharmony_ci msm_mux_phase_flag3, 4418c2ecf20Sopenharmony_ci msm_mux_phase_flag4, 4428c2ecf20Sopenharmony_ci msm_mux_phase_flag5, 4438c2ecf20Sopenharmony_ci msm_mux_phase_flag6, 4448c2ecf20Sopenharmony_ci msm_mux_phase_flag7, 4458c2ecf20Sopenharmony_ci msm_mux_phase_flag8, 4468c2ecf20Sopenharmony_ci msm_mux_phase_flag9, 4478c2ecf20Sopenharmony_ci msm_mux_phase_flag10, 4488c2ecf20Sopenharmony_ci msm_mux_phase_flag11, 4498c2ecf20Sopenharmony_ci msm_mux_phase_flag12, 4508c2ecf20Sopenharmony_ci msm_mux_phase_flag13, 4518c2ecf20Sopenharmony_ci msm_mux_phase_flag14, 4528c2ecf20Sopenharmony_ci msm_mux_phase_flag15, 4538c2ecf20Sopenharmony_ci msm_mux_phase_flag16, 4548c2ecf20Sopenharmony_ci msm_mux_phase_flag17, 4558c2ecf20Sopenharmony_ci msm_mux_phase_flag18, 4568c2ecf20Sopenharmony_ci msm_mux_phase_flag19, 4578c2ecf20Sopenharmony_ci msm_mux_phase_flag20, 4588c2ecf20Sopenharmony_ci msm_mux_phase_flag21, 4598c2ecf20Sopenharmony_ci msm_mux_phase_flag22, 4608c2ecf20Sopenharmony_ci msm_mux_phase_flag23, 4618c2ecf20Sopenharmony_ci msm_mux_phase_flag24, 4628c2ecf20Sopenharmony_ci msm_mux_phase_flag25, 4638c2ecf20Sopenharmony_ci msm_mux_phase_flag26, 4648c2ecf20Sopenharmony_ci msm_mux_phase_flag27, 4658c2ecf20Sopenharmony_ci msm_mux_phase_flag28, 4668c2ecf20Sopenharmony_ci msm_mux_phase_flag29, 4678c2ecf20Sopenharmony_ci msm_mux_phase_flag30, 4688c2ecf20Sopenharmony_ci msm_mux_phase_flag31, 4698c2ecf20Sopenharmony_ci msm_mux_pll_bypassnl, 4708c2ecf20Sopenharmony_ci msm_mux_pll_reset, 4718c2ecf20Sopenharmony_ci msm_mux_pri_mi2s, 4728c2ecf20Sopenharmony_ci msm_mux_pri_mi2s_ws, 4738c2ecf20Sopenharmony_ci msm_mux_prng_rosc, 4748c2ecf20Sopenharmony_ci msm_mux_pwr_crypto, 4758c2ecf20Sopenharmony_ci msm_mux_pwr_modem, 4768c2ecf20Sopenharmony_ci msm_mux_pwr_nav, 4778c2ecf20Sopenharmony_ci msm_mux_qdss_cti0_a, 4788c2ecf20Sopenharmony_ci msm_mux_qdss_cti0_b, 4798c2ecf20Sopenharmony_ci msm_mux_qdss_cti1_a, 4808c2ecf20Sopenharmony_ci msm_mux_qdss_cti1_b, 4818c2ecf20Sopenharmony_ci msm_mux_qdss_gpio, 4828c2ecf20Sopenharmony_ci msm_mux_qdss_gpio0, 4838c2ecf20Sopenharmony_ci msm_mux_qdss_gpio1, 4848c2ecf20Sopenharmony_ci msm_mux_qdss_gpio10, 4858c2ecf20Sopenharmony_ci msm_mux_qdss_gpio11, 4868c2ecf20Sopenharmony_ci msm_mux_qdss_gpio12, 4878c2ecf20Sopenharmony_ci msm_mux_qdss_gpio13, 4888c2ecf20Sopenharmony_ci msm_mux_qdss_gpio14, 4898c2ecf20Sopenharmony_ci msm_mux_qdss_gpio15, 4908c2ecf20Sopenharmony_ci msm_mux_qdss_gpio2, 4918c2ecf20Sopenharmony_ci msm_mux_qdss_gpio3, 4928c2ecf20Sopenharmony_ci msm_mux_qdss_gpio4, 4938c2ecf20Sopenharmony_ci msm_mux_qdss_gpio5, 4948c2ecf20Sopenharmony_ci msm_mux_qdss_gpio6, 4958c2ecf20Sopenharmony_ci msm_mux_qdss_gpio7, 4968c2ecf20Sopenharmony_ci msm_mux_qdss_gpio8, 4978c2ecf20Sopenharmony_ci msm_mux_qdss_gpio9, 4988c2ecf20Sopenharmony_ci msm_mux_qlink_enable, 4998c2ecf20Sopenharmony_ci msm_mux_qlink_request, 5008c2ecf20Sopenharmony_ci msm_mux_qspi_clk, 5018c2ecf20Sopenharmony_ci msm_mux_qspi_cs, 5028c2ecf20Sopenharmony_ci msm_mux_qspi_data0, 5038c2ecf20Sopenharmony_ci msm_mux_qspi_data1, 5048c2ecf20Sopenharmony_ci msm_mux_qspi_data2, 5058c2ecf20Sopenharmony_ci msm_mux_qspi_data3, 5068c2ecf20Sopenharmony_ci msm_mux_qspi_resetn, 5078c2ecf20Sopenharmony_ci msm_mux_sec_mi2s, 5088c2ecf20Sopenharmony_ci msm_mux_sndwire_clk, 5098c2ecf20Sopenharmony_ci msm_mux_sndwire_data, 5108c2ecf20Sopenharmony_ci msm_mux_sp_cmu, 5118c2ecf20Sopenharmony_ci msm_mux_ssc_irq, 5128c2ecf20Sopenharmony_ci msm_mux_tgu_ch0, 5138c2ecf20Sopenharmony_ci msm_mux_tgu_ch1, 5148c2ecf20Sopenharmony_ci msm_mux_tsense_pwm1, 5158c2ecf20Sopenharmony_ci msm_mux_tsense_pwm2, 5168c2ecf20Sopenharmony_ci msm_mux_uim1_clk, 5178c2ecf20Sopenharmony_ci msm_mux_uim1_data, 5188c2ecf20Sopenharmony_ci msm_mux_uim1_present, 5198c2ecf20Sopenharmony_ci msm_mux_uim1_reset, 5208c2ecf20Sopenharmony_ci msm_mux_uim2_clk, 5218c2ecf20Sopenharmony_ci msm_mux_uim2_data, 5228c2ecf20Sopenharmony_ci msm_mux_uim2_present, 5238c2ecf20Sopenharmony_ci msm_mux_uim2_reset, 5248c2ecf20Sopenharmony_ci msm_mux_uim_batt, 5258c2ecf20Sopenharmony_ci msm_mux_vfr_1, 5268c2ecf20Sopenharmony_ci msm_mux_vsense_clkout, 5278c2ecf20Sopenharmony_ci msm_mux_vsense_data0, 5288c2ecf20Sopenharmony_ci msm_mux_vsense_data1, 5298c2ecf20Sopenharmony_ci msm_mux_vsense_mode, 5308c2ecf20Sopenharmony_ci msm_mux_wlan1_adc0, 5318c2ecf20Sopenharmony_ci msm_mux_wlan1_adc1, 5328c2ecf20Sopenharmony_ci msm_mux_wlan2_adc0, 5338c2ecf20Sopenharmony_ci msm_mux_wlan2_adc1, 5348c2ecf20Sopenharmony_ci msm_mux__, 5358c2ecf20Sopenharmony_ci}; 5368c2ecf20Sopenharmony_ci 5378c2ecf20Sopenharmony_cistatic const char * const gpio_groups[] = { 5388c2ecf20Sopenharmony_ci "gpio0", "gpio1", "gpio2", "gpio3", "gpio4", "gpio5", "gpio6", "gpio7", 5398c2ecf20Sopenharmony_ci "gpio8", "gpio9", "gpio10", "gpio11", "gpio12", "gpio13", "gpio14", 5408c2ecf20Sopenharmony_ci "gpio15", "gpio16", "gpio17", "gpio18", "gpio19", "gpio20", "gpio21", 5418c2ecf20Sopenharmony_ci "gpio22", "gpio23", "gpio24", "gpio25", "gpio26", "gpio27", "gpio28", 5428c2ecf20Sopenharmony_ci "gpio29", "gpio30", "gpio31", "gpio32", "gpio33", "gpio34", "gpio35", 5438c2ecf20Sopenharmony_ci "gpio36", "gpio37", "gpio38", "gpio39", "gpio40", "gpio41", "gpio42", 5448c2ecf20Sopenharmony_ci "gpio43", "gpio44", "gpio45", "gpio46", "gpio47", "gpio48", "gpio49", 5458c2ecf20Sopenharmony_ci "gpio50", "gpio51", "gpio52", "gpio53", "gpio54", "gpio55", "gpio56", 5468c2ecf20Sopenharmony_ci "gpio57", "gpio58", "gpio59", "gpio60", "gpio61", "gpio62", "gpio63", 5478c2ecf20Sopenharmony_ci "gpio64", "gpio65", "gpio66", "gpio67", "gpio68", "gpio69", "gpio70", 5488c2ecf20Sopenharmony_ci "gpio71", "gpio72", "gpio73", "gpio74", "gpio75", "gpio76", "gpio77", 5498c2ecf20Sopenharmony_ci "gpio78", "gpio79", "gpio80", "gpio81", "gpio82", "gpio83", "gpio84", 5508c2ecf20Sopenharmony_ci "gpio85", "gpio86", "gpio87", "gpio88", "gpio89", "gpio90", "gpio91", 5518c2ecf20Sopenharmony_ci "gpio92", "gpio93", "gpio94", "gpio95", "gpio96", "gpio97", "gpio98", 5528c2ecf20Sopenharmony_ci "gpio99", "gpio100", "gpio101", "gpio102", "gpio103", "gpio104", 5538c2ecf20Sopenharmony_ci "gpio105", "gpio106", "gpio107", "gpio108", "gpio109", "gpio110", 5548c2ecf20Sopenharmony_ci "gpio111", "gpio112", "gpio113", 5558c2ecf20Sopenharmony_ci}; 5568c2ecf20Sopenharmony_ci 5578c2ecf20Sopenharmony_cistatic const char * const adsp_ext_groups[] = { 5588c2ecf20Sopenharmony_ci "gpio65", 5598c2ecf20Sopenharmony_ci}; 5608c2ecf20Sopenharmony_cistatic const char * const agera_pll_groups[] = { 5618c2ecf20Sopenharmony_ci "gpio34", "gpio36", 5628c2ecf20Sopenharmony_ci}; 5638c2ecf20Sopenharmony_cistatic const char * const atest_char0_groups[] = { 5648c2ecf20Sopenharmony_ci "gpio62", 5658c2ecf20Sopenharmony_ci}; 5668c2ecf20Sopenharmony_cistatic const char * const atest_char1_groups[] = { 5678c2ecf20Sopenharmony_ci "gpio61", 5688c2ecf20Sopenharmony_ci}; 5698c2ecf20Sopenharmony_cistatic const char * const atest_char2_groups[] = { 5708c2ecf20Sopenharmony_ci "gpio60", 5718c2ecf20Sopenharmony_ci}; 5728c2ecf20Sopenharmony_cistatic const char * const atest_char3_groups[] = { 5738c2ecf20Sopenharmony_ci "gpio59", 5748c2ecf20Sopenharmony_ci}; 5758c2ecf20Sopenharmony_cistatic const char * const atest_char_groups[] = { 5768c2ecf20Sopenharmony_ci "gpio58", 5778c2ecf20Sopenharmony_ci}; 5788c2ecf20Sopenharmony_cistatic const char * const atest_gpsadc0_groups[] = { 5798c2ecf20Sopenharmony_ci "gpio1", 5808c2ecf20Sopenharmony_ci}; 5818c2ecf20Sopenharmony_cistatic const char * const atest_gpsadc1_groups[] = { 5828c2ecf20Sopenharmony_ci "gpio0", 5838c2ecf20Sopenharmony_ci}; 5848c2ecf20Sopenharmony_cistatic const char * const atest_tsens2_groups[] = { 5858c2ecf20Sopenharmony_ci "gpio3", 5868c2ecf20Sopenharmony_ci}; 5878c2ecf20Sopenharmony_cistatic const char * const atest_tsens_groups[] = { 5888c2ecf20Sopenharmony_ci "gpio36", 5898c2ecf20Sopenharmony_ci}; 5908c2ecf20Sopenharmony_cistatic const char * const atest_usb10_groups[] = { 5918c2ecf20Sopenharmony_ci "gpio11", 5928c2ecf20Sopenharmony_ci}; 5938c2ecf20Sopenharmony_cistatic const char * const atest_usb11_groups[] = { 5948c2ecf20Sopenharmony_ci "gpio10", 5958c2ecf20Sopenharmony_ci}; 5968c2ecf20Sopenharmony_cistatic const char * const atest_usb12_groups[] = { 5978c2ecf20Sopenharmony_ci "gpio9", 5988c2ecf20Sopenharmony_ci}; 5998c2ecf20Sopenharmony_cistatic const char * const atest_usb13_groups[] = { 6008c2ecf20Sopenharmony_ci "gpio8", 6018c2ecf20Sopenharmony_ci}; 6028c2ecf20Sopenharmony_cistatic const char * const atest_usb1_groups[] = { 6038c2ecf20Sopenharmony_ci "gpio3", 6048c2ecf20Sopenharmony_ci}; 6058c2ecf20Sopenharmony_cistatic const char * const atest_usb20_groups[] = { 6068c2ecf20Sopenharmony_ci "gpio56", 6078c2ecf20Sopenharmony_ci}; 6088c2ecf20Sopenharmony_cistatic const char * const atest_usb21_groups[] = { 6098c2ecf20Sopenharmony_ci "gpio36", 6108c2ecf20Sopenharmony_ci}; 6118c2ecf20Sopenharmony_cistatic const char * const atest_usb22_groups[] = { 6128c2ecf20Sopenharmony_ci "gpio57", 6138c2ecf20Sopenharmony_ci}; 6148c2ecf20Sopenharmony_cistatic const char * const atest_usb23_groups[] = { 6158c2ecf20Sopenharmony_ci "gpio37", 6168c2ecf20Sopenharmony_ci}; 6178c2ecf20Sopenharmony_cistatic const char * const atest_usb2_groups[] = { 6188c2ecf20Sopenharmony_ci "gpio35", 6198c2ecf20Sopenharmony_ci}; 6208c2ecf20Sopenharmony_cistatic const char * const audio_ref_groups[] = { 6218c2ecf20Sopenharmony_ci "gpio62", 6228c2ecf20Sopenharmony_ci}; 6238c2ecf20Sopenharmony_cistatic const char * const bimc_dte0_groups[] = { 6248c2ecf20Sopenharmony_ci "gpio9", "gpio11", 6258c2ecf20Sopenharmony_ci}; 6268c2ecf20Sopenharmony_cistatic const char * const bimc_dte1_groups[] = { 6278c2ecf20Sopenharmony_ci "gpio8", "gpio10", 6288c2ecf20Sopenharmony_ci}; 6298c2ecf20Sopenharmony_cistatic const char * const blsp_i2c1_groups[] = { 6308c2ecf20Sopenharmony_ci "gpio2", "gpio3", 6318c2ecf20Sopenharmony_ci}; 6328c2ecf20Sopenharmony_cistatic const char * const blsp_i2c2_groups[] = { 6338c2ecf20Sopenharmony_ci "gpio6", "gpio7", 6348c2ecf20Sopenharmony_ci}; 6358c2ecf20Sopenharmony_cistatic const char * const blsp_i2c3_groups[] = { 6368c2ecf20Sopenharmony_ci "gpio10", "gpio11", 6378c2ecf20Sopenharmony_ci}; 6388c2ecf20Sopenharmony_cistatic const char * const blsp_i2c4_groups[] = { 6398c2ecf20Sopenharmony_ci "gpio14", "gpio15", 6408c2ecf20Sopenharmony_ci}; 6418c2ecf20Sopenharmony_cistatic const char * const blsp_i2c5_groups[] = { 6428c2ecf20Sopenharmony_ci "gpio18", "gpio19", 6438c2ecf20Sopenharmony_ci}; 6448c2ecf20Sopenharmony_cistatic const char * const blsp_i2c6_groups[] = { 6458c2ecf20Sopenharmony_ci "gpio22", "gpio23", 6468c2ecf20Sopenharmony_ci}; 6478c2ecf20Sopenharmony_cistatic const char * const blsp_i2c7_groups[] = { 6488c2ecf20Sopenharmony_ci "gpio26", "gpio27", 6498c2ecf20Sopenharmony_ci}; 6508c2ecf20Sopenharmony_cistatic const char * const blsp_i2c8_a_groups[] = { 6518c2ecf20Sopenharmony_ci "gpio30", "gpio31", 6528c2ecf20Sopenharmony_ci}; 6538c2ecf20Sopenharmony_cistatic const char * const blsp_i2c8_b_groups[] = { 6548c2ecf20Sopenharmony_ci "gpio44", "gpio52", 6558c2ecf20Sopenharmony_ci}; 6568c2ecf20Sopenharmony_cistatic const char * const blsp_spi1_groups[] = { 6578c2ecf20Sopenharmony_ci "gpio0", "gpio1", "gpio2", "gpio3", "gpio46", 6588c2ecf20Sopenharmony_ci}; 6598c2ecf20Sopenharmony_cistatic const char * const blsp_spi2_groups[] = { 6608c2ecf20Sopenharmony_ci "gpio4", "gpio5", "gpio6", "gpio7", 6618c2ecf20Sopenharmony_ci}; 6628c2ecf20Sopenharmony_cistatic const char * const blsp_spi3_cs1_groups[] = { 6638c2ecf20Sopenharmony_ci "gpio30", 6648c2ecf20Sopenharmony_ci}; 6658c2ecf20Sopenharmony_cistatic const char * const blsp_spi3_cs2_groups[] = { 6668c2ecf20Sopenharmony_ci "gpio65", 6678c2ecf20Sopenharmony_ci}; 6688c2ecf20Sopenharmony_cistatic const char * const blsp_spi3_groups[] = { 6698c2ecf20Sopenharmony_ci "gpio8", "gpio9", "gpio10", "gpio11", 6708c2ecf20Sopenharmony_ci}; 6718c2ecf20Sopenharmony_cistatic const char * const blsp_spi4_groups[] = { 6728c2ecf20Sopenharmony_ci "gpio12", "gpio13", "gpio14", "gpio15", 6738c2ecf20Sopenharmony_ci}; 6748c2ecf20Sopenharmony_cistatic const char * const blsp_spi5_groups[] = { 6758c2ecf20Sopenharmony_ci "gpio16", "gpio17", "gpio18", "gpio19", 6768c2ecf20Sopenharmony_ci}; 6778c2ecf20Sopenharmony_cistatic const char * const blsp_spi6_groups[] = { 6788c2ecf20Sopenharmony_ci "gpio49", "gpio52", "gpio22", "gpio23", 6798c2ecf20Sopenharmony_ci}; 6808c2ecf20Sopenharmony_cistatic const char * const blsp_spi7_groups[] = { 6818c2ecf20Sopenharmony_ci "gpio24", "gpio25", "gpio26", "gpio27", 6828c2ecf20Sopenharmony_ci}; 6838c2ecf20Sopenharmony_cistatic const char * const blsp_spi8_a_groups[] = { 6848c2ecf20Sopenharmony_ci "gpio28", "gpio29", "gpio30", "gpio31", 6858c2ecf20Sopenharmony_ci}; 6868c2ecf20Sopenharmony_cistatic const char * const blsp_spi8_b_groups[] = { 6878c2ecf20Sopenharmony_ci "gpio40", "gpio41", "gpio44", "gpio52", 6888c2ecf20Sopenharmony_ci}; 6898c2ecf20Sopenharmony_cistatic const char * const blsp_spi8_cs1_groups[] = { 6908c2ecf20Sopenharmony_ci "gpio64", 6918c2ecf20Sopenharmony_ci}; 6928c2ecf20Sopenharmony_cistatic const char * const blsp_spi8_cs2_groups[] = { 6938c2ecf20Sopenharmony_ci "gpio76", 6948c2ecf20Sopenharmony_ci}; 6958c2ecf20Sopenharmony_cistatic const char * const blsp_uart1_groups[] = { 6968c2ecf20Sopenharmony_ci "gpio0", "gpio1", "gpio2", "gpio3", 6978c2ecf20Sopenharmony_ci}; 6988c2ecf20Sopenharmony_cistatic const char * const blsp_uart2_groups[] = { 6998c2ecf20Sopenharmony_ci "gpio4", "gpio5", "gpio6", "gpio7", 7008c2ecf20Sopenharmony_ci}; 7018c2ecf20Sopenharmony_cistatic const char * const blsp_uart5_groups[] = { 7028c2ecf20Sopenharmony_ci "gpio16", "gpio17", "gpio18", "gpio19", 7038c2ecf20Sopenharmony_ci}; 7048c2ecf20Sopenharmony_cistatic const char * const blsp_uart6_a_groups[] = { 7058c2ecf20Sopenharmony_ci "gpio24", "gpio25", "gpio26", "gpio27", 7068c2ecf20Sopenharmony_ci}; 7078c2ecf20Sopenharmony_cistatic const char * const blsp_uart6_b_groups[] = { 7088c2ecf20Sopenharmony_ci "gpio28", "gpio29", "gpio30", "gpio31", 7098c2ecf20Sopenharmony_ci}; 7108c2ecf20Sopenharmony_cistatic const char * const blsp_uim1_groups[] = { 7118c2ecf20Sopenharmony_ci "gpio0", "gpio1", 7128c2ecf20Sopenharmony_ci}; 7138c2ecf20Sopenharmony_cistatic const char * const blsp_uim2_groups[] = { 7148c2ecf20Sopenharmony_ci "gpio4", "gpio5", 7158c2ecf20Sopenharmony_ci}; 7168c2ecf20Sopenharmony_cistatic const char * const blsp_uim5_groups[] = { 7178c2ecf20Sopenharmony_ci "gpio16", "gpio17", 7188c2ecf20Sopenharmony_ci}; 7198c2ecf20Sopenharmony_cistatic const char * const blsp_uim6_groups[] = { 7208c2ecf20Sopenharmony_ci "gpio20", "gpio21", 7218c2ecf20Sopenharmony_ci}; 7228c2ecf20Sopenharmony_cistatic const char * const cam_mclk_groups[] = { 7238c2ecf20Sopenharmony_ci "gpio32", "gpio33", "gpio34", "gpio35", 7248c2ecf20Sopenharmony_ci}; 7258c2ecf20Sopenharmony_cistatic const char * const cci_async_groups[] = { 7268c2ecf20Sopenharmony_ci "gpio45", 7278c2ecf20Sopenharmony_ci}; 7288c2ecf20Sopenharmony_cistatic const char * const cci_i2c_groups[] = { 7298c2ecf20Sopenharmony_ci "gpio36", "gpio37", "gpio38", "gpio39", 7308c2ecf20Sopenharmony_ci}; 7318c2ecf20Sopenharmony_cistatic const char * const cri_trng0_groups[] = { 7328c2ecf20Sopenharmony_ci "gpio60", 7338c2ecf20Sopenharmony_ci}; 7348c2ecf20Sopenharmony_cistatic const char * const cri_trng1_groups[] = { 7358c2ecf20Sopenharmony_ci "gpio61", 7368c2ecf20Sopenharmony_ci}; 7378c2ecf20Sopenharmony_cistatic const char * const cri_trng_groups[] = { 7388c2ecf20Sopenharmony_ci "gpio62", 7398c2ecf20Sopenharmony_ci}; 7408c2ecf20Sopenharmony_cistatic const char * const dbg_out_groups[] = { 7418c2ecf20Sopenharmony_ci "gpio11", 7428c2ecf20Sopenharmony_ci}; 7438c2ecf20Sopenharmony_cistatic const char * const ddr_bist_groups[] = { 7448c2ecf20Sopenharmony_ci "gpio3", "gpio8", "gpio9", "gpio10", 7458c2ecf20Sopenharmony_ci}; 7468c2ecf20Sopenharmony_cistatic const char * const gcc_gp1_groups[] = { 7478c2ecf20Sopenharmony_ci "gpio57", "gpio78", 7488c2ecf20Sopenharmony_ci}; 7498c2ecf20Sopenharmony_cistatic const char * const gcc_gp2_groups[] = { 7508c2ecf20Sopenharmony_ci "gpio58", "gpio81", 7518c2ecf20Sopenharmony_ci}; 7528c2ecf20Sopenharmony_cistatic const char * const gcc_gp3_groups[] = { 7538c2ecf20Sopenharmony_ci "gpio59", "gpio82", 7548c2ecf20Sopenharmony_ci}; 7558c2ecf20Sopenharmony_cistatic const char * const gps_tx_a_groups[] = { 7568c2ecf20Sopenharmony_ci "gpio65", 7578c2ecf20Sopenharmony_ci}; 7588c2ecf20Sopenharmony_cistatic const char * const gps_tx_b_groups[] = { 7598c2ecf20Sopenharmony_ci "gpio98", 7608c2ecf20Sopenharmony_ci}; 7618c2ecf20Sopenharmony_cistatic const char * const gps_tx_c_groups[] = { 7628c2ecf20Sopenharmony_ci "gpio80", 7638c2ecf20Sopenharmony_ci}; 7648c2ecf20Sopenharmony_cistatic const char * const isense_dbg_groups[] = { 7658c2ecf20Sopenharmony_ci "gpio68", 7668c2ecf20Sopenharmony_ci}; 7678c2ecf20Sopenharmony_cistatic const char * const jitter_bist_groups[] = { 7688c2ecf20Sopenharmony_ci "gpio35", 7698c2ecf20Sopenharmony_ci}; 7708c2ecf20Sopenharmony_cistatic const char * const ldo_en_groups[] = { 7718c2ecf20Sopenharmony_ci "gpio97", 7728c2ecf20Sopenharmony_ci}; 7738c2ecf20Sopenharmony_cistatic const char * const ldo_update_groups[] = { 7748c2ecf20Sopenharmony_ci "gpio98", 7758c2ecf20Sopenharmony_ci}; 7768c2ecf20Sopenharmony_cistatic const char * const m_voc_groups[] = { 7778c2ecf20Sopenharmony_ci "gpio28", 7788c2ecf20Sopenharmony_ci}; 7798c2ecf20Sopenharmony_cistatic const char * const mdp_vsync_groups[] = { 7808c2ecf20Sopenharmony_ci "gpio59", "gpio74", 7818c2ecf20Sopenharmony_ci}; 7828c2ecf20Sopenharmony_cistatic const char * const mdss_vsync0_groups[] = { 7838c2ecf20Sopenharmony_ci "gpio42", 7848c2ecf20Sopenharmony_ci}; 7858c2ecf20Sopenharmony_cistatic const char * const mdss_vsync1_groups[] = { 7868c2ecf20Sopenharmony_ci "gpio42", 7878c2ecf20Sopenharmony_ci}; 7888c2ecf20Sopenharmony_cistatic const char * const mdss_vsync2_groups[] = { 7898c2ecf20Sopenharmony_ci "gpio42", 7908c2ecf20Sopenharmony_ci}; 7918c2ecf20Sopenharmony_cistatic const char * const mdss_vsync3_groups[] = { 7928c2ecf20Sopenharmony_ci "gpio42", 7938c2ecf20Sopenharmony_ci}; 7948c2ecf20Sopenharmony_cistatic const char * const mss_lte_groups[] = { 7958c2ecf20Sopenharmony_ci "gpio81", "gpio82", 7968c2ecf20Sopenharmony_ci}; 7978c2ecf20Sopenharmony_cistatic const char * const nav_pps_a_groups[] = { 7988c2ecf20Sopenharmony_ci "gpio65", 7998c2ecf20Sopenharmony_ci}; 8008c2ecf20Sopenharmony_cistatic const char * const nav_pps_b_groups[] = { 8018c2ecf20Sopenharmony_ci "gpio98", 8028c2ecf20Sopenharmony_ci}; 8038c2ecf20Sopenharmony_cistatic const char * const nav_pps_c_groups[] = { 8048c2ecf20Sopenharmony_ci "gpio80", 8058c2ecf20Sopenharmony_ci}; 8068c2ecf20Sopenharmony_cistatic const char * const pa_indicator_groups[] = { 8078c2ecf20Sopenharmony_ci "gpio92", 8088c2ecf20Sopenharmony_ci}; 8098c2ecf20Sopenharmony_cistatic const char * const phase_flag0_groups[] = { 8108c2ecf20Sopenharmony_ci "gpio68", 8118c2ecf20Sopenharmony_ci}; 8128c2ecf20Sopenharmony_cistatic const char * const phase_flag1_groups[] = { 8138c2ecf20Sopenharmony_ci "gpio48", 8148c2ecf20Sopenharmony_ci}; 8158c2ecf20Sopenharmony_cistatic const char * const phase_flag2_groups[] = { 8168c2ecf20Sopenharmony_ci "gpio49", 8178c2ecf20Sopenharmony_ci}; 8188c2ecf20Sopenharmony_cistatic const char * const phase_flag3_groups[] = { 8198c2ecf20Sopenharmony_ci "gpio4", 8208c2ecf20Sopenharmony_ci}; 8218c2ecf20Sopenharmony_cistatic const char * const phase_flag4_groups[] = { 8228c2ecf20Sopenharmony_ci "gpio57", 8238c2ecf20Sopenharmony_ci}; 8248c2ecf20Sopenharmony_cistatic const char * const phase_flag5_groups[] = { 8258c2ecf20Sopenharmony_ci "gpio17", 8268c2ecf20Sopenharmony_ci}; 8278c2ecf20Sopenharmony_cistatic const char * const phase_flag6_groups[] = { 8288c2ecf20Sopenharmony_ci "gpio53", 8298c2ecf20Sopenharmony_ci}; 8308c2ecf20Sopenharmony_cistatic const char * const phase_flag7_groups[] = { 8318c2ecf20Sopenharmony_ci "gpio69", 8328c2ecf20Sopenharmony_ci}; 8338c2ecf20Sopenharmony_cistatic const char * const phase_flag8_groups[] = { 8348c2ecf20Sopenharmony_ci "gpio70", 8358c2ecf20Sopenharmony_ci}; 8368c2ecf20Sopenharmony_cistatic const char * const phase_flag9_groups[] = { 8378c2ecf20Sopenharmony_ci "gpio50", 8388c2ecf20Sopenharmony_ci}; 8398c2ecf20Sopenharmony_cistatic const char * const phase_flag10_groups[] = { 8408c2ecf20Sopenharmony_ci "gpio56", 8418c2ecf20Sopenharmony_ci}; 8428c2ecf20Sopenharmony_cistatic const char * const phase_flag11_groups[] = { 8438c2ecf20Sopenharmony_ci "gpio21", 8448c2ecf20Sopenharmony_ci}; 8458c2ecf20Sopenharmony_cistatic const char * const phase_flag12_groups[] = { 8468c2ecf20Sopenharmony_ci "gpio22", 8478c2ecf20Sopenharmony_ci}; 8488c2ecf20Sopenharmony_cistatic const char * const phase_flag13_groups[] = { 8498c2ecf20Sopenharmony_ci "gpio23", 8508c2ecf20Sopenharmony_ci}; 8518c2ecf20Sopenharmony_cistatic const char * const phase_flag14_groups[] = { 8528c2ecf20Sopenharmony_ci "gpio5", 8538c2ecf20Sopenharmony_ci}; 8548c2ecf20Sopenharmony_cistatic const char * const phase_flag15_groups[] = { 8558c2ecf20Sopenharmony_ci "gpio51", 8568c2ecf20Sopenharmony_ci}; 8578c2ecf20Sopenharmony_cistatic const char * const phase_flag16_groups[] = { 8588c2ecf20Sopenharmony_ci "gpio52", 8598c2ecf20Sopenharmony_ci}; 8608c2ecf20Sopenharmony_cistatic const char * const phase_flag17_groups[] = { 8618c2ecf20Sopenharmony_ci "gpio24", 8628c2ecf20Sopenharmony_ci}; 8638c2ecf20Sopenharmony_cistatic const char * const phase_flag18_groups[] = { 8648c2ecf20Sopenharmony_ci "gpio25", 8658c2ecf20Sopenharmony_ci}; 8668c2ecf20Sopenharmony_cistatic const char * const phase_flag19_groups[] = { 8678c2ecf20Sopenharmony_ci "gpio26", 8688c2ecf20Sopenharmony_ci}; 8698c2ecf20Sopenharmony_cistatic const char * const phase_flag20_groups[] = { 8708c2ecf20Sopenharmony_ci "gpio27", 8718c2ecf20Sopenharmony_ci}; 8728c2ecf20Sopenharmony_cistatic const char * const phase_flag21_groups[] = { 8738c2ecf20Sopenharmony_ci "gpio28", 8748c2ecf20Sopenharmony_ci}; 8758c2ecf20Sopenharmony_cistatic const char * const phase_flag22_groups[] = { 8768c2ecf20Sopenharmony_ci "gpio29", 8778c2ecf20Sopenharmony_ci}; 8788c2ecf20Sopenharmony_cistatic const char * const phase_flag23_groups[] = { 8798c2ecf20Sopenharmony_ci "gpio30", 8808c2ecf20Sopenharmony_ci}; 8818c2ecf20Sopenharmony_cistatic const char * const phase_flag24_groups[] = { 8828c2ecf20Sopenharmony_ci "gpio31", 8838c2ecf20Sopenharmony_ci}; 8848c2ecf20Sopenharmony_cistatic const char * const phase_flag25_groups[] = { 8858c2ecf20Sopenharmony_ci "gpio55", 8868c2ecf20Sopenharmony_ci}; 8878c2ecf20Sopenharmony_cistatic const char * const phase_flag26_groups[] = { 8888c2ecf20Sopenharmony_ci "gpio12", 8898c2ecf20Sopenharmony_ci}; 8908c2ecf20Sopenharmony_cistatic const char * const phase_flag27_groups[] = { 8918c2ecf20Sopenharmony_ci "gpio13", 8928c2ecf20Sopenharmony_ci}; 8938c2ecf20Sopenharmony_cistatic const char * const phase_flag28_groups[] = { 8948c2ecf20Sopenharmony_ci "gpio14", 8958c2ecf20Sopenharmony_ci}; 8968c2ecf20Sopenharmony_cistatic const char * const phase_flag29_groups[] = { 8978c2ecf20Sopenharmony_ci "gpio54", 8988c2ecf20Sopenharmony_ci}; 8998c2ecf20Sopenharmony_cistatic const char * const phase_flag30_groups[] = { 9008c2ecf20Sopenharmony_ci "gpio47", 9018c2ecf20Sopenharmony_ci}; 9028c2ecf20Sopenharmony_cistatic const char * const phase_flag31_groups[] = { 9038c2ecf20Sopenharmony_ci "gpio6", 9048c2ecf20Sopenharmony_ci}; 9058c2ecf20Sopenharmony_cistatic const char * const pll_bypassnl_groups[] = { 9068c2ecf20Sopenharmony_ci "gpio36", 9078c2ecf20Sopenharmony_ci}; 9088c2ecf20Sopenharmony_cistatic const char * const pll_reset_groups[] = { 9098c2ecf20Sopenharmony_ci "gpio37", 9108c2ecf20Sopenharmony_ci}; 9118c2ecf20Sopenharmony_cistatic const char * const pri_mi2s_groups[] = { 9128c2ecf20Sopenharmony_ci "gpio12", "gpio14", "gpio15", "gpio61", 9138c2ecf20Sopenharmony_ci}; 9148c2ecf20Sopenharmony_cistatic const char * const pri_mi2s_ws_groups[] = { 9158c2ecf20Sopenharmony_ci "gpio13", 9168c2ecf20Sopenharmony_ci}; 9178c2ecf20Sopenharmony_cistatic const char * const prng_rosc_groups[] = { 9188c2ecf20Sopenharmony_ci "gpio102", 9198c2ecf20Sopenharmony_ci}; 9208c2ecf20Sopenharmony_cistatic const char * const pwr_crypto_groups[] = { 9218c2ecf20Sopenharmony_ci "gpio33", 9228c2ecf20Sopenharmony_ci}; 9238c2ecf20Sopenharmony_cistatic const char * const pwr_modem_groups[] = { 9248c2ecf20Sopenharmony_ci "gpio31", 9258c2ecf20Sopenharmony_ci}; 9268c2ecf20Sopenharmony_cistatic const char * const pwr_nav_groups[] = { 9278c2ecf20Sopenharmony_ci "gpio32", 9288c2ecf20Sopenharmony_ci}; 9298c2ecf20Sopenharmony_cistatic const char * const qdss_cti0_a_groups[] = { 9308c2ecf20Sopenharmony_ci "gpio49", "gpio50", 9318c2ecf20Sopenharmony_ci}; 9328c2ecf20Sopenharmony_cistatic const char * const qdss_cti0_b_groups[] = { 9338c2ecf20Sopenharmony_ci "gpio13", "gpio21", 9348c2ecf20Sopenharmony_ci}; 9358c2ecf20Sopenharmony_cistatic const char * const qdss_cti1_a_groups[] = { 9368c2ecf20Sopenharmony_ci "gpio53", "gpio55", 9378c2ecf20Sopenharmony_ci}; 9388c2ecf20Sopenharmony_cistatic const char * const qdss_cti1_b_groups[] = { 9398c2ecf20Sopenharmony_ci "gpio12", "gpio66", 9408c2ecf20Sopenharmony_ci}; 9418c2ecf20Sopenharmony_cistatic const char * const qdss_gpio0_groups[] = { 9428c2ecf20Sopenharmony_ci "gpio32", "gpio67", 9438c2ecf20Sopenharmony_ci}; 9448c2ecf20Sopenharmony_cistatic const char * const qdss_gpio10_groups[] = { 9458c2ecf20Sopenharmony_ci "gpio43", "gpio77", 9468c2ecf20Sopenharmony_ci}; 9478c2ecf20Sopenharmony_cistatic const char * const qdss_gpio11_groups[] = { 9488c2ecf20Sopenharmony_ci "gpio44", "gpio79", 9498c2ecf20Sopenharmony_ci}; 9508c2ecf20Sopenharmony_cistatic const char * const qdss_gpio12_groups[] = { 9518c2ecf20Sopenharmony_ci "gpio45", "gpio80", 9528c2ecf20Sopenharmony_ci}; 9538c2ecf20Sopenharmony_cistatic const char * const qdss_gpio13_groups[] = { 9548c2ecf20Sopenharmony_ci "gpio46", "gpio78", 9558c2ecf20Sopenharmony_ci}; 9568c2ecf20Sopenharmony_cistatic const char * const qdss_gpio14_groups[] = { 9578c2ecf20Sopenharmony_ci "gpio47", "gpio72", 9588c2ecf20Sopenharmony_ci}; 9598c2ecf20Sopenharmony_cistatic const char * const qdss_gpio15_groups[] = { 9608c2ecf20Sopenharmony_ci "gpio48", "gpio73", 9618c2ecf20Sopenharmony_ci}; 9628c2ecf20Sopenharmony_cistatic const char * const qdss_gpio1_groups[] = { 9638c2ecf20Sopenharmony_ci "gpio33", "gpio63", 9648c2ecf20Sopenharmony_ci}; 9658c2ecf20Sopenharmony_cistatic const char * const qdss_gpio2_groups[] = { 9668c2ecf20Sopenharmony_ci "gpio34", "gpio64", 9678c2ecf20Sopenharmony_ci}; 9688c2ecf20Sopenharmony_cistatic const char * const qdss_gpio3_groups[] = { 9698c2ecf20Sopenharmony_ci "gpio35", "gpio56", 9708c2ecf20Sopenharmony_ci}; 9718c2ecf20Sopenharmony_cistatic const char * const qdss_gpio4_groups[] = { 9728c2ecf20Sopenharmony_ci "gpio0", "gpio36", 9738c2ecf20Sopenharmony_ci}; 9748c2ecf20Sopenharmony_cistatic const char * const qdss_gpio5_groups[] = { 9758c2ecf20Sopenharmony_ci "gpio1", "gpio37", 9768c2ecf20Sopenharmony_ci}; 9778c2ecf20Sopenharmony_cistatic const char * const qdss_gpio6_groups[] = { 9788c2ecf20Sopenharmony_ci "gpio38", "gpio70", 9798c2ecf20Sopenharmony_ci}; 9808c2ecf20Sopenharmony_cistatic const char * const qdss_gpio7_groups[] = { 9818c2ecf20Sopenharmony_ci "gpio39", "gpio71", 9828c2ecf20Sopenharmony_ci}; 9838c2ecf20Sopenharmony_cistatic const char * const qdss_gpio8_groups[] = { 9848c2ecf20Sopenharmony_ci "gpio51", "gpio75", 9858c2ecf20Sopenharmony_ci}; 9868c2ecf20Sopenharmony_cistatic const char * const qdss_gpio9_groups[] = { 9878c2ecf20Sopenharmony_ci "gpio42", "gpio76", 9888c2ecf20Sopenharmony_ci}; 9898c2ecf20Sopenharmony_cistatic const char * const qdss_gpio_groups[] = { 9908c2ecf20Sopenharmony_ci "gpio31", "gpio52", "gpio68", "gpio69", 9918c2ecf20Sopenharmony_ci}; 9928c2ecf20Sopenharmony_cistatic const char * const qlink_enable_groups[] = { 9938c2ecf20Sopenharmony_ci "gpio100", 9948c2ecf20Sopenharmony_ci}; 9958c2ecf20Sopenharmony_cistatic const char * const qlink_request_groups[] = { 9968c2ecf20Sopenharmony_ci "gpio99", 9978c2ecf20Sopenharmony_ci}; 9988c2ecf20Sopenharmony_cistatic const char * const qspi_clk_groups[] = { 9998c2ecf20Sopenharmony_ci "gpio47", 10008c2ecf20Sopenharmony_ci}; 10018c2ecf20Sopenharmony_cistatic const char * const qspi_cs_groups[] = { 10028c2ecf20Sopenharmony_ci "gpio43", "gpio50", 10038c2ecf20Sopenharmony_ci}; 10048c2ecf20Sopenharmony_cistatic const char * const qspi_data0_groups[] = { 10058c2ecf20Sopenharmony_ci "gpio33", 10068c2ecf20Sopenharmony_ci}; 10078c2ecf20Sopenharmony_cistatic const char * const qspi_data1_groups[] = { 10088c2ecf20Sopenharmony_ci "gpio34", 10098c2ecf20Sopenharmony_ci}; 10108c2ecf20Sopenharmony_cistatic const char * const qspi_data2_groups[] = { 10118c2ecf20Sopenharmony_ci "gpio35", 10128c2ecf20Sopenharmony_ci}; 10138c2ecf20Sopenharmony_cistatic const char * const qspi_data3_groups[] = { 10148c2ecf20Sopenharmony_ci "gpio51", 10158c2ecf20Sopenharmony_ci}; 10168c2ecf20Sopenharmony_cistatic const char * const qspi_resetn_groups[] = { 10178c2ecf20Sopenharmony_ci "gpio48", 10188c2ecf20Sopenharmony_ci}; 10198c2ecf20Sopenharmony_cistatic const char * const sec_mi2s_groups[] = { 10208c2ecf20Sopenharmony_ci "gpio24", "gpio25", "gpio26", "gpio27", "gpio62", 10218c2ecf20Sopenharmony_ci}; 10228c2ecf20Sopenharmony_cistatic const char * const sndwire_clk_groups[] = { 10238c2ecf20Sopenharmony_ci "gpio24", 10248c2ecf20Sopenharmony_ci}; 10258c2ecf20Sopenharmony_cistatic const char * const sndwire_data_groups[] = { 10268c2ecf20Sopenharmony_ci "gpio25", 10278c2ecf20Sopenharmony_ci}; 10288c2ecf20Sopenharmony_cistatic const char * const sp_cmu_groups[] = { 10298c2ecf20Sopenharmony_ci "gpio64", 10308c2ecf20Sopenharmony_ci}; 10318c2ecf20Sopenharmony_cistatic const char * const ssc_irq_groups[] = { 10328c2ecf20Sopenharmony_ci "gpio67", "gpio68", "gpio69", "gpio70", "gpio71", "gpio72", "gpio74", 10338c2ecf20Sopenharmony_ci "gpio75", "gpio76", 10348c2ecf20Sopenharmony_ci}; 10358c2ecf20Sopenharmony_cistatic const char * const tgu_ch0_groups[] = { 10368c2ecf20Sopenharmony_ci "gpio0", 10378c2ecf20Sopenharmony_ci}; 10388c2ecf20Sopenharmony_cistatic const char * const tgu_ch1_groups[] = { 10398c2ecf20Sopenharmony_ci "gpio1", 10408c2ecf20Sopenharmony_ci}; 10418c2ecf20Sopenharmony_cistatic const char * const tsense_pwm1_groups[] = { 10428c2ecf20Sopenharmony_ci "gpio71", 10438c2ecf20Sopenharmony_ci}; 10448c2ecf20Sopenharmony_cistatic const char * const tsense_pwm2_groups[] = { 10458c2ecf20Sopenharmony_ci "gpio71", 10468c2ecf20Sopenharmony_ci}; 10478c2ecf20Sopenharmony_cistatic const char * const uim1_clk_groups[] = { 10488c2ecf20Sopenharmony_ci "gpio88", 10498c2ecf20Sopenharmony_ci}; 10508c2ecf20Sopenharmony_cistatic const char * const uim1_data_groups[] = { 10518c2ecf20Sopenharmony_ci "gpio87", 10528c2ecf20Sopenharmony_ci}; 10538c2ecf20Sopenharmony_cistatic const char * const uim1_present_groups[] = { 10548c2ecf20Sopenharmony_ci "gpio90", 10558c2ecf20Sopenharmony_ci}; 10568c2ecf20Sopenharmony_cistatic const char * const uim1_reset_groups[] = { 10578c2ecf20Sopenharmony_ci "gpio89", 10588c2ecf20Sopenharmony_ci}; 10598c2ecf20Sopenharmony_cistatic const char * const uim2_clk_groups[] = { 10608c2ecf20Sopenharmony_ci "gpio84", 10618c2ecf20Sopenharmony_ci}; 10628c2ecf20Sopenharmony_cistatic const char * const uim2_data_groups[] = { 10638c2ecf20Sopenharmony_ci "gpio83", 10648c2ecf20Sopenharmony_ci}; 10658c2ecf20Sopenharmony_cistatic const char * const uim2_present_groups[] = { 10668c2ecf20Sopenharmony_ci "gpio86", 10678c2ecf20Sopenharmony_ci}; 10688c2ecf20Sopenharmony_cistatic const char * const uim2_reset_groups[] = { 10698c2ecf20Sopenharmony_ci "gpio85", 10708c2ecf20Sopenharmony_ci}; 10718c2ecf20Sopenharmony_cistatic const char * const uim_batt_groups[] = { 10728c2ecf20Sopenharmony_ci "gpio91", 10738c2ecf20Sopenharmony_ci}; 10748c2ecf20Sopenharmony_cistatic const char * const vfr_1_groups[] = { 10758c2ecf20Sopenharmony_ci "gpio27", 10768c2ecf20Sopenharmony_ci}; 10778c2ecf20Sopenharmony_cistatic const char * const vsense_clkout_groups[] = { 10788c2ecf20Sopenharmony_ci "gpio24", 10798c2ecf20Sopenharmony_ci}; 10808c2ecf20Sopenharmony_cistatic const char * const vsense_data0_groups[] = { 10818c2ecf20Sopenharmony_ci "gpio21", 10828c2ecf20Sopenharmony_ci}; 10838c2ecf20Sopenharmony_cistatic const char * const vsense_data1_groups[] = { 10848c2ecf20Sopenharmony_ci "gpio22", 10858c2ecf20Sopenharmony_ci}; 10868c2ecf20Sopenharmony_cistatic const char * const vsense_mode_groups[] = { 10878c2ecf20Sopenharmony_ci "gpio23", 10888c2ecf20Sopenharmony_ci}; 10898c2ecf20Sopenharmony_cistatic const char * const wlan1_adc0_groups[] = { 10908c2ecf20Sopenharmony_ci "gpio9", 10918c2ecf20Sopenharmony_ci}; 10928c2ecf20Sopenharmony_cistatic const char * const wlan1_adc1_groups[] = { 10938c2ecf20Sopenharmony_ci "gpio8", 10948c2ecf20Sopenharmony_ci}; 10958c2ecf20Sopenharmony_cistatic const char * const wlan2_adc0_groups[] = { 10968c2ecf20Sopenharmony_ci "gpio11", 10978c2ecf20Sopenharmony_ci}; 10988c2ecf20Sopenharmony_cistatic const char * const wlan2_adc1_groups[] = { 10998c2ecf20Sopenharmony_ci "gpio10", 11008c2ecf20Sopenharmony_ci}; 11018c2ecf20Sopenharmony_ci 11028c2ecf20Sopenharmony_cistatic const struct msm_function sdm660_functions[] = { 11038c2ecf20Sopenharmony_ci FUNCTION(adsp_ext), 11048c2ecf20Sopenharmony_ci FUNCTION(agera_pll), 11058c2ecf20Sopenharmony_ci FUNCTION(atest_char), 11068c2ecf20Sopenharmony_ci FUNCTION(atest_char0), 11078c2ecf20Sopenharmony_ci FUNCTION(atest_char1), 11088c2ecf20Sopenharmony_ci FUNCTION(atest_char2), 11098c2ecf20Sopenharmony_ci FUNCTION(atest_char3), 11108c2ecf20Sopenharmony_ci FUNCTION(atest_gpsadc0), 11118c2ecf20Sopenharmony_ci FUNCTION(atest_gpsadc1), 11128c2ecf20Sopenharmony_ci FUNCTION(atest_tsens), 11138c2ecf20Sopenharmony_ci FUNCTION(atest_tsens2), 11148c2ecf20Sopenharmony_ci FUNCTION(atest_usb1), 11158c2ecf20Sopenharmony_ci FUNCTION(atest_usb10), 11168c2ecf20Sopenharmony_ci FUNCTION(atest_usb11), 11178c2ecf20Sopenharmony_ci FUNCTION(atest_usb12), 11188c2ecf20Sopenharmony_ci FUNCTION(atest_usb13), 11198c2ecf20Sopenharmony_ci FUNCTION(atest_usb2), 11208c2ecf20Sopenharmony_ci FUNCTION(atest_usb20), 11218c2ecf20Sopenharmony_ci FUNCTION(atest_usb21), 11228c2ecf20Sopenharmony_ci FUNCTION(atest_usb22), 11238c2ecf20Sopenharmony_ci FUNCTION(atest_usb23), 11248c2ecf20Sopenharmony_ci FUNCTION(audio_ref), 11258c2ecf20Sopenharmony_ci FUNCTION(bimc_dte0), 11268c2ecf20Sopenharmony_ci FUNCTION(bimc_dte1), 11278c2ecf20Sopenharmony_ci FUNCTION(blsp_i2c1), 11288c2ecf20Sopenharmony_ci FUNCTION(blsp_i2c2), 11298c2ecf20Sopenharmony_ci FUNCTION(blsp_i2c3), 11308c2ecf20Sopenharmony_ci FUNCTION(blsp_i2c4), 11318c2ecf20Sopenharmony_ci FUNCTION(blsp_i2c5), 11328c2ecf20Sopenharmony_ci FUNCTION(blsp_i2c6), 11338c2ecf20Sopenharmony_ci FUNCTION(blsp_i2c7), 11348c2ecf20Sopenharmony_ci FUNCTION(blsp_i2c8_a), 11358c2ecf20Sopenharmony_ci FUNCTION(blsp_i2c8_b), 11368c2ecf20Sopenharmony_ci FUNCTION(blsp_spi1), 11378c2ecf20Sopenharmony_ci FUNCTION(blsp_spi2), 11388c2ecf20Sopenharmony_ci FUNCTION(blsp_spi3), 11398c2ecf20Sopenharmony_ci FUNCTION(blsp_spi3_cs1), 11408c2ecf20Sopenharmony_ci FUNCTION(blsp_spi3_cs2), 11418c2ecf20Sopenharmony_ci FUNCTION(blsp_spi4), 11428c2ecf20Sopenharmony_ci FUNCTION(blsp_spi5), 11438c2ecf20Sopenharmony_ci FUNCTION(blsp_spi6), 11448c2ecf20Sopenharmony_ci FUNCTION(blsp_spi7), 11458c2ecf20Sopenharmony_ci FUNCTION(blsp_spi8_a), 11468c2ecf20Sopenharmony_ci FUNCTION(blsp_spi8_b), 11478c2ecf20Sopenharmony_ci FUNCTION(blsp_spi8_cs1), 11488c2ecf20Sopenharmony_ci FUNCTION(blsp_spi8_cs2), 11498c2ecf20Sopenharmony_ci FUNCTION(blsp_uart1), 11508c2ecf20Sopenharmony_ci FUNCTION(blsp_uart2), 11518c2ecf20Sopenharmony_ci FUNCTION(blsp_uart5), 11528c2ecf20Sopenharmony_ci FUNCTION(blsp_uart6_a), 11538c2ecf20Sopenharmony_ci FUNCTION(blsp_uart6_b), 11548c2ecf20Sopenharmony_ci FUNCTION(blsp_uim1), 11558c2ecf20Sopenharmony_ci FUNCTION(blsp_uim2), 11568c2ecf20Sopenharmony_ci FUNCTION(blsp_uim5), 11578c2ecf20Sopenharmony_ci FUNCTION(blsp_uim6), 11588c2ecf20Sopenharmony_ci FUNCTION(cam_mclk), 11598c2ecf20Sopenharmony_ci FUNCTION(cci_async), 11608c2ecf20Sopenharmony_ci FUNCTION(cci_i2c), 11618c2ecf20Sopenharmony_ci FUNCTION(cri_trng), 11628c2ecf20Sopenharmony_ci FUNCTION(cri_trng0), 11638c2ecf20Sopenharmony_ci FUNCTION(cri_trng1), 11648c2ecf20Sopenharmony_ci FUNCTION(dbg_out), 11658c2ecf20Sopenharmony_ci FUNCTION(ddr_bist), 11668c2ecf20Sopenharmony_ci FUNCTION(gcc_gp1), 11678c2ecf20Sopenharmony_ci FUNCTION(gcc_gp2), 11688c2ecf20Sopenharmony_ci FUNCTION(gcc_gp3), 11698c2ecf20Sopenharmony_ci FUNCTION(gpio), 11708c2ecf20Sopenharmony_ci FUNCTION(gps_tx_a), 11718c2ecf20Sopenharmony_ci FUNCTION(gps_tx_b), 11728c2ecf20Sopenharmony_ci FUNCTION(gps_tx_c), 11738c2ecf20Sopenharmony_ci FUNCTION(isense_dbg), 11748c2ecf20Sopenharmony_ci FUNCTION(jitter_bist), 11758c2ecf20Sopenharmony_ci FUNCTION(ldo_en), 11768c2ecf20Sopenharmony_ci FUNCTION(ldo_update), 11778c2ecf20Sopenharmony_ci FUNCTION(m_voc), 11788c2ecf20Sopenharmony_ci FUNCTION(mdp_vsync), 11798c2ecf20Sopenharmony_ci FUNCTION(mdss_vsync0), 11808c2ecf20Sopenharmony_ci FUNCTION(mdss_vsync1), 11818c2ecf20Sopenharmony_ci FUNCTION(mdss_vsync2), 11828c2ecf20Sopenharmony_ci FUNCTION(mdss_vsync3), 11838c2ecf20Sopenharmony_ci FUNCTION(mss_lte), 11848c2ecf20Sopenharmony_ci FUNCTION(nav_pps_a), 11858c2ecf20Sopenharmony_ci FUNCTION(nav_pps_b), 11868c2ecf20Sopenharmony_ci FUNCTION(nav_pps_c), 11878c2ecf20Sopenharmony_ci FUNCTION(pa_indicator), 11888c2ecf20Sopenharmony_ci FUNCTION(phase_flag0), 11898c2ecf20Sopenharmony_ci FUNCTION(phase_flag1), 11908c2ecf20Sopenharmony_ci FUNCTION(phase_flag2), 11918c2ecf20Sopenharmony_ci FUNCTION(phase_flag3), 11928c2ecf20Sopenharmony_ci FUNCTION(phase_flag4), 11938c2ecf20Sopenharmony_ci FUNCTION(phase_flag5), 11948c2ecf20Sopenharmony_ci FUNCTION(phase_flag6), 11958c2ecf20Sopenharmony_ci FUNCTION(phase_flag7), 11968c2ecf20Sopenharmony_ci FUNCTION(phase_flag8), 11978c2ecf20Sopenharmony_ci FUNCTION(phase_flag9), 11988c2ecf20Sopenharmony_ci FUNCTION(phase_flag10), 11998c2ecf20Sopenharmony_ci FUNCTION(phase_flag11), 12008c2ecf20Sopenharmony_ci FUNCTION(phase_flag12), 12018c2ecf20Sopenharmony_ci FUNCTION(phase_flag13), 12028c2ecf20Sopenharmony_ci FUNCTION(phase_flag14), 12038c2ecf20Sopenharmony_ci FUNCTION(phase_flag15), 12048c2ecf20Sopenharmony_ci FUNCTION(phase_flag16), 12058c2ecf20Sopenharmony_ci FUNCTION(phase_flag17), 12068c2ecf20Sopenharmony_ci FUNCTION(phase_flag18), 12078c2ecf20Sopenharmony_ci FUNCTION(phase_flag19), 12088c2ecf20Sopenharmony_ci FUNCTION(phase_flag20), 12098c2ecf20Sopenharmony_ci FUNCTION(phase_flag21), 12108c2ecf20Sopenharmony_ci FUNCTION(phase_flag22), 12118c2ecf20Sopenharmony_ci FUNCTION(phase_flag23), 12128c2ecf20Sopenharmony_ci FUNCTION(phase_flag24), 12138c2ecf20Sopenharmony_ci FUNCTION(phase_flag25), 12148c2ecf20Sopenharmony_ci FUNCTION(phase_flag26), 12158c2ecf20Sopenharmony_ci FUNCTION(phase_flag27), 12168c2ecf20Sopenharmony_ci FUNCTION(phase_flag28), 12178c2ecf20Sopenharmony_ci FUNCTION(phase_flag29), 12188c2ecf20Sopenharmony_ci FUNCTION(phase_flag30), 12198c2ecf20Sopenharmony_ci FUNCTION(phase_flag31), 12208c2ecf20Sopenharmony_ci FUNCTION(pll_bypassnl), 12218c2ecf20Sopenharmony_ci FUNCTION(pll_reset), 12228c2ecf20Sopenharmony_ci FUNCTION(pri_mi2s), 12238c2ecf20Sopenharmony_ci FUNCTION(pri_mi2s_ws), 12248c2ecf20Sopenharmony_ci FUNCTION(prng_rosc), 12258c2ecf20Sopenharmony_ci FUNCTION(pwr_crypto), 12268c2ecf20Sopenharmony_ci FUNCTION(pwr_modem), 12278c2ecf20Sopenharmony_ci FUNCTION(pwr_nav), 12288c2ecf20Sopenharmony_ci FUNCTION(qdss_cti0_a), 12298c2ecf20Sopenharmony_ci FUNCTION(qdss_cti0_b), 12308c2ecf20Sopenharmony_ci FUNCTION(qdss_cti1_a), 12318c2ecf20Sopenharmony_ci FUNCTION(qdss_cti1_b), 12328c2ecf20Sopenharmony_ci FUNCTION(qdss_gpio), 12338c2ecf20Sopenharmony_ci FUNCTION(qdss_gpio0), 12348c2ecf20Sopenharmony_ci FUNCTION(qdss_gpio1), 12358c2ecf20Sopenharmony_ci FUNCTION(qdss_gpio10), 12368c2ecf20Sopenharmony_ci FUNCTION(qdss_gpio11), 12378c2ecf20Sopenharmony_ci FUNCTION(qdss_gpio12), 12388c2ecf20Sopenharmony_ci FUNCTION(qdss_gpio13), 12398c2ecf20Sopenharmony_ci FUNCTION(qdss_gpio14), 12408c2ecf20Sopenharmony_ci FUNCTION(qdss_gpio15), 12418c2ecf20Sopenharmony_ci FUNCTION(qdss_gpio2), 12428c2ecf20Sopenharmony_ci FUNCTION(qdss_gpio3), 12438c2ecf20Sopenharmony_ci FUNCTION(qdss_gpio4), 12448c2ecf20Sopenharmony_ci FUNCTION(qdss_gpio5), 12458c2ecf20Sopenharmony_ci FUNCTION(qdss_gpio6), 12468c2ecf20Sopenharmony_ci FUNCTION(qdss_gpio7), 12478c2ecf20Sopenharmony_ci FUNCTION(qdss_gpio8), 12488c2ecf20Sopenharmony_ci FUNCTION(qdss_gpio9), 12498c2ecf20Sopenharmony_ci FUNCTION(qlink_enable), 12508c2ecf20Sopenharmony_ci FUNCTION(qlink_request), 12518c2ecf20Sopenharmony_ci FUNCTION(qspi_clk), 12528c2ecf20Sopenharmony_ci FUNCTION(qspi_cs), 12538c2ecf20Sopenharmony_ci FUNCTION(qspi_data0), 12548c2ecf20Sopenharmony_ci FUNCTION(qspi_data1), 12558c2ecf20Sopenharmony_ci FUNCTION(qspi_data2), 12568c2ecf20Sopenharmony_ci FUNCTION(qspi_data3), 12578c2ecf20Sopenharmony_ci FUNCTION(qspi_resetn), 12588c2ecf20Sopenharmony_ci FUNCTION(sec_mi2s), 12598c2ecf20Sopenharmony_ci FUNCTION(sndwire_clk), 12608c2ecf20Sopenharmony_ci FUNCTION(sndwire_data), 12618c2ecf20Sopenharmony_ci FUNCTION(sp_cmu), 12628c2ecf20Sopenharmony_ci FUNCTION(ssc_irq), 12638c2ecf20Sopenharmony_ci FUNCTION(tgu_ch0), 12648c2ecf20Sopenharmony_ci FUNCTION(tgu_ch1), 12658c2ecf20Sopenharmony_ci FUNCTION(tsense_pwm1), 12668c2ecf20Sopenharmony_ci FUNCTION(tsense_pwm2), 12678c2ecf20Sopenharmony_ci FUNCTION(uim1_clk), 12688c2ecf20Sopenharmony_ci FUNCTION(uim1_data), 12698c2ecf20Sopenharmony_ci FUNCTION(uim1_present), 12708c2ecf20Sopenharmony_ci FUNCTION(uim1_reset), 12718c2ecf20Sopenharmony_ci FUNCTION(uim2_clk), 12728c2ecf20Sopenharmony_ci FUNCTION(uim2_data), 12738c2ecf20Sopenharmony_ci FUNCTION(uim2_present), 12748c2ecf20Sopenharmony_ci FUNCTION(uim2_reset), 12758c2ecf20Sopenharmony_ci FUNCTION(uim_batt), 12768c2ecf20Sopenharmony_ci FUNCTION(vfr_1), 12778c2ecf20Sopenharmony_ci FUNCTION(vsense_clkout), 12788c2ecf20Sopenharmony_ci FUNCTION(vsense_data0), 12798c2ecf20Sopenharmony_ci FUNCTION(vsense_data1), 12808c2ecf20Sopenharmony_ci FUNCTION(vsense_mode), 12818c2ecf20Sopenharmony_ci FUNCTION(wlan1_adc0), 12828c2ecf20Sopenharmony_ci FUNCTION(wlan1_adc1), 12838c2ecf20Sopenharmony_ci FUNCTION(wlan2_adc0), 12848c2ecf20Sopenharmony_ci FUNCTION(wlan2_adc1), 12858c2ecf20Sopenharmony_ci}; 12868c2ecf20Sopenharmony_ci 12878c2ecf20Sopenharmony_cistatic const struct msm_pingroup sdm660_groups[] = { 12888c2ecf20Sopenharmony_ci PINGROUP(0, SOUTH, blsp_spi1, blsp_uart1, blsp_uim1, tgu_ch0, _, _, qdss_gpio4, atest_gpsadc1, _), 12898c2ecf20Sopenharmony_ci PINGROUP(1, SOUTH, blsp_spi1, blsp_uart1, blsp_uim1, tgu_ch1, _, _, qdss_gpio5, atest_gpsadc0, _), 12908c2ecf20Sopenharmony_ci PINGROUP(2, SOUTH, blsp_spi1, blsp_uart1, blsp_i2c1, _, _, _, _, _, _), 12918c2ecf20Sopenharmony_ci PINGROUP(3, SOUTH, blsp_spi1, blsp_uart1, blsp_i2c1, ddr_bist, _, _, atest_tsens2, atest_usb1, _), 12928c2ecf20Sopenharmony_ci PINGROUP(4, NORTH, blsp_spi2, blsp_uim2, blsp_uart2, phase_flag3, _, _, _, _, _), 12938c2ecf20Sopenharmony_ci PINGROUP(5, SOUTH, blsp_spi2, blsp_uim2, blsp_uart2, phase_flag14, _, _, _, _, _), 12948c2ecf20Sopenharmony_ci PINGROUP(6, SOUTH, blsp_spi2, blsp_i2c2, blsp_uart2, phase_flag31, _, _, _, _, _), 12958c2ecf20Sopenharmony_ci PINGROUP(7, SOUTH, blsp_spi2, blsp_i2c2, blsp_uart2, _, _, _, _, _, _), 12968c2ecf20Sopenharmony_ci PINGROUP(8, NORTH, blsp_spi3, ddr_bist, _, _, _, wlan1_adc1, atest_usb13, bimc_dte1, _), 12978c2ecf20Sopenharmony_ci PINGROUP(9, NORTH, blsp_spi3, ddr_bist, _, _, _, wlan1_adc0, atest_usb12, bimc_dte0, _), 12988c2ecf20Sopenharmony_ci PINGROUP(10, NORTH, blsp_spi3, blsp_i2c3, ddr_bist, _, _, wlan2_adc1, atest_usb11, bimc_dte1, _), 12998c2ecf20Sopenharmony_ci PINGROUP(11, NORTH, blsp_spi3, blsp_i2c3, _, dbg_out, wlan2_adc0, atest_usb10, bimc_dte0, _, _), 13008c2ecf20Sopenharmony_ci PINGROUP(12, NORTH, blsp_spi4, pri_mi2s, _, phase_flag26, qdss_cti1_b, _, _, _, _), 13018c2ecf20Sopenharmony_ci PINGROUP(13, NORTH, blsp_spi4, _, pri_mi2s_ws, _, _, phase_flag27, qdss_cti0_b, _, _), 13028c2ecf20Sopenharmony_ci PINGROUP(14, NORTH, blsp_spi4, blsp_i2c4, pri_mi2s, _, phase_flag28, _, _, _, _), 13038c2ecf20Sopenharmony_ci PINGROUP(15, NORTH, blsp_spi4, blsp_i2c4, pri_mi2s, _, _, _, _, _, _), 13048c2ecf20Sopenharmony_ci PINGROUP(16, CENTER, blsp_uart5, blsp_spi5, blsp_uim5, _, _, _, _, _, _), 13058c2ecf20Sopenharmony_ci PINGROUP(17, CENTER, blsp_uart5, blsp_spi5, blsp_uim5, _, phase_flag5, _, _, _, _), 13068c2ecf20Sopenharmony_ci PINGROUP(18, CENTER, blsp_uart5, blsp_spi5, blsp_i2c5, _, _, _, _, _, _), 13078c2ecf20Sopenharmony_ci PINGROUP(19, CENTER, blsp_uart5, blsp_spi5, blsp_i2c5, _, _, _, _, _, _), 13088c2ecf20Sopenharmony_ci PINGROUP(20, SOUTH, _, _, blsp_uim6, _, _, _, _, _, _), 13098c2ecf20Sopenharmony_ci PINGROUP(21, SOUTH, _, _, blsp_uim6, _, phase_flag11, qdss_cti0_b, vsense_data0, _, _), 13108c2ecf20Sopenharmony_ci PINGROUP(22, CENTER, blsp_spi6, _, blsp_i2c6, _, phase_flag12, vsense_data1, _, _, _), 13118c2ecf20Sopenharmony_ci PINGROUP(23, CENTER, blsp_spi6, _, blsp_i2c6, _, phase_flag13, vsense_mode, _, _, _), 13128c2ecf20Sopenharmony_ci PINGROUP(24, NORTH, blsp_spi7, blsp_uart6_a, sec_mi2s, sndwire_clk, _, _, phase_flag17, vsense_clkout, _), 13138c2ecf20Sopenharmony_ci PINGROUP(25, NORTH, blsp_spi7, blsp_uart6_a, sec_mi2s, sndwire_data, _, _, phase_flag18, _, _), 13148c2ecf20Sopenharmony_ci PINGROUP(26, NORTH, blsp_spi7, blsp_uart6_a, blsp_i2c7, sec_mi2s, _, phase_flag19, _, _, _), 13158c2ecf20Sopenharmony_ci PINGROUP(27, NORTH, blsp_spi7, blsp_uart6_a, blsp_i2c7, vfr_1, sec_mi2s, _, phase_flag20, _, _), 13168c2ecf20Sopenharmony_ci PINGROUP(28, CENTER, blsp_spi8_a, blsp_uart6_b, m_voc, _, phase_flag21, _, _, _, _), 13178c2ecf20Sopenharmony_ci PINGROUP(29, CENTER, blsp_spi8_a, blsp_uart6_b, _, _, phase_flag22, _, _, _, _), 13188c2ecf20Sopenharmony_ci PINGROUP(30, CENTER, blsp_spi8_a, blsp_uart6_b, blsp_i2c8_a, blsp_spi3_cs1, _, phase_flag23, _, _, _), 13198c2ecf20Sopenharmony_ci PINGROUP(31, CENTER, blsp_spi8_a, blsp_uart6_b, blsp_i2c8_a, pwr_modem, _, phase_flag24, qdss_gpio, _, _), 13208c2ecf20Sopenharmony_ci PINGROUP(32, SOUTH, cam_mclk, pwr_nav, _, _, qdss_gpio0, _, _, _, _), 13218c2ecf20Sopenharmony_ci PINGROUP(33, SOUTH, cam_mclk, qspi_data0, pwr_crypto, _, _, qdss_gpio1, _, _, _), 13228c2ecf20Sopenharmony_ci PINGROUP(34, SOUTH, cam_mclk, qspi_data1, agera_pll, _, _, qdss_gpio2, _, _, _), 13238c2ecf20Sopenharmony_ci PINGROUP(35, SOUTH, cam_mclk, qspi_data2, jitter_bist, _, _, qdss_gpio3, _, atest_usb2, _), 13248c2ecf20Sopenharmony_ci PINGROUP(36, SOUTH, cci_i2c, pll_bypassnl, agera_pll, _, _, qdss_gpio4, atest_tsens, atest_usb21, _), 13258c2ecf20Sopenharmony_ci PINGROUP(37, SOUTH, cci_i2c, pll_reset, _, _, qdss_gpio5, atest_usb23, _, _, _), 13268c2ecf20Sopenharmony_ci PINGROUP(38, SOUTH, cci_i2c, _, _, qdss_gpio6, _, _, _, _, _), 13278c2ecf20Sopenharmony_ci PINGROUP(39, SOUTH, cci_i2c, _, _, qdss_gpio7, _, _, _, _, _), 13288c2ecf20Sopenharmony_ci PINGROUP(40, SOUTH, _, _, blsp_spi8_b, _, _, _, _, _, _), 13298c2ecf20Sopenharmony_ci PINGROUP(41, SOUTH, _, _, blsp_spi8_b, _, _, _, _, _, _), 13308c2ecf20Sopenharmony_ci PINGROUP(42, SOUTH, mdss_vsync0, mdss_vsync1, mdss_vsync2, mdss_vsync3, _, _, qdss_gpio9, _, _), 13318c2ecf20Sopenharmony_ci PINGROUP(43, SOUTH, _, _, qspi_cs, _, _, qdss_gpio10, _, _, _), 13328c2ecf20Sopenharmony_ci PINGROUP(44, SOUTH, _, _, blsp_spi8_b, blsp_i2c8_b, _, _, qdss_gpio11, _, _), 13338c2ecf20Sopenharmony_ci PINGROUP(45, SOUTH, cci_async, _, _, qdss_gpio12, _, _, _, _, _), 13348c2ecf20Sopenharmony_ci PINGROUP(46, SOUTH, blsp_spi1, _, _, qdss_gpio13, _, _, _, _, _), 13358c2ecf20Sopenharmony_ci PINGROUP(47, SOUTH, qspi_clk, _, phase_flag30, qdss_gpio14, _, _, _, _, _), 13368c2ecf20Sopenharmony_ci PINGROUP(48, SOUTH, _, phase_flag1, qdss_gpio15, _, _, _, _, _, _), 13378c2ecf20Sopenharmony_ci PINGROUP(49, SOUTH, blsp_spi6, phase_flag2, qdss_cti0_a, _, _, _, _, _, _), 13388c2ecf20Sopenharmony_ci PINGROUP(50, SOUTH, qspi_cs, _, phase_flag9, qdss_cti0_a, _, _, _, _, _), 13398c2ecf20Sopenharmony_ci PINGROUP(51, SOUTH, qspi_data3, _, phase_flag15, qdss_gpio8, _, _, _, _, _), 13408c2ecf20Sopenharmony_ci PINGROUP(52, SOUTH, _, blsp_spi8_b, blsp_i2c8_b, blsp_spi6, phase_flag16, qdss_gpio, _, _, _), 13418c2ecf20Sopenharmony_ci PINGROUP(53, NORTH, _, phase_flag6, qdss_cti1_a, _, _, _, _, _, _), 13428c2ecf20Sopenharmony_ci PINGROUP(54, NORTH, _, _, phase_flag29, _, _, _, _, _, _), 13438c2ecf20Sopenharmony_ci PINGROUP(55, SOUTH, _, phase_flag25, qdss_cti1_a, _, _, _, _, _, _), 13448c2ecf20Sopenharmony_ci PINGROUP(56, SOUTH, _, phase_flag10, qdss_gpio3, _, atest_usb20, _, _, _, _), 13458c2ecf20Sopenharmony_ci PINGROUP(57, SOUTH, gcc_gp1, _, phase_flag4, atest_usb22, _, _, _, _, _), 13468c2ecf20Sopenharmony_ci PINGROUP(58, SOUTH, _, gcc_gp2, _, _, atest_char, _, _, _, _), 13478c2ecf20Sopenharmony_ci PINGROUP(59, NORTH, mdp_vsync, gcc_gp3, _, _, atest_char3, _, _, _, _), 13488c2ecf20Sopenharmony_ci PINGROUP(60, NORTH, cri_trng0, _, _, atest_char2, _, _, _, _, _), 13498c2ecf20Sopenharmony_ci PINGROUP(61, NORTH, pri_mi2s, cri_trng1, _, _, atest_char1, _, _, _, _), 13508c2ecf20Sopenharmony_ci PINGROUP(62, NORTH, sec_mi2s, audio_ref, _, cri_trng, _, _, atest_char0, _, _), 13518c2ecf20Sopenharmony_ci PINGROUP(63, NORTH, _, _, _, qdss_gpio1, _, _, _, _, _), 13528c2ecf20Sopenharmony_ci PINGROUP(64, SOUTH, blsp_spi8_cs1, sp_cmu, _, _, qdss_gpio2, _, _, _, _), 13538c2ecf20Sopenharmony_ci PINGROUP(65, SOUTH, _, nav_pps_a, nav_pps_a, gps_tx_a, blsp_spi3_cs2, adsp_ext, _, _, _), 13548c2ecf20Sopenharmony_ci PINGROUP(66, NORTH, _, _, qdss_cti1_b, _, _, _, _, _, _), 13558c2ecf20Sopenharmony_ci PINGROUP(67, NORTH, _, _, qdss_gpio0, _, _, _, _, _, _), 13568c2ecf20Sopenharmony_ci PINGROUP(68, NORTH, isense_dbg, _, phase_flag0, qdss_gpio, _, _, _, _, _), 13578c2ecf20Sopenharmony_ci PINGROUP(69, NORTH, _, phase_flag7, qdss_gpio, _, _, _, _, _, _), 13588c2ecf20Sopenharmony_ci PINGROUP(70, NORTH, _, phase_flag8, qdss_gpio6, _, _, _, _, _, _), 13598c2ecf20Sopenharmony_ci PINGROUP(71, NORTH, _, _, qdss_gpio7, tsense_pwm1, tsense_pwm2, _, _, _, _), 13608c2ecf20Sopenharmony_ci PINGROUP(72, NORTH, _, qdss_gpio14, _, _, _, _, _, _, _), 13618c2ecf20Sopenharmony_ci PINGROUP(73, NORTH, _, _, qdss_gpio15, _, _, _, _, _, _), 13628c2ecf20Sopenharmony_ci PINGROUP(74, NORTH, mdp_vsync, _, _, _, _, _, _, _, _), 13638c2ecf20Sopenharmony_ci PINGROUP(75, NORTH, _, _, qdss_gpio8, _, _, _, _, _, _), 13648c2ecf20Sopenharmony_ci PINGROUP(76, NORTH, blsp_spi8_cs2, _, _, _, qdss_gpio9, _, _, _, _), 13658c2ecf20Sopenharmony_ci PINGROUP(77, NORTH, _, _, qdss_gpio10, _, _, _, _, _, _), 13668c2ecf20Sopenharmony_ci PINGROUP(78, NORTH, gcc_gp1, _, qdss_gpio13, _, _, _, _, _, _), 13678c2ecf20Sopenharmony_ci PINGROUP(79, SOUTH, _, _, qdss_gpio11, _, _, _, _, _, _), 13688c2ecf20Sopenharmony_ci PINGROUP(80, SOUTH, nav_pps_b, nav_pps_b, gps_tx_c, _, _, qdss_gpio12, _, _, _), 13698c2ecf20Sopenharmony_ci PINGROUP(81, CENTER, mss_lte, gcc_gp2, _, _, _, _, _, _, _), 13708c2ecf20Sopenharmony_ci PINGROUP(82, CENTER, mss_lte, gcc_gp3, _, _, _, _, _, _, _), 13718c2ecf20Sopenharmony_ci PINGROUP(83, SOUTH, uim2_data, _, _, _, _, _, _, _, _), 13728c2ecf20Sopenharmony_ci PINGROUP(84, SOUTH, uim2_clk, _, _, _, _, _, _, _, _), 13738c2ecf20Sopenharmony_ci PINGROUP(85, SOUTH, uim2_reset, _, _, _, _, _, _, _, _), 13748c2ecf20Sopenharmony_ci PINGROUP(86, SOUTH, uim2_present, _, _, _, _, _, _, _, _), 13758c2ecf20Sopenharmony_ci PINGROUP(87, SOUTH, uim1_data, _, _, _, _, _, _, _, _), 13768c2ecf20Sopenharmony_ci PINGROUP(88, SOUTH, uim1_clk, _, _, _, _, _, _, _, _), 13778c2ecf20Sopenharmony_ci PINGROUP(89, SOUTH, uim1_reset, _, _, _, _, _, _, _, _), 13788c2ecf20Sopenharmony_ci PINGROUP(90, SOUTH, uim1_present, _, _, _, _, _, _, _, _), 13798c2ecf20Sopenharmony_ci PINGROUP(91, SOUTH, uim_batt, _, _, _, _, _, _, _, _), 13808c2ecf20Sopenharmony_ci PINGROUP(92, SOUTH, _, _, pa_indicator, _, _, _, _, _, _), 13818c2ecf20Sopenharmony_ci PINGROUP(93, SOUTH, _, _, _, _, _, _, _, _, _), 13828c2ecf20Sopenharmony_ci PINGROUP(94, SOUTH, _, _, _, _, _, _, _, _, _), 13838c2ecf20Sopenharmony_ci PINGROUP(95, SOUTH, _, _, _, _, _, _, _, _, _), 13848c2ecf20Sopenharmony_ci PINGROUP(96, SOUTH, _, _, _, _, _, _, _, _, _), 13858c2ecf20Sopenharmony_ci PINGROUP(97, SOUTH, _, ldo_en, _, _, _, _, _, _, _), 13868c2ecf20Sopenharmony_ci PINGROUP(98, SOUTH, _, nav_pps_c, nav_pps_c, gps_tx_b, ldo_update, _, _, _, _), 13878c2ecf20Sopenharmony_ci PINGROUP(99, SOUTH, qlink_request, _, _, _, _, _, _, _, _), 13888c2ecf20Sopenharmony_ci PINGROUP(100, SOUTH, qlink_enable, _, _, _, _, _, _, _, _), 13898c2ecf20Sopenharmony_ci PINGROUP(101, SOUTH, _, _, _, _, _, _, _, _, _), 13908c2ecf20Sopenharmony_ci PINGROUP(102, SOUTH, _, prng_rosc, _, _, _, _, _, _, _), 13918c2ecf20Sopenharmony_ci PINGROUP(103, SOUTH, _, _, _, _, _, _, _, _, _), 13928c2ecf20Sopenharmony_ci PINGROUP(104, SOUTH, _, _, _, _, _, _, _, _, _), 13938c2ecf20Sopenharmony_ci PINGROUP(105, SOUTH, _, _, _, _, _, _, _, _, _), 13948c2ecf20Sopenharmony_ci PINGROUP(106, SOUTH, _, _, _, _, _, _, _, _, _), 13958c2ecf20Sopenharmony_ci PINGROUP(107, SOUTH, _, _, _, _, _, _, _, _, _), 13968c2ecf20Sopenharmony_ci PINGROUP(108, SOUTH, _, _, _, _, _, _, _, _, _), 13978c2ecf20Sopenharmony_ci PINGROUP(109, SOUTH, _, _, _, _, _, _, _, _, _), 13988c2ecf20Sopenharmony_ci PINGROUP(110, SOUTH, _, _, _, _, _, _, _, _, _), 13998c2ecf20Sopenharmony_ci PINGROUP(111, SOUTH, _, _, _, _, _, _, _, _, _), 14008c2ecf20Sopenharmony_ci PINGROUP(112, SOUTH, _, _, _, _, _, _, _, _, _), 14018c2ecf20Sopenharmony_ci PINGROUP(113, SOUTH, _, _, _, _, _, _, _, _, _), 14028c2ecf20Sopenharmony_ci SDC_QDSD_PINGROUP(sdc1_clk, 0x9a000, 13, 6), 14038c2ecf20Sopenharmony_ci SDC_QDSD_PINGROUP(sdc1_cmd, 0x9a000, 11, 3), 14048c2ecf20Sopenharmony_ci SDC_QDSD_PINGROUP(sdc1_data, 0x9a000, 9, 0), 14058c2ecf20Sopenharmony_ci SDC_QDSD_PINGROUP(sdc2_clk, 0x9b000, 14, 6), 14068c2ecf20Sopenharmony_ci SDC_QDSD_PINGROUP(sdc2_cmd, 0x9b000, 11, 3), 14078c2ecf20Sopenharmony_ci SDC_QDSD_PINGROUP(sdc2_data, 0x9b000, 9, 0), 14088c2ecf20Sopenharmony_ci SDC_QDSD_PINGROUP(sdc1_rclk, 0x9a000, 15, 0), 14098c2ecf20Sopenharmony_ci}; 14108c2ecf20Sopenharmony_ci 14118c2ecf20Sopenharmony_cistatic const struct msm_pinctrl_soc_data sdm660_pinctrl = { 14128c2ecf20Sopenharmony_ci .pins = sdm660_pins, 14138c2ecf20Sopenharmony_ci .npins = ARRAY_SIZE(sdm660_pins), 14148c2ecf20Sopenharmony_ci .functions = sdm660_functions, 14158c2ecf20Sopenharmony_ci .nfunctions = ARRAY_SIZE(sdm660_functions), 14168c2ecf20Sopenharmony_ci .groups = sdm660_groups, 14178c2ecf20Sopenharmony_ci .ngroups = ARRAY_SIZE(sdm660_groups), 14188c2ecf20Sopenharmony_ci .ngpios = 114, 14198c2ecf20Sopenharmony_ci .tiles = sdm660_tiles, 14208c2ecf20Sopenharmony_ci .ntiles = ARRAY_SIZE(sdm660_tiles), 14218c2ecf20Sopenharmony_ci}; 14228c2ecf20Sopenharmony_ci 14238c2ecf20Sopenharmony_cistatic int sdm660_pinctrl_probe(struct platform_device *pdev) 14248c2ecf20Sopenharmony_ci{ 14258c2ecf20Sopenharmony_ci return msm_pinctrl_probe(pdev, &sdm660_pinctrl); 14268c2ecf20Sopenharmony_ci} 14278c2ecf20Sopenharmony_ci 14288c2ecf20Sopenharmony_cistatic const struct of_device_id sdm660_pinctrl_of_match[] = { 14298c2ecf20Sopenharmony_ci { .compatible = "qcom,sdm660-pinctrl", }, 14308c2ecf20Sopenharmony_ci { .compatible = "qcom,sdm630-pinctrl", }, 14318c2ecf20Sopenharmony_ci { }, 14328c2ecf20Sopenharmony_ci}; 14338c2ecf20Sopenharmony_ci 14348c2ecf20Sopenharmony_cistatic struct platform_driver sdm660_pinctrl_driver = { 14358c2ecf20Sopenharmony_ci .driver = { 14368c2ecf20Sopenharmony_ci .name = "sdm660-pinctrl", 14378c2ecf20Sopenharmony_ci .of_match_table = sdm660_pinctrl_of_match, 14388c2ecf20Sopenharmony_ci }, 14398c2ecf20Sopenharmony_ci .probe = sdm660_pinctrl_probe, 14408c2ecf20Sopenharmony_ci .remove = msm_pinctrl_remove, 14418c2ecf20Sopenharmony_ci}; 14428c2ecf20Sopenharmony_ci 14438c2ecf20Sopenharmony_cistatic int __init sdm660_pinctrl_init(void) 14448c2ecf20Sopenharmony_ci{ 14458c2ecf20Sopenharmony_ci return platform_driver_register(&sdm660_pinctrl_driver); 14468c2ecf20Sopenharmony_ci} 14478c2ecf20Sopenharmony_ciarch_initcall(sdm660_pinctrl_init); 14488c2ecf20Sopenharmony_ci 14498c2ecf20Sopenharmony_cistatic void __exit sdm660_pinctrl_exit(void) 14508c2ecf20Sopenharmony_ci{ 14518c2ecf20Sopenharmony_ci platform_driver_unregister(&sdm660_pinctrl_driver); 14528c2ecf20Sopenharmony_ci} 14538c2ecf20Sopenharmony_cimodule_exit(sdm660_pinctrl_exit); 14548c2ecf20Sopenharmony_ci 14558c2ecf20Sopenharmony_ciMODULE_DESCRIPTION("QTI sdm660 pinctrl driver"); 14568c2ecf20Sopenharmony_ciMODULE_LICENSE("GPL v2"); 14578c2ecf20Sopenharmony_ciMODULE_DEVICE_TABLE(of, sdm660_pinctrl_of_match); 1458