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