162306a36Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0-only 262306a36Sopenharmony_ci/* 362306a36Sopenharmony_ci * Copyright (c) 2021, The Linux Foundation. All rights reserved. 462306a36Sopenharmony_ci * Copyright (c) 2022, Konrad Dybcio <konrad.dybcio@somainline.org> 562306a36Sopenharmony_ci */ 662306a36Sopenharmony_ci 762306a36Sopenharmony_ci#include <linux/module.h> 862306a36Sopenharmony_ci#include <linux/of.h> 962306a36Sopenharmony_ci#include <linux/platform_device.h> 1062306a36Sopenharmony_ci 1162306a36Sopenharmony_ci#include "pinctrl-msm.h" 1262306a36Sopenharmony_ci 1362306a36Sopenharmony_ci#define REG_BASE 0x100000 1462306a36Sopenharmony_ci#define REG_SIZE 0x1000 1562306a36Sopenharmony_ci#define PINGROUP(id, f1, f2, f3, f4, f5, f6, f7, f8, f9) \ 1662306a36Sopenharmony_ci { \ 1762306a36Sopenharmony_ci .grp = PINCTRL_PINGROUP("gpio" #id, \ 1862306a36Sopenharmony_ci gpio##id##_pins, \ 1962306a36Sopenharmony_ci ARRAY_SIZE(gpio##id##_pins)), \ 2062306a36Sopenharmony_ci .funcs = (int[]){ \ 2162306a36Sopenharmony_ci msm_mux_gpio, /* gpio mode */ \ 2262306a36Sopenharmony_ci msm_mux_##f1, \ 2362306a36Sopenharmony_ci msm_mux_##f2, \ 2462306a36Sopenharmony_ci msm_mux_##f3, \ 2562306a36Sopenharmony_ci msm_mux_##f4, \ 2662306a36Sopenharmony_ci msm_mux_##f5, \ 2762306a36Sopenharmony_ci msm_mux_##f6, \ 2862306a36Sopenharmony_ci msm_mux_##f7, \ 2962306a36Sopenharmony_ci msm_mux_##f8, \ 3062306a36Sopenharmony_ci msm_mux_##f9 \ 3162306a36Sopenharmony_ci }, \ 3262306a36Sopenharmony_ci .nfuncs = 10, \ 3362306a36Sopenharmony_ci .ctl_reg = REG_SIZE * id, \ 3462306a36Sopenharmony_ci .io_reg = REG_SIZE * id + 0x4, \ 3562306a36Sopenharmony_ci .intr_cfg_reg = REG_SIZE * id + 0x8, \ 3662306a36Sopenharmony_ci .intr_status_reg = REG_SIZE * id + 0xc, \ 3762306a36Sopenharmony_ci .intr_target_reg = REG_SIZE * id + 0x8, \ 3862306a36Sopenharmony_ci .mux_bit = 2, \ 3962306a36Sopenharmony_ci .pull_bit = 0, \ 4062306a36Sopenharmony_ci .drv_bit = 6, \ 4162306a36Sopenharmony_ci .egpio_enable = 12, \ 4262306a36Sopenharmony_ci .egpio_present = 11, \ 4362306a36Sopenharmony_ci .oe_bit = 9, \ 4462306a36Sopenharmony_ci .in_bit = 0, \ 4562306a36Sopenharmony_ci .out_bit = 1, \ 4662306a36Sopenharmony_ci .intr_enable_bit = 0, \ 4762306a36Sopenharmony_ci .intr_status_bit = 0, \ 4862306a36Sopenharmony_ci .intr_target_bit = 5, \ 4962306a36Sopenharmony_ci .intr_target_kpss_val = 3, \ 5062306a36Sopenharmony_ci .intr_raw_status_bit = 4, \ 5162306a36Sopenharmony_ci .intr_polarity_bit = 1, \ 5262306a36Sopenharmony_ci .intr_detection_bit = 2, \ 5362306a36Sopenharmony_ci .intr_detection_width = 2, \ 5462306a36Sopenharmony_ci } 5562306a36Sopenharmony_ci 5662306a36Sopenharmony_ci#define SDC_PINGROUP(pg_name, ctl, pull, drv) \ 5762306a36Sopenharmony_ci { \ 5862306a36Sopenharmony_ci .grp = PINCTRL_PINGROUP(#pg_name, \ 5962306a36Sopenharmony_ci pg_name##_pins, \ 6062306a36Sopenharmony_ci ARRAY_SIZE(pg_name##_pins)), \ 6162306a36Sopenharmony_ci .ctl_reg = ctl, \ 6262306a36Sopenharmony_ci .io_reg = 0, \ 6362306a36Sopenharmony_ci .intr_cfg_reg = 0, \ 6462306a36Sopenharmony_ci .intr_status_reg = 0, \ 6562306a36Sopenharmony_ci .intr_target_reg = 0, \ 6662306a36Sopenharmony_ci .mux_bit = -1, \ 6762306a36Sopenharmony_ci .pull_bit = pull, \ 6862306a36Sopenharmony_ci .drv_bit = drv, \ 6962306a36Sopenharmony_ci .oe_bit = -1, \ 7062306a36Sopenharmony_ci .in_bit = -1, \ 7162306a36Sopenharmony_ci .out_bit = -1, \ 7262306a36Sopenharmony_ci .intr_enable_bit = -1, \ 7362306a36Sopenharmony_ci .intr_status_bit = -1, \ 7462306a36Sopenharmony_ci .intr_target_bit = -1, \ 7562306a36Sopenharmony_ci .intr_raw_status_bit = -1, \ 7662306a36Sopenharmony_ci .intr_polarity_bit = -1, \ 7762306a36Sopenharmony_ci .intr_detection_bit = -1, \ 7862306a36Sopenharmony_ci .intr_detection_width = -1, \ 7962306a36Sopenharmony_ci } 8062306a36Sopenharmony_ci 8162306a36Sopenharmony_ci#define UFS_RESET(pg_name, offset) \ 8262306a36Sopenharmony_ci { \ 8362306a36Sopenharmony_ci .grp = PINCTRL_PINGROUP(#pg_name, \ 8462306a36Sopenharmony_ci pg_name##_pins, \ 8562306a36Sopenharmony_ci ARRAY_SIZE(pg_name##_pins)), \ 8662306a36Sopenharmony_ci .ctl_reg = offset, \ 8762306a36Sopenharmony_ci .io_reg = offset + 0x4, \ 8862306a36Sopenharmony_ci .intr_cfg_reg = 0, \ 8962306a36Sopenharmony_ci .intr_status_reg = 0, \ 9062306a36Sopenharmony_ci .intr_target_reg = 0, \ 9162306a36Sopenharmony_ci .mux_bit = -1, \ 9262306a36Sopenharmony_ci .pull_bit = 3, \ 9362306a36Sopenharmony_ci .drv_bit = 0, \ 9462306a36Sopenharmony_ci .oe_bit = -1, \ 9562306a36Sopenharmony_ci .in_bit = -1, \ 9662306a36Sopenharmony_ci .out_bit = 0, \ 9762306a36Sopenharmony_ci .intr_enable_bit = -1, \ 9862306a36Sopenharmony_ci .intr_status_bit = -1, \ 9962306a36Sopenharmony_ci .intr_target_bit = -1, \ 10062306a36Sopenharmony_ci .intr_raw_status_bit = -1, \ 10162306a36Sopenharmony_ci .intr_polarity_bit = -1, \ 10262306a36Sopenharmony_ci .intr_detection_bit = -1, \ 10362306a36Sopenharmony_ci .intr_detection_width = -1, \ 10462306a36Sopenharmony_ci } 10562306a36Sopenharmony_ci 10662306a36Sopenharmony_cistatic const struct pinctrl_pin_desc sm6375_pins[] = { 10762306a36Sopenharmony_ci PINCTRL_PIN(0, "GPIO_0"), 10862306a36Sopenharmony_ci PINCTRL_PIN(1, "GPIO_1"), 10962306a36Sopenharmony_ci PINCTRL_PIN(2, "GPIO_2"), 11062306a36Sopenharmony_ci PINCTRL_PIN(3, "GPIO_3"), 11162306a36Sopenharmony_ci PINCTRL_PIN(4, "GPIO_4"), 11262306a36Sopenharmony_ci PINCTRL_PIN(5, "GPIO_5"), 11362306a36Sopenharmony_ci PINCTRL_PIN(6, "GPIO_6"), 11462306a36Sopenharmony_ci PINCTRL_PIN(7, "GPIO_7"), 11562306a36Sopenharmony_ci PINCTRL_PIN(8, "GPIO_8"), 11662306a36Sopenharmony_ci PINCTRL_PIN(9, "GPIO_9"), 11762306a36Sopenharmony_ci PINCTRL_PIN(10, "GPIO_10"), 11862306a36Sopenharmony_ci PINCTRL_PIN(11, "GPIO_11"), 11962306a36Sopenharmony_ci PINCTRL_PIN(12, "GPIO_12"), 12062306a36Sopenharmony_ci PINCTRL_PIN(13, "GPIO_13"), 12162306a36Sopenharmony_ci PINCTRL_PIN(14, "GPIO_14"), 12262306a36Sopenharmony_ci PINCTRL_PIN(15, "GPIO_15"), 12362306a36Sopenharmony_ci PINCTRL_PIN(16, "GPIO_16"), 12462306a36Sopenharmony_ci PINCTRL_PIN(17, "GPIO_17"), 12562306a36Sopenharmony_ci PINCTRL_PIN(18, "GPIO_18"), 12662306a36Sopenharmony_ci PINCTRL_PIN(19, "GPIO_19"), 12762306a36Sopenharmony_ci PINCTRL_PIN(20, "GPIO_20"), 12862306a36Sopenharmony_ci PINCTRL_PIN(21, "GPIO_21"), 12962306a36Sopenharmony_ci PINCTRL_PIN(22, "GPIO_22"), 13062306a36Sopenharmony_ci PINCTRL_PIN(23, "GPIO_23"), 13162306a36Sopenharmony_ci PINCTRL_PIN(24, "GPIO_24"), 13262306a36Sopenharmony_ci PINCTRL_PIN(25, "GPIO_25"), 13362306a36Sopenharmony_ci PINCTRL_PIN(26, "GPIO_26"), 13462306a36Sopenharmony_ci PINCTRL_PIN(27, "GPIO_27"), 13562306a36Sopenharmony_ci PINCTRL_PIN(28, "GPIO_28"), 13662306a36Sopenharmony_ci PINCTRL_PIN(29, "GPIO_29"), 13762306a36Sopenharmony_ci PINCTRL_PIN(30, "GPIO_30"), 13862306a36Sopenharmony_ci PINCTRL_PIN(31, "GPIO_31"), 13962306a36Sopenharmony_ci PINCTRL_PIN(32, "GPIO_32"), 14062306a36Sopenharmony_ci PINCTRL_PIN(33, "GPIO_33"), 14162306a36Sopenharmony_ci PINCTRL_PIN(34, "GPIO_34"), 14262306a36Sopenharmony_ci PINCTRL_PIN(35, "GPIO_35"), 14362306a36Sopenharmony_ci PINCTRL_PIN(36, "GPIO_36"), 14462306a36Sopenharmony_ci PINCTRL_PIN(37, "GPIO_37"), 14562306a36Sopenharmony_ci PINCTRL_PIN(38, "GPIO_38"), 14662306a36Sopenharmony_ci PINCTRL_PIN(39, "GPIO_39"), 14762306a36Sopenharmony_ci PINCTRL_PIN(40, "GPIO_40"), 14862306a36Sopenharmony_ci PINCTRL_PIN(41, "GPIO_41"), 14962306a36Sopenharmony_ci PINCTRL_PIN(42, "GPIO_42"), 15062306a36Sopenharmony_ci PINCTRL_PIN(43, "GPIO_43"), 15162306a36Sopenharmony_ci PINCTRL_PIN(44, "GPIO_44"), 15262306a36Sopenharmony_ci PINCTRL_PIN(45, "GPIO_45"), 15362306a36Sopenharmony_ci PINCTRL_PIN(46, "GPIO_46"), 15462306a36Sopenharmony_ci PINCTRL_PIN(47, "GPIO_47"), 15562306a36Sopenharmony_ci PINCTRL_PIN(48, "GPIO_48"), 15662306a36Sopenharmony_ci PINCTRL_PIN(49, "GPIO_49"), 15762306a36Sopenharmony_ci PINCTRL_PIN(50, "GPIO_50"), 15862306a36Sopenharmony_ci PINCTRL_PIN(51, "GPIO_51"), 15962306a36Sopenharmony_ci PINCTRL_PIN(52, "GPIO_52"), 16062306a36Sopenharmony_ci PINCTRL_PIN(53, "GPIO_53"), 16162306a36Sopenharmony_ci PINCTRL_PIN(54, "GPIO_54"), 16262306a36Sopenharmony_ci PINCTRL_PIN(55, "GPIO_55"), 16362306a36Sopenharmony_ci PINCTRL_PIN(56, "GPIO_56"), 16462306a36Sopenharmony_ci PINCTRL_PIN(57, "GPIO_57"), 16562306a36Sopenharmony_ci PINCTRL_PIN(58, "GPIO_58"), 16662306a36Sopenharmony_ci PINCTRL_PIN(59, "GPIO_59"), 16762306a36Sopenharmony_ci PINCTRL_PIN(60, "GPIO_60"), 16862306a36Sopenharmony_ci PINCTRL_PIN(61, "GPIO_61"), 16962306a36Sopenharmony_ci PINCTRL_PIN(62, "GPIO_62"), 17062306a36Sopenharmony_ci PINCTRL_PIN(63, "GPIO_63"), 17162306a36Sopenharmony_ci PINCTRL_PIN(64, "GPIO_64"), 17262306a36Sopenharmony_ci PINCTRL_PIN(65, "GPIO_65"), 17362306a36Sopenharmony_ci PINCTRL_PIN(66, "GPIO_66"), 17462306a36Sopenharmony_ci PINCTRL_PIN(67, "GPIO_67"), 17562306a36Sopenharmony_ci PINCTRL_PIN(68, "GPIO_68"), 17662306a36Sopenharmony_ci PINCTRL_PIN(69, "GPIO_69"), 17762306a36Sopenharmony_ci PINCTRL_PIN(70, "GPIO_70"), 17862306a36Sopenharmony_ci PINCTRL_PIN(71, "GPIO_71"), 17962306a36Sopenharmony_ci PINCTRL_PIN(72, "GPIO_72"), 18062306a36Sopenharmony_ci PINCTRL_PIN(73, "GPIO_73"), 18162306a36Sopenharmony_ci PINCTRL_PIN(74, "GPIO_74"), 18262306a36Sopenharmony_ci PINCTRL_PIN(75, "GPIO_75"), 18362306a36Sopenharmony_ci PINCTRL_PIN(76, "GPIO_76"), 18462306a36Sopenharmony_ci PINCTRL_PIN(77, "GPIO_77"), 18562306a36Sopenharmony_ci PINCTRL_PIN(78, "GPIO_78"), 18662306a36Sopenharmony_ci PINCTRL_PIN(79, "GPIO_79"), 18762306a36Sopenharmony_ci PINCTRL_PIN(80, "GPIO_80"), 18862306a36Sopenharmony_ci PINCTRL_PIN(81, "GPIO_81"), 18962306a36Sopenharmony_ci PINCTRL_PIN(82, "GPIO_82"), 19062306a36Sopenharmony_ci PINCTRL_PIN(83, "GPIO_83"), 19162306a36Sopenharmony_ci PINCTRL_PIN(84, "GPIO_84"), 19262306a36Sopenharmony_ci PINCTRL_PIN(85, "GPIO_85"), 19362306a36Sopenharmony_ci PINCTRL_PIN(86, "GPIO_86"), 19462306a36Sopenharmony_ci PINCTRL_PIN(87, "GPIO_87"), 19562306a36Sopenharmony_ci PINCTRL_PIN(88, "GPIO_88"), 19662306a36Sopenharmony_ci PINCTRL_PIN(89, "GPIO_89"), 19762306a36Sopenharmony_ci PINCTRL_PIN(90, "GPIO_90"), 19862306a36Sopenharmony_ci PINCTRL_PIN(91, "GPIO_91"), 19962306a36Sopenharmony_ci PINCTRL_PIN(92, "GPIO_92"), 20062306a36Sopenharmony_ci PINCTRL_PIN(93, "GPIO_93"), 20162306a36Sopenharmony_ci PINCTRL_PIN(94, "GPIO_94"), 20262306a36Sopenharmony_ci PINCTRL_PIN(95, "GPIO_95"), 20362306a36Sopenharmony_ci PINCTRL_PIN(96, "GPIO_96"), 20462306a36Sopenharmony_ci PINCTRL_PIN(97, "GPIO_97"), 20562306a36Sopenharmony_ci PINCTRL_PIN(98, "GPIO_98"), 20662306a36Sopenharmony_ci PINCTRL_PIN(99, "GPIO_99"), 20762306a36Sopenharmony_ci PINCTRL_PIN(100, "GPIO_100"), 20862306a36Sopenharmony_ci PINCTRL_PIN(101, "GPIO_101"), 20962306a36Sopenharmony_ci PINCTRL_PIN(102, "GPIO_102"), 21062306a36Sopenharmony_ci PINCTRL_PIN(103, "GPIO_103"), 21162306a36Sopenharmony_ci PINCTRL_PIN(104, "GPIO_104"), 21262306a36Sopenharmony_ci PINCTRL_PIN(105, "GPIO_105"), 21362306a36Sopenharmony_ci PINCTRL_PIN(106, "GPIO_106"), 21462306a36Sopenharmony_ci PINCTRL_PIN(107, "GPIO_107"), 21562306a36Sopenharmony_ci PINCTRL_PIN(108, "GPIO_108"), 21662306a36Sopenharmony_ci PINCTRL_PIN(109, "GPIO_109"), 21762306a36Sopenharmony_ci PINCTRL_PIN(110, "GPIO_110"), 21862306a36Sopenharmony_ci PINCTRL_PIN(111, "GPIO_111"), 21962306a36Sopenharmony_ci PINCTRL_PIN(112, "GPIO_112"), 22062306a36Sopenharmony_ci PINCTRL_PIN(113, "GPIO_113"), 22162306a36Sopenharmony_ci PINCTRL_PIN(114, "GPIO_114"), 22262306a36Sopenharmony_ci PINCTRL_PIN(115, "GPIO_115"), 22362306a36Sopenharmony_ci PINCTRL_PIN(116, "GPIO_116"), 22462306a36Sopenharmony_ci PINCTRL_PIN(117, "GPIO_117"), 22562306a36Sopenharmony_ci PINCTRL_PIN(118, "GPIO_118"), 22662306a36Sopenharmony_ci PINCTRL_PIN(119, "GPIO_119"), 22762306a36Sopenharmony_ci PINCTRL_PIN(120, "GPIO_120"), 22862306a36Sopenharmony_ci PINCTRL_PIN(121, "GPIO_121"), 22962306a36Sopenharmony_ci PINCTRL_PIN(122, "GPIO_122"), 23062306a36Sopenharmony_ci PINCTRL_PIN(123, "GPIO_123"), 23162306a36Sopenharmony_ci PINCTRL_PIN(124, "GPIO_124"), 23262306a36Sopenharmony_ci PINCTRL_PIN(125, "GPIO_125"), 23362306a36Sopenharmony_ci PINCTRL_PIN(126, "GPIO_126"), 23462306a36Sopenharmony_ci PINCTRL_PIN(127, "GPIO_127"), 23562306a36Sopenharmony_ci PINCTRL_PIN(128, "GPIO_128"), 23662306a36Sopenharmony_ci PINCTRL_PIN(129, "GPIO_129"), 23762306a36Sopenharmony_ci PINCTRL_PIN(130, "GPIO_130"), 23862306a36Sopenharmony_ci PINCTRL_PIN(131, "GPIO_131"), 23962306a36Sopenharmony_ci PINCTRL_PIN(132, "GPIO_132"), 24062306a36Sopenharmony_ci PINCTRL_PIN(133, "GPIO_133"), 24162306a36Sopenharmony_ci PINCTRL_PIN(134, "GPIO_134"), 24262306a36Sopenharmony_ci PINCTRL_PIN(135, "GPIO_135"), 24362306a36Sopenharmony_ci PINCTRL_PIN(136, "GPIO_136"), 24462306a36Sopenharmony_ci PINCTRL_PIN(137, "GPIO_137"), 24562306a36Sopenharmony_ci PINCTRL_PIN(138, "GPIO_138"), 24662306a36Sopenharmony_ci PINCTRL_PIN(139, "GPIO_139"), 24762306a36Sopenharmony_ci PINCTRL_PIN(140, "GPIO_140"), 24862306a36Sopenharmony_ci PINCTRL_PIN(141, "GPIO_141"), 24962306a36Sopenharmony_ci PINCTRL_PIN(142, "GPIO_142"), 25062306a36Sopenharmony_ci PINCTRL_PIN(143, "GPIO_143"), 25162306a36Sopenharmony_ci PINCTRL_PIN(144, "GPIO_144"), 25262306a36Sopenharmony_ci PINCTRL_PIN(145, "GPIO_145"), 25362306a36Sopenharmony_ci PINCTRL_PIN(146, "GPIO_146"), 25462306a36Sopenharmony_ci PINCTRL_PIN(147, "GPIO_147"), 25562306a36Sopenharmony_ci PINCTRL_PIN(148, "GPIO_148"), 25662306a36Sopenharmony_ci PINCTRL_PIN(149, "GPIO_149"), 25762306a36Sopenharmony_ci PINCTRL_PIN(150, "GPIO_150"), 25862306a36Sopenharmony_ci PINCTRL_PIN(151, "GPIO_151"), 25962306a36Sopenharmony_ci PINCTRL_PIN(152, "GPIO_152"), 26062306a36Sopenharmony_ci PINCTRL_PIN(153, "GPIO_153"), 26162306a36Sopenharmony_ci PINCTRL_PIN(154, "GPIO_154"), 26262306a36Sopenharmony_ci PINCTRL_PIN(155, "GPIO_155"), 26362306a36Sopenharmony_ci PINCTRL_PIN(156, "UFS_RESET"), 26462306a36Sopenharmony_ci PINCTRL_PIN(157, "SDC1_RCLK"), 26562306a36Sopenharmony_ci PINCTRL_PIN(158, "SDC1_CLK"), 26662306a36Sopenharmony_ci PINCTRL_PIN(159, "SDC1_CMD"), 26762306a36Sopenharmony_ci PINCTRL_PIN(160, "SDC1_DATA"), 26862306a36Sopenharmony_ci PINCTRL_PIN(161, "SDC2_CLK"), 26962306a36Sopenharmony_ci PINCTRL_PIN(162, "SDC2_CMD"), 27062306a36Sopenharmony_ci PINCTRL_PIN(163, "SDC2_DATA"), 27162306a36Sopenharmony_ci}; 27262306a36Sopenharmony_ci 27362306a36Sopenharmony_ci#define DECLARE_MSM_GPIO_PINS(pin) \ 27462306a36Sopenharmony_ci static const unsigned int gpio##pin##_pins[] = { pin } 27562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(0); 27662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(1); 27762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(2); 27862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(3); 27962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(4); 28062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(5); 28162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(6); 28262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(7); 28362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(8); 28462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(9); 28562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(10); 28662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(11); 28762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(12); 28862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(13); 28962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(14); 29062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(15); 29162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(16); 29262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(17); 29362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(18); 29462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(19); 29562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(20); 29662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(21); 29762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(22); 29862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(23); 29962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(24); 30062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(25); 30162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(26); 30262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(27); 30362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(28); 30462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(29); 30562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(30); 30662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(31); 30762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(32); 30862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(33); 30962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(34); 31062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(35); 31162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(36); 31262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(37); 31362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(38); 31462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(39); 31562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(40); 31662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(41); 31762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(42); 31862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(43); 31962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(44); 32062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(45); 32162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(46); 32262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(47); 32362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(48); 32462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(49); 32562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(50); 32662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(51); 32762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(52); 32862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(53); 32962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(54); 33062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(55); 33162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(56); 33262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(57); 33362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(58); 33462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(59); 33562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(60); 33662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(61); 33762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(62); 33862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(63); 33962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(64); 34062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(65); 34162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(66); 34262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(67); 34362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(68); 34462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(69); 34562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(70); 34662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(71); 34762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(72); 34862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(73); 34962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(74); 35062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(75); 35162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(76); 35262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(77); 35362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(78); 35462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(79); 35562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(80); 35662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(81); 35762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(82); 35862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(83); 35962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(84); 36062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(85); 36162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(86); 36262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(87); 36362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(88); 36462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(89); 36562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(90); 36662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(91); 36762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(92); 36862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(93); 36962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(94); 37062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(95); 37162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(96); 37262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(97); 37362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(98); 37462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(99); 37562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(100); 37662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(101); 37762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(102); 37862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(103); 37962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(104); 38062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(105); 38162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(106); 38262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(107); 38362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(108); 38462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(109); 38562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(110); 38662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(111); 38762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(112); 38862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(113); 38962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(114); 39062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(115); 39162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(116); 39262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(117); 39362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(118); 39462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(119); 39562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(120); 39662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(121); 39762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(122); 39862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(123); 39962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(124); 40062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(125); 40162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(126); 40262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(127); 40362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(128); 40462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(129); 40562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(130); 40662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(131); 40762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(132); 40862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(133); 40962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(134); 41062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(135); 41162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(136); 41262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(137); 41362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(138); 41462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(139); 41562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(140); 41662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(141); 41762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(142); 41862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(143); 41962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(144); 42062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(145); 42162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(146); 42262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(147); 42362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(148); 42462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(149); 42562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(150); 42662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(151); 42762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(152); 42862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(153); 42962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(154); 43062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(155); 43162306a36Sopenharmony_ci 43262306a36Sopenharmony_ci 43362306a36Sopenharmony_cistatic const unsigned int sdc1_rclk_pins[] = { 157 }; 43462306a36Sopenharmony_cistatic const unsigned int sdc1_clk_pins[] = { 158 }; 43562306a36Sopenharmony_cistatic const unsigned int sdc1_cmd_pins[] = { 159 }; 43662306a36Sopenharmony_cistatic const unsigned int sdc1_data_pins[] = { 160 }; 43762306a36Sopenharmony_cistatic const unsigned int sdc2_clk_pins[] = { 161 }; 43862306a36Sopenharmony_cistatic const unsigned int sdc2_cmd_pins[] = { 162 }; 43962306a36Sopenharmony_cistatic const unsigned int sdc2_data_pins[] = { 163 }; 44062306a36Sopenharmony_cistatic const unsigned int ufs_reset_pins[] = { 156 }; 44162306a36Sopenharmony_ci 44262306a36Sopenharmony_cienum sm6375_functions { 44362306a36Sopenharmony_ci msm_mux_adsp_ext, 44462306a36Sopenharmony_ci msm_mux_agera_pll, 44562306a36Sopenharmony_ci msm_mux_atest_char, 44662306a36Sopenharmony_ci msm_mux_atest_char0, 44762306a36Sopenharmony_ci msm_mux_atest_char1, 44862306a36Sopenharmony_ci msm_mux_atest_char2, 44962306a36Sopenharmony_ci msm_mux_atest_char3, 45062306a36Sopenharmony_ci msm_mux_atest_tsens, 45162306a36Sopenharmony_ci msm_mux_atest_tsens2, 45262306a36Sopenharmony_ci msm_mux_atest_usb1, 45362306a36Sopenharmony_ci msm_mux_atest_usb10, 45462306a36Sopenharmony_ci msm_mux_atest_usb11, 45562306a36Sopenharmony_ci msm_mux_atest_usb12, 45662306a36Sopenharmony_ci msm_mux_atest_usb13, 45762306a36Sopenharmony_ci msm_mux_atest_usb2, 45862306a36Sopenharmony_ci msm_mux_atest_usb20, 45962306a36Sopenharmony_ci msm_mux_atest_usb21, 46062306a36Sopenharmony_ci msm_mux_atest_usb22, 46162306a36Sopenharmony_ci msm_mux_atest_usb23, 46262306a36Sopenharmony_ci msm_mux_audio_ref, 46362306a36Sopenharmony_ci msm_mux_btfm_slimbus, 46462306a36Sopenharmony_ci msm_mux_cam_mclk, 46562306a36Sopenharmony_ci msm_mux_cci_async, 46662306a36Sopenharmony_ci msm_mux_cci_i2c, 46762306a36Sopenharmony_ci msm_mux_cci_timer0, 46862306a36Sopenharmony_ci msm_mux_cci_timer1, 46962306a36Sopenharmony_ci msm_mux_cci_timer2, 47062306a36Sopenharmony_ci msm_mux_cci_timer3, 47162306a36Sopenharmony_ci msm_mux_cci_timer4, 47262306a36Sopenharmony_ci msm_mux_cri_trng, 47362306a36Sopenharmony_ci msm_mux_dbg_out, 47462306a36Sopenharmony_ci msm_mux_ddr_bist, 47562306a36Sopenharmony_ci msm_mux_ddr_pxi0, 47662306a36Sopenharmony_ci msm_mux_ddr_pxi1, 47762306a36Sopenharmony_ci msm_mux_ddr_pxi2, 47862306a36Sopenharmony_ci msm_mux_ddr_pxi3, 47962306a36Sopenharmony_ci msm_mux_dp_hot, 48062306a36Sopenharmony_ci msm_mux_edp_lcd, 48162306a36Sopenharmony_ci msm_mux_gcc_gp1, 48262306a36Sopenharmony_ci msm_mux_gcc_gp2, 48362306a36Sopenharmony_ci msm_mux_gcc_gp3, 48462306a36Sopenharmony_ci msm_mux_gp_pdm0, 48562306a36Sopenharmony_ci msm_mux_gp_pdm1, 48662306a36Sopenharmony_ci msm_mux_gp_pdm2, 48762306a36Sopenharmony_ci msm_mux_gpio, 48862306a36Sopenharmony_ci msm_mux_gps_tx, 48962306a36Sopenharmony_ci msm_mux_ibi_i3c, 49062306a36Sopenharmony_ci msm_mux_jitter_bist, 49162306a36Sopenharmony_ci msm_mux_ldo_en, 49262306a36Sopenharmony_ci msm_mux_ldo_update, 49362306a36Sopenharmony_ci msm_mux_lpass_ext, 49462306a36Sopenharmony_ci msm_mux_m_voc, 49562306a36Sopenharmony_ci msm_mux_mclk, 49662306a36Sopenharmony_ci msm_mux_mdp_vsync, 49762306a36Sopenharmony_ci msm_mux_mdp_vsync0, 49862306a36Sopenharmony_ci msm_mux_mdp_vsync1, 49962306a36Sopenharmony_ci msm_mux_mdp_vsync2, 50062306a36Sopenharmony_ci msm_mux_mdp_vsync3, 50162306a36Sopenharmony_ci msm_mux_mi2s_0, 50262306a36Sopenharmony_ci msm_mux_mi2s_1, 50362306a36Sopenharmony_ci msm_mux_mi2s_2, 50462306a36Sopenharmony_ci msm_mux_mss_lte, 50562306a36Sopenharmony_ci msm_mux_nav_gpio, 50662306a36Sopenharmony_ci msm_mux_nav_pps, 50762306a36Sopenharmony_ci msm_mux_pa_indicator, 50862306a36Sopenharmony_ci msm_mux_phase_flag0, 50962306a36Sopenharmony_ci msm_mux_phase_flag1, 51062306a36Sopenharmony_ci msm_mux_phase_flag10, 51162306a36Sopenharmony_ci msm_mux_phase_flag11, 51262306a36Sopenharmony_ci msm_mux_phase_flag12, 51362306a36Sopenharmony_ci msm_mux_phase_flag13, 51462306a36Sopenharmony_ci msm_mux_phase_flag14, 51562306a36Sopenharmony_ci msm_mux_phase_flag15, 51662306a36Sopenharmony_ci msm_mux_phase_flag16, 51762306a36Sopenharmony_ci msm_mux_phase_flag17, 51862306a36Sopenharmony_ci msm_mux_phase_flag18, 51962306a36Sopenharmony_ci msm_mux_phase_flag19, 52062306a36Sopenharmony_ci msm_mux_phase_flag2, 52162306a36Sopenharmony_ci msm_mux_phase_flag20, 52262306a36Sopenharmony_ci msm_mux_phase_flag21, 52362306a36Sopenharmony_ci msm_mux_phase_flag22, 52462306a36Sopenharmony_ci msm_mux_phase_flag23, 52562306a36Sopenharmony_ci msm_mux_phase_flag24, 52662306a36Sopenharmony_ci msm_mux_phase_flag25, 52762306a36Sopenharmony_ci msm_mux_phase_flag26, 52862306a36Sopenharmony_ci msm_mux_phase_flag27, 52962306a36Sopenharmony_ci msm_mux_phase_flag28, 53062306a36Sopenharmony_ci msm_mux_phase_flag29, 53162306a36Sopenharmony_ci msm_mux_phase_flag3, 53262306a36Sopenharmony_ci msm_mux_phase_flag30, 53362306a36Sopenharmony_ci msm_mux_phase_flag31, 53462306a36Sopenharmony_ci msm_mux_phase_flag4, 53562306a36Sopenharmony_ci msm_mux_phase_flag5, 53662306a36Sopenharmony_ci msm_mux_phase_flag6, 53762306a36Sopenharmony_ci msm_mux_phase_flag7, 53862306a36Sopenharmony_ci msm_mux_phase_flag8, 53962306a36Sopenharmony_ci msm_mux_phase_flag9, 54062306a36Sopenharmony_ci msm_mux_pll_bist, 54162306a36Sopenharmony_ci msm_mux_pll_bypassnl, 54262306a36Sopenharmony_ci msm_mux_pll_clk, 54362306a36Sopenharmony_ci msm_mux_pll_reset, 54462306a36Sopenharmony_ci msm_mux_prng_rosc0, 54562306a36Sopenharmony_ci msm_mux_prng_rosc1, 54662306a36Sopenharmony_ci msm_mux_prng_rosc2, 54762306a36Sopenharmony_ci msm_mux_prng_rosc3, 54862306a36Sopenharmony_ci msm_mux_qdss_cti, 54962306a36Sopenharmony_ci msm_mux_qdss_gpio, 55062306a36Sopenharmony_ci msm_mux_qdss_gpio0, 55162306a36Sopenharmony_ci msm_mux_qdss_gpio1, 55262306a36Sopenharmony_ci msm_mux_qdss_gpio10, 55362306a36Sopenharmony_ci msm_mux_qdss_gpio11, 55462306a36Sopenharmony_ci msm_mux_qdss_gpio12, 55562306a36Sopenharmony_ci msm_mux_qdss_gpio13, 55662306a36Sopenharmony_ci msm_mux_qdss_gpio14, 55762306a36Sopenharmony_ci msm_mux_qdss_gpio15, 55862306a36Sopenharmony_ci msm_mux_qdss_gpio2, 55962306a36Sopenharmony_ci msm_mux_qdss_gpio3, 56062306a36Sopenharmony_ci msm_mux_qdss_gpio4, 56162306a36Sopenharmony_ci msm_mux_qdss_gpio5, 56262306a36Sopenharmony_ci msm_mux_qdss_gpio6, 56362306a36Sopenharmony_ci msm_mux_qdss_gpio7, 56462306a36Sopenharmony_ci msm_mux_qdss_gpio8, 56562306a36Sopenharmony_ci msm_mux_qdss_gpio9, 56662306a36Sopenharmony_ci msm_mux_qlink0_enable, 56762306a36Sopenharmony_ci msm_mux_qlink0_request, 56862306a36Sopenharmony_ci msm_mux_qlink0_wmss, 56962306a36Sopenharmony_ci msm_mux_qlink1_enable, 57062306a36Sopenharmony_ci msm_mux_qlink1_request, 57162306a36Sopenharmony_ci msm_mux_qlink1_wmss, 57262306a36Sopenharmony_ci msm_mux_qup00, 57362306a36Sopenharmony_ci msm_mux_qup01, 57462306a36Sopenharmony_ci msm_mux_qup02, 57562306a36Sopenharmony_ci msm_mux_qup10, 57662306a36Sopenharmony_ci msm_mux_qup11_f1, 57762306a36Sopenharmony_ci msm_mux_qup11_f2, 57862306a36Sopenharmony_ci msm_mux_qup12, 57962306a36Sopenharmony_ci msm_mux_qup13_f1, 58062306a36Sopenharmony_ci msm_mux_qup13_f2, 58162306a36Sopenharmony_ci msm_mux_qup14, 58262306a36Sopenharmony_ci msm_mux_sd_write, 58362306a36Sopenharmony_ci msm_mux_sdc1_tb, 58462306a36Sopenharmony_ci msm_mux_sdc2_tb, 58562306a36Sopenharmony_ci msm_mux_sp_cmu, 58662306a36Sopenharmony_ci msm_mux_tgu_ch0, 58762306a36Sopenharmony_ci msm_mux_tgu_ch1, 58862306a36Sopenharmony_ci msm_mux_tgu_ch2, 58962306a36Sopenharmony_ci msm_mux_tgu_ch3, 59062306a36Sopenharmony_ci msm_mux_tsense_pwm1, 59162306a36Sopenharmony_ci msm_mux_tsense_pwm2, 59262306a36Sopenharmony_ci msm_mux_uim1_clk, 59362306a36Sopenharmony_ci msm_mux_uim1_data, 59462306a36Sopenharmony_ci msm_mux_uim1_present, 59562306a36Sopenharmony_ci msm_mux_uim1_reset, 59662306a36Sopenharmony_ci msm_mux_uim2_clk, 59762306a36Sopenharmony_ci msm_mux_uim2_data, 59862306a36Sopenharmony_ci msm_mux_uim2_present, 59962306a36Sopenharmony_ci msm_mux_uim2_reset, 60062306a36Sopenharmony_ci msm_mux_usb2phy_ac, 60162306a36Sopenharmony_ci msm_mux_usb_phy, 60262306a36Sopenharmony_ci msm_mux_vfr_1, 60362306a36Sopenharmony_ci msm_mux_vsense_trigger, 60462306a36Sopenharmony_ci msm_mux_wlan1_adc0, 60562306a36Sopenharmony_ci msm_mux_wlan1_adc1, 60662306a36Sopenharmony_ci msm_mux_wlan2_adc0, 60762306a36Sopenharmony_ci msm_mux_wlan2_adc1, 60862306a36Sopenharmony_ci msm_mux__, 60962306a36Sopenharmony_ci}; 61062306a36Sopenharmony_ci 61162306a36Sopenharmony_cistatic const char * const gpio_groups[] = { 61262306a36Sopenharmony_ci "gpio0", "gpio1", "gpio2", "gpio3", "gpio4", "gpio5", "gpio6", "gpio7", 61362306a36Sopenharmony_ci "gpio8", "gpio9", "gpio11", "gpio12", "gpio13", "gpio14", "gpio15", 61462306a36Sopenharmony_ci "gpio16", "gpio17", "gpio18", "gpio19", "gpio20", "gpio21", "gpio22", 61562306a36Sopenharmony_ci "gpio23", "gpio24", "gpio25", "gpio26", "gpio27", "gpio28", "gpio29", 61662306a36Sopenharmony_ci "gpio30", "gpio31", "gpio32", "gpio33", "gpio34", "gpio35", "gpio36", 61762306a36Sopenharmony_ci "gpio37", "gpio38", "gpio39", "gpio40", "gpio41", "gpio42", "gpio43", 61862306a36Sopenharmony_ci "gpio44", "gpio45", "gpio46", "gpio47", "gpio48", "gpio49", "gpio50", 61962306a36Sopenharmony_ci "gpio51", "gpio52", "gpio53", "gpio56", "gpio57", "gpio58", "gpio59", 62062306a36Sopenharmony_ci "gpio60", "gpio61", "gpio62", "gpio63", "gpio64", "gpio65", "gpio66", 62162306a36Sopenharmony_ci "gpio67", "gpio68", "gpio69", "gpio75", "gpio76", "gpio77", "gpio78", 62262306a36Sopenharmony_ci "gpio79", "gpio80", "gpio81", "gpio82", "gpio83", "gpio84", "gpio85", 62362306a36Sopenharmony_ci "gpio86", "gpio87", "gpio88", "gpio89", "gpio90", "gpio91", "gpio92", 62462306a36Sopenharmony_ci "gpio93", "gpio94", "gpio95", "gpio96", "gpio97", "gpio98", "gpio99", 62562306a36Sopenharmony_ci "gpio100", "gpio101", "gpio102", "gpio103", "gpio104", "gpio105", 62662306a36Sopenharmony_ci "gpio106", "gpio107", "gpio108", "gpio109", "gpio110", "gpio111", 62762306a36Sopenharmony_ci "gpio112", "gpio113", "gpio114", "gpio115", "gpio116", "gpio117", 62862306a36Sopenharmony_ci "gpio118", "gpio119", "gpio120", "gpio124", "gpio125", "gpio126", 62962306a36Sopenharmony_ci "gpio127", "gpio128", "gpio129", "gpio130", "gpio131", "gpio132", 63062306a36Sopenharmony_ci "gpio133", "gpio134", "gpio135", "gpio136", "gpio141", "gpio142", 63162306a36Sopenharmony_ci "gpio143", "gpio150", "gpio151", "gpio152", "gpio153", "gpio154", 63262306a36Sopenharmony_ci "gpio155", 63362306a36Sopenharmony_ci}; 63462306a36Sopenharmony_cistatic const char * const agera_pll_groups[] = { 63562306a36Sopenharmony_ci "gpio89", 63662306a36Sopenharmony_ci}; 63762306a36Sopenharmony_cistatic const char * const cci_async_groups[] = { 63862306a36Sopenharmony_ci "gpio35", "gpio36", "gpio48", "gpio52", "gpio53", 63962306a36Sopenharmony_ci}; 64062306a36Sopenharmony_cistatic const char * const cci_i2c_groups[] = { 64162306a36Sopenharmony_ci "gpio2", "gpio3", "gpio39", "gpio40", "gpio41", "gpio42", "gpio43", 64262306a36Sopenharmony_ci "gpio44", 64362306a36Sopenharmony_ci}; 64462306a36Sopenharmony_cistatic const char * const gps_tx_groups[] = { 64562306a36Sopenharmony_ci "gpio101", "gpio102", "gpio107", "gpio108", 64662306a36Sopenharmony_ci}; 64762306a36Sopenharmony_cistatic const char * const gp_pdm0_groups[] = { 64862306a36Sopenharmony_ci "gpio37", "gpio68", 64962306a36Sopenharmony_ci}; 65062306a36Sopenharmony_cistatic const char * const gp_pdm1_groups[] = { 65162306a36Sopenharmony_ci "gpio8", "gpio52", 65262306a36Sopenharmony_ci}; 65362306a36Sopenharmony_cistatic const char * const gp_pdm2_groups[] = { 65462306a36Sopenharmony_ci "gpio57", 65562306a36Sopenharmony_ci}; 65662306a36Sopenharmony_cistatic const char * const jitter_bist_groups[] = { 65762306a36Sopenharmony_ci "gpio90", 65862306a36Sopenharmony_ci}; 65962306a36Sopenharmony_cistatic const char * const mclk_groups[] = { 66062306a36Sopenharmony_ci "gpio93", 66162306a36Sopenharmony_ci}; 66262306a36Sopenharmony_cistatic const char * const mdp_vsync_groups[] = { 66362306a36Sopenharmony_ci "gpio6", "gpio23", "gpio24", "gpio27", "gpio28", 66462306a36Sopenharmony_ci}; 66562306a36Sopenharmony_cistatic const char * const mss_lte_groups[] = { 66662306a36Sopenharmony_ci "gpio65", "gpio66", 66762306a36Sopenharmony_ci}; 66862306a36Sopenharmony_cistatic const char * const nav_pps_groups[] = { 66962306a36Sopenharmony_ci "gpio101", "gpio101", "gpio102", "gpio102", 67062306a36Sopenharmony_ci}; 67162306a36Sopenharmony_cistatic const char * const pll_bist_groups[] = { 67262306a36Sopenharmony_ci "gpio27", 67362306a36Sopenharmony_ci}; 67462306a36Sopenharmony_cistatic const char * const qlink0_wmss_groups[] = { 67562306a36Sopenharmony_ci "gpio103", 67662306a36Sopenharmony_ci}; 67762306a36Sopenharmony_cistatic const char * const qlink1_wmss_groups[] = { 67862306a36Sopenharmony_ci "gpio106", 67962306a36Sopenharmony_ci}; 68062306a36Sopenharmony_cistatic const char * const usb_phy_groups[] = { 68162306a36Sopenharmony_ci "gpio124", 68262306a36Sopenharmony_ci}; 68362306a36Sopenharmony_cistatic const char * const adsp_ext_groups[] = { 68462306a36Sopenharmony_ci "gpio87", 68562306a36Sopenharmony_ci}; 68662306a36Sopenharmony_cistatic const char * const atest_char_groups[] = { 68762306a36Sopenharmony_ci "gpio95", 68862306a36Sopenharmony_ci}; 68962306a36Sopenharmony_cistatic const char * const atest_char0_groups[] = { 69062306a36Sopenharmony_ci "gpio96", 69162306a36Sopenharmony_ci}; 69262306a36Sopenharmony_cistatic const char * const atest_char1_groups[] = { 69362306a36Sopenharmony_ci "gpio97", 69462306a36Sopenharmony_ci}; 69562306a36Sopenharmony_cistatic const char * const atest_char2_groups[] = { 69662306a36Sopenharmony_ci "gpio98", 69762306a36Sopenharmony_ci}; 69862306a36Sopenharmony_cistatic const char * const atest_char3_groups[] = { 69962306a36Sopenharmony_ci "gpio99", 70062306a36Sopenharmony_ci}; 70162306a36Sopenharmony_cistatic const char * const atest_tsens_groups[] = { 70262306a36Sopenharmony_ci "gpio92", 70362306a36Sopenharmony_ci}; 70462306a36Sopenharmony_cistatic const char * const atest_tsens2_groups[] = { 70562306a36Sopenharmony_ci "gpio93", 70662306a36Sopenharmony_ci}; 70762306a36Sopenharmony_cistatic const char * const atest_usb1_groups[] = { 70862306a36Sopenharmony_ci "gpio83", 70962306a36Sopenharmony_ci}; 71062306a36Sopenharmony_cistatic const char * const atest_usb10_groups[] = { 71162306a36Sopenharmony_ci "gpio84", 71262306a36Sopenharmony_ci}; 71362306a36Sopenharmony_cistatic const char * const atest_usb11_groups[] = { 71462306a36Sopenharmony_ci "gpio85", 71562306a36Sopenharmony_ci}; 71662306a36Sopenharmony_cistatic const char * const atest_usb12_groups[] = { 71762306a36Sopenharmony_ci "gpio86", 71862306a36Sopenharmony_ci}; 71962306a36Sopenharmony_cistatic const char * const atest_usb13_groups[] = { 72062306a36Sopenharmony_ci "gpio87", 72162306a36Sopenharmony_ci}; 72262306a36Sopenharmony_cistatic const char * const atest_usb2_groups[] = { 72362306a36Sopenharmony_ci "gpio88", 72462306a36Sopenharmony_ci}; 72562306a36Sopenharmony_cistatic const char * const atest_usb20_groups[] = { 72662306a36Sopenharmony_ci "gpio89", 72762306a36Sopenharmony_ci}; 72862306a36Sopenharmony_cistatic const char * const atest_usb21_groups[] = { 72962306a36Sopenharmony_ci "gpio90", 73062306a36Sopenharmony_ci}; 73162306a36Sopenharmony_cistatic const char * const atest_usb22_groups[] = { 73262306a36Sopenharmony_ci "gpio91", 73362306a36Sopenharmony_ci}; 73462306a36Sopenharmony_cistatic const char * const atest_usb23_groups[] = { 73562306a36Sopenharmony_ci "gpio92", 73662306a36Sopenharmony_ci}; 73762306a36Sopenharmony_cistatic const char * const audio_ref_groups[] = { 73862306a36Sopenharmony_ci "gpio60", 73962306a36Sopenharmony_ci}; 74062306a36Sopenharmony_cistatic const char * const btfm_slimbus_groups[] = { 74162306a36Sopenharmony_ci "gpio67", "gpio68", "gpio86", "gpio87", 74262306a36Sopenharmony_ci}; 74362306a36Sopenharmony_cistatic const char * const cam_mclk_groups[] = { 74462306a36Sopenharmony_ci "gpio29", "gpio30", "gpio31", "gpio32", "gpio33", 74562306a36Sopenharmony_ci}; 74662306a36Sopenharmony_cistatic const char * const cci_timer0_groups[] = { 74762306a36Sopenharmony_ci "gpio34", 74862306a36Sopenharmony_ci}; 74962306a36Sopenharmony_cistatic const char * const cci_timer1_groups[] = { 75062306a36Sopenharmony_ci "gpio35", 75162306a36Sopenharmony_ci}; 75262306a36Sopenharmony_cistatic const char * const cci_timer2_groups[] = { 75362306a36Sopenharmony_ci "gpio36", 75462306a36Sopenharmony_ci}; 75562306a36Sopenharmony_cistatic const char * const cci_timer3_groups[] = { 75662306a36Sopenharmony_ci "gpio37", 75762306a36Sopenharmony_ci}; 75862306a36Sopenharmony_cistatic const char * const cci_timer4_groups[] = { 75962306a36Sopenharmony_ci "gpio38", 76062306a36Sopenharmony_ci}; 76162306a36Sopenharmony_cistatic const char * const cri_trng_groups[] = { 76262306a36Sopenharmony_ci "gpio0", "gpio1", "gpio2", 76362306a36Sopenharmony_ci}; 76462306a36Sopenharmony_cistatic const char * const dbg_out_groups[] = { 76562306a36Sopenharmony_ci "gpio3", 76662306a36Sopenharmony_ci}; 76762306a36Sopenharmony_cistatic const char * const ddr_bist_groups[] = { 76862306a36Sopenharmony_ci "gpio19", "gpio20", "gpio21", "gpio22", 76962306a36Sopenharmony_ci}; 77062306a36Sopenharmony_cistatic const char * const ddr_pxi0_groups[] = { 77162306a36Sopenharmony_ci "gpio86", "gpio90", 77262306a36Sopenharmony_ci}; 77362306a36Sopenharmony_cistatic const char * const ddr_pxi1_groups[] = { 77462306a36Sopenharmony_ci "gpio87", "gpio91", 77562306a36Sopenharmony_ci}; 77662306a36Sopenharmony_cistatic const char * const ddr_pxi2_groups[] = { 77762306a36Sopenharmony_ci "gpio88", "gpio92", 77862306a36Sopenharmony_ci}; 77962306a36Sopenharmony_cistatic const char * const ddr_pxi3_groups[] = { 78062306a36Sopenharmony_ci "gpio89", "gpio93", 78162306a36Sopenharmony_ci}; 78262306a36Sopenharmony_cistatic const char * const dp_hot_groups[] = { 78362306a36Sopenharmony_ci "gpio12", "gpio118", 78462306a36Sopenharmony_ci}; 78562306a36Sopenharmony_cistatic const char * const edp_lcd_groups[] = { 78662306a36Sopenharmony_ci "gpio23", 78762306a36Sopenharmony_ci}; 78862306a36Sopenharmony_cistatic const char * const gcc_gp1_groups[] = { 78962306a36Sopenharmony_ci "gpio48", "gpio58", 79062306a36Sopenharmony_ci}; 79162306a36Sopenharmony_cistatic const char * const gcc_gp2_groups[] = { 79262306a36Sopenharmony_ci "gpio21", 79362306a36Sopenharmony_ci}; 79462306a36Sopenharmony_cistatic const char * const gcc_gp3_groups[] = { 79562306a36Sopenharmony_ci "gpio22", 79662306a36Sopenharmony_ci}; 79762306a36Sopenharmony_cistatic const char * const ibi_i3c_groups[] = { 79862306a36Sopenharmony_ci "gpio0", "gpio1", 79962306a36Sopenharmony_ci}; 80062306a36Sopenharmony_cistatic const char * const ldo_en_groups[] = { 80162306a36Sopenharmony_ci "gpio95", 80262306a36Sopenharmony_ci}; 80362306a36Sopenharmony_cistatic const char * const ldo_update_groups[] = { 80462306a36Sopenharmony_ci "gpio96", 80562306a36Sopenharmony_ci}; 80662306a36Sopenharmony_cistatic const char * const lpass_ext_groups[] = { 80762306a36Sopenharmony_ci "gpio60", "gpio93", 80862306a36Sopenharmony_ci}; 80962306a36Sopenharmony_cistatic const char * const m_voc_groups[] = { 81062306a36Sopenharmony_ci "gpio12", 81162306a36Sopenharmony_ci}; 81262306a36Sopenharmony_cistatic const char * const mdp_vsync0_groups[] = { 81362306a36Sopenharmony_ci "gpio47", 81462306a36Sopenharmony_ci}; 81562306a36Sopenharmony_cistatic const char * const mdp_vsync1_groups[] = { 81662306a36Sopenharmony_ci "gpio48", 81762306a36Sopenharmony_ci}; 81862306a36Sopenharmony_cistatic const char * const mdp_vsync2_groups[] = { 81962306a36Sopenharmony_ci "gpio56", 82062306a36Sopenharmony_ci}; 82162306a36Sopenharmony_cistatic const char * const mdp_vsync3_groups[] = { 82262306a36Sopenharmony_ci "gpio57", 82362306a36Sopenharmony_ci}; 82462306a36Sopenharmony_cistatic const char * const mi2s_0_groups[] = { 82562306a36Sopenharmony_ci "gpio88", "gpio89", "gpio90", "gpio91", 82662306a36Sopenharmony_ci}; 82762306a36Sopenharmony_cistatic const char * const mi2s_1_groups[] = { 82862306a36Sopenharmony_ci "gpio67", "gpio68", "gpio86", "gpio87", 82962306a36Sopenharmony_ci}; 83062306a36Sopenharmony_cistatic const char * const mi2s_2_groups[] = { 83162306a36Sopenharmony_ci "gpio60", 83262306a36Sopenharmony_ci}; 83362306a36Sopenharmony_cistatic const char * const nav_gpio_groups[] = { 83462306a36Sopenharmony_ci "gpio101", "gpio102", 83562306a36Sopenharmony_ci}; 83662306a36Sopenharmony_cistatic const char * const pa_indicator_groups[] = { 83762306a36Sopenharmony_ci "gpio118", 83862306a36Sopenharmony_ci}; 83962306a36Sopenharmony_cistatic const char * const phase_flag0_groups[] = { 84062306a36Sopenharmony_ci "gpio12", 84162306a36Sopenharmony_ci}; 84262306a36Sopenharmony_cistatic const char * const phase_flag1_groups[] = { 84362306a36Sopenharmony_ci "gpio17", 84462306a36Sopenharmony_ci}; 84562306a36Sopenharmony_cistatic const char * const phase_flag10_groups[] = { 84662306a36Sopenharmony_ci "gpio41", 84762306a36Sopenharmony_ci}; 84862306a36Sopenharmony_cistatic const char * const phase_flag11_groups[] = { 84962306a36Sopenharmony_ci "gpio42", 85062306a36Sopenharmony_ci}; 85162306a36Sopenharmony_cistatic const char * const phase_flag12_groups[] = { 85262306a36Sopenharmony_ci "gpio43", 85362306a36Sopenharmony_ci}; 85462306a36Sopenharmony_cistatic const char * const phase_flag13_groups[] = { 85562306a36Sopenharmony_ci "gpio44", 85662306a36Sopenharmony_ci}; 85762306a36Sopenharmony_cistatic const char * const phase_flag14_groups[] = { 85862306a36Sopenharmony_ci "gpio45", 85962306a36Sopenharmony_ci}; 86062306a36Sopenharmony_cistatic const char * const phase_flag15_groups[] = { 86162306a36Sopenharmony_ci "gpio46", 86262306a36Sopenharmony_ci}; 86362306a36Sopenharmony_cistatic const char * const phase_flag16_groups[] = { 86462306a36Sopenharmony_ci "gpio47", 86562306a36Sopenharmony_ci}; 86662306a36Sopenharmony_cistatic const char * const phase_flag17_groups[] = { 86762306a36Sopenharmony_ci "gpio48", 86862306a36Sopenharmony_ci}; 86962306a36Sopenharmony_cistatic const char * const phase_flag18_groups[] = { 87062306a36Sopenharmony_ci "gpio49", 87162306a36Sopenharmony_ci}; 87262306a36Sopenharmony_cistatic const char * const phase_flag19_groups[] = { 87362306a36Sopenharmony_ci "gpio50", 87462306a36Sopenharmony_ci}; 87562306a36Sopenharmony_cistatic const char * const phase_flag2_groups[] = { 87662306a36Sopenharmony_ci "gpio18", 87762306a36Sopenharmony_ci}; 87862306a36Sopenharmony_cistatic const char * const phase_flag20_groups[] = { 87962306a36Sopenharmony_ci "gpio51", 88062306a36Sopenharmony_ci}; 88162306a36Sopenharmony_cistatic const char * const phase_flag21_groups[] = { 88262306a36Sopenharmony_ci "gpio52", 88362306a36Sopenharmony_ci}; 88462306a36Sopenharmony_cistatic const char * const phase_flag22_groups[] = { 88562306a36Sopenharmony_ci "gpio53", 88662306a36Sopenharmony_ci}; 88762306a36Sopenharmony_cistatic const char * const phase_flag23_groups[] = { 88862306a36Sopenharmony_ci "gpio56", 88962306a36Sopenharmony_ci}; 89062306a36Sopenharmony_cistatic const char * const phase_flag24_groups[] = { 89162306a36Sopenharmony_ci "gpio57", 89262306a36Sopenharmony_ci}; 89362306a36Sopenharmony_cistatic const char * const phase_flag25_groups[] = { 89462306a36Sopenharmony_ci "gpio60", 89562306a36Sopenharmony_ci}; 89662306a36Sopenharmony_cistatic const char * const phase_flag26_groups[] = { 89762306a36Sopenharmony_ci "gpio61", 89862306a36Sopenharmony_ci}; 89962306a36Sopenharmony_cistatic const char * const phase_flag27_groups[] = { 90062306a36Sopenharmony_ci "gpio62", 90162306a36Sopenharmony_ci}; 90262306a36Sopenharmony_cistatic const char * const phase_flag28_groups[] = { 90362306a36Sopenharmony_ci "gpio63", 90462306a36Sopenharmony_ci}; 90562306a36Sopenharmony_cistatic const char * const phase_flag29_groups[] = { 90662306a36Sopenharmony_ci "gpio64", 90762306a36Sopenharmony_ci}; 90862306a36Sopenharmony_cistatic const char * const phase_flag3_groups[] = { 90962306a36Sopenharmony_ci "gpio34", 91062306a36Sopenharmony_ci}; 91162306a36Sopenharmony_cistatic const char * const phase_flag30_groups[] = { 91262306a36Sopenharmony_ci "gpio67", 91362306a36Sopenharmony_ci}; 91462306a36Sopenharmony_cistatic const char * const phase_flag31_groups[] = { 91562306a36Sopenharmony_ci "gpio68", 91662306a36Sopenharmony_ci}; 91762306a36Sopenharmony_cistatic const char * const phase_flag4_groups[] = { 91862306a36Sopenharmony_ci "gpio35", 91962306a36Sopenharmony_ci}; 92062306a36Sopenharmony_cistatic const char * const phase_flag5_groups[] = { 92162306a36Sopenharmony_ci "gpio36", 92262306a36Sopenharmony_ci}; 92362306a36Sopenharmony_cistatic const char * const phase_flag6_groups[] = { 92462306a36Sopenharmony_ci "gpio37", 92562306a36Sopenharmony_ci}; 92662306a36Sopenharmony_cistatic const char * const phase_flag7_groups[] = { 92762306a36Sopenharmony_ci "gpio38", 92862306a36Sopenharmony_ci}; 92962306a36Sopenharmony_cistatic const char * const phase_flag8_groups[] = { 93062306a36Sopenharmony_ci "gpio39", 93162306a36Sopenharmony_ci}; 93262306a36Sopenharmony_cistatic const char * const phase_flag9_groups[] = { 93362306a36Sopenharmony_ci "gpio40", 93462306a36Sopenharmony_ci}; 93562306a36Sopenharmony_cistatic const char * const pll_bypassnl_groups[] = { 93662306a36Sopenharmony_ci "gpio13", 93762306a36Sopenharmony_ci}; 93862306a36Sopenharmony_cistatic const char * const pll_clk_groups[] = { 93962306a36Sopenharmony_ci "gpio98", 94062306a36Sopenharmony_ci}; 94162306a36Sopenharmony_cistatic const char * const pll_reset_groups[] = { 94262306a36Sopenharmony_ci "gpio14", 94362306a36Sopenharmony_ci}; 94462306a36Sopenharmony_cistatic const char * const prng_rosc0_groups[] = { 94562306a36Sopenharmony_ci "gpio97", 94662306a36Sopenharmony_ci}; 94762306a36Sopenharmony_cistatic const char * const prng_rosc1_groups[] = { 94862306a36Sopenharmony_ci "gpio98", 94962306a36Sopenharmony_ci}; 95062306a36Sopenharmony_cistatic const char * const prng_rosc2_groups[] = { 95162306a36Sopenharmony_ci "gpio99", 95262306a36Sopenharmony_ci}; 95362306a36Sopenharmony_cistatic const char * const prng_rosc3_groups[] = { 95462306a36Sopenharmony_ci "gpio100", 95562306a36Sopenharmony_ci}; 95662306a36Sopenharmony_cistatic const char * const qdss_cti_groups[] = { 95762306a36Sopenharmony_ci "gpio2", "gpio3", "gpio6", "gpio7", "gpio61", "gpio62", "gpio86", 95862306a36Sopenharmony_ci "gpio87", 95962306a36Sopenharmony_ci}; 96062306a36Sopenharmony_cistatic const char * const qdss_gpio_groups[] = { 96162306a36Sopenharmony_ci "gpio8", "gpio9", "gpio63", "gpio64", 96262306a36Sopenharmony_ci}; 96362306a36Sopenharmony_cistatic const char * const qdss_gpio0_groups[] = { 96462306a36Sopenharmony_ci "gpio39", "gpio65", 96562306a36Sopenharmony_ci}; 96662306a36Sopenharmony_cistatic const char * const qdss_gpio1_groups[] = { 96762306a36Sopenharmony_ci "gpio40", "gpio66", 96862306a36Sopenharmony_ci}; 96962306a36Sopenharmony_cistatic const char * const qdss_gpio10_groups[] = { 97062306a36Sopenharmony_ci "gpio50", "gpio56", 97162306a36Sopenharmony_ci}; 97262306a36Sopenharmony_cistatic const char * const qdss_gpio11_groups[] = { 97362306a36Sopenharmony_ci "gpio51", "gpio57", 97462306a36Sopenharmony_ci}; 97562306a36Sopenharmony_cistatic const char * const qdss_gpio12_groups[] = { 97662306a36Sopenharmony_ci "gpio34", "gpio52", 97762306a36Sopenharmony_ci}; 97862306a36Sopenharmony_cistatic const char * const qdss_gpio13_groups[] = { 97962306a36Sopenharmony_ci "gpio35", "gpio53", 98062306a36Sopenharmony_ci}; 98162306a36Sopenharmony_cistatic const char * const qdss_gpio14_groups[] = { 98262306a36Sopenharmony_ci "gpio27", "gpio36", 98362306a36Sopenharmony_ci}; 98462306a36Sopenharmony_cistatic const char * const qdss_gpio15_groups[] = { 98562306a36Sopenharmony_ci "gpio28", "gpio37", 98662306a36Sopenharmony_ci}; 98762306a36Sopenharmony_cistatic const char * const qdss_gpio2_groups[] = { 98862306a36Sopenharmony_ci "gpio38", "gpio41", 98962306a36Sopenharmony_ci}; 99062306a36Sopenharmony_cistatic const char * const qdss_gpio3_groups[] = { 99162306a36Sopenharmony_ci "gpio42", "gpio47", 99262306a36Sopenharmony_ci}; 99362306a36Sopenharmony_cistatic const char * const qdss_gpio4_groups[] = { 99462306a36Sopenharmony_ci "gpio43", "gpio88", 99562306a36Sopenharmony_ci}; 99662306a36Sopenharmony_cistatic const char * const qdss_gpio5_groups[] = { 99762306a36Sopenharmony_ci "gpio44", "gpio89", 99862306a36Sopenharmony_ci}; 99962306a36Sopenharmony_cistatic const char * const qdss_gpio6_groups[] = { 100062306a36Sopenharmony_ci "gpio45", "gpio90", 100162306a36Sopenharmony_ci}; 100262306a36Sopenharmony_cistatic const char * const qdss_gpio7_groups[] = { 100362306a36Sopenharmony_ci "gpio46", "gpio91", 100462306a36Sopenharmony_ci}; 100562306a36Sopenharmony_cistatic const char * const qdss_gpio8_groups[] = { 100662306a36Sopenharmony_ci "gpio48", "gpio92", 100762306a36Sopenharmony_ci}; 100862306a36Sopenharmony_cistatic const char * const qdss_gpio9_groups[] = { 100962306a36Sopenharmony_ci "gpio49", "gpio93", 101062306a36Sopenharmony_ci}; 101162306a36Sopenharmony_cistatic const char * const qlink0_enable_groups[] = { 101262306a36Sopenharmony_ci "gpio105", 101362306a36Sopenharmony_ci}; 101462306a36Sopenharmony_cistatic const char * const qlink0_request_groups[] = { 101562306a36Sopenharmony_ci "gpio104", 101662306a36Sopenharmony_ci}; 101762306a36Sopenharmony_cistatic const char * const qlink1_enable_groups[] = { 101862306a36Sopenharmony_ci "gpio108", 101962306a36Sopenharmony_ci}; 102062306a36Sopenharmony_cistatic const char * const qlink1_request_groups[] = { 102162306a36Sopenharmony_ci "gpio107", 102262306a36Sopenharmony_ci}; 102362306a36Sopenharmony_cistatic const char * const qup00_groups[] = { 102462306a36Sopenharmony_ci "gpio0", "gpio1", "gpio2", "gpio3", 102562306a36Sopenharmony_ci}; 102662306a36Sopenharmony_cistatic const char * const qup01_groups[] = { 102762306a36Sopenharmony_ci "gpio61", "gpio62", "gpio63", "gpio64", 102862306a36Sopenharmony_ci}; 102962306a36Sopenharmony_cistatic const char * const qup02_groups[] = { 103062306a36Sopenharmony_ci "gpio45", "gpio46", "gpio48", "gpio56", "gpio57", 103162306a36Sopenharmony_ci}; 103262306a36Sopenharmony_cistatic const char * const qup10_groups[] = { 103362306a36Sopenharmony_ci "gpio13", "gpio14", "gpio15", "gpio16", "gpio17", 103462306a36Sopenharmony_ci}; 103562306a36Sopenharmony_cistatic const char * const qup11_f1_groups[] = { 103662306a36Sopenharmony_ci "gpio27", "gpio28", 103762306a36Sopenharmony_ci}; 103862306a36Sopenharmony_cistatic const char * const qup11_f2_groups[] = { 103962306a36Sopenharmony_ci "gpio27", "gpio28", 104062306a36Sopenharmony_ci}; 104162306a36Sopenharmony_ci 104262306a36Sopenharmony_cistatic const char * const qup12_groups[] = { 104362306a36Sopenharmony_ci "gpio19", "gpio19", "gpio20", "gpio20", 104462306a36Sopenharmony_ci}; 104562306a36Sopenharmony_cistatic const char * const qup13_f1_groups[] = { 104662306a36Sopenharmony_ci "gpio25", "gpio26", 104762306a36Sopenharmony_ci}; 104862306a36Sopenharmony_cistatic const char * const qup13_f2_groups[] = { 104962306a36Sopenharmony_ci "gpio25", "gpio26", 105062306a36Sopenharmony_ci}; 105162306a36Sopenharmony_cistatic const char * const qup14_groups[] = { 105262306a36Sopenharmony_ci "gpio4", "gpio4", "gpio5", "gpio5", 105362306a36Sopenharmony_ci}; 105462306a36Sopenharmony_cistatic const char * const sd_write_groups[] = { 105562306a36Sopenharmony_ci "gpio85", 105662306a36Sopenharmony_ci}; 105762306a36Sopenharmony_cistatic const char * const sdc1_tb_groups[] = { 105862306a36Sopenharmony_ci "gpio4", 105962306a36Sopenharmony_ci}; 106062306a36Sopenharmony_cistatic const char * const sdc2_tb_groups[] = { 106162306a36Sopenharmony_ci "gpio5", 106262306a36Sopenharmony_ci}; 106362306a36Sopenharmony_cistatic const char * const sp_cmu_groups[] = { 106462306a36Sopenharmony_ci "gpio3", 106562306a36Sopenharmony_ci}; 106662306a36Sopenharmony_cistatic const char * const tgu_ch0_groups[] = { 106762306a36Sopenharmony_ci "gpio61", 106862306a36Sopenharmony_ci}; 106962306a36Sopenharmony_cistatic const char * const tgu_ch1_groups[] = { 107062306a36Sopenharmony_ci "gpio62", 107162306a36Sopenharmony_ci}; 107262306a36Sopenharmony_cistatic const char * const tgu_ch2_groups[] = { 107362306a36Sopenharmony_ci "gpio63", 107462306a36Sopenharmony_ci}; 107562306a36Sopenharmony_cistatic const char * const tgu_ch3_groups[] = { 107662306a36Sopenharmony_ci "gpio64", 107762306a36Sopenharmony_ci}; 107862306a36Sopenharmony_cistatic const char * const tsense_pwm1_groups[] = { 107962306a36Sopenharmony_ci "gpio88", 108062306a36Sopenharmony_ci}; 108162306a36Sopenharmony_cistatic const char * const tsense_pwm2_groups[] = { 108262306a36Sopenharmony_ci "gpio88", 108362306a36Sopenharmony_ci}; 108462306a36Sopenharmony_cistatic const char * const uim1_clk_groups[] = { 108562306a36Sopenharmony_ci "gpio80", 108662306a36Sopenharmony_ci}; 108762306a36Sopenharmony_cistatic const char * const uim1_data_groups[] = { 108862306a36Sopenharmony_ci "gpio79", 108962306a36Sopenharmony_ci}; 109062306a36Sopenharmony_cistatic const char * const uim1_present_groups[] = { 109162306a36Sopenharmony_ci "gpio82", 109262306a36Sopenharmony_ci}; 109362306a36Sopenharmony_cistatic const char * const uim1_reset_groups[] = { 109462306a36Sopenharmony_ci "gpio81", 109562306a36Sopenharmony_ci}; 109662306a36Sopenharmony_cistatic const char * const uim2_clk_groups[] = { 109762306a36Sopenharmony_ci "gpio76", 109862306a36Sopenharmony_ci}; 109962306a36Sopenharmony_cistatic const char * const uim2_data_groups[] = { 110062306a36Sopenharmony_ci "gpio75", 110162306a36Sopenharmony_ci}; 110262306a36Sopenharmony_cistatic const char * const uim2_present_groups[] = { 110362306a36Sopenharmony_ci "gpio78", 110462306a36Sopenharmony_ci}; 110562306a36Sopenharmony_cistatic const char * const uim2_reset_groups[] = { 110662306a36Sopenharmony_ci "gpio77", 110762306a36Sopenharmony_ci}; 110862306a36Sopenharmony_cistatic const char * const usb2phy_ac_groups[] = { 110962306a36Sopenharmony_ci "gpio47", 111062306a36Sopenharmony_ci}; 111162306a36Sopenharmony_cistatic const char * const vfr_1_groups[] = { 111262306a36Sopenharmony_ci "gpio49", 111362306a36Sopenharmony_ci}; 111462306a36Sopenharmony_cistatic const char * const vsense_trigger_groups[] = { 111562306a36Sopenharmony_ci "gpio89", 111662306a36Sopenharmony_ci}; 111762306a36Sopenharmony_cistatic const char * const wlan1_adc0_groups[] = { 111862306a36Sopenharmony_ci "gpio90", 111962306a36Sopenharmony_ci}; 112062306a36Sopenharmony_cistatic const char * const wlan1_adc1_groups[] = { 112162306a36Sopenharmony_ci "gpio92", 112262306a36Sopenharmony_ci}; 112362306a36Sopenharmony_cistatic const char * const wlan2_adc0_groups[] = { 112462306a36Sopenharmony_ci "gpio91", 112562306a36Sopenharmony_ci}; 112662306a36Sopenharmony_cistatic const char * const wlan2_adc1_groups[] = { 112762306a36Sopenharmony_ci "gpio93", 112862306a36Sopenharmony_ci}; 112962306a36Sopenharmony_ci 113062306a36Sopenharmony_cistatic const struct pinfunction sm6375_functions[] = { 113162306a36Sopenharmony_ci MSM_PIN_FUNCTION(adsp_ext), 113262306a36Sopenharmony_ci MSM_PIN_FUNCTION(agera_pll), 113362306a36Sopenharmony_ci MSM_PIN_FUNCTION(atest_char), 113462306a36Sopenharmony_ci MSM_PIN_FUNCTION(atest_char0), 113562306a36Sopenharmony_ci MSM_PIN_FUNCTION(atest_char1), 113662306a36Sopenharmony_ci MSM_PIN_FUNCTION(atest_char2), 113762306a36Sopenharmony_ci MSM_PIN_FUNCTION(atest_char3), 113862306a36Sopenharmony_ci MSM_PIN_FUNCTION(atest_tsens), 113962306a36Sopenharmony_ci MSM_PIN_FUNCTION(atest_tsens2), 114062306a36Sopenharmony_ci MSM_PIN_FUNCTION(atest_usb1), 114162306a36Sopenharmony_ci MSM_PIN_FUNCTION(atest_usb10), 114262306a36Sopenharmony_ci MSM_PIN_FUNCTION(atest_usb11), 114362306a36Sopenharmony_ci MSM_PIN_FUNCTION(atest_usb12), 114462306a36Sopenharmony_ci MSM_PIN_FUNCTION(atest_usb13), 114562306a36Sopenharmony_ci MSM_PIN_FUNCTION(atest_usb2), 114662306a36Sopenharmony_ci MSM_PIN_FUNCTION(atest_usb20), 114762306a36Sopenharmony_ci MSM_PIN_FUNCTION(atest_usb21), 114862306a36Sopenharmony_ci MSM_PIN_FUNCTION(atest_usb22), 114962306a36Sopenharmony_ci MSM_PIN_FUNCTION(atest_usb23), 115062306a36Sopenharmony_ci MSM_PIN_FUNCTION(audio_ref), 115162306a36Sopenharmony_ci MSM_PIN_FUNCTION(btfm_slimbus), 115262306a36Sopenharmony_ci MSM_PIN_FUNCTION(cam_mclk), 115362306a36Sopenharmony_ci MSM_PIN_FUNCTION(cci_async), 115462306a36Sopenharmony_ci MSM_PIN_FUNCTION(cci_i2c), 115562306a36Sopenharmony_ci MSM_PIN_FUNCTION(cci_timer0), 115662306a36Sopenharmony_ci MSM_PIN_FUNCTION(cci_timer1), 115762306a36Sopenharmony_ci MSM_PIN_FUNCTION(cci_timer2), 115862306a36Sopenharmony_ci MSM_PIN_FUNCTION(cci_timer3), 115962306a36Sopenharmony_ci MSM_PIN_FUNCTION(cci_timer4), 116062306a36Sopenharmony_ci MSM_PIN_FUNCTION(cri_trng), 116162306a36Sopenharmony_ci MSM_PIN_FUNCTION(dbg_out), 116262306a36Sopenharmony_ci MSM_PIN_FUNCTION(ddr_bist), 116362306a36Sopenharmony_ci MSM_PIN_FUNCTION(ddr_pxi0), 116462306a36Sopenharmony_ci MSM_PIN_FUNCTION(ddr_pxi1), 116562306a36Sopenharmony_ci MSM_PIN_FUNCTION(ddr_pxi2), 116662306a36Sopenharmony_ci MSM_PIN_FUNCTION(ddr_pxi3), 116762306a36Sopenharmony_ci MSM_PIN_FUNCTION(dp_hot), 116862306a36Sopenharmony_ci MSM_PIN_FUNCTION(edp_lcd), 116962306a36Sopenharmony_ci MSM_PIN_FUNCTION(gcc_gp1), 117062306a36Sopenharmony_ci MSM_PIN_FUNCTION(gcc_gp2), 117162306a36Sopenharmony_ci MSM_PIN_FUNCTION(gcc_gp3), 117262306a36Sopenharmony_ci MSM_PIN_FUNCTION(gp_pdm0), 117362306a36Sopenharmony_ci MSM_PIN_FUNCTION(gp_pdm1), 117462306a36Sopenharmony_ci MSM_PIN_FUNCTION(gp_pdm2), 117562306a36Sopenharmony_ci MSM_PIN_FUNCTION(gpio), 117662306a36Sopenharmony_ci MSM_PIN_FUNCTION(gps_tx), 117762306a36Sopenharmony_ci MSM_PIN_FUNCTION(ibi_i3c), 117862306a36Sopenharmony_ci MSM_PIN_FUNCTION(jitter_bist), 117962306a36Sopenharmony_ci MSM_PIN_FUNCTION(ldo_en), 118062306a36Sopenharmony_ci MSM_PIN_FUNCTION(ldo_update), 118162306a36Sopenharmony_ci MSM_PIN_FUNCTION(lpass_ext), 118262306a36Sopenharmony_ci MSM_PIN_FUNCTION(m_voc), 118362306a36Sopenharmony_ci MSM_PIN_FUNCTION(mclk), 118462306a36Sopenharmony_ci MSM_PIN_FUNCTION(mdp_vsync), 118562306a36Sopenharmony_ci MSM_PIN_FUNCTION(mdp_vsync0), 118662306a36Sopenharmony_ci MSM_PIN_FUNCTION(mdp_vsync1), 118762306a36Sopenharmony_ci MSM_PIN_FUNCTION(mdp_vsync2), 118862306a36Sopenharmony_ci MSM_PIN_FUNCTION(mdp_vsync3), 118962306a36Sopenharmony_ci MSM_PIN_FUNCTION(mi2s_0), 119062306a36Sopenharmony_ci MSM_PIN_FUNCTION(mi2s_1), 119162306a36Sopenharmony_ci MSM_PIN_FUNCTION(mi2s_2), 119262306a36Sopenharmony_ci MSM_PIN_FUNCTION(mss_lte), 119362306a36Sopenharmony_ci MSM_PIN_FUNCTION(nav_gpio), 119462306a36Sopenharmony_ci MSM_PIN_FUNCTION(nav_pps), 119562306a36Sopenharmony_ci MSM_PIN_FUNCTION(pa_indicator), 119662306a36Sopenharmony_ci MSM_PIN_FUNCTION(phase_flag0), 119762306a36Sopenharmony_ci MSM_PIN_FUNCTION(phase_flag1), 119862306a36Sopenharmony_ci MSM_PIN_FUNCTION(phase_flag10), 119962306a36Sopenharmony_ci MSM_PIN_FUNCTION(phase_flag11), 120062306a36Sopenharmony_ci MSM_PIN_FUNCTION(phase_flag12), 120162306a36Sopenharmony_ci MSM_PIN_FUNCTION(phase_flag13), 120262306a36Sopenharmony_ci MSM_PIN_FUNCTION(phase_flag14), 120362306a36Sopenharmony_ci MSM_PIN_FUNCTION(phase_flag15), 120462306a36Sopenharmony_ci MSM_PIN_FUNCTION(phase_flag16), 120562306a36Sopenharmony_ci MSM_PIN_FUNCTION(phase_flag17), 120662306a36Sopenharmony_ci MSM_PIN_FUNCTION(phase_flag18), 120762306a36Sopenharmony_ci MSM_PIN_FUNCTION(phase_flag19), 120862306a36Sopenharmony_ci MSM_PIN_FUNCTION(phase_flag2), 120962306a36Sopenharmony_ci MSM_PIN_FUNCTION(phase_flag20), 121062306a36Sopenharmony_ci MSM_PIN_FUNCTION(phase_flag21), 121162306a36Sopenharmony_ci MSM_PIN_FUNCTION(phase_flag22), 121262306a36Sopenharmony_ci MSM_PIN_FUNCTION(phase_flag23), 121362306a36Sopenharmony_ci MSM_PIN_FUNCTION(phase_flag24), 121462306a36Sopenharmony_ci MSM_PIN_FUNCTION(phase_flag25), 121562306a36Sopenharmony_ci MSM_PIN_FUNCTION(phase_flag26), 121662306a36Sopenharmony_ci MSM_PIN_FUNCTION(phase_flag27), 121762306a36Sopenharmony_ci MSM_PIN_FUNCTION(phase_flag28), 121862306a36Sopenharmony_ci MSM_PIN_FUNCTION(phase_flag29), 121962306a36Sopenharmony_ci MSM_PIN_FUNCTION(phase_flag3), 122062306a36Sopenharmony_ci MSM_PIN_FUNCTION(phase_flag30), 122162306a36Sopenharmony_ci MSM_PIN_FUNCTION(phase_flag31), 122262306a36Sopenharmony_ci MSM_PIN_FUNCTION(phase_flag4), 122362306a36Sopenharmony_ci MSM_PIN_FUNCTION(phase_flag5), 122462306a36Sopenharmony_ci MSM_PIN_FUNCTION(phase_flag6), 122562306a36Sopenharmony_ci MSM_PIN_FUNCTION(phase_flag7), 122662306a36Sopenharmony_ci MSM_PIN_FUNCTION(phase_flag8), 122762306a36Sopenharmony_ci MSM_PIN_FUNCTION(phase_flag9), 122862306a36Sopenharmony_ci MSM_PIN_FUNCTION(pll_bist), 122962306a36Sopenharmony_ci MSM_PIN_FUNCTION(pll_bypassnl), 123062306a36Sopenharmony_ci MSM_PIN_FUNCTION(pll_clk), 123162306a36Sopenharmony_ci MSM_PIN_FUNCTION(pll_reset), 123262306a36Sopenharmony_ci MSM_PIN_FUNCTION(prng_rosc0), 123362306a36Sopenharmony_ci MSM_PIN_FUNCTION(prng_rosc1), 123462306a36Sopenharmony_ci MSM_PIN_FUNCTION(prng_rosc2), 123562306a36Sopenharmony_ci MSM_PIN_FUNCTION(prng_rosc3), 123662306a36Sopenharmony_ci MSM_PIN_FUNCTION(qdss_cti), 123762306a36Sopenharmony_ci MSM_PIN_FUNCTION(qdss_gpio), 123862306a36Sopenharmony_ci MSM_PIN_FUNCTION(qdss_gpio0), 123962306a36Sopenharmony_ci MSM_PIN_FUNCTION(qdss_gpio1), 124062306a36Sopenharmony_ci MSM_PIN_FUNCTION(qdss_gpio10), 124162306a36Sopenharmony_ci MSM_PIN_FUNCTION(qdss_gpio11), 124262306a36Sopenharmony_ci MSM_PIN_FUNCTION(qdss_gpio12), 124362306a36Sopenharmony_ci MSM_PIN_FUNCTION(qdss_gpio13), 124462306a36Sopenharmony_ci MSM_PIN_FUNCTION(qdss_gpio14), 124562306a36Sopenharmony_ci MSM_PIN_FUNCTION(qdss_gpio15), 124662306a36Sopenharmony_ci MSM_PIN_FUNCTION(qdss_gpio2), 124762306a36Sopenharmony_ci MSM_PIN_FUNCTION(qdss_gpio3), 124862306a36Sopenharmony_ci MSM_PIN_FUNCTION(qdss_gpio4), 124962306a36Sopenharmony_ci MSM_PIN_FUNCTION(qdss_gpio5), 125062306a36Sopenharmony_ci MSM_PIN_FUNCTION(qdss_gpio6), 125162306a36Sopenharmony_ci MSM_PIN_FUNCTION(qdss_gpio7), 125262306a36Sopenharmony_ci MSM_PIN_FUNCTION(qdss_gpio8), 125362306a36Sopenharmony_ci MSM_PIN_FUNCTION(qdss_gpio9), 125462306a36Sopenharmony_ci MSM_PIN_FUNCTION(qlink0_enable), 125562306a36Sopenharmony_ci MSM_PIN_FUNCTION(qlink0_request), 125662306a36Sopenharmony_ci MSM_PIN_FUNCTION(qlink0_wmss), 125762306a36Sopenharmony_ci MSM_PIN_FUNCTION(qlink1_enable), 125862306a36Sopenharmony_ci MSM_PIN_FUNCTION(qlink1_request), 125962306a36Sopenharmony_ci MSM_PIN_FUNCTION(qlink1_wmss), 126062306a36Sopenharmony_ci MSM_PIN_FUNCTION(qup00), 126162306a36Sopenharmony_ci MSM_PIN_FUNCTION(qup01), 126262306a36Sopenharmony_ci MSM_PIN_FUNCTION(qup02), 126362306a36Sopenharmony_ci MSM_PIN_FUNCTION(qup10), 126462306a36Sopenharmony_ci MSM_PIN_FUNCTION(qup11_f1), 126562306a36Sopenharmony_ci MSM_PIN_FUNCTION(qup11_f2), 126662306a36Sopenharmony_ci MSM_PIN_FUNCTION(qup12), 126762306a36Sopenharmony_ci MSM_PIN_FUNCTION(qup13_f1), 126862306a36Sopenharmony_ci MSM_PIN_FUNCTION(qup13_f2), 126962306a36Sopenharmony_ci MSM_PIN_FUNCTION(qup14), 127062306a36Sopenharmony_ci MSM_PIN_FUNCTION(sd_write), 127162306a36Sopenharmony_ci MSM_PIN_FUNCTION(sdc1_tb), 127262306a36Sopenharmony_ci MSM_PIN_FUNCTION(sdc2_tb), 127362306a36Sopenharmony_ci MSM_PIN_FUNCTION(sp_cmu), 127462306a36Sopenharmony_ci MSM_PIN_FUNCTION(tgu_ch0), 127562306a36Sopenharmony_ci MSM_PIN_FUNCTION(tgu_ch1), 127662306a36Sopenharmony_ci MSM_PIN_FUNCTION(tgu_ch2), 127762306a36Sopenharmony_ci MSM_PIN_FUNCTION(tgu_ch3), 127862306a36Sopenharmony_ci MSM_PIN_FUNCTION(tsense_pwm1), 127962306a36Sopenharmony_ci MSM_PIN_FUNCTION(tsense_pwm2), 128062306a36Sopenharmony_ci MSM_PIN_FUNCTION(uim1_clk), 128162306a36Sopenharmony_ci MSM_PIN_FUNCTION(uim1_data), 128262306a36Sopenharmony_ci MSM_PIN_FUNCTION(uim1_present), 128362306a36Sopenharmony_ci MSM_PIN_FUNCTION(uim1_reset), 128462306a36Sopenharmony_ci MSM_PIN_FUNCTION(uim2_clk), 128562306a36Sopenharmony_ci MSM_PIN_FUNCTION(uim2_data), 128662306a36Sopenharmony_ci MSM_PIN_FUNCTION(uim2_present), 128762306a36Sopenharmony_ci MSM_PIN_FUNCTION(uim2_reset), 128862306a36Sopenharmony_ci MSM_PIN_FUNCTION(usb2phy_ac), 128962306a36Sopenharmony_ci MSM_PIN_FUNCTION(usb_phy), 129062306a36Sopenharmony_ci MSM_PIN_FUNCTION(vfr_1), 129162306a36Sopenharmony_ci MSM_PIN_FUNCTION(vsense_trigger), 129262306a36Sopenharmony_ci MSM_PIN_FUNCTION(wlan1_adc0), 129362306a36Sopenharmony_ci MSM_PIN_FUNCTION(wlan1_adc1), 129462306a36Sopenharmony_ci MSM_PIN_FUNCTION(wlan2_adc0), 129562306a36Sopenharmony_ci MSM_PIN_FUNCTION(wlan2_adc1), 129662306a36Sopenharmony_ci}; 129762306a36Sopenharmony_ci 129862306a36Sopenharmony_ci/* 129962306a36Sopenharmony_ci * Every pin is maintained as a single group, and missing or non-existing pin 130062306a36Sopenharmony_ci * would be maintained as dummy group to synchronize pin group index with 130162306a36Sopenharmony_ci * pin descriptor registered with pinctrl core. 130262306a36Sopenharmony_ci * Clients would not be able to request these dummy pin groups. 130362306a36Sopenharmony_ci */ 130462306a36Sopenharmony_cistatic const struct msm_pingroup sm6375_groups[] = { 130562306a36Sopenharmony_ci [0] = PINGROUP(0, ibi_i3c, qup00, cri_trng, _, _, _, _, _, _), 130662306a36Sopenharmony_ci [1] = PINGROUP(1, ibi_i3c, qup00, cri_trng, _, _, _, _, _, _), 130762306a36Sopenharmony_ci [2] = PINGROUP(2, qup00, cci_i2c, cri_trng, qdss_cti, _, _, _, _, _), 130862306a36Sopenharmony_ci [3] = PINGROUP(3, qup00, cci_i2c, sp_cmu, dbg_out, qdss_cti, _, _, _, _), 130962306a36Sopenharmony_ci [4] = PINGROUP(4, qup14, qup14, sdc1_tb, _, _, _, _, _, _), 131062306a36Sopenharmony_ci [5] = PINGROUP(5, qup14, qup14, sdc2_tb, _, _, _, _, _, _), 131162306a36Sopenharmony_ci [6] = PINGROUP(6, mdp_vsync, qdss_cti, _, _, _, _, _, _, _), 131262306a36Sopenharmony_ci [7] = PINGROUP(7, qdss_cti, _, _, _, _, _, _, _, _), 131362306a36Sopenharmony_ci [8] = PINGROUP(8, gp_pdm1, qdss_gpio, _, _, _, _, _, _, _), 131462306a36Sopenharmony_ci [9] = PINGROUP(9, qdss_gpio, _, _, _, _, _, _, _, _), 131562306a36Sopenharmony_ci [10] = PINGROUP(10, _, _, _, _, _, _, _, _, _), 131662306a36Sopenharmony_ci [11] = PINGROUP(11, _, _, _, _, _, _, _, _, _), 131762306a36Sopenharmony_ci [12] = PINGROUP(12, m_voc, dp_hot, _, phase_flag0, _, _, _, _, _), 131862306a36Sopenharmony_ci [13] = PINGROUP(13, qup10, pll_bypassnl, _, _, _, _, _, _, _), 131962306a36Sopenharmony_ci [14] = PINGROUP(14, qup10, pll_reset, _, _, _, _, _, _, _), 132062306a36Sopenharmony_ci [15] = PINGROUP(15, qup10, _, _, _, _, _, _, _, _), 132162306a36Sopenharmony_ci [16] = PINGROUP(16, qup10, _, _, _, _, _, _, _, _), 132262306a36Sopenharmony_ci [17] = PINGROUP(17, _, phase_flag1, qup10, _, _, _, _, _, _), 132362306a36Sopenharmony_ci [18] = PINGROUP(18, _, phase_flag2, _, _, _, _, _, _, _), 132462306a36Sopenharmony_ci [19] = PINGROUP(19, qup12, qup12, ddr_bist, _, _, _, _, _, _), 132562306a36Sopenharmony_ci [20] = PINGROUP(20, qup12, qup12, ddr_bist, _, _, _, _, _, _), 132662306a36Sopenharmony_ci [21] = PINGROUP(21, gcc_gp2, ddr_bist, _, _, _, _, _, _, _), 132762306a36Sopenharmony_ci [22] = PINGROUP(22, gcc_gp3, ddr_bist, _, _, _, _, _, _, _), 132862306a36Sopenharmony_ci [23] = PINGROUP(23, mdp_vsync, edp_lcd, _, _, _, _, _, _, _), 132962306a36Sopenharmony_ci [24] = PINGROUP(24, mdp_vsync, _, _, _, _, _, _, _, _), 133062306a36Sopenharmony_ci [25] = PINGROUP(25, qup13_f1, qup13_f2, _, _, _, _, _, _, _), 133162306a36Sopenharmony_ci [26] = PINGROUP(26, qup13_f1, qup13_f2, _, _, _, _, _, _, _), 133262306a36Sopenharmony_ci [27] = PINGROUP(27, qup11_f1, qup11_f2, mdp_vsync, pll_bist, _, qdss_gpio14, _, _, _), 133362306a36Sopenharmony_ci [28] = PINGROUP(28, qup11_f1, qup11_f2, mdp_vsync, _, qdss_gpio15, _, _, _, _), 133462306a36Sopenharmony_ci [29] = PINGROUP(29, cam_mclk, _, _, _, _, _, _, _, _), 133562306a36Sopenharmony_ci [30] = PINGROUP(30, cam_mclk, _, _, _, _, _, _, _, _), 133662306a36Sopenharmony_ci [31] = PINGROUP(31, cam_mclk, _, _, _, _, _, _, _, _), 133762306a36Sopenharmony_ci [32] = PINGROUP(32, cam_mclk, _, _, _, _, _, _, _, _), 133862306a36Sopenharmony_ci [33] = PINGROUP(33, cam_mclk, _, _, _, _, _, _, _, _), 133962306a36Sopenharmony_ci [34] = PINGROUP(34, cci_timer0, _, phase_flag3, qdss_gpio12, _, _, _, _, _), 134062306a36Sopenharmony_ci [35] = PINGROUP(35, cci_timer1, cci_async, _, phase_flag4, qdss_gpio13, _, _, _, _), 134162306a36Sopenharmony_ci [36] = PINGROUP(36, cci_timer2, cci_async, _, phase_flag5, qdss_gpio14, _, _, _, _), 134262306a36Sopenharmony_ci [37] = PINGROUP(37, cci_timer3, gp_pdm0, _, phase_flag6, qdss_gpio15, _, _, _, _), 134362306a36Sopenharmony_ci [38] = PINGROUP(38, cci_timer4, _, phase_flag7, qdss_gpio2, _, _, _, _, _), 134462306a36Sopenharmony_ci [39] = PINGROUP(39, cci_i2c, _, phase_flag8, qdss_gpio0, _, _, _, _, _), 134562306a36Sopenharmony_ci [40] = PINGROUP(40, cci_i2c, _, phase_flag9, qdss_gpio1, _, _, _, _, _), 134662306a36Sopenharmony_ci [41] = PINGROUP(41, cci_i2c, _, phase_flag10, qdss_gpio2, _, _, _, _, _), 134762306a36Sopenharmony_ci [42] = PINGROUP(42, cci_i2c, _, phase_flag11, qdss_gpio3, _, _, _, _, _), 134862306a36Sopenharmony_ci [43] = PINGROUP(43, cci_i2c, _, phase_flag12, qdss_gpio4, _, _, _, _, _), 134962306a36Sopenharmony_ci [44] = PINGROUP(44, cci_i2c, _, phase_flag13, qdss_gpio5, _, _, _, _, _), 135062306a36Sopenharmony_ci [45] = PINGROUP(45, qup02, _, phase_flag14, qdss_gpio6, _, _, _, _, _), 135162306a36Sopenharmony_ci [46] = PINGROUP(46, qup02, _, phase_flag15, qdss_gpio7, _, _, _, _, _), 135262306a36Sopenharmony_ci [47] = PINGROUP(47, mdp_vsync0, _, phase_flag16, qdss_gpio3, _, _, usb2phy_ac, _, _), 135362306a36Sopenharmony_ci [48] = PINGROUP(48, cci_async, mdp_vsync1, gcc_gp1, _, phase_flag17, qdss_gpio8, qup02, 135462306a36Sopenharmony_ci _, _), 135562306a36Sopenharmony_ci [49] = PINGROUP(49, vfr_1, _, phase_flag18, qdss_gpio9, _, _, _, _, _), 135662306a36Sopenharmony_ci [50] = PINGROUP(50, _, phase_flag19, qdss_gpio10, _, _, _, _, _, _), 135762306a36Sopenharmony_ci [51] = PINGROUP(51, _, phase_flag20, qdss_gpio11, _, _, _, _, _, _), 135862306a36Sopenharmony_ci [52] = PINGROUP(52, cci_async, gp_pdm1, _, phase_flag21, qdss_gpio12, _, _, _, _), 135962306a36Sopenharmony_ci [53] = PINGROUP(53, cci_async, _, phase_flag22, qdss_gpio13, _, _, _, _, _), 136062306a36Sopenharmony_ci [54] = PINGROUP(54, _, _, _, _, _, _, _, _, _), 136162306a36Sopenharmony_ci [55] = PINGROUP(55, _, _, _, _, _, _, _, _, _), 136262306a36Sopenharmony_ci [56] = PINGROUP(56, qup02, mdp_vsync2, _, phase_flag23, qdss_gpio10, _, _, _, _), 136362306a36Sopenharmony_ci [57] = PINGROUP(57, qup02, mdp_vsync3, gp_pdm2, _, phase_flag24, qdss_gpio11, _, _, _), 136462306a36Sopenharmony_ci [58] = PINGROUP(58, gcc_gp1, _, _, _, _, _, _, _, _), 136562306a36Sopenharmony_ci [59] = PINGROUP(59, _, _, _, _, _, _, _, _, _), 136662306a36Sopenharmony_ci [60] = PINGROUP(60, audio_ref, lpass_ext, mi2s_2, _, phase_flag25, _, _, _, _), 136762306a36Sopenharmony_ci [61] = PINGROUP(61, qup01, tgu_ch0, _, phase_flag26, qdss_cti, _, _, _, _), 136862306a36Sopenharmony_ci [62] = PINGROUP(62, qup01, tgu_ch1, _, phase_flag27, qdss_cti, _, _, _, _), 136962306a36Sopenharmony_ci [63] = PINGROUP(63, qup01, tgu_ch2, _, phase_flag28, qdss_gpio, _, _, _, _), 137062306a36Sopenharmony_ci [64] = PINGROUP(64, qup01, tgu_ch3, _, phase_flag29, qdss_gpio, _, _, _, _), 137162306a36Sopenharmony_ci [65] = PINGROUP(65, mss_lte, _, qdss_gpio0, _, _, _, _, _, _), 137262306a36Sopenharmony_ci [66] = PINGROUP(66, mss_lte, _, qdss_gpio1, _, _, _, _, _, _), 137362306a36Sopenharmony_ci [67] = PINGROUP(67, btfm_slimbus, mi2s_1, _, phase_flag30, _, _, _, _, _), 137462306a36Sopenharmony_ci [68] = PINGROUP(68, btfm_slimbus, mi2s_1, gp_pdm0, _, phase_flag31, _, _, _, _), 137562306a36Sopenharmony_ci [69] = PINGROUP(69, _, _, _, _, _, _, _, _, _), 137662306a36Sopenharmony_ci [70] = PINGROUP(70, _, _, _, _, _, _, _, _, _), 137762306a36Sopenharmony_ci [71] = PINGROUP(71, _, _, _, _, _, _, _, _, _), 137862306a36Sopenharmony_ci [72] = PINGROUP(72, _, _, _, _, _, _, _, _, _), 137962306a36Sopenharmony_ci [73] = PINGROUP(73, _, _, _, _, _, _, _, _, _), 138062306a36Sopenharmony_ci [74] = PINGROUP(74, _, _, _, _, _, _, _, _, _), 138162306a36Sopenharmony_ci [75] = PINGROUP(75, uim2_data, _, _, _, _, _, _, _, _), 138262306a36Sopenharmony_ci [76] = PINGROUP(76, uim2_clk, _, _, _, _, _, _, _, _), 138362306a36Sopenharmony_ci [77] = PINGROUP(77, uim2_reset, _, _, _, _, _, _, _, _), 138462306a36Sopenharmony_ci [78] = PINGROUP(78, uim2_present, _, _, _, _, _, _, _, _), 138562306a36Sopenharmony_ci [79] = PINGROUP(79, uim1_data, _, _, _, _, _, _, _, _), 138662306a36Sopenharmony_ci [80] = PINGROUP(80, uim1_clk, _, _, _, _, _, _, _, _), 138762306a36Sopenharmony_ci [81] = PINGROUP(81, uim1_reset, _, _, _, _, _, _, _, _), 138862306a36Sopenharmony_ci [82] = PINGROUP(82, uim1_present, _, _, _, _, _, _, _, _), 138962306a36Sopenharmony_ci [83] = PINGROUP(83, atest_usb1, _, _, _, _, _, _, _, _), 139062306a36Sopenharmony_ci [84] = PINGROUP(84, _, atest_usb10, _, _, _, _, _, _, _), 139162306a36Sopenharmony_ci [85] = PINGROUP(85, sd_write, _, atest_usb11, _, _, _, _, _, _), 139262306a36Sopenharmony_ci [86] = PINGROUP(86, btfm_slimbus, mi2s_1, _, qdss_cti, atest_usb12, ddr_pxi0, _, _, _), 139362306a36Sopenharmony_ci [87] = PINGROUP(87, btfm_slimbus, mi2s_1, adsp_ext, _, qdss_cti, atest_usb13, ddr_pxi1, _, 139462306a36Sopenharmony_ci _), 139562306a36Sopenharmony_ci [88] = PINGROUP(88, mi2s_0, _, qdss_gpio4, _, atest_usb2, ddr_pxi2, tsense_pwm1, 139662306a36Sopenharmony_ci tsense_pwm2, _), 139762306a36Sopenharmony_ci [89] = PINGROUP(89, mi2s_0, agera_pll, _, qdss_gpio5, _, vsense_trigger, atest_usb20, 139862306a36Sopenharmony_ci ddr_pxi3, _), 139962306a36Sopenharmony_ci [90] = PINGROUP(90, mi2s_0, jitter_bist, _, qdss_gpio6, _, wlan1_adc0, atest_usb21, 140062306a36Sopenharmony_ci ddr_pxi0, _), 140162306a36Sopenharmony_ci [91] = PINGROUP(91, mi2s_0, _, qdss_gpio7, _, wlan2_adc0, atest_usb22, ddr_pxi1, _, _), 140262306a36Sopenharmony_ci [92] = PINGROUP(92, _, qdss_gpio8, atest_tsens, wlan1_adc1, atest_usb23, ddr_pxi2, _, _, 140362306a36Sopenharmony_ci _), 140462306a36Sopenharmony_ci [93] = PINGROUP(93, mclk, lpass_ext, _, qdss_gpio9, atest_tsens2, wlan2_adc1, ddr_pxi3, 140562306a36Sopenharmony_ci _, _), 140662306a36Sopenharmony_ci [94] = PINGROUP(94, _, _, _, _, _, _, _, _, _), 140762306a36Sopenharmony_ci [95] = PINGROUP(95, ldo_en, _, atest_char, _, _, _, _, _, _), 140862306a36Sopenharmony_ci [96] = PINGROUP(96, ldo_update, _, atest_char0, _, _, _, _, _, _), 140962306a36Sopenharmony_ci [97] = PINGROUP(97, prng_rosc0, _, atest_char1, _, _, _, _, _, _), 141062306a36Sopenharmony_ci [98] = PINGROUP(98, _, atest_char2, _, _, prng_rosc1, pll_clk, _, _, _), 141162306a36Sopenharmony_ci [99] = PINGROUP(99, _, atest_char3, _, _, prng_rosc2, _, _, _, _), 141262306a36Sopenharmony_ci [100] = PINGROUP(100, _, _, prng_rosc3, _, _, _, _, _, _), 141362306a36Sopenharmony_ci [101] = PINGROUP(101, nav_gpio, nav_pps, nav_pps, gps_tx, _, _, _, _, _), 141462306a36Sopenharmony_ci [102] = PINGROUP(102, nav_gpio, nav_pps, nav_pps, gps_tx, _, _, _, _, _), 141562306a36Sopenharmony_ci [103] = PINGROUP(103, qlink0_wmss, _, _, _, _, _, _, _, _), 141662306a36Sopenharmony_ci [104] = PINGROUP(104, qlink0_request, _, _, _, _, _, _, _, _), 141762306a36Sopenharmony_ci [105] = PINGROUP(105, qlink0_enable, _, _, _, _, _, _, _, _), 141862306a36Sopenharmony_ci [106] = PINGROUP(106, qlink1_wmss, _, _, _, _, _, _, _, _), 141962306a36Sopenharmony_ci [107] = PINGROUP(107, qlink1_request, gps_tx, _, _, _, _, _, _, _), 142062306a36Sopenharmony_ci [108] = PINGROUP(108, qlink1_enable, gps_tx, _, _, _, _, _, _, _), 142162306a36Sopenharmony_ci [109] = PINGROUP(109, _, _, _, _, _, _, _, _, _), 142262306a36Sopenharmony_ci [110] = PINGROUP(110, _, _, _, _, _, _, _, _, _), 142362306a36Sopenharmony_ci [111] = PINGROUP(111, _, _, _, _, _, _, _, _, _), 142462306a36Sopenharmony_ci [112] = PINGROUP(112, _, _, _, _, _, _, _, _, _), 142562306a36Sopenharmony_ci [113] = PINGROUP(113, _, _, _, _, _, _, _, _, _), 142662306a36Sopenharmony_ci [114] = PINGROUP(114, _, _, _, _, _, _, _, _, _), 142762306a36Sopenharmony_ci [115] = PINGROUP(115, _, _, _, _, _, _, _, _, _), 142862306a36Sopenharmony_ci [116] = PINGROUP(116, _, _, _, _, _, _, _, _, _), 142962306a36Sopenharmony_ci [117] = PINGROUP(117, _, _, _, _, _, _, _, _, _), 143062306a36Sopenharmony_ci [118] = PINGROUP(118, _, _, pa_indicator, dp_hot, _, _, _, _, _), 143162306a36Sopenharmony_ci [119] = PINGROUP(119, _, _, _, _, _, _, _, _, _), 143262306a36Sopenharmony_ci [120] = PINGROUP(120, _, _, _, _, _, _, _, _, _), 143362306a36Sopenharmony_ci [121] = PINGROUP(121, _, _, _, _, _, _, _, _, _), 143462306a36Sopenharmony_ci [122] = PINGROUP(122, _, _, _, _, _, _, _, _, _), 143562306a36Sopenharmony_ci [123] = PINGROUP(123, _, _, _, _, _, _, _, _, _), 143662306a36Sopenharmony_ci [124] = PINGROUP(124, usb_phy, _, _, _, _, _, _, _, _), 143762306a36Sopenharmony_ci [125] = PINGROUP(125, _, _, _, _, _, _, _, _, _), 143862306a36Sopenharmony_ci [126] = PINGROUP(126, _, _, _, _, _, _, _, _, _), 143962306a36Sopenharmony_ci [127] = PINGROUP(127, _, _, _, _, _, _, _, _, _), 144062306a36Sopenharmony_ci [128] = PINGROUP(128, _, _, _, _, _, _, _, _, _), 144162306a36Sopenharmony_ci [129] = PINGROUP(129, _, _, _, _, _, _, _, _, _), 144262306a36Sopenharmony_ci [130] = PINGROUP(130, _, _, _, _, _, _, _, _, _), 144362306a36Sopenharmony_ci [131] = PINGROUP(131, _, _, _, _, _, _, _, _, _), 144462306a36Sopenharmony_ci [132] = PINGROUP(132, _, _, _, _, _, _, _, _, _), 144562306a36Sopenharmony_ci [133] = PINGROUP(133, _, _, _, _, _, _, _, _, _), 144662306a36Sopenharmony_ci [134] = PINGROUP(134, _, _, _, _, _, _, _, _, _), 144762306a36Sopenharmony_ci [135] = PINGROUP(135, _, _, _, _, _, _, _, _, _), 144862306a36Sopenharmony_ci [136] = PINGROUP(136, _, _, _, _, _, _, _, _, _), 144962306a36Sopenharmony_ci [137] = PINGROUP(137, _, _, _, _, _, _, _, _, _), 145062306a36Sopenharmony_ci [138] = PINGROUP(138, _, _, _, _, _, _, _, _, _), 145162306a36Sopenharmony_ci [139] = PINGROUP(139, _, _, _, _, _, _, _, _, _), 145262306a36Sopenharmony_ci [140] = PINGROUP(140, _, _, _, _, _, _, _, _, _), 145362306a36Sopenharmony_ci [141] = PINGROUP(141, _, _, _, _, _, _, _, _, _), 145462306a36Sopenharmony_ci [142] = PINGROUP(142, _, _, _, _, _, _, _, _, _), 145562306a36Sopenharmony_ci [143] = PINGROUP(143, _, _, _, _, _, _, _, _, _), 145662306a36Sopenharmony_ci [144] = PINGROUP(144, _, _, _, _, _, _, _, _, _), 145762306a36Sopenharmony_ci [145] = PINGROUP(145, _, _, _, _, _, _, _, _, _), 145862306a36Sopenharmony_ci [146] = PINGROUP(146, _, _, _, _, _, _, _, _, _), 145962306a36Sopenharmony_ci [147] = PINGROUP(147, _, _, _, _, _, _, _, _, _), 146062306a36Sopenharmony_ci [148] = PINGROUP(148, _, _, _, _, _, _, _, _, _), 146162306a36Sopenharmony_ci [149] = PINGROUP(149, _, _, _, _, _, _, _, _, _), 146262306a36Sopenharmony_ci [150] = PINGROUP(150, _, _, _, _, _, _, _, _, _), 146362306a36Sopenharmony_ci [151] = PINGROUP(151, _, _, _, _, _, _, _, _, _), 146462306a36Sopenharmony_ci [152] = PINGROUP(152, _, _, _, _, _, _, _, _, _), 146562306a36Sopenharmony_ci [153] = PINGROUP(153, _, _, _, _, _, _, _, _, _), 146662306a36Sopenharmony_ci [154] = PINGROUP(154, _, _, _, _, _, _, _, _, _), 146762306a36Sopenharmony_ci [155] = PINGROUP(155, _, _, _, _, _, _, _, _, _), 146862306a36Sopenharmony_ci [156] = UFS_RESET(ufs_reset, 0x1ae000), 146962306a36Sopenharmony_ci [157] = SDC_PINGROUP(sdc1_rclk, 0x1a1000, 0, 0), 147062306a36Sopenharmony_ci [158] = SDC_PINGROUP(sdc1_clk, 0x1a0000, 13, 6), 147162306a36Sopenharmony_ci [159] = SDC_PINGROUP(sdc1_cmd, 0x1a0000, 11, 3), 147262306a36Sopenharmony_ci [160] = SDC_PINGROUP(sdc1_data, 0x1a0000, 9, 0), 147362306a36Sopenharmony_ci [161] = SDC_PINGROUP(sdc2_clk, 0x1a2000, 14, 6), 147462306a36Sopenharmony_ci [162] = SDC_PINGROUP(sdc2_cmd, 0x1a2000, 11, 3), 147562306a36Sopenharmony_ci [163] = SDC_PINGROUP(sdc2_data, 0x1a2000, 9, 0), 147662306a36Sopenharmony_ci}; 147762306a36Sopenharmony_ci 147862306a36Sopenharmony_cistatic const struct msm_gpio_wakeirq_map sm6375_mpm_map[] = { 147962306a36Sopenharmony_ci { 0, 84 }, { 3, 6 }, { 4, 7 }, { 7, 8 }, { 8, 9 }, { 9, 10 }, { 11, 11 }, { 12, 13 }, 148062306a36Sopenharmony_ci { 13, 14 }, { 16, 16 }, { 17, 17 }, { 18, 18 }, { 19, 19 }, { 21, 20 }, { 22, 21 }, 148162306a36Sopenharmony_ci { 23, 23 }, { 24, 24 }, { 25, 25 }, { 27, 26 }, { 28, 27 }, { 37, 28 }, { 38, 29 }, 148262306a36Sopenharmony_ci { 48, 30 }, { 50, 31 }, { 51, 32 }, { 52, 33 }, { 57, 34 }, { 59, 35 }, { 60, 37 }, 148362306a36Sopenharmony_ci { 61, 38 }, { 62, 39 }, { 64, 40 }, { 66, 41 }, { 67, 42 }, { 68, 43 }, { 69, 44 }, 148462306a36Sopenharmony_ci { 78, 45 }, { 82, 36 }, { 83, 47 }, { 84, 48 }, { 85, 49 }, { 87, 50 }, { 88, 51 }, 148562306a36Sopenharmony_ci { 91, 52 }, { 94, 53 }, { 95, 54 }, { 96, 55 }, { 97, 56 }, { 98, 57 }, { 99, 58 }, 148662306a36Sopenharmony_ci { 100, 59 }, { 104, 60 }, { 107, 61 }, { 118, 62 }, { 124, 63 }, { 125, 64 }, { 126, 65 }, 148762306a36Sopenharmony_ci { 128, 66 }, { 129, 67 }, { 131, 69 }, { 133, 70 }, { 134, 71 }, { 136, 73 }, { 142, 74 }, 148862306a36Sopenharmony_ci { 150, 75 }, { 153, 76 }, { 155, 77 }, 148962306a36Sopenharmony_ci}; 149062306a36Sopenharmony_ci 149162306a36Sopenharmony_cistatic const struct msm_pinctrl_soc_data sm6375_tlmm = { 149262306a36Sopenharmony_ci .pins = sm6375_pins, 149362306a36Sopenharmony_ci .npins = ARRAY_SIZE(sm6375_pins), 149462306a36Sopenharmony_ci .functions = sm6375_functions, 149562306a36Sopenharmony_ci .nfunctions = ARRAY_SIZE(sm6375_functions), 149662306a36Sopenharmony_ci .groups = sm6375_groups, 149762306a36Sopenharmony_ci .ngroups = ARRAY_SIZE(sm6375_groups), 149862306a36Sopenharmony_ci .ngpios = 157, 149962306a36Sopenharmony_ci .wakeirq_map = sm6375_mpm_map, 150062306a36Sopenharmony_ci .nwakeirq_map = ARRAY_SIZE(sm6375_mpm_map), 150162306a36Sopenharmony_ci}; 150262306a36Sopenharmony_ci 150362306a36Sopenharmony_cistatic int sm6375_tlmm_probe(struct platform_device *pdev) 150462306a36Sopenharmony_ci{ 150562306a36Sopenharmony_ci return msm_pinctrl_probe(pdev, &sm6375_tlmm); 150662306a36Sopenharmony_ci} 150762306a36Sopenharmony_ci 150862306a36Sopenharmony_cistatic const struct of_device_id sm6375_tlmm_of_match[] = { 150962306a36Sopenharmony_ci { .compatible = "qcom,sm6375-tlmm", }, 151062306a36Sopenharmony_ci { }, 151162306a36Sopenharmony_ci}; 151262306a36Sopenharmony_ci 151362306a36Sopenharmony_cistatic struct platform_driver sm6375_tlmm_driver = { 151462306a36Sopenharmony_ci .driver = { 151562306a36Sopenharmony_ci .name = "sm6375-tlmm", 151662306a36Sopenharmony_ci .of_match_table = sm6375_tlmm_of_match, 151762306a36Sopenharmony_ci }, 151862306a36Sopenharmony_ci .probe = sm6375_tlmm_probe, 151962306a36Sopenharmony_ci .remove = msm_pinctrl_remove, 152062306a36Sopenharmony_ci}; 152162306a36Sopenharmony_ci 152262306a36Sopenharmony_cistatic int __init sm6375_tlmm_init(void) 152362306a36Sopenharmony_ci{ 152462306a36Sopenharmony_ci return platform_driver_register(&sm6375_tlmm_driver); 152562306a36Sopenharmony_ci} 152662306a36Sopenharmony_ciarch_initcall(sm6375_tlmm_init); 152762306a36Sopenharmony_ci 152862306a36Sopenharmony_cistatic void __exit sm6375_tlmm_exit(void) 152962306a36Sopenharmony_ci{ 153062306a36Sopenharmony_ci platform_driver_unregister(&sm6375_tlmm_driver); 153162306a36Sopenharmony_ci} 153262306a36Sopenharmony_cimodule_exit(sm6375_tlmm_exit); 153362306a36Sopenharmony_ci 153462306a36Sopenharmony_ciMODULE_DESCRIPTION("QTI SM6375 TLMM driver"); 153562306a36Sopenharmony_ciMODULE_LICENSE("GPL"); 153662306a36Sopenharmony_ciMODULE_DEVICE_TABLE(of, sm6375_tlmm_of_match); 1537