162306a36Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0 262306a36Sopenharmony_ci/* 362306a36Sopenharmony_ci * Copyright (c) 2015-2016, The Linux Foundation. All rights reserved. 462306a36Sopenharmony_ci */ 562306a36Sopenharmony_ci 662306a36Sopenharmony_ci#include <linux/module.h> 762306a36Sopenharmony_ci#include <linux/of.h> 862306a36Sopenharmony_ci#include <linux/platform_device.h> 962306a36Sopenharmony_ci 1062306a36Sopenharmony_ci#include "pinctrl-msm.h" 1162306a36Sopenharmony_ci 1262306a36Sopenharmony_ci#define NORTH 0x500000 1362306a36Sopenharmony_ci#define WEST 0x100000 1462306a36Sopenharmony_ci#define EAST 0x900000 1562306a36Sopenharmony_ci 1662306a36Sopenharmony_ci#define PINGROUP(id, base, f1, f2, f3, f4, f5, f6, f7, f8, f9) \ 1762306a36Sopenharmony_ci { \ 1862306a36Sopenharmony_ci .grp = PINCTRL_PINGROUP("gpio" #id, \ 1962306a36Sopenharmony_ci gpio##id##_pins, \ 2062306a36Sopenharmony_ci ARRAY_SIZE(gpio##id##_pins)), \ 2162306a36Sopenharmony_ci .funcs = (int[]){ \ 2262306a36Sopenharmony_ci msm_mux_gpio, /* gpio mode */ \ 2362306a36Sopenharmony_ci msm_mux_##f1, \ 2462306a36Sopenharmony_ci msm_mux_##f2, \ 2562306a36Sopenharmony_ci msm_mux_##f3, \ 2662306a36Sopenharmony_ci msm_mux_##f4, \ 2762306a36Sopenharmony_ci msm_mux_##f5, \ 2862306a36Sopenharmony_ci msm_mux_##f6, \ 2962306a36Sopenharmony_ci msm_mux_##f7, \ 3062306a36Sopenharmony_ci msm_mux_##f8, \ 3162306a36Sopenharmony_ci msm_mux_##f9 \ 3262306a36Sopenharmony_ci }, \ 3362306a36Sopenharmony_ci .nfuncs = 10, \ 3462306a36Sopenharmony_ci .ctl_reg = base + 0x1000 * id, \ 3562306a36Sopenharmony_ci .io_reg = base + 0x4 + 0x1000 * id, \ 3662306a36Sopenharmony_ci .intr_cfg_reg = base + 0x8 + 0x1000 * id, \ 3762306a36Sopenharmony_ci .intr_status_reg = base + 0xc + 0x1000 * id, \ 3862306a36Sopenharmony_ci .intr_target_reg = base + 0x8 + 0x1000 * id, \ 3962306a36Sopenharmony_ci .mux_bit = 2, \ 4062306a36Sopenharmony_ci .pull_bit = 0, \ 4162306a36Sopenharmony_ci .drv_bit = 6, \ 4262306a36Sopenharmony_ci .oe_bit = 9, \ 4362306a36Sopenharmony_ci .in_bit = 0, \ 4462306a36Sopenharmony_ci .out_bit = 1, \ 4562306a36Sopenharmony_ci .intr_enable_bit = 0, \ 4662306a36Sopenharmony_ci .intr_status_bit = 0, \ 4762306a36Sopenharmony_ci .intr_target_bit = 5, \ 4862306a36Sopenharmony_ci .intr_target_kpss_val = 3, \ 4962306a36Sopenharmony_ci .intr_raw_status_bit = 4, \ 5062306a36Sopenharmony_ci .intr_polarity_bit = 1, \ 5162306a36Sopenharmony_ci .intr_detection_bit = 2, \ 5262306a36Sopenharmony_ci .intr_detection_width = 2, \ 5362306a36Sopenharmony_ci } 5462306a36Sopenharmony_ci 5562306a36Sopenharmony_ci#define SDC_QDSD_PINGROUP(pg_name, ctl, pull, drv) \ 5662306a36Sopenharmony_ci { \ 5762306a36Sopenharmony_ci .grp = PINCTRL_PINGROUP(#pg_name, \ 5862306a36Sopenharmony_ci pg_name##_pins, \ 5962306a36Sopenharmony_ci ARRAY_SIZE(pg_name##_pins)), \ 6062306a36Sopenharmony_ci .ctl_reg = ctl, \ 6162306a36Sopenharmony_ci .io_reg = 0, \ 6262306a36Sopenharmony_ci .intr_cfg_reg = 0, \ 6362306a36Sopenharmony_ci .intr_status_reg = 0, \ 6462306a36Sopenharmony_ci .intr_target_reg = 0, \ 6562306a36Sopenharmony_ci .mux_bit = -1, \ 6662306a36Sopenharmony_ci .pull_bit = pull, \ 6762306a36Sopenharmony_ci .drv_bit = drv, \ 6862306a36Sopenharmony_ci .oe_bit = -1, \ 6962306a36Sopenharmony_ci .in_bit = -1, \ 7062306a36Sopenharmony_ci .out_bit = -1, \ 7162306a36Sopenharmony_ci .intr_enable_bit = -1, \ 7262306a36Sopenharmony_ci .intr_status_bit = -1, \ 7362306a36Sopenharmony_ci .intr_target_bit = -1, \ 7462306a36Sopenharmony_ci .intr_raw_status_bit = -1, \ 7562306a36Sopenharmony_ci .intr_polarity_bit = -1, \ 7662306a36Sopenharmony_ci .intr_detection_bit = -1, \ 7762306a36Sopenharmony_ci .intr_detection_width = -1, \ 7862306a36Sopenharmony_ci } 7962306a36Sopenharmony_ci 8062306a36Sopenharmony_ci#define UFS_RESET(pg_name, offset) \ 8162306a36Sopenharmony_ci { \ 8262306a36Sopenharmony_ci .grp = PINCTRL_PINGROUP(#pg_name, \ 8362306a36Sopenharmony_ci pg_name##_pins, \ 8462306a36Sopenharmony_ci ARRAY_SIZE(pg_name##_pins)), \ 8562306a36Sopenharmony_ci .ctl_reg = offset, \ 8662306a36Sopenharmony_ci .io_reg = offset + 0x4, \ 8762306a36Sopenharmony_ci .intr_cfg_reg = 0, \ 8862306a36Sopenharmony_ci .intr_status_reg = 0, \ 8962306a36Sopenharmony_ci .intr_target_reg = 0, \ 9062306a36Sopenharmony_ci .mux_bit = -1, \ 9162306a36Sopenharmony_ci .pull_bit = 3, \ 9262306a36Sopenharmony_ci .drv_bit = 0, \ 9362306a36Sopenharmony_ci .oe_bit = -1, \ 9462306a36Sopenharmony_ci .in_bit = -1, \ 9562306a36Sopenharmony_ci .out_bit = 0, \ 9662306a36Sopenharmony_ci .intr_enable_bit = -1, \ 9762306a36Sopenharmony_ci .intr_status_bit = -1, \ 9862306a36Sopenharmony_ci .intr_target_bit = -1, \ 9962306a36Sopenharmony_ci .intr_raw_status_bit = -1, \ 10062306a36Sopenharmony_ci .intr_polarity_bit = -1, \ 10162306a36Sopenharmony_ci .intr_detection_bit = -1, \ 10262306a36Sopenharmony_ci .intr_detection_width = -1, \ 10362306a36Sopenharmony_ci } 10462306a36Sopenharmony_ci 10562306a36Sopenharmony_cistatic const struct pinctrl_pin_desc msm8998_pins[] = { 10662306a36Sopenharmony_ci PINCTRL_PIN(0, "GPIO_0"), 10762306a36Sopenharmony_ci PINCTRL_PIN(1, "GPIO_1"), 10862306a36Sopenharmony_ci PINCTRL_PIN(2, "GPIO_2"), 10962306a36Sopenharmony_ci PINCTRL_PIN(3, "GPIO_3"), 11062306a36Sopenharmony_ci PINCTRL_PIN(4, "GPIO_4"), 11162306a36Sopenharmony_ci PINCTRL_PIN(5, "GPIO_5"), 11262306a36Sopenharmony_ci PINCTRL_PIN(6, "GPIO_6"), 11362306a36Sopenharmony_ci PINCTRL_PIN(7, "GPIO_7"), 11462306a36Sopenharmony_ci PINCTRL_PIN(8, "GPIO_8"), 11562306a36Sopenharmony_ci PINCTRL_PIN(9, "GPIO_9"), 11662306a36Sopenharmony_ci PINCTRL_PIN(10, "GPIO_10"), 11762306a36Sopenharmony_ci PINCTRL_PIN(11, "GPIO_11"), 11862306a36Sopenharmony_ci PINCTRL_PIN(12, "GPIO_12"), 11962306a36Sopenharmony_ci PINCTRL_PIN(13, "GPIO_13"), 12062306a36Sopenharmony_ci PINCTRL_PIN(14, "GPIO_14"), 12162306a36Sopenharmony_ci PINCTRL_PIN(15, "GPIO_15"), 12262306a36Sopenharmony_ci PINCTRL_PIN(16, "GPIO_16"), 12362306a36Sopenharmony_ci PINCTRL_PIN(17, "GPIO_17"), 12462306a36Sopenharmony_ci PINCTRL_PIN(18, "GPIO_18"), 12562306a36Sopenharmony_ci PINCTRL_PIN(19, "GPIO_19"), 12662306a36Sopenharmony_ci PINCTRL_PIN(20, "GPIO_20"), 12762306a36Sopenharmony_ci PINCTRL_PIN(21, "GPIO_21"), 12862306a36Sopenharmony_ci PINCTRL_PIN(22, "GPIO_22"), 12962306a36Sopenharmony_ci PINCTRL_PIN(23, "GPIO_23"), 13062306a36Sopenharmony_ci PINCTRL_PIN(24, "GPIO_24"), 13162306a36Sopenharmony_ci PINCTRL_PIN(25, "GPIO_25"), 13262306a36Sopenharmony_ci PINCTRL_PIN(26, "GPIO_26"), 13362306a36Sopenharmony_ci PINCTRL_PIN(27, "GPIO_27"), 13462306a36Sopenharmony_ci PINCTRL_PIN(28, "GPIO_28"), 13562306a36Sopenharmony_ci PINCTRL_PIN(29, "GPIO_29"), 13662306a36Sopenharmony_ci PINCTRL_PIN(30, "GPIO_30"), 13762306a36Sopenharmony_ci PINCTRL_PIN(31, "GPIO_31"), 13862306a36Sopenharmony_ci PINCTRL_PIN(32, "GPIO_32"), 13962306a36Sopenharmony_ci PINCTRL_PIN(33, "GPIO_33"), 14062306a36Sopenharmony_ci PINCTRL_PIN(34, "GPIO_34"), 14162306a36Sopenharmony_ci PINCTRL_PIN(35, "GPIO_35"), 14262306a36Sopenharmony_ci PINCTRL_PIN(36, "GPIO_36"), 14362306a36Sopenharmony_ci PINCTRL_PIN(37, "GPIO_37"), 14462306a36Sopenharmony_ci PINCTRL_PIN(38, "GPIO_38"), 14562306a36Sopenharmony_ci PINCTRL_PIN(39, "GPIO_39"), 14662306a36Sopenharmony_ci PINCTRL_PIN(40, "GPIO_40"), 14762306a36Sopenharmony_ci PINCTRL_PIN(41, "GPIO_41"), 14862306a36Sopenharmony_ci PINCTRL_PIN(42, "GPIO_42"), 14962306a36Sopenharmony_ci PINCTRL_PIN(43, "GPIO_43"), 15062306a36Sopenharmony_ci PINCTRL_PIN(44, "GPIO_44"), 15162306a36Sopenharmony_ci PINCTRL_PIN(45, "GPIO_45"), 15262306a36Sopenharmony_ci PINCTRL_PIN(46, "GPIO_46"), 15362306a36Sopenharmony_ci PINCTRL_PIN(47, "GPIO_47"), 15462306a36Sopenharmony_ci PINCTRL_PIN(48, "GPIO_48"), 15562306a36Sopenharmony_ci PINCTRL_PIN(49, "GPIO_49"), 15662306a36Sopenharmony_ci PINCTRL_PIN(50, "GPIO_50"), 15762306a36Sopenharmony_ci PINCTRL_PIN(51, "GPIO_51"), 15862306a36Sopenharmony_ci PINCTRL_PIN(52, "GPIO_52"), 15962306a36Sopenharmony_ci PINCTRL_PIN(53, "GPIO_53"), 16062306a36Sopenharmony_ci PINCTRL_PIN(54, "GPIO_54"), 16162306a36Sopenharmony_ci PINCTRL_PIN(55, "GPIO_55"), 16262306a36Sopenharmony_ci PINCTRL_PIN(56, "GPIO_56"), 16362306a36Sopenharmony_ci PINCTRL_PIN(57, "GPIO_57"), 16462306a36Sopenharmony_ci PINCTRL_PIN(58, "GPIO_58"), 16562306a36Sopenharmony_ci PINCTRL_PIN(59, "GPIO_59"), 16662306a36Sopenharmony_ci PINCTRL_PIN(60, "GPIO_60"), 16762306a36Sopenharmony_ci PINCTRL_PIN(61, "GPIO_61"), 16862306a36Sopenharmony_ci PINCTRL_PIN(62, "GPIO_62"), 16962306a36Sopenharmony_ci PINCTRL_PIN(63, "GPIO_63"), 17062306a36Sopenharmony_ci PINCTRL_PIN(64, "GPIO_64"), 17162306a36Sopenharmony_ci PINCTRL_PIN(65, "GPIO_65"), 17262306a36Sopenharmony_ci PINCTRL_PIN(66, "GPIO_66"), 17362306a36Sopenharmony_ci PINCTRL_PIN(67, "GPIO_67"), 17462306a36Sopenharmony_ci PINCTRL_PIN(68, "GPIO_68"), 17562306a36Sopenharmony_ci PINCTRL_PIN(69, "GPIO_69"), 17662306a36Sopenharmony_ci PINCTRL_PIN(70, "GPIO_70"), 17762306a36Sopenharmony_ci PINCTRL_PIN(71, "GPIO_71"), 17862306a36Sopenharmony_ci PINCTRL_PIN(72, "GPIO_72"), 17962306a36Sopenharmony_ci PINCTRL_PIN(73, "GPIO_73"), 18062306a36Sopenharmony_ci PINCTRL_PIN(74, "GPIO_74"), 18162306a36Sopenharmony_ci PINCTRL_PIN(75, "GPIO_75"), 18262306a36Sopenharmony_ci PINCTRL_PIN(76, "GPIO_76"), 18362306a36Sopenharmony_ci PINCTRL_PIN(77, "GPIO_77"), 18462306a36Sopenharmony_ci PINCTRL_PIN(78, "GPIO_78"), 18562306a36Sopenharmony_ci PINCTRL_PIN(79, "GPIO_79"), 18662306a36Sopenharmony_ci PINCTRL_PIN(80, "GPIO_80"), 18762306a36Sopenharmony_ci PINCTRL_PIN(81, "GPIO_81"), 18862306a36Sopenharmony_ci PINCTRL_PIN(82, "GPIO_82"), 18962306a36Sopenharmony_ci PINCTRL_PIN(83, "GPIO_83"), 19062306a36Sopenharmony_ci PINCTRL_PIN(84, "GPIO_84"), 19162306a36Sopenharmony_ci PINCTRL_PIN(85, "GPIO_85"), 19262306a36Sopenharmony_ci PINCTRL_PIN(86, "GPIO_86"), 19362306a36Sopenharmony_ci PINCTRL_PIN(87, "GPIO_87"), 19462306a36Sopenharmony_ci PINCTRL_PIN(88, "GPIO_88"), 19562306a36Sopenharmony_ci PINCTRL_PIN(89, "GPIO_89"), 19662306a36Sopenharmony_ci PINCTRL_PIN(90, "GPIO_90"), 19762306a36Sopenharmony_ci PINCTRL_PIN(91, "GPIO_91"), 19862306a36Sopenharmony_ci PINCTRL_PIN(92, "GPIO_92"), 19962306a36Sopenharmony_ci PINCTRL_PIN(93, "GPIO_93"), 20062306a36Sopenharmony_ci PINCTRL_PIN(94, "GPIO_94"), 20162306a36Sopenharmony_ci PINCTRL_PIN(95, "GPIO_95"), 20262306a36Sopenharmony_ci PINCTRL_PIN(96, "GPIO_96"), 20362306a36Sopenharmony_ci PINCTRL_PIN(97, "GPIO_97"), 20462306a36Sopenharmony_ci PINCTRL_PIN(98, "GPIO_98"), 20562306a36Sopenharmony_ci PINCTRL_PIN(99, "GPIO_99"), 20662306a36Sopenharmony_ci PINCTRL_PIN(100, "GPIO_100"), 20762306a36Sopenharmony_ci PINCTRL_PIN(101, "GPIO_101"), 20862306a36Sopenharmony_ci PINCTRL_PIN(102, "GPIO_102"), 20962306a36Sopenharmony_ci PINCTRL_PIN(103, "GPIO_103"), 21062306a36Sopenharmony_ci PINCTRL_PIN(104, "GPIO_104"), 21162306a36Sopenharmony_ci PINCTRL_PIN(105, "GPIO_105"), 21262306a36Sopenharmony_ci PINCTRL_PIN(106, "GPIO_106"), 21362306a36Sopenharmony_ci PINCTRL_PIN(107, "GPIO_107"), 21462306a36Sopenharmony_ci PINCTRL_PIN(108, "GPIO_108"), 21562306a36Sopenharmony_ci PINCTRL_PIN(109, "GPIO_109"), 21662306a36Sopenharmony_ci PINCTRL_PIN(110, "GPIO_110"), 21762306a36Sopenharmony_ci PINCTRL_PIN(111, "GPIO_111"), 21862306a36Sopenharmony_ci PINCTRL_PIN(112, "GPIO_112"), 21962306a36Sopenharmony_ci PINCTRL_PIN(113, "GPIO_113"), 22062306a36Sopenharmony_ci PINCTRL_PIN(114, "GPIO_114"), 22162306a36Sopenharmony_ci PINCTRL_PIN(115, "GPIO_115"), 22262306a36Sopenharmony_ci PINCTRL_PIN(116, "GPIO_116"), 22362306a36Sopenharmony_ci PINCTRL_PIN(117, "GPIO_117"), 22462306a36Sopenharmony_ci PINCTRL_PIN(118, "GPIO_118"), 22562306a36Sopenharmony_ci PINCTRL_PIN(119, "GPIO_119"), 22662306a36Sopenharmony_ci PINCTRL_PIN(120, "GPIO_120"), 22762306a36Sopenharmony_ci PINCTRL_PIN(121, "GPIO_121"), 22862306a36Sopenharmony_ci PINCTRL_PIN(122, "GPIO_122"), 22962306a36Sopenharmony_ci PINCTRL_PIN(123, "GPIO_123"), 23062306a36Sopenharmony_ci PINCTRL_PIN(124, "GPIO_124"), 23162306a36Sopenharmony_ci PINCTRL_PIN(125, "GPIO_125"), 23262306a36Sopenharmony_ci PINCTRL_PIN(126, "GPIO_126"), 23362306a36Sopenharmony_ci PINCTRL_PIN(127, "GPIO_127"), 23462306a36Sopenharmony_ci PINCTRL_PIN(128, "GPIO_128"), 23562306a36Sopenharmony_ci PINCTRL_PIN(129, "GPIO_129"), 23662306a36Sopenharmony_ci PINCTRL_PIN(130, "GPIO_130"), 23762306a36Sopenharmony_ci PINCTRL_PIN(131, "GPIO_131"), 23862306a36Sopenharmony_ci PINCTRL_PIN(132, "GPIO_132"), 23962306a36Sopenharmony_ci PINCTRL_PIN(133, "GPIO_133"), 24062306a36Sopenharmony_ci PINCTRL_PIN(134, "GPIO_134"), 24162306a36Sopenharmony_ci PINCTRL_PIN(135, "GPIO_135"), 24262306a36Sopenharmony_ci PINCTRL_PIN(136, "GPIO_136"), 24362306a36Sopenharmony_ci PINCTRL_PIN(137, "GPIO_137"), 24462306a36Sopenharmony_ci PINCTRL_PIN(138, "GPIO_138"), 24562306a36Sopenharmony_ci PINCTRL_PIN(139, "GPIO_139"), 24662306a36Sopenharmony_ci PINCTRL_PIN(140, "GPIO_140"), 24762306a36Sopenharmony_ci PINCTRL_PIN(141, "GPIO_141"), 24862306a36Sopenharmony_ci PINCTRL_PIN(142, "GPIO_142"), 24962306a36Sopenharmony_ci PINCTRL_PIN(143, "GPIO_143"), 25062306a36Sopenharmony_ci PINCTRL_PIN(144, "GPIO_144"), 25162306a36Sopenharmony_ci PINCTRL_PIN(145, "GPIO_145"), 25262306a36Sopenharmony_ci PINCTRL_PIN(146, "GPIO_146"), 25362306a36Sopenharmony_ci PINCTRL_PIN(147, "GPIO_147"), 25462306a36Sopenharmony_ci PINCTRL_PIN(148, "GPIO_148"), 25562306a36Sopenharmony_ci PINCTRL_PIN(149, "GPIO_149"), 25662306a36Sopenharmony_ci PINCTRL_PIN(150, "SDC2_CLK"), 25762306a36Sopenharmony_ci PINCTRL_PIN(151, "SDC2_CMD"), 25862306a36Sopenharmony_ci PINCTRL_PIN(152, "SDC2_DATA"), 25962306a36Sopenharmony_ci PINCTRL_PIN(153, "UFS_RESET"), 26062306a36Sopenharmony_ci}; 26162306a36Sopenharmony_ci 26262306a36Sopenharmony_ci#define DECLARE_MSM_GPIO_PINS(pin) \ 26362306a36Sopenharmony_ci static const unsigned int gpio##pin##_pins[] = { pin } 26462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(0); 26562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(1); 26662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(2); 26762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(3); 26862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(4); 26962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(5); 27062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(6); 27162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(7); 27262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(8); 27362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(9); 27462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(10); 27562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(11); 27662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(12); 27762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(13); 27862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(14); 27962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(15); 28062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(16); 28162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(17); 28262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(18); 28362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(19); 28462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(20); 28562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(21); 28662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(22); 28762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(23); 28862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(24); 28962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(25); 29062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(26); 29162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(27); 29262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(28); 29362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(29); 29462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(30); 29562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(31); 29662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(32); 29762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(33); 29862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(34); 29962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(35); 30062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(36); 30162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(37); 30262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(38); 30362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(39); 30462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(40); 30562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(41); 30662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(42); 30762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(43); 30862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(44); 30962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(45); 31062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(46); 31162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(47); 31262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(48); 31362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(49); 31462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(50); 31562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(51); 31662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(52); 31762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(53); 31862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(54); 31962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(55); 32062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(56); 32162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(57); 32262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(58); 32362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(59); 32462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(60); 32562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(61); 32662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(62); 32762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(63); 32862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(64); 32962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(65); 33062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(66); 33162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(67); 33262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(68); 33362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(69); 33462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(70); 33562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(71); 33662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(72); 33762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(73); 33862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(74); 33962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(75); 34062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(76); 34162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(77); 34262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(78); 34362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(79); 34462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(80); 34562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(81); 34662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(82); 34762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(83); 34862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(84); 34962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(85); 35062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(86); 35162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(87); 35262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(88); 35362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(89); 35462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(90); 35562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(91); 35662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(92); 35762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(93); 35862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(94); 35962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(95); 36062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(96); 36162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(97); 36262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(98); 36362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(99); 36462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(100); 36562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(101); 36662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(102); 36762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(103); 36862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(104); 36962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(105); 37062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(106); 37162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(107); 37262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(108); 37362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(109); 37462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(110); 37562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(111); 37662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(112); 37762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(113); 37862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(114); 37962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(115); 38062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(116); 38162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(117); 38262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(118); 38362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(119); 38462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(120); 38562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(121); 38662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(122); 38762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(123); 38862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(124); 38962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(125); 39062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(126); 39162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(127); 39262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(128); 39362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(129); 39462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(130); 39562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(131); 39662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(132); 39762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(133); 39862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(134); 39962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(135); 40062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(136); 40162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(137); 40262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(138); 40362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(139); 40462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(140); 40562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(141); 40662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(142); 40762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(143); 40862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(144); 40962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(145); 41062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(146); 41162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(147); 41262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(148); 41362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(149); 41462306a36Sopenharmony_ci 41562306a36Sopenharmony_cistatic const unsigned int sdc2_clk_pins[] = { 150 }; 41662306a36Sopenharmony_cistatic const unsigned int sdc2_cmd_pins[] = { 151 }; 41762306a36Sopenharmony_cistatic const unsigned int sdc2_data_pins[] = { 152 }; 41862306a36Sopenharmony_cistatic const unsigned int ufs_reset_pins[] = { 153 }; 41962306a36Sopenharmony_ci 42062306a36Sopenharmony_cienum msm8998_functions { 42162306a36Sopenharmony_ci msm_mux_adsp_ext, 42262306a36Sopenharmony_ci msm_mux_agera_pll, 42362306a36Sopenharmony_ci msm_mux_atest_char, 42462306a36Sopenharmony_ci msm_mux_atest_gpsadc0, 42562306a36Sopenharmony_ci msm_mux_atest_gpsadc1, 42662306a36Sopenharmony_ci msm_mux_atest_tsens, 42762306a36Sopenharmony_ci msm_mux_atest_tsens2, 42862306a36Sopenharmony_ci msm_mux_atest_usb1, 42962306a36Sopenharmony_ci msm_mux_atest_usb10, 43062306a36Sopenharmony_ci msm_mux_atest_usb11, 43162306a36Sopenharmony_ci msm_mux_atest_usb12, 43262306a36Sopenharmony_ci msm_mux_atest_usb13, 43362306a36Sopenharmony_ci msm_mux_audio_ref, 43462306a36Sopenharmony_ci msm_mux_bimc_dte0, 43562306a36Sopenharmony_ci msm_mux_bimc_dte1, 43662306a36Sopenharmony_ci msm_mux_blsp10_spi, 43762306a36Sopenharmony_ci msm_mux_blsp10_spi_a, 43862306a36Sopenharmony_ci msm_mux_blsp10_spi_b, 43962306a36Sopenharmony_ci msm_mux_blsp11_i2c, 44062306a36Sopenharmony_ci msm_mux_blsp1_spi, 44162306a36Sopenharmony_ci msm_mux_blsp1_spi_a, 44262306a36Sopenharmony_ci msm_mux_blsp1_spi_b, 44362306a36Sopenharmony_ci msm_mux_blsp2_spi, 44462306a36Sopenharmony_ci msm_mux_blsp9_spi, 44562306a36Sopenharmony_ci msm_mux_blsp_i2c1, 44662306a36Sopenharmony_ci msm_mux_blsp_i2c10, 44762306a36Sopenharmony_ci msm_mux_blsp_i2c11, 44862306a36Sopenharmony_ci msm_mux_blsp_i2c12, 44962306a36Sopenharmony_ci msm_mux_blsp_i2c2, 45062306a36Sopenharmony_ci msm_mux_blsp_i2c3, 45162306a36Sopenharmony_ci msm_mux_blsp_i2c4, 45262306a36Sopenharmony_ci msm_mux_blsp_i2c5, 45362306a36Sopenharmony_ci msm_mux_blsp_i2c6, 45462306a36Sopenharmony_ci msm_mux_blsp_i2c7, 45562306a36Sopenharmony_ci msm_mux_blsp_i2c8, 45662306a36Sopenharmony_ci msm_mux_blsp_i2c9, 45762306a36Sopenharmony_ci msm_mux_blsp_spi1, 45862306a36Sopenharmony_ci msm_mux_blsp_spi10, 45962306a36Sopenharmony_ci msm_mux_blsp_spi11, 46062306a36Sopenharmony_ci msm_mux_blsp_spi12, 46162306a36Sopenharmony_ci msm_mux_blsp_spi2, 46262306a36Sopenharmony_ci msm_mux_blsp_spi3, 46362306a36Sopenharmony_ci msm_mux_blsp_spi4, 46462306a36Sopenharmony_ci msm_mux_blsp_spi5, 46562306a36Sopenharmony_ci msm_mux_blsp_spi6, 46662306a36Sopenharmony_ci msm_mux_blsp_spi7, 46762306a36Sopenharmony_ci msm_mux_blsp_spi8, 46862306a36Sopenharmony_ci msm_mux_blsp_spi9, 46962306a36Sopenharmony_ci msm_mux_blsp_uart1_a, 47062306a36Sopenharmony_ci msm_mux_blsp_uart1_b, 47162306a36Sopenharmony_ci msm_mux_blsp_uart2_a, 47262306a36Sopenharmony_ci msm_mux_blsp_uart2_b, 47362306a36Sopenharmony_ci msm_mux_blsp_uart3_a, 47462306a36Sopenharmony_ci msm_mux_blsp_uart3_b, 47562306a36Sopenharmony_ci msm_mux_blsp_uart7_a, 47662306a36Sopenharmony_ci msm_mux_blsp_uart7_b, 47762306a36Sopenharmony_ci msm_mux_blsp_uart8, 47862306a36Sopenharmony_ci msm_mux_blsp_uart8_a, 47962306a36Sopenharmony_ci msm_mux_blsp_uart8_b, 48062306a36Sopenharmony_ci msm_mux_blsp_uart9_a, 48162306a36Sopenharmony_ci msm_mux_blsp_uart9_b, 48262306a36Sopenharmony_ci msm_mux_blsp_uim1_a, 48362306a36Sopenharmony_ci msm_mux_blsp_uim1_b, 48462306a36Sopenharmony_ci msm_mux_blsp_uim2_a, 48562306a36Sopenharmony_ci msm_mux_blsp_uim2_b, 48662306a36Sopenharmony_ci msm_mux_blsp_uim3_a, 48762306a36Sopenharmony_ci msm_mux_blsp_uim3_b, 48862306a36Sopenharmony_ci msm_mux_blsp_uim7_a, 48962306a36Sopenharmony_ci msm_mux_blsp_uim7_b, 49062306a36Sopenharmony_ci msm_mux_blsp_uim8_a, 49162306a36Sopenharmony_ci msm_mux_blsp_uim8_b, 49262306a36Sopenharmony_ci msm_mux_blsp_uim9_a, 49362306a36Sopenharmony_ci msm_mux_blsp_uim9_b, 49462306a36Sopenharmony_ci msm_mux_bt_reset, 49562306a36Sopenharmony_ci msm_mux_btfm_slimbus, 49662306a36Sopenharmony_ci msm_mux_cam_mclk, 49762306a36Sopenharmony_ci msm_mux_cci_async, 49862306a36Sopenharmony_ci msm_mux_cci_i2c, 49962306a36Sopenharmony_ci msm_mux_cci_timer0, 50062306a36Sopenharmony_ci msm_mux_cci_timer1, 50162306a36Sopenharmony_ci msm_mux_cci_timer2, 50262306a36Sopenharmony_ci msm_mux_cci_timer3, 50362306a36Sopenharmony_ci msm_mux_cci_timer4, 50462306a36Sopenharmony_ci msm_mux_cri_trng, 50562306a36Sopenharmony_ci msm_mux_cri_trng0, 50662306a36Sopenharmony_ci msm_mux_cri_trng1, 50762306a36Sopenharmony_ci msm_mux_dbg_out, 50862306a36Sopenharmony_ci msm_mux_ddr_bist, 50962306a36Sopenharmony_ci msm_mux_edp_hot, 51062306a36Sopenharmony_ci msm_mux_edp_lcd, 51162306a36Sopenharmony_ci msm_mux_gcc_gp1_a, 51262306a36Sopenharmony_ci msm_mux_gcc_gp1_b, 51362306a36Sopenharmony_ci msm_mux_gcc_gp2_a, 51462306a36Sopenharmony_ci msm_mux_gcc_gp2_b, 51562306a36Sopenharmony_ci msm_mux_gcc_gp3_a, 51662306a36Sopenharmony_ci msm_mux_gcc_gp3_b, 51762306a36Sopenharmony_ci msm_mux_gpio, 51862306a36Sopenharmony_ci msm_mux_hdmi_cec, 51962306a36Sopenharmony_ci msm_mux_hdmi_ddc, 52062306a36Sopenharmony_ci msm_mux_hdmi_hot, 52162306a36Sopenharmony_ci msm_mux_hdmi_rcv, 52262306a36Sopenharmony_ci msm_mux_isense_dbg, 52362306a36Sopenharmony_ci msm_mux_jitter_bist, 52462306a36Sopenharmony_ci msm_mux_ldo_en, 52562306a36Sopenharmony_ci msm_mux_ldo_update, 52662306a36Sopenharmony_ci msm_mux_lpass_slimbus, 52762306a36Sopenharmony_ci msm_mux_m_voc, 52862306a36Sopenharmony_ci msm_mux_mdp_vsync, 52962306a36Sopenharmony_ci msm_mux_mdp_vsync0, 53062306a36Sopenharmony_ci msm_mux_mdp_vsync1, 53162306a36Sopenharmony_ci msm_mux_mdp_vsync2, 53262306a36Sopenharmony_ci msm_mux_mdp_vsync3, 53362306a36Sopenharmony_ci msm_mux_mdp_vsync_a, 53462306a36Sopenharmony_ci msm_mux_mdp_vsync_b, 53562306a36Sopenharmony_ci msm_mux_modem_tsync, 53662306a36Sopenharmony_ci msm_mux_mss_lte, 53762306a36Sopenharmony_ci msm_mux_nav_dr, 53862306a36Sopenharmony_ci msm_mux_nav_pps, 53962306a36Sopenharmony_ci msm_mux_pa_indicator, 54062306a36Sopenharmony_ci msm_mux_pci_e0, 54162306a36Sopenharmony_ci msm_mux_phase_flag, 54262306a36Sopenharmony_ci msm_mux_pll_bypassnl, 54362306a36Sopenharmony_ci msm_mux_pll_reset, 54462306a36Sopenharmony_ci msm_mux_pri_mi2s, 54562306a36Sopenharmony_ci msm_mux_pri_mi2s_ws, 54662306a36Sopenharmony_ci msm_mux_prng_rosc, 54762306a36Sopenharmony_ci msm_mux_pwr_crypto, 54862306a36Sopenharmony_ci msm_mux_pwr_modem, 54962306a36Sopenharmony_ci msm_mux_pwr_nav, 55062306a36Sopenharmony_ci msm_mux_qdss_cti0_a, 55162306a36Sopenharmony_ci msm_mux_qdss_cti0_b, 55262306a36Sopenharmony_ci msm_mux_qdss_cti1_a, 55362306a36Sopenharmony_ci msm_mux_qdss_cti1_b, 55462306a36Sopenharmony_ci msm_mux_qdss, 55562306a36Sopenharmony_ci msm_mux_qlink_enable, 55662306a36Sopenharmony_ci msm_mux_qlink_request, 55762306a36Sopenharmony_ci msm_mux_qua_mi2s, 55862306a36Sopenharmony_ci msm_mux_sd_card, 55962306a36Sopenharmony_ci msm_mux_sd_write, 56062306a36Sopenharmony_ci msm_mux_sdc40, 56162306a36Sopenharmony_ci msm_mux_sdc41, 56262306a36Sopenharmony_ci msm_mux_sdc42, 56362306a36Sopenharmony_ci msm_mux_sdc43, 56462306a36Sopenharmony_ci msm_mux_sdc4_clk, 56562306a36Sopenharmony_ci msm_mux_sdc4_cmd, 56662306a36Sopenharmony_ci msm_mux_sec_mi2s, 56762306a36Sopenharmony_ci msm_mux_sp_cmu, 56862306a36Sopenharmony_ci msm_mux_spkr_i2s, 56962306a36Sopenharmony_ci msm_mux_ssbi1, 57062306a36Sopenharmony_ci msm_mux_ssc_irq, 57162306a36Sopenharmony_ci msm_mux_ter_mi2s, 57262306a36Sopenharmony_ci msm_mux_tgu_ch0, 57362306a36Sopenharmony_ci msm_mux_tgu_ch1, 57462306a36Sopenharmony_ci msm_mux_tsense_pwm1, 57562306a36Sopenharmony_ci msm_mux_tsense_pwm2, 57662306a36Sopenharmony_ci msm_mux_tsif0, 57762306a36Sopenharmony_ci msm_mux_tsif1, 57862306a36Sopenharmony_ci msm_mux_uim1_clk, 57962306a36Sopenharmony_ci msm_mux_uim1_data, 58062306a36Sopenharmony_ci msm_mux_uim1_present, 58162306a36Sopenharmony_ci msm_mux_uim1_reset, 58262306a36Sopenharmony_ci msm_mux_uim2_clk, 58362306a36Sopenharmony_ci msm_mux_uim2_data, 58462306a36Sopenharmony_ci msm_mux_uim2_present, 58562306a36Sopenharmony_ci msm_mux_uim2_reset, 58662306a36Sopenharmony_ci msm_mux_uim_batt, 58762306a36Sopenharmony_ci msm_mux_usb_phy, 58862306a36Sopenharmony_ci msm_mux_vfr_1, 58962306a36Sopenharmony_ci msm_mux_vsense_clkout, 59062306a36Sopenharmony_ci msm_mux_vsense_data0, 59162306a36Sopenharmony_ci msm_mux_vsense_data1, 59262306a36Sopenharmony_ci msm_mux_vsense_mode, 59362306a36Sopenharmony_ci msm_mux_wlan1_adc0, 59462306a36Sopenharmony_ci msm_mux_wlan1_adc1, 59562306a36Sopenharmony_ci msm_mux_wlan2_adc0, 59662306a36Sopenharmony_ci msm_mux_wlan2_adc1, 59762306a36Sopenharmony_ci msm_mux__, 59862306a36Sopenharmony_ci}; 59962306a36Sopenharmony_ci 60062306a36Sopenharmony_cistatic const char * const gpio_groups[] = { 60162306a36Sopenharmony_ci "gpio0", "gpio1", "gpio2", "gpio3", "gpio4", "gpio5", "gpio6", "gpio7", 60262306a36Sopenharmony_ci "gpio8", "gpio9", "gpio10", "gpio11", "gpio12", "gpio13", "gpio14", 60362306a36Sopenharmony_ci "gpio15", "gpio16", "gpio17", "gpio18", "gpio19", "gpio20", "gpio21", 60462306a36Sopenharmony_ci "gpio22", "gpio23", "gpio24", "gpio25", "gpio26", "gpio27", "gpio28", 60562306a36Sopenharmony_ci "gpio29", "gpio30", "gpio31", "gpio32", "gpio33", "gpio34", "gpio35", 60662306a36Sopenharmony_ci "gpio36", "gpio37", "gpio38", "gpio39", "gpio40", "gpio41", "gpio42", 60762306a36Sopenharmony_ci "gpio43", "gpio44", "gpio45", "gpio46", "gpio47", "gpio48", "gpio49", 60862306a36Sopenharmony_ci "gpio50", "gpio51", "gpio52", "gpio53", "gpio54", "gpio55", "gpio56", 60962306a36Sopenharmony_ci "gpio57", "gpio58", "gpio59", "gpio60", "gpio61", "gpio62", "gpio63", 61062306a36Sopenharmony_ci "gpio64", "gpio65", "gpio66", "gpio67", "gpio68", "gpio69", "gpio70", 61162306a36Sopenharmony_ci "gpio71", "gpio72", "gpio73", "gpio74", "gpio75", "gpio76", "gpio77", 61262306a36Sopenharmony_ci "gpio78", "gpio79", "gpio80", "gpio81", "gpio82", "gpio83", "gpio84", 61362306a36Sopenharmony_ci "gpio85", "gpio86", "gpio87", "gpio88", "gpio89", "gpio90", "gpio91", 61462306a36Sopenharmony_ci "gpio92", "gpio93", "gpio94", "gpio95", "gpio96", "gpio97", "gpio98", 61562306a36Sopenharmony_ci "gpio99", "gpio100", "gpio101", "gpio102", "gpio103", "gpio104", 61662306a36Sopenharmony_ci "gpio105", "gpio106", "gpio107", "gpio108", "gpio109", "gpio110", 61762306a36Sopenharmony_ci "gpio111", "gpio112", "gpio113", "gpio114", "gpio115", "gpio116", 61862306a36Sopenharmony_ci "gpio117", "gpio118", "gpio119", "gpio120", "gpio121", "gpio122", 61962306a36Sopenharmony_ci "gpio123", "gpio124", "gpio125", "gpio126", "gpio127", "gpio128", 62062306a36Sopenharmony_ci "gpio129", "gpio130", "gpio131", "gpio132", "gpio133", "gpio134", 62162306a36Sopenharmony_ci "gpio135", "gpio136", "gpio137", "gpio138", "gpio139", "gpio140", 62262306a36Sopenharmony_ci "gpio141", "gpio142", "gpio143", "gpio144", "gpio145", "gpio146", 62362306a36Sopenharmony_ci "gpio147", "gpio148", "gpio149", 62462306a36Sopenharmony_ci}; 62562306a36Sopenharmony_cistatic const char * const blsp_spi1_groups[] = { 62662306a36Sopenharmony_ci "gpio0", "gpio1", "gpio2", "gpio3", 62762306a36Sopenharmony_ci}; 62862306a36Sopenharmony_cistatic const char * const blsp_uim1_a_groups[] = { 62962306a36Sopenharmony_ci "gpio0", "gpio1", 63062306a36Sopenharmony_ci}; 63162306a36Sopenharmony_cistatic const char * const blsp_uart1_a_groups[] = { 63262306a36Sopenharmony_ci "gpio0", "gpio1", "gpio2", "gpio3", 63362306a36Sopenharmony_ci}; 63462306a36Sopenharmony_cistatic const char * const blsp_i2c1_groups[] = { 63562306a36Sopenharmony_ci "gpio2", "gpio3", 63662306a36Sopenharmony_ci}; 63762306a36Sopenharmony_cistatic const char * const blsp_spi8_groups[] = { 63862306a36Sopenharmony_ci "gpio4", "gpio5", "gpio6", "gpio7", 63962306a36Sopenharmony_ci}; 64062306a36Sopenharmony_cistatic const char * const blsp_uart8_a_groups[] = { 64162306a36Sopenharmony_ci "gpio4", "gpio5", "gpio6", "gpio7", 64262306a36Sopenharmony_ci}; 64362306a36Sopenharmony_cistatic const char * const blsp_uim8_a_groups[] = { 64462306a36Sopenharmony_ci "gpio4", "gpio5", 64562306a36Sopenharmony_ci}; 64662306a36Sopenharmony_cistatic const char * const qdss_cti0_b_groups[] = { 64762306a36Sopenharmony_ci "gpio4", "gpio5", 64862306a36Sopenharmony_ci}; 64962306a36Sopenharmony_cistatic const char * const blsp_i2c8_groups[] = { 65062306a36Sopenharmony_ci "gpio6", "gpio7", 65162306a36Sopenharmony_ci}; 65262306a36Sopenharmony_cistatic const char * const ddr_bist_groups[] = { 65362306a36Sopenharmony_ci "gpio7", "gpio8", "gpio9", "gpio10", 65462306a36Sopenharmony_ci}; 65562306a36Sopenharmony_cistatic const char * const atest_tsens2_groups[] = { 65662306a36Sopenharmony_ci "gpio7", 65762306a36Sopenharmony_ci}; 65862306a36Sopenharmony_cistatic const char * const atest_usb1_groups[] = { 65962306a36Sopenharmony_ci "gpio7", 66062306a36Sopenharmony_ci}; 66162306a36Sopenharmony_cistatic const char * const blsp_spi4_groups[] = { 66262306a36Sopenharmony_ci "gpio8", "gpio9", "gpio10", "gpio11", 66362306a36Sopenharmony_ci}; 66462306a36Sopenharmony_cistatic const char * const blsp_uart1_b_groups[] = { 66562306a36Sopenharmony_ci "gpio8", "gpio9", "gpio10", "gpio11", 66662306a36Sopenharmony_ci}; 66762306a36Sopenharmony_cistatic const char * const blsp_uim1_b_groups[] = { 66862306a36Sopenharmony_ci "gpio8", "gpio9", 66962306a36Sopenharmony_ci}; 67062306a36Sopenharmony_cistatic const char * const wlan1_adc1_groups[] = { 67162306a36Sopenharmony_ci "gpio8", 67262306a36Sopenharmony_ci}; 67362306a36Sopenharmony_cistatic const char * const atest_usb13_groups[] = { 67462306a36Sopenharmony_ci "gpio8", 67562306a36Sopenharmony_ci}; 67662306a36Sopenharmony_cistatic const char * const bimc_dte1_groups[] = { 67762306a36Sopenharmony_ci "gpio8", "gpio10", 67862306a36Sopenharmony_ci}; 67962306a36Sopenharmony_cistatic const char * const wlan1_adc0_groups[] = { 68062306a36Sopenharmony_ci "gpio9", 68162306a36Sopenharmony_ci}; 68262306a36Sopenharmony_cistatic const char * const atest_usb12_groups[] = { 68362306a36Sopenharmony_ci "gpio9", 68462306a36Sopenharmony_ci}; 68562306a36Sopenharmony_cistatic const char * const bimc_dte0_groups[] = { 68662306a36Sopenharmony_ci "gpio9", "gpio11", 68762306a36Sopenharmony_ci}; 68862306a36Sopenharmony_cistatic const char * const mdp_vsync_a_groups[] = { 68962306a36Sopenharmony_ci "gpio10", "gpio11", 69062306a36Sopenharmony_ci}; 69162306a36Sopenharmony_cistatic const char * const blsp_i2c4_groups[] = { 69262306a36Sopenharmony_ci "gpio10", "gpio11", 69362306a36Sopenharmony_ci}; 69462306a36Sopenharmony_cistatic const char * const atest_gpsadc1_groups[] = { 69562306a36Sopenharmony_ci "gpio10", 69662306a36Sopenharmony_ci}; 69762306a36Sopenharmony_cistatic const char * const wlan2_adc1_groups[] = { 69862306a36Sopenharmony_ci "gpio10", 69962306a36Sopenharmony_ci}; 70062306a36Sopenharmony_cistatic const char * const atest_usb11_groups[] = { 70162306a36Sopenharmony_ci "gpio10", 70262306a36Sopenharmony_ci}; 70362306a36Sopenharmony_cistatic const char * const edp_lcd_groups[] = { 70462306a36Sopenharmony_ci "gpio11", 70562306a36Sopenharmony_ci}; 70662306a36Sopenharmony_cistatic const char * const dbg_out_groups[] = { 70762306a36Sopenharmony_ci "gpio11", 70862306a36Sopenharmony_ci}; 70962306a36Sopenharmony_cistatic const char * const atest_gpsadc0_groups[] = { 71062306a36Sopenharmony_ci "gpio11", 71162306a36Sopenharmony_ci}; 71262306a36Sopenharmony_cistatic const char * const wlan2_adc0_groups[] = { 71362306a36Sopenharmony_ci "gpio11", 71462306a36Sopenharmony_ci}; 71562306a36Sopenharmony_cistatic const char * const atest_usb10_groups[] = { 71662306a36Sopenharmony_ci "gpio11", 71762306a36Sopenharmony_ci}; 71862306a36Sopenharmony_cistatic const char * const mdp_vsync_groups[] = { 71962306a36Sopenharmony_ci "gpio12", 72062306a36Sopenharmony_ci}; 72162306a36Sopenharmony_cistatic const char * const m_voc_groups[] = { 72262306a36Sopenharmony_ci "gpio12", 72362306a36Sopenharmony_ci}; 72462306a36Sopenharmony_cistatic const char * const cam_mclk_groups[] = { 72562306a36Sopenharmony_ci "gpio13", "gpio14", "gpio15", "gpio16", 72662306a36Sopenharmony_ci}; 72762306a36Sopenharmony_cistatic const char * const pll_bypassnl_groups[] = { 72862306a36Sopenharmony_ci "gpio13", 72962306a36Sopenharmony_ci}; 73062306a36Sopenharmony_cistatic const char * const qdss_groups[] = { 73162306a36Sopenharmony_ci "gpio13", "gpio14", "gpio15", "gpio16", "gpio17", "gpio18", "gpio19", 73262306a36Sopenharmony_ci "gpio20", "gpio21", "gpio22", "gpio23", "gpio24", "gpio25", "gpio26", 73362306a36Sopenharmony_ci "gpio27", "gpio28", "gpio29", "gpio30", "gpio41", "gpio42", "gpio43", 73462306a36Sopenharmony_ci "gpio44", "gpio75", "gpio76", "gpio77", "gpio79", "gpio80", "gpio93", 73562306a36Sopenharmony_ci "gpio117", "gpio118", "gpio119", "gpio120", "gpio121", "gpio122", 73662306a36Sopenharmony_ci "gpio123", "gpio124", 73762306a36Sopenharmony_ci}; 73862306a36Sopenharmony_cistatic const char * const pll_reset_groups[] = { 73962306a36Sopenharmony_ci "gpio14", 74062306a36Sopenharmony_ci}; 74162306a36Sopenharmony_cistatic const char * const cci_i2c_groups[] = { 74262306a36Sopenharmony_ci "gpio17", "gpio18", "gpio19", "gpio20", 74362306a36Sopenharmony_ci}; 74462306a36Sopenharmony_cistatic const char * const phase_flag_groups[] = { 74562306a36Sopenharmony_ci "gpio18", "gpio19", "gpio73", "gpio74", "gpio75", "gpio76", "gpio77", 74662306a36Sopenharmony_ci "gpio89", "gpio91", "gpio92", "gpio96", "gpio114", "gpio115", 74762306a36Sopenharmony_ci "gpio116", "gpio117", "gpio118", "gpio119", "gpio120", "gpio121", 74862306a36Sopenharmony_ci "gpio122", "gpio123", "gpio124", "gpio125", "gpio126", "gpio128", 74962306a36Sopenharmony_ci "gpio129", "gpio130", "gpio131", "gpio132", "gpio133", "gpio134", 75062306a36Sopenharmony_ci}; 75162306a36Sopenharmony_cistatic const char * const cci_timer4_groups[] = { 75262306a36Sopenharmony_ci "gpio25", 75362306a36Sopenharmony_ci}; 75462306a36Sopenharmony_cistatic const char * const blsp2_spi_groups[] = { 75562306a36Sopenharmony_ci "gpio25", "gpio29", "gpio30", 75662306a36Sopenharmony_ci}; 75762306a36Sopenharmony_cistatic const char * const cci_timer0_groups[] = { 75862306a36Sopenharmony_ci "gpio21", 75962306a36Sopenharmony_ci}; 76062306a36Sopenharmony_cistatic const char * const vsense_data0_groups[] = { 76162306a36Sopenharmony_ci "gpio21", 76262306a36Sopenharmony_ci}; 76362306a36Sopenharmony_cistatic const char * const cci_timer1_groups[] = { 76462306a36Sopenharmony_ci "gpio22", 76562306a36Sopenharmony_ci}; 76662306a36Sopenharmony_cistatic const char * const vsense_data1_groups[] = { 76762306a36Sopenharmony_ci "gpio22", 76862306a36Sopenharmony_ci}; 76962306a36Sopenharmony_cistatic const char * const cci_timer2_groups[] = { 77062306a36Sopenharmony_ci "gpio23", 77162306a36Sopenharmony_ci}; 77262306a36Sopenharmony_cistatic const char * const blsp1_spi_b_groups[] = { 77362306a36Sopenharmony_ci "gpio23", "gpio28", 77462306a36Sopenharmony_ci}; 77562306a36Sopenharmony_cistatic const char * const vsense_mode_groups[] = { 77662306a36Sopenharmony_ci "gpio23", 77762306a36Sopenharmony_ci}; 77862306a36Sopenharmony_cistatic const char * const cci_timer3_groups[] = { 77962306a36Sopenharmony_ci "gpio24", 78062306a36Sopenharmony_ci}; 78162306a36Sopenharmony_cistatic const char * const cci_async_groups[] = { 78262306a36Sopenharmony_ci "gpio24", "gpio25", "gpio26", 78362306a36Sopenharmony_ci}; 78462306a36Sopenharmony_cistatic const char * const blsp1_spi_a_groups[] = { 78562306a36Sopenharmony_ci "gpio24", "gpio27", 78662306a36Sopenharmony_ci}; 78762306a36Sopenharmony_cistatic const char * const vsense_clkout_groups[] = { 78862306a36Sopenharmony_ci "gpio24", 78962306a36Sopenharmony_ci}; 79062306a36Sopenharmony_cistatic const char * const hdmi_rcv_groups[] = { 79162306a36Sopenharmony_ci "gpio30", 79262306a36Sopenharmony_ci}; 79362306a36Sopenharmony_cistatic const char * const hdmi_cec_groups[] = { 79462306a36Sopenharmony_ci "gpio31", 79562306a36Sopenharmony_ci}; 79662306a36Sopenharmony_cistatic const char * const blsp_spi2_groups[] = { 79762306a36Sopenharmony_ci "gpio31", "gpio32", "gpio33", "gpio34", 79862306a36Sopenharmony_ci}; 79962306a36Sopenharmony_cistatic const char * const blsp_uart2_a_groups[] = { 80062306a36Sopenharmony_ci "gpio31", "gpio32", "gpio33", "gpio34", 80162306a36Sopenharmony_ci}; 80262306a36Sopenharmony_cistatic const char * const blsp_uim2_a_groups[] = { 80362306a36Sopenharmony_ci "gpio31", "gpio34", 80462306a36Sopenharmony_ci}; 80562306a36Sopenharmony_cistatic const char * const pwr_modem_groups[] = { 80662306a36Sopenharmony_ci "gpio31", 80762306a36Sopenharmony_ci}; 80862306a36Sopenharmony_cistatic const char * const hdmi_ddc_groups[] = { 80962306a36Sopenharmony_ci "gpio32", "gpio33", 81062306a36Sopenharmony_ci}; 81162306a36Sopenharmony_cistatic const char * const blsp_i2c2_groups[] = { 81262306a36Sopenharmony_ci "gpio32", "gpio33", 81362306a36Sopenharmony_ci}; 81462306a36Sopenharmony_cistatic const char * const pwr_nav_groups[] = { 81562306a36Sopenharmony_ci "gpio32", 81662306a36Sopenharmony_ci}; 81762306a36Sopenharmony_cistatic const char * const pwr_crypto_groups[] = { 81862306a36Sopenharmony_ci "gpio33", 81962306a36Sopenharmony_ci}; 82062306a36Sopenharmony_cistatic const char * const hdmi_hot_groups[] = { 82162306a36Sopenharmony_ci "gpio34", 82262306a36Sopenharmony_ci}; 82362306a36Sopenharmony_cistatic const char * const edp_hot_groups[] = { 82462306a36Sopenharmony_ci "gpio34", 82562306a36Sopenharmony_ci}; 82662306a36Sopenharmony_cistatic const char * const pci_e0_groups[] = { 82762306a36Sopenharmony_ci "gpio35", "gpio36", "gpio37", 82862306a36Sopenharmony_ci}; 82962306a36Sopenharmony_cistatic const char * const jitter_bist_groups[] = { 83062306a36Sopenharmony_ci "gpio35", 83162306a36Sopenharmony_ci}; 83262306a36Sopenharmony_cistatic const char * const agera_pll_groups[] = { 83362306a36Sopenharmony_ci "gpio36", "gpio37", 83462306a36Sopenharmony_ci}; 83562306a36Sopenharmony_cistatic const char * const atest_tsens_groups[] = { 83662306a36Sopenharmony_ci "gpio36", 83762306a36Sopenharmony_ci}; 83862306a36Sopenharmony_cistatic const char * const usb_phy_groups[] = { 83962306a36Sopenharmony_ci "gpio38", 84062306a36Sopenharmony_ci}; 84162306a36Sopenharmony_cistatic const char * const lpass_slimbus_groups[] = { 84262306a36Sopenharmony_ci "gpio39", "gpio70", "gpio71", "gpio72", 84362306a36Sopenharmony_ci}; 84462306a36Sopenharmony_cistatic const char * const sd_write_groups[] = { 84562306a36Sopenharmony_ci "gpio40", 84662306a36Sopenharmony_ci}; 84762306a36Sopenharmony_cistatic const char * const blsp_spi6_groups[] = { 84862306a36Sopenharmony_ci "gpio41", "gpio42", "gpio43", "gpio44", 84962306a36Sopenharmony_ci}; 85062306a36Sopenharmony_cistatic const char * const blsp_uart3_b_groups[] = { 85162306a36Sopenharmony_ci "gpio41", "gpio42", "gpio43", "gpio44", 85262306a36Sopenharmony_ci}; 85362306a36Sopenharmony_cistatic const char * const blsp_uim3_b_groups[] = { 85462306a36Sopenharmony_ci "gpio41", "gpio42", 85562306a36Sopenharmony_ci}; 85662306a36Sopenharmony_cistatic const char * const blsp_i2c6_groups[] = { 85762306a36Sopenharmony_ci "gpio43", "gpio44", 85862306a36Sopenharmony_ci}; 85962306a36Sopenharmony_cistatic const char * const bt_reset_groups[] = { 86062306a36Sopenharmony_ci "gpio45", 86162306a36Sopenharmony_ci}; 86262306a36Sopenharmony_cistatic const char * const blsp_spi3_groups[] = { 86362306a36Sopenharmony_ci "gpio45", "gpio46", "gpio47", "gpio48", 86462306a36Sopenharmony_ci}; 86562306a36Sopenharmony_cistatic const char * const blsp_uart3_a_groups[] = { 86662306a36Sopenharmony_ci "gpio45", "gpio46", "gpio47", "gpio48", 86762306a36Sopenharmony_ci}; 86862306a36Sopenharmony_cistatic const char * const blsp_uim3_a_groups[] = { 86962306a36Sopenharmony_ci "gpio45", "gpio46", 87062306a36Sopenharmony_ci}; 87162306a36Sopenharmony_cistatic const char * const blsp_i2c3_groups[] = { 87262306a36Sopenharmony_ci "gpio47", "gpio48", 87362306a36Sopenharmony_ci}; 87462306a36Sopenharmony_cistatic const char * const blsp_spi9_groups[] = { 87562306a36Sopenharmony_ci "gpio49", "gpio50", "gpio51", "gpio52", 87662306a36Sopenharmony_ci}; 87762306a36Sopenharmony_cistatic const char * const blsp_uart9_a_groups[] = { 87862306a36Sopenharmony_ci "gpio49", "gpio50", "gpio51", "gpio52", 87962306a36Sopenharmony_ci}; 88062306a36Sopenharmony_cistatic const char * const blsp_uim9_a_groups[] = { 88162306a36Sopenharmony_ci "gpio49", "gpio50", 88262306a36Sopenharmony_ci}; 88362306a36Sopenharmony_cistatic const char * const blsp10_spi_b_groups[] = { 88462306a36Sopenharmony_ci "gpio49", "gpio50", 88562306a36Sopenharmony_ci}; 88662306a36Sopenharmony_cistatic const char * const qdss_cti0_a_groups[] = { 88762306a36Sopenharmony_ci "gpio49", "gpio50", 88862306a36Sopenharmony_ci}; 88962306a36Sopenharmony_cistatic const char * const blsp_i2c9_groups[] = { 89062306a36Sopenharmony_ci "gpio51", "gpio52", 89162306a36Sopenharmony_ci}; 89262306a36Sopenharmony_cistatic const char * const blsp10_spi_a_groups[] = { 89362306a36Sopenharmony_ci "gpio51", "gpio52", 89462306a36Sopenharmony_ci}; 89562306a36Sopenharmony_cistatic const char * const blsp_spi7_groups[] = { 89662306a36Sopenharmony_ci "gpio53", "gpio54", "gpio55", "gpio56", 89762306a36Sopenharmony_ci}; 89862306a36Sopenharmony_cistatic const char * const blsp_uart7_a_groups[] = { 89962306a36Sopenharmony_ci "gpio53", "gpio54", "gpio55", "gpio56", 90062306a36Sopenharmony_ci}; 90162306a36Sopenharmony_cistatic const char * const blsp_uim7_a_groups[] = { 90262306a36Sopenharmony_ci "gpio53", "gpio54", 90362306a36Sopenharmony_ci}; 90462306a36Sopenharmony_cistatic const char * const blsp_i2c7_groups[] = { 90562306a36Sopenharmony_ci "gpio55", "gpio56", 90662306a36Sopenharmony_ci}; 90762306a36Sopenharmony_cistatic const char * const qua_mi2s_groups[] = { 90862306a36Sopenharmony_ci "gpio57", "gpio58", "gpio59", "gpio60", "gpio61", "gpio62", "gpio63", 90962306a36Sopenharmony_ci}; 91062306a36Sopenharmony_cistatic const char * const blsp10_spi_groups[] = { 91162306a36Sopenharmony_ci "gpio57", 91262306a36Sopenharmony_ci}; 91362306a36Sopenharmony_cistatic const char * const gcc_gp1_a_groups[] = { 91462306a36Sopenharmony_ci "gpio57", 91562306a36Sopenharmony_ci}; 91662306a36Sopenharmony_cistatic const char * const ssc_irq_groups[] = { 91762306a36Sopenharmony_ci "gpio58", "gpio59", "gpio60", "gpio61", "gpio62", "gpio63", "gpio78", 91862306a36Sopenharmony_ci "gpio79", "gpio80", "gpio117", "gpio118", "gpio119", "gpio120", 91962306a36Sopenharmony_ci "gpio121", "gpio122", "gpio123", "gpio124", "gpio125", 92062306a36Sopenharmony_ci}; 92162306a36Sopenharmony_cistatic const char * const blsp_spi11_groups[] = { 92262306a36Sopenharmony_ci "gpio58", "gpio59", "gpio60", "gpio61", 92362306a36Sopenharmony_ci}; 92462306a36Sopenharmony_cistatic const char * const blsp_uart8_b_groups[] = { 92562306a36Sopenharmony_ci "gpio58", "gpio59", "gpio60", "gpio61", 92662306a36Sopenharmony_ci}; 92762306a36Sopenharmony_cistatic const char * const blsp_uim8_b_groups[] = { 92862306a36Sopenharmony_ci "gpio58", "gpio59", 92962306a36Sopenharmony_ci}; 93062306a36Sopenharmony_cistatic const char * const gcc_gp2_a_groups[] = { 93162306a36Sopenharmony_ci "gpio58", 93262306a36Sopenharmony_ci}; 93362306a36Sopenharmony_cistatic const char * const qdss_cti1_a_groups[] = { 93462306a36Sopenharmony_ci "gpio58", "gpio59", 93562306a36Sopenharmony_ci}; 93662306a36Sopenharmony_cistatic const char * const gcc_gp3_a_groups[] = { 93762306a36Sopenharmony_ci "gpio59", 93862306a36Sopenharmony_ci}; 93962306a36Sopenharmony_cistatic const char * const blsp_i2c11_groups[] = { 94062306a36Sopenharmony_ci "gpio60", "gpio61", 94162306a36Sopenharmony_ci}; 94262306a36Sopenharmony_cistatic const char * const cri_trng0_groups[] = { 94362306a36Sopenharmony_ci "gpio60", 94462306a36Sopenharmony_ci}; 94562306a36Sopenharmony_cistatic const char * const cri_trng1_groups[] = { 94662306a36Sopenharmony_ci "gpio61", 94762306a36Sopenharmony_ci}; 94862306a36Sopenharmony_cistatic const char * const cri_trng_groups[] = { 94962306a36Sopenharmony_ci "gpio62", 95062306a36Sopenharmony_ci}; 95162306a36Sopenharmony_cistatic const char * const pri_mi2s_groups[] = { 95262306a36Sopenharmony_ci "gpio64", "gpio65", "gpio67", "gpio68", 95362306a36Sopenharmony_ci}; 95462306a36Sopenharmony_cistatic const char * const sp_cmu_groups[] = { 95562306a36Sopenharmony_ci "gpio64", 95662306a36Sopenharmony_ci}; 95762306a36Sopenharmony_cistatic const char * const blsp_spi10_groups[] = { 95862306a36Sopenharmony_ci "gpio65", "gpio66", "gpio67", "gpio68", 95962306a36Sopenharmony_ci}; 96062306a36Sopenharmony_cistatic const char * const blsp_uart7_b_groups[] = { 96162306a36Sopenharmony_ci "gpio65", "gpio66", "gpio67", "gpio68", 96262306a36Sopenharmony_ci}; 96362306a36Sopenharmony_cistatic const char * const blsp_uim7_b_groups[] = { 96462306a36Sopenharmony_ci "gpio65", "gpio66", 96562306a36Sopenharmony_ci}; 96662306a36Sopenharmony_cistatic const char * const pri_mi2s_ws_groups[] = { 96762306a36Sopenharmony_ci "gpio66", 96862306a36Sopenharmony_ci}; 96962306a36Sopenharmony_cistatic const char * const blsp_i2c10_groups[] = { 97062306a36Sopenharmony_ci "gpio67", "gpio68", 97162306a36Sopenharmony_ci}; 97262306a36Sopenharmony_cistatic const char * const spkr_i2s_groups[] = { 97362306a36Sopenharmony_ci "gpio69", "gpio70", "gpio71", "gpio72", 97462306a36Sopenharmony_ci}; 97562306a36Sopenharmony_cistatic const char * const audio_ref_groups[] = { 97662306a36Sopenharmony_ci "gpio69", 97762306a36Sopenharmony_ci}; 97862306a36Sopenharmony_cistatic const char * const blsp9_spi_groups[] = { 97962306a36Sopenharmony_ci "gpio70", "gpio71", "gpio72", 98062306a36Sopenharmony_ci}; 98162306a36Sopenharmony_cistatic const char * const tsense_pwm1_groups[] = { 98262306a36Sopenharmony_ci "gpio71", 98362306a36Sopenharmony_ci}; 98462306a36Sopenharmony_cistatic const char * const tsense_pwm2_groups[] = { 98562306a36Sopenharmony_ci "gpio71", 98662306a36Sopenharmony_ci}; 98762306a36Sopenharmony_cistatic const char * const btfm_slimbus_groups[] = { 98862306a36Sopenharmony_ci "gpio73", "gpio74", 98962306a36Sopenharmony_ci}; 99062306a36Sopenharmony_cistatic const char * const ter_mi2s_groups[] = { 99162306a36Sopenharmony_ci "gpio74", "gpio75", "gpio76", "gpio77", "gpio78", 99262306a36Sopenharmony_ci}; 99362306a36Sopenharmony_cistatic const char * const gcc_gp1_b_groups[] = { 99462306a36Sopenharmony_ci "gpio78", 99562306a36Sopenharmony_ci}; 99662306a36Sopenharmony_cistatic const char * const sec_mi2s_groups[] = { 99762306a36Sopenharmony_ci "gpio79", "gpio80", "gpio81", "gpio82", "gpio83", 99862306a36Sopenharmony_ci}; 99962306a36Sopenharmony_cistatic const char * const blsp_spi12_groups[] = { 100062306a36Sopenharmony_ci "gpio81", "gpio82", "gpio83", "gpio84", 100162306a36Sopenharmony_ci}; 100262306a36Sopenharmony_cistatic const char * const blsp_uart9_b_groups[] = { 100362306a36Sopenharmony_ci "gpio81", "gpio82", "gpio83", "gpio84", 100462306a36Sopenharmony_ci}; 100562306a36Sopenharmony_cistatic const char * const blsp_uim9_b_groups[] = { 100662306a36Sopenharmony_ci "gpio81", "gpio82", 100762306a36Sopenharmony_ci}; 100862306a36Sopenharmony_cistatic const char * const gcc_gp2_b_groups[] = { 100962306a36Sopenharmony_ci "gpio81", 101062306a36Sopenharmony_ci}; 101162306a36Sopenharmony_cistatic const char * const gcc_gp3_b_groups[] = { 101262306a36Sopenharmony_ci "gpio82", 101362306a36Sopenharmony_ci}; 101462306a36Sopenharmony_cistatic const char * const blsp_i2c12_groups[] = { 101562306a36Sopenharmony_ci "gpio83", "gpio84", 101662306a36Sopenharmony_ci}; 101762306a36Sopenharmony_cistatic const char * const blsp_spi5_groups[] = { 101862306a36Sopenharmony_ci "gpio85", "gpio86", "gpio87", "gpio88", 101962306a36Sopenharmony_ci}; 102062306a36Sopenharmony_cistatic const char * const blsp_uart2_b_groups[] = { 102162306a36Sopenharmony_ci "gpio85", "gpio86", "gpio87", "gpio88", 102262306a36Sopenharmony_ci}; 102362306a36Sopenharmony_cistatic const char * const blsp_uim2_b_groups[] = { 102462306a36Sopenharmony_ci "gpio85", "gpio86", 102562306a36Sopenharmony_ci}; 102662306a36Sopenharmony_cistatic const char * const blsp_i2c5_groups[] = { 102762306a36Sopenharmony_ci "gpio87", "gpio88", 102862306a36Sopenharmony_ci}; 102962306a36Sopenharmony_cistatic const char * const tsif0_groups[] = { 103062306a36Sopenharmony_ci "gpio9", "gpio40", "gpio89", "gpio90", "gpio91", 103162306a36Sopenharmony_ci}; 103262306a36Sopenharmony_cistatic const char * const mdp_vsync0_groups[] = { 103362306a36Sopenharmony_ci "gpio90", 103462306a36Sopenharmony_ci}; 103562306a36Sopenharmony_cistatic const char * const mdp_vsync1_groups[] = { 103662306a36Sopenharmony_ci "gpio90", 103762306a36Sopenharmony_ci}; 103862306a36Sopenharmony_cistatic const char * const mdp_vsync2_groups[] = { 103962306a36Sopenharmony_ci "gpio90", 104062306a36Sopenharmony_ci}; 104162306a36Sopenharmony_cistatic const char * const mdp_vsync3_groups[] = { 104262306a36Sopenharmony_ci "gpio90", 104362306a36Sopenharmony_ci}; 104462306a36Sopenharmony_cistatic const char * const blsp1_spi_groups[] = { 104562306a36Sopenharmony_ci "gpio90", 104662306a36Sopenharmony_ci}; 104762306a36Sopenharmony_cistatic const char * const tgu_ch0_groups[] = { 104862306a36Sopenharmony_ci "gpio90", 104962306a36Sopenharmony_ci}; 105062306a36Sopenharmony_cistatic const char * const qdss_cti1_b_groups[] = { 105162306a36Sopenharmony_ci "gpio90", "gpio91", 105262306a36Sopenharmony_ci}; 105362306a36Sopenharmony_cistatic const char * const sdc4_cmd_groups[] = { 105462306a36Sopenharmony_ci "gpio91", 105562306a36Sopenharmony_ci}; 105662306a36Sopenharmony_cistatic const char * const tgu_ch1_groups[] = { 105762306a36Sopenharmony_ci "gpio91", 105862306a36Sopenharmony_ci}; 105962306a36Sopenharmony_cistatic const char * const tsif1_groups[] = { 106062306a36Sopenharmony_ci "gpio92", "gpio93", "gpio94", "gpio95", "gpio96", 106162306a36Sopenharmony_ci}; 106262306a36Sopenharmony_cistatic const char * const sdc43_groups[] = { 106362306a36Sopenharmony_ci "gpio92", 106462306a36Sopenharmony_ci}; 106562306a36Sopenharmony_cistatic const char * const vfr_1_groups[] = { 106662306a36Sopenharmony_ci "gpio92", 106762306a36Sopenharmony_ci}; 106862306a36Sopenharmony_cistatic const char * const sdc4_clk_groups[] = { 106962306a36Sopenharmony_ci "gpio93", 107062306a36Sopenharmony_ci}; 107162306a36Sopenharmony_cistatic const char * const sdc42_groups[] = { 107262306a36Sopenharmony_ci "gpio94", 107362306a36Sopenharmony_ci}; 107462306a36Sopenharmony_cistatic const char * const sd_card_groups[] = { 107562306a36Sopenharmony_ci "gpio95", 107662306a36Sopenharmony_ci}; 107762306a36Sopenharmony_cistatic const char * const sdc41_groups[] = { 107862306a36Sopenharmony_ci "gpio95", 107962306a36Sopenharmony_ci}; 108062306a36Sopenharmony_cistatic const char * const sdc40_groups[] = { 108162306a36Sopenharmony_ci "gpio96", 108262306a36Sopenharmony_ci}; 108362306a36Sopenharmony_cistatic const char * const mdp_vsync_b_groups[] = { 108462306a36Sopenharmony_ci "gpio97", "gpio98", 108562306a36Sopenharmony_ci}; 108662306a36Sopenharmony_cistatic const char * const ldo_en_groups[] = { 108762306a36Sopenharmony_ci "gpio97", 108862306a36Sopenharmony_ci}; 108962306a36Sopenharmony_cistatic const char * const ldo_update_groups[] = { 109062306a36Sopenharmony_ci "gpio98", 109162306a36Sopenharmony_ci}; 109262306a36Sopenharmony_cistatic const char * const blsp_uart8_groups[] = { 109362306a36Sopenharmony_ci "gpio100", "gpio101", 109462306a36Sopenharmony_ci}; 109562306a36Sopenharmony_cistatic const char * const blsp11_i2c_groups[] = { 109662306a36Sopenharmony_ci "gpio102", "gpio103", 109762306a36Sopenharmony_ci}; 109862306a36Sopenharmony_cistatic const char * const prng_rosc_groups[] = { 109962306a36Sopenharmony_ci "gpio102", 110062306a36Sopenharmony_ci}; 110162306a36Sopenharmony_cistatic const char * const uim2_data_groups[] = { 110262306a36Sopenharmony_ci "gpio105", 110362306a36Sopenharmony_ci}; 110462306a36Sopenharmony_cistatic const char * const uim2_clk_groups[] = { 110562306a36Sopenharmony_ci "gpio106", 110662306a36Sopenharmony_ci}; 110762306a36Sopenharmony_cistatic const char * const uim2_reset_groups[] = { 110862306a36Sopenharmony_ci "gpio107", 110962306a36Sopenharmony_ci}; 111062306a36Sopenharmony_cistatic const char * const uim2_present_groups[] = { 111162306a36Sopenharmony_ci "gpio108", 111262306a36Sopenharmony_ci}; 111362306a36Sopenharmony_cistatic const char * const uim1_data_groups[] = { 111462306a36Sopenharmony_ci "gpio109", 111562306a36Sopenharmony_ci}; 111662306a36Sopenharmony_cistatic const char * const uim1_clk_groups[] = { 111762306a36Sopenharmony_ci "gpio110", 111862306a36Sopenharmony_ci}; 111962306a36Sopenharmony_cistatic const char * const uim1_reset_groups[] = { 112062306a36Sopenharmony_ci "gpio111", 112162306a36Sopenharmony_ci}; 112262306a36Sopenharmony_cistatic const char * const uim1_present_groups[] = { 112362306a36Sopenharmony_ci "gpio112", 112462306a36Sopenharmony_ci}; 112562306a36Sopenharmony_cistatic const char * const uim_batt_groups[] = { 112662306a36Sopenharmony_ci "gpio113", 112762306a36Sopenharmony_ci}; 112862306a36Sopenharmony_cistatic const char * const nav_dr_groups[] = { 112962306a36Sopenharmony_ci "gpio115", 113062306a36Sopenharmony_ci}; 113162306a36Sopenharmony_cistatic const char * const atest_char_groups[] = { 113262306a36Sopenharmony_ci "gpio117", "gpio118", "gpio119", "gpio120", "gpio121", 113362306a36Sopenharmony_ci}; 113462306a36Sopenharmony_cistatic const char * const adsp_ext_groups[] = { 113562306a36Sopenharmony_ci "gpio118", 113662306a36Sopenharmony_ci}; 113762306a36Sopenharmony_cistatic const char * const modem_tsync_groups[] = { 113862306a36Sopenharmony_ci "gpio128", 113962306a36Sopenharmony_ci}; 114062306a36Sopenharmony_cistatic const char * const nav_pps_groups[] = { 114162306a36Sopenharmony_ci "gpio128", 114262306a36Sopenharmony_ci}; 114362306a36Sopenharmony_cistatic const char * const qlink_request_groups[] = { 114462306a36Sopenharmony_ci "gpio130", 114562306a36Sopenharmony_ci}; 114662306a36Sopenharmony_cistatic const char * const qlink_enable_groups[] = { 114762306a36Sopenharmony_ci "gpio131", 114862306a36Sopenharmony_ci}; 114962306a36Sopenharmony_cistatic const char * const pa_indicator_groups[] = { 115062306a36Sopenharmony_ci "gpio135", 115162306a36Sopenharmony_ci}; 115262306a36Sopenharmony_cistatic const char * const ssbi1_groups[] = { 115362306a36Sopenharmony_ci "gpio142", 115462306a36Sopenharmony_ci}; 115562306a36Sopenharmony_cistatic const char * const isense_dbg_groups[] = { 115662306a36Sopenharmony_ci "gpio143", 115762306a36Sopenharmony_ci}; 115862306a36Sopenharmony_cistatic const char * const mss_lte_groups[] = { 115962306a36Sopenharmony_ci "gpio144", "gpio145", 116062306a36Sopenharmony_ci}; 116162306a36Sopenharmony_ci 116262306a36Sopenharmony_cistatic const struct pinfunction msm8998_functions[] = { 116362306a36Sopenharmony_ci MSM_PIN_FUNCTION(gpio), 116462306a36Sopenharmony_ci MSM_PIN_FUNCTION(adsp_ext), 116562306a36Sopenharmony_ci MSM_PIN_FUNCTION(agera_pll), 116662306a36Sopenharmony_ci MSM_PIN_FUNCTION(atest_char), 116762306a36Sopenharmony_ci MSM_PIN_FUNCTION(atest_gpsadc0), 116862306a36Sopenharmony_ci MSM_PIN_FUNCTION(atest_gpsadc1), 116962306a36Sopenharmony_ci MSM_PIN_FUNCTION(atest_tsens), 117062306a36Sopenharmony_ci MSM_PIN_FUNCTION(atest_tsens2), 117162306a36Sopenharmony_ci MSM_PIN_FUNCTION(atest_usb1), 117262306a36Sopenharmony_ci MSM_PIN_FUNCTION(atest_usb10), 117362306a36Sopenharmony_ci MSM_PIN_FUNCTION(atest_usb11), 117462306a36Sopenharmony_ci MSM_PIN_FUNCTION(atest_usb12), 117562306a36Sopenharmony_ci MSM_PIN_FUNCTION(atest_usb13), 117662306a36Sopenharmony_ci MSM_PIN_FUNCTION(audio_ref), 117762306a36Sopenharmony_ci MSM_PIN_FUNCTION(bimc_dte0), 117862306a36Sopenharmony_ci MSM_PIN_FUNCTION(bimc_dte1), 117962306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp10_spi), 118062306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp10_spi_a), 118162306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp10_spi_b), 118262306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp11_i2c), 118362306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp1_spi), 118462306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp1_spi_a), 118562306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp1_spi_b), 118662306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp2_spi), 118762306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp9_spi), 118862306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_i2c1), 118962306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_i2c2), 119062306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_i2c3), 119162306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_i2c4), 119262306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_i2c5), 119362306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_i2c6), 119462306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_i2c7), 119562306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_i2c8), 119662306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_i2c9), 119762306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_i2c10), 119862306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_i2c11), 119962306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_i2c12), 120062306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_spi1), 120162306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_spi2), 120262306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_spi3), 120362306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_spi4), 120462306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_spi5), 120562306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_spi6), 120662306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_spi7), 120762306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_spi8), 120862306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_spi9), 120962306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_spi10), 121062306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_spi11), 121162306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_spi12), 121262306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_uart1_a), 121362306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_uart1_b), 121462306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_uart2_a), 121562306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_uart2_b), 121662306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_uart3_a), 121762306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_uart3_b), 121862306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_uart7_a), 121962306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_uart7_b), 122062306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_uart8), 122162306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_uart8_a), 122262306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_uart8_b), 122362306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_uart9_a), 122462306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_uart9_b), 122562306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_uim1_a), 122662306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_uim1_b), 122762306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_uim2_a), 122862306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_uim2_b), 122962306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_uim3_a), 123062306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_uim3_b), 123162306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_uim7_a), 123262306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_uim7_b), 123362306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_uim8_a), 123462306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_uim8_b), 123562306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_uim9_a), 123662306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_uim9_b), 123762306a36Sopenharmony_ci MSM_PIN_FUNCTION(bt_reset), 123862306a36Sopenharmony_ci MSM_PIN_FUNCTION(btfm_slimbus), 123962306a36Sopenharmony_ci MSM_PIN_FUNCTION(cam_mclk), 124062306a36Sopenharmony_ci MSM_PIN_FUNCTION(cci_async), 124162306a36Sopenharmony_ci MSM_PIN_FUNCTION(cci_i2c), 124262306a36Sopenharmony_ci MSM_PIN_FUNCTION(cci_timer0), 124362306a36Sopenharmony_ci MSM_PIN_FUNCTION(cci_timer1), 124462306a36Sopenharmony_ci MSM_PIN_FUNCTION(cci_timer2), 124562306a36Sopenharmony_ci MSM_PIN_FUNCTION(cci_timer3), 124662306a36Sopenharmony_ci MSM_PIN_FUNCTION(cci_timer4), 124762306a36Sopenharmony_ci MSM_PIN_FUNCTION(cri_trng), 124862306a36Sopenharmony_ci MSM_PIN_FUNCTION(cri_trng0), 124962306a36Sopenharmony_ci MSM_PIN_FUNCTION(cri_trng1), 125062306a36Sopenharmony_ci MSM_PIN_FUNCTION(dbg_out), 125162306a36Sopenharmony_ci MSM_PIN_FUNCTION(ddr_bist), 125262306a36Sopenharmony_ci MSM_PIN_FUNCTION(edp_hot), 125362306a36Sopenharmony_ci MSM_PIN_FUNCTION(edp_lcd), 125462306a36Sopenharmony_ci MSM_PIN_FUNCTION(gcc_gp1_a), 125562306a36Sopenharmony_ci MSM_PIN_FUNCTION(gcc_gp1_b), 125662306a36Sopenharmony_ci MSM_PIN_FUNCTION(gcc_gp2_a), 125762306a36Sopenharmony_ci MSM_PIN_FUNCTION(gcc_gp2_b), 125862306a36Sopenharmony_ci MSM_PIN_FUNCTION(gcc_gp3_a), 125962306a36Sopenharmony_ci MSM_PIN_FUNCTION(gcc_gp3_b), 126062306a36Sopenharmony_ci MSM_PIN_FUNCTION(hdmi_cec), 126162306a36Sopenharmony_ci MSM_PIN_FUNCTION(hdmi_ddc), 126262306a36Sopenharmony_ci MSM_PIN_FUNCTION(hdmi_hot), 126362306a36Sopenharmony_ci MSM_PIN_FUNCTION(hdmi_rcv), 126462306a36Sopenharmony_ci MSM_PIN_FUNCTION(isense_dbg), 126562306a36Sopenharmony_ci MSM_PIN_FUNCTION(jitter_bist), 126662306a36Sopenharmony_ci MSM_PIN_FUNCTION(ldo_en), 126762306a36Sopenharmony_ci MSM_PIN_FUNCTION(ldo_update), 126862306a36Sopenharmony_ci MSM_PIN_FUNCTION(lpass_slimbus), 126962306a36Sopenharmony_ci MSM_PIN_FUNCTION(m_voc), 127062306a36Sopenharmony_ci MSM_PIN_FUNCTION(mdp_vsync), 127162306a36Sopenharmony_ci MSM_PIN_FUNCTION(mdp_vsync0), 127262306a36Sopenharmony_ci MSM_PIN_FUNCTION(mdp_vsync1), 127362306a36Sopenharmony_ci MSM_PIN_FUNCTION(mdp_vsync2), 127462306a36Sopenharmony_ci MSM_PIN_FUNCTION(mdp_vsync3), 127562306a36Sopenharmony_ci MSM_PIN_FUNCTION(mdp_vsync_a), 127662306a36Sopenharmony_ci MSM_PIN_FUNCTION(mdp_vsync_b), 127762306a36Sopenharmony_ci MSM_PIN_FUNCTION(modem_tsync), 127862306a36Sopenharmony_ci MSM_PIN_FUNCTION(mss_lte), 127962306a36Sopenharmony_ci MSM_PIN_FUNCTION(nav_dr), 128062306a36Sopenharmony_ci MSM_PIN_FUNCTION(nav_pps), 128162306a36Sopenharmony_ci MSM_PIN_FUNCTION(pa_indicator), 128262306a36Sopenharmony_ci MSM_PIN_FUNCTION(pci_e0), 128362306a36Sopenharmony_ci MSM_PIN_FUNCTION(phase_flag), 128462306a36Sopenharmony_ci MSM_PIN_FUNCTION(pll_bypassnl), 128562306a36Sopenharmony_ci MSM_PIN_FUNCTION(pll_reset), 128662306a36Sopenharmony_ci MSM_PIN_FUNCTION(pri_mi2s), 128762306a36Sopenharmony_ci MSM_PIN_FUNCTION(pri_mi2s_ws), 128862306a36Sopenharmony_ci MSM_PIN_FUNCTION(prng_rosc), 128962306a36Sopenharmony_ci MSM_PIN_FUNCTION(pwr_crypto), 129062306a36Sopenharmony_ci MSM_PIN_FUNCTION(pwr_modem), 129162306a36Sopenharmony_ci MSM_PIN_FUNCTION(pwr_nav), 129262306a36Sopenharmony_ci MSM_PIN_FUNCTION(qdss_cti0_a), 129362306a36Sopenharmony_ci MSM_PIN_FUNCTION(qdss_cti0_b), 129462306a36Sopenharmony_ci MSM_PIN_FUNCTION(qdss_cti1_a), 129562306a36Sopenharmony_ci MSM_PIN_FUNCTION(qdss_cti1_b), 129662306a36Sopenharmony_ci MSM_PIN_FUNCTION(qdss), 129762306a36Sopenharmony_ci MSM_PIN_FUNCTION(qlink_enable), 129862306a36Sopenharmony_ci MSM_PIN_FUNCTION(qlink_request), 129962306a36Sopenharmony_ci MSM_PIN_FUNCTION(qua_mi2s), 130062306a36Sopenharmony_ci MSM_PIN_FUNCTION(sd_card), 130162306a36Sopenharmony_ci MSM_PIN_FUNCTION(sd_write), 130262306a36Sopenharmony_ci MSM_PIN_FUNCTION(sdc40), 130362306a36Sopenharmony_ci MSM_PIN_FUNCTION(sdc41), 130462306a36Sopenharmony_ci MSM_PIN_FUNCTION(sdc42), 130562306a36Sopenharmony_ci MSM_PIN_FUNCTION(sdc43), 130662306a36Sopenharmony_ci MSM_PIN_FUNCTION(sdc4_clk), 130762306a36Sopenharmony_ci MSM_PIN_FUNCTION(sdc4_cmd), 130862306a36Sopenharmony_ci MSM_PIN_FUNCTION(sec_mi2s), 130962306a36Sopenharmony_ci MSM_PIN_FUNCTION(sp_cmu), 131062306a36Sopenharmony_ci MSM_PIN_FUNCTION(spkr_i2s), 131162306a36Sopenharmony_ci MSM_PIN_FUNCTION(ssbi1), 131262306a36Sopenharmony_ci MSM_PIN_FUNCTION(ssc_irq), 131362306a36Sopenharmony_ci MSM_PIN_FUNCTION(ter_mi2s), 131462306a36Sopenharmony_ci MSM_PIN_FUNCTION(tgu_ch0), 131562306a36Sopenharmony_ci MSM_PIN_FUNCTION(tgu_ch1), 131662306a36Sopenharmony_ci MSM_PIN_FUNCTION(tsense_pwm1), 131762306a36Sopenharmony_ci MSM_PIN_FUNCTION(tsense_pwm2), 131862306a36Sopenharmony_ci MSM_PIN_FUNCTION(tsif0), 131962306a36Sopenharmony_ci MSM_PIN_FUNCTION(tsif1), 132062306a36Sopenharmony_ci MSM_PIN_FUNCTION(uim1_clk), 132162306a36Sopenharmony_ci MSM_PIN_FUNCTION(uim1_data), 132262306a36Sopenharmony_ci MSM_PIN_FUNCTION(uim1_present), 132362306a36Sopenharmony_ci MSM_PIN_FUNCTION(uim1_reset), 132462306a36Sopenharmony_ci MSM_PIN_FUNCTION(uim2_clk), 132562306a36Sopenharmony_ci MSM_PIN_FUNCTION(uim2_data), 132662306a36Sopenharmony_ci MSM_PIN_FUNCTION(uim2_present), 132762306a36Sopenharmony_ci MSM_PIN_FUNCTION(uim2_reset), 132862306a36Sopenharmony_ci MSM_PIN_FUNCTION(uim_batt), 132962306a36Sopenharmony_ci MSM_PIN_FUNCTION(usb_phy), 133062306a36Sopenharmony_ci MSM_PIN_FUNCTION(vfr_1), 133162306a36Sopenharmony_ci MSM_PIN_FUNCTION(vsense_clkout), 133262306a36Sopenharmony_ci MSM_PIN_FUNCTION(vsense_data0), 133362306a36Sopenharmony_ci MSM_PIN_FUNCTION(vsense_data1), 133462306a36Sopenharmony_ci MSM_PIN_FUNCTION(vsense_mode), 133562306a36Sopenharmony_ci MSM_PIN_FUNCTION(wlan1_adc0), 133662306a36Sopenharmony_ci MSM_PIN_FUNCTION(wlan1_adc1), 133762306a36Sopenharmony_ci MSM_PIN_FUNCTION(wlan2_adc0), 133862306a36Sopenharmony_ci MSM_PIN_FUNCTION(wlan2_adc1), 133962306a36Sopenharmony_ci}; 134062306a36Sopenharmony_ci 134162306a36Sopenharmony_cistatic const struct msm_pingroup msm8998_groups[] = { 134262306a36Sopenharmony_ci PINGROUP(0, EAST, blsp_spi1, blsp_uart1_a, blsp_uim1_a, _, _, _, _, _, _), 134362306a36Sopenharmony_ci PINGROUP(1, EAST, blsp_spi1, blsp_uart1_a, blsp_uim1_a, _, _, _, _, _, _), 134462306a36Sopenharmony_ci PINGROUP(2, EAST, blsp_spi1, blsp_uart1_a, blsp_i2c1, _, _, _, _, _, _), 134562306a36Sopenharmony_ci PINGROUP(3, EAST, blsp_spi1, blsp_uart1_a, blsp_i2c1, _, _, _, _, _, _), 134662306a36Sopenharmony_ci PINGROUP(4, WEST, blsp_spi8, blsp_uart8_a, blsp_uim8_a, _, qdss_cti0_b, _, _, _, _), 134762306a36Sopenharmony_ci PINGROUP(5, WEST, blsp_spi8, blsp_uart8_a, blsp_uim8_a, _, qdss_cti0_b, _, _, _, _), 134862306a36Sopenharmony_ci PINGROUP(6, WEST, blsp_spi8, blsp_uart8_a, blsp_i2c8, _, _, _, _, _, _), 134962306a36Sopenharmony_ci PINGROUP(7, WEST, blsp_spi8, blsp_uart8_a, blsp_i2c8, ddr_bist, _, atest_tsens2, atest_usb1, _, _), 135062306a36Sopenharmony_ci PINGROUP(8, EAST, blsp_spi4, blsp_uart1_b, blsp_uim1_b, _, ddr_bist, _, wlan1_adc1, atest_usb13, bimc_dte1), 135162306a36Sopenharmony_ci PINGROUP(9, EAST, blsp_spi4, blsp_uart1_b, blsp_uim1_b, tsif0, ddr_bist, _, wlan1_adc0, atest_usb12, bimc_dte0), 135262306a36Sopenharmony_ci PINGROUP(10, EAST, mdp_vsync_a, blsp_spi4, blsp_uart1_b, blsp_i2c4, ddr_bist, atest_gpsadc1, wlan2_adc1, atest_usb11, bimc_dte1), 135362306a36Sopenharmony_ci PINGROUP(11, EAST, mdp_vsync_a, edp_lcd, blsp_spi4, blsp_uart1_b, blsp_i2c4, dbg_out, atest_gpsadc0, wlan2_adc0, atest_usb10), 135462306a36Sopenharmony_ci PINGROUP(12, EAST, mdp_vsync, m_voc, _, _, _, _, _, _, _), 135562306a36Sopenharmony_ci PINGROUP(13, EAST, cam_mclk, pll_bypassnl, qdss, _, _, _, _, _, _), 135662306a36Sopenharmony_ci PINGROUP(14, EAST, cam_mclk, pll_reset, qdss, _, _, _, _, _, _), 135762306a36Sopenharmony_ci PINGROUP(15, EAST, cam_mclk, qdss, _, _, _, _, _, _, _), 135862306a36Sopenharmony_ci PINGROUP(16, EAST, cam_mclk, qdss, _, _, _, _, _, _, _), 135962306a36Sopenharmony_ci PINGROUP(17, EAST, cci_i2c, qdss, _, _, _, _, _, _, _), 136062306a36Sopenharmony_ci PINGROUP(18, EAST, cci_i2c, phase_flag, qdss, _, _, _, _, _, _), 136162306a36Sopenharmony_ci PINGROUP(19, EAST, cci_i2c, phase_flag, qdss, _, _, _, _, _, _), 136262306a36Sopenharmony_ci PINGROUP(20, EAST, cci_i2c, qdss, _, _, _, _, _, _, _), 136362306a36Sopenharmony_ci PINGROUP(21, EAST, cci_timer0, _, qdss, vsense_data0, _, _, _, _, _), 136462306a36Sopenharmony_ci PINGROUP(22, EAST, cci_timer1, _, qdss, vsense_data1, _, _, _, _, _), 136562306a36Sopenharmony_ci PINGROUP(23, EAST, cci_timer2, blsp1_spi_b, qdss, vsense_mode, _, _, _, _, _), 136662306a36Sopenharmony_ci PINGROUP(24, EAST, cci_timer3, cci_async, blsp1_spi_a, _, qdss, vsense_clkout, _, _, _), 136762306a36Sopenharmony_ci PINGROUP(25, EAST, cci_timer4, cci_async, blsp2_spi, _, qdss, _, _, _, _), 136862306a36Sopenharmony_ci PINGROUP(26, EAST, cci_async, qdss, _, _, _, _, _, _, _), 136962306a36Sopenharmony_ci PINGROUP(27, EAST, blsp1_spi_a, qdss, _, _, _, _, _, _, _), 137062306a36Sopenharmony_ci PINGROUP(28, EAST, blsp1_spi_b, qdss, _, _, _, _, _, _, _), 137162306a36Sopenharmony_ci PINGROUP(29, EAST, blsp2_spi, _, qdss, _, _, _, _, _, _), 137262306a36Sopenharmony_ci PINGROUP(30, EAST, hdmi_rcv, blsp2_spi, qdss, _, _, _, _, _, _), 137362306a36Sopenharmony_ci PINGROUP(31, EAST, hdmi_cec, blsp_spi2, blsp_uart2_a, blsp_uim2_a, pwr_modem, _, _, _, _), 137462306a36Sopenharmony_ci PINGROUP(32, EAST, hdmi_ddc, blsp_spi2, blsp_uart2_a, blsp_i2c2, pwr_nav, _, _, _, _), 137562306a36Sopenharmony_ci PINGROUP(33, EAST, hdmi_ddc, blsp_spi2, blsp_uart2_a, blsp_i2c2, pwr_crypto, _, _, _, _), 137662306a36Sopenharmony_ci PINGROUP(34, EAST, hdmi_hot, edp_hot, blsp_spi2, blsp_uart2_a, blsp_uim2_a, _, _, _, _), 137762306a36Sopenharmony_ci PINGROUP(35, NORTH, pci_e0, jitter_bist, _, _, _, _, _, _, _), 137862306a36Sopenharmony_ci PINGROUP(36, NORTH, pci_e0, agera_pll, _, atest_tsens, _, _, _, _, _), 137962306a36Sopenharmony_ci PINGROUP(37, NORTH, agera_pll, _, _, _, _, _, _, _, _), 138062306a36Sopenharmony_ci PINGROUP(38, WEST, usb_phy, _, _, _, _, _, _, _, _), 138162306a36Sopenharmony_ci PINGROUP(39, WEST, lpass_slimbus, _, _, _, _, _, _, _, _), 138262306a36Sopenharmony_ci PINGROUP(40, EAST, sd_write, tsif0, _, _, _, _, _, _, _), 138362306a36Sopenharmony_ci PINGROUP(41, EAST, blsp_spi6, blsp_uart3_b, blsp_uim3_b, _, qdss, _, _, _, _), 138462306a36Sopenharmony_ci PINGROUP(42, EAST, blsp_spi6, blsp_uart3_b, blsp_uim3_b, _, qdss, _, _, _, _), 138562306a36Sopenharmony_ci PINGROUP(43, EAST, blsp_spi6, blsp_uart3_b, blsp_i2c6, _, qdss, _, _, _, _), 138662306a36Sopenharmony_ci PINGROUP(44, EAST, blsp_spi6, blsp_uart3_b, blsp_i2c6, _, qdss, _, _, _, _), 138762306a36Sopenharmony_ci PINGROUP(45, EAST, blsp_spi3, blsp_uart3_a, blsp_uim3_a, _, _, _, _, _, _), 138862306a36Sopenharmony_ci PINGROUP(46, EAST, blsp_spi3, blsp_uart3_a, blsp_uim3_a, _, _, _, _, _, _), 138962306a36Sopenharmony_ci PINGROUP(47, EAST, blsp_spi3, blsp_uart3_a, blsp_i2c3, _, _, _, _, _, _), 139062306a36Sopenharmony_ci PINGROUP(48, EAST, blsp_spi3, blsp_uart3_a, blsp_i2c3, _, _, _, _, _, _), 139162306a36Sopenharmony_ci PINGROUP(49, NORTH, blsp_spi9, blsp_uart9_a, blsp_uim9_a, blsp10_spi_b, qdss_cti0_a, _, _, _, _), 139262306a36Sopenharmony_ci PINGROUP(50, NORTH, blsp_spi9, blsp_uart9_a, blsp_uim9_a, blsp10_spi_b, qdss_cti0_a, _, _, _, _), 139362306a36Sopenharmony_ci PINGROUP(51, NORTH, blsp_spi9, blsp_uart9_a, blsp_i2c9, blsp10_spi_a, _, _, _, _, _), 139462306a36Sopenharmony_ci PINGROUP(52, NORTH, blsp_spi9, blsp_uart9_a, blsp_i2c9, blsp10_spi_a, _, _, _, _, _), 139562306a36Sopenharmony_ci PINGROUP(53, WEST, blsp_spi7, blsp_uart7_a, blsp_uim7_a, _, _, _, _, _, _), 139662306a36Sopenharmony_ci PINGROUP(54, WEST, blsp_spi7, blsp_uart7_a, blsp_uim7_a, _, _, _, _, _, _), 139762306a36Sopenharmony_ci PINGROUP(55, WEST, blsp_spi7, blsp_uart7_a, blsp_i2c7, _, _, _, _, _, _), 139862306a36Sopenharmony_ci PINGROUP(56, WEST, blsp_spi7, blsp_uart7_a, blsp_i2c7, _, _, _, _, _, _), 139962306a36Sopenharmony_ci PINGROUP(57, WEST, qua_mi2s, blsp10_spi, gcc_gp1_a, _, _, _, _, _, _), 140062306a36Sopenharmony_ci PINGROUP(58, WEST, qua_mi2s, blsp_spi11, blsp_uart8_b, blsp_uim8_b, gcc_gp2_a, _, qdss_cti1_a, _, _), 140162306a36Sopenharmony_ci PINGROUP(59, WEST, qua_mi2s, blsp_spi11, blsp_uart8_b, blsp_uim8_b, gcc_gp3_a, _, qdss_cti1_a, _, _), 140262306a36Sopenharmony_ci PINGROUP(60, WEST, qua_mi2s, blsp_spi11, blsp_uart8_b, blsp_i2c11, cri_trng0, _, _, _, _), 140362306a36Sopenharmony_ci PINGROUP(61, WEST, qua_mi2s, blsp_spi11, blsp_uart8_b, blsp_i2c11, cri_trng1, _, _, _, _), 140462306a36Sopenharmony_ci PINGROUP(62, WEST, qua_mi2s, cri_trng, _, _, _, _, _, _, _), 140562306a36Sopenharmony_ci PINGROUP(63, WEST, qua_mi2s, _, _, _, _, _, _, _, _), 140662306a36Sopenharmony_ci PINGROUP(64, WEST, pri_mi2s, sp_cmu, _, _, _, _, _, _, _), 140762306a36Sopenharmony_ci PINGROUP(65, WEST, pri_mi2s, blsp_spi10, blsp_uart7_b, blsp_uim7_b, _, _, _, _, _), 140862306a36Sopenharmony_ci PINGROUP(66, WEST, pri_mi2s_ws, blsp_spi10, blsp_uart7_b, blsp_uim7_b, _, _, _, _, _), 140962306a36Sopenharmony_ci PINGROUP(67, WEST, pri_mi2s, blsp_spi10, blsp_uart7_b, blsp_i2c10, _, _, _, _, _), 141062306a36Sopenharmony_ci PINGROUP(68, WEST, pri_mi2s, blsp_spi10, blsp_uart7_b, blsp_i2c10, _, _, _, _, _), 141162306a36Sopenharmony_ci PINGROUP(69, WEST, spkr_i2s, audio_ref, _, _, _, _, _, _, _), 141262306a36Sopenharmony_ci PINGROUP(70, WEST, lpass_slimbus, spkr_i2s, blsp9_spi, _, _, _, _, _, _), 141362306a36Sopenharmony_ci PINGROUP(71, WEST, lpass_slimbus, spkr_i2s, blsp9_spi, tsense_pwm1, tsense_pwm2, _, _, _, _), 141462306a36Sopenharmony_ci PINGROUP(72, WEST, lpass_slimbus, spkr_i2s, blsp9_spi, _, _, _, _, _, _), 141562306a36Sopenharmony_ci PINGROUP(73, WEST, btfm_slimbus, phase_flag, _, _, _, _, _, _, _), 141662306a36Sopenharmony_ci PINGROUP(74, WEST, btfm_slimbus, ter_mi2s, phase_flag, _, _, _, _, _, _), 141762306a36Sopenharmony_ci PINGROUP(75, WEST, ter_mi2s, phase_flag, qdss, _, _, _, _, _, _), 141862306a36Sopenharmony_ci PINGROUP(76, WEST, ter_mi2s, phase_flag, qdss, _, _, _, _, _, _), 141962306a36Sopenharmony_ci PINGROUP(77, WEST, ter_mi2s, phase_flag, qdss, _, _, _, _, _, _), 142062306a36Sopenharmony_ci PINGROUP(78, WEST, ter_mi2s, gcc_gp1_b, _, _, _, _, _, _, _), 142162306a36Sopenharmony_ci PINGROUP(79, WEST, sec_mi2s, _, qdss, _, _, _, _, _, _), 142262306a36Sopenharmony_ci PINGROUP(80, WEST, sec_mi2s, _, qdss, _, _, _, _, _, _), 142362306a36Sopenharmony_ci PINGROUP(81, WEST, sec_mi2s, blsp_spi12, blsp_uart9_b, blsp_uim9_b, gcc_gp2_b, _, _, _, _), 142462306a36Sopenharmony_ci PINGROUP(82, WEST, sec_mi2s, blsp_spi12, blsp_uart9_b, blsp_uim9_b, gcc_gp3_b, _, _, _, _), 142562306a36Sopenharmony_ci PINGROUP(83, WEST, sec_mi2s, blsp_spi12, blsp_uart9_b, blsp_i2c12, _, _, _, _, _), 142662306a36Sopenharmony_ci PINGROUP(84, WEST, blsp_spi12, blsp_uart9_b, blsp_i2c12, _, _, _, _, _, _), 142762306a36Sopenharmony_ci PINGROUP(85, EAST, blsp_spi5, blsp_uart2_b, blsp_uim2_b, _, _, _, _, _, _), 142862306a36Sopenharmony_ci PINGROUP(86, EAST, blsp_spi5, blsp_uart2_b, blsp_uim2_b, _, _, _, _, _, _), 142962306a36Sopenharmony_ci PINGROUP(87, EAST, blsp_spi5, blsp_uart2_b, blsp_i2c5, _, _, _, _, _, _), 143062306a36Sopenharmony_ci PINGROUP(88, EAST, blsp_spi5, blsp_uart2_b, blsp_i2c5, _, _, _, _, _, _), 143162306a36Sopenharmony_ci PINGROUP(89, EAST, tsif0, phase_flag, _, _, _, _, _, _, _), 143262306a36Sopenharmony_ci PINGROUP(90, EAST, tsif0, mdp_vsync0, mdp_vsync1, mdp_vsync2, mdp_vsync3, blsp1_spi, tgu_ch0, qdss_cti1_b, _), 143362306a36Sopenharmony_ci PINGROUP(91, EAST, tsif0, sdc4_cmd, tgu_ch1, phase_flag, qdss_cti1_b, _, _, _, _), 143462306a36Sopenharmony_ci PINGROUP(92, EAST, tsif1, sdc43, vfr_1, phase_flag, _, _, _, _, _), 143562306a36Sopenharmony_ci PINGROUP(93, EAST, tsif1, sdc4_clk, _, qdss, _, _, _, _, _), 143662306a36Sopenharmony_ci PINGROUP(94, EAST, tsif1, sdc42, _, _, _, _, _, _, _), 143762306a36Sopenharmony_ci PINGROUP(95, EAST, tsif1, sdc41, _, _, _, _, _, _, _), 143862306a36Sopenharmony_ci PINGROUP(96, EAST, tsif1, sdc40, phase_flag, _, _, _, _, _, _), 143962306a36Sopenharmony_ci PINGROUP(97, WEST, _, mdp_vsync_b, ldo_en, _, _, _, _, _, _), 144062306a36Sopenharmony_ci PINGROUP(98, WEST, _, mdp_vsync_b, ldo_update, _, _, _, _, _, _), 144162306a36Sopenharmony_ci PINGROUP(99, WEST, _, _, _, _, _, _, _, _, _), 144262306a36Sopenharmony_ci PINGROUP(100, WEST, _, _, blsp_uart8, _, _, _, _, _, _), 144362306a36Sopenharmony_ci PINGROUP(101, WEST, _, blsp_uart8, _, _, _, _, _, _, _), 144462306a36Sopenharmony_ci PINGROUP(102, WEST, _, blsp11_i2c, prng_rosc, _, _, _, _, _, _), 144562306a36Sopenharmony_ci PINGROUP(103, WEST, _, blsp11_i2c, phase_flag, _, _, _, _, _, _), 144662306a36Sopenharmony_ci PINGROUP(104, WEST, _, _, _, _, _, _, _, _, _), 144762306a36Sopenharmony_ci PINGROUP(105, NORTH, uim2_data, _, _, _, _, _, _, _, _), 144862306a36Sopenharmony_ci PINGROUP(106, NORTH, uim2_clk, _, _, _, _, _, _, _, _), 144962306a36Sopenharmony_ci PINGROUP(107, NORTH, uim2_reset, _, _, _, _, _, _, _, _), 145062306a36Sopenharmony_ci PINGROUP(108, NORTH, uim2_present, _, _, _, _, _, _, _, _), 145162306a36Sopenharmony_ci PINGROUP(109, NORTH, uim1_data, _, _, _, _, _, _, _, _), 145262306a36Sopenharmony_ci PINGROUP(110, NORTH, uim1_clk, _, _, _, _, _, _, _, _), 145362306a36Sopenharmony_ci PINGROUP(111, NORTH, uim1_reset, _, _, _, _, _, _, _, _), 145462306a36Sopenharmony_ci PINGROUP(112, NORTH, uim1_present, _, _, _, _, _, _, _, _), 145562306a36Sopenharmony_ci PINGROUP(113, NORTH, uim_batt, _, _, _, _, _, _, _, _), 145662306a36Sopenharmony_ci PINGROUP(114, WEST, _, _, phase_flag, _, _, _, _, _, _), 145762306a36Sopenharmony_ci PINGROUP(115, WEST, _, nav_dr, phase_flag, _, _, _, _, _, _), 145862306a36Sopenharmony_ci PINGROUP(116, WEST, phase_flag, _, _, _, _, _, _, _, _), 145962306a36Sopenharmony_ci PINGROUP(117, EAST, phase_flag, qdss, atest_char, _, _, _, _, _, _), 146062306a36Sopenharmony_ci PINGROUP(118, EAST, adsp_ext, phase_flag, qdss, atest_char, _, _, _, _, _), 146162306a36Sopenharmony_ci PINGROUP(119, EAST, phase_flag, qdss, atest_char, _, _, _, _, _, _), 146262306a36Sopenharmony_ci PINGROUP(120, EAST, phase_flag, qdss, atest_char, _, _, _, _, _, _), 146362306a36Sopenharmony_ci PINGROUP(121, EAST, phase_flag, qdss, atest_char, _, _, _, _, _, _), 146462306a36Sopenharmony_ci PINGROUP(122, EAST, phase_flag, qdss, _, _, _, _, _, _, _), 146562306a36Sopenharmony_ci PINGROUP(123, EAST, phase_flag, qdss, _, _, _, _, _, _, _), 146662306a36Sopenharmony_ci PINGROUP(124, EAST, phase_flag, qdss, _, _, _, _, _, _, _), 146762306a36Sopenharmony_ci PINGROUP(125, EAST, phase_flag, _, _, _, _, _, _, _, _), 146862306a36Sopenharmony_ci PINGROUP(126, EAST, phase_flag, _, _, _, _, _, _, _, _), 146962306a36Sopenharmony_ci PINGROUP(127, WEST, _, _, _, _, _, _, _, _, _), 147062306a36Sopenharmony_ci PINGROUP(128, WEST, modem_tsync, nav_pps, phase_flag, _, _, _, _, _, _), 147162306a36Sopenharmony_ci PINGROUP(129, WEST, phase_flag, _, _, _, _, _, _, _, _), 147262306a36Sopenharmony_ci PINGROUP(130, NORTH, qlink_request, phase_flag, _, _, _, _, _, _, _), 147362306a36Sopenharmony_ci PINGROUP(131, NORTH, qlink_enable, phase_flag, _, _, _, _, _, _, _), 147462306a36Sopenharmony_ci PINGROUP(132, WEST, _, phase_flag, _, _, _, _, _, _, _), 147562306a36Sopenharmony_ci PINGROUP(133, WEST, phase_flag, _, _, _, _, _, _, _, _), 147662306a36Sopenharmony_ci PINGROUP(134, WEST, phase_flag, _, _, _, _, _, _, _, _), 147762306a36Sopenharmony_ci PINGROUP(135, WEST, _, pa_indicator, _, _, _, _, _, _, _), 147862306a36Sopenharmony_ci PINGROUP(136, WEST, _, _, _, _, _, _, _, _, _), 147962306a36Sopenharmony_ci PINGROUP(137, WEST, _, _, _, _, _, _, _, _, _), 148062306a36Sopenharmony_ci PINGROUP(138, WEST, _, _, _, _, _, _, _, _, _), 148162306a36Sopenharmony_ci PINGROUP(139, WEST, _, _, _, _, _, _, _, _, _), 148262306a36Sopenharmony_ci PINGROUP(140, WEST, _, _, _, _, _, _, _, _, _), 148362306a36Sopenharmony_ci PINGROUP(141, WEST, _, _, _, _, _, _, _, _, _), 148462306a36Sopenharmony_ci PINGROUP(142, WEST, _, ssbi1, _, _, _, _, _, _, _), 148562306a36Sopenharmony_ci PINGROUP(143, WEST, isense_dbg, _, _, _, _, _, _, _, _), 148662306a36Sopenharmony_ci PINGROUP(144, WEST, mss_lte, _, _, _, _, _, _, _, _), 148762306a36Sopenharmony_ci PINGROUP(145, WEST, mss_lte, _, _, _, _, _, _, _, _), 148862306a36Sopenharmony_ci PINGROUP(146, WEST, _, _, _, _, _, _, _, _, _), 148962306a36Sopenharmony_ci PINGROUP(147, WEST, _, _, _, _, _, _, _, _, _), 149062306a36Sopenharmony_ci PINGROUP(148, WEST, _, _, _, _, _, _, _, _, _), 149162306a36Sopenharmony_ci PINGROUP(149, WEST, _, _, _, _, _, _, _, _, _), 149262306a36Sopenharmony_ci SDC_QDSD_PINGROUP(sdc2_clk, 0x999000, 14, 6), 149362306a36Sopenharmony_ci SDC_QDSD_PINGROUP(sdc2_cmd, 0x999000, 11, 3), 149462306a36Sopenharmony_ci SDC_QDSD_PINGROUP(sdc2_data, 0x999000, 9, 0), 149562306a36Sopenharmony_ci UFS_RESET(ufs_reset, 0x19d000), 149662306a36Sopenharmony_ci}; 149762306a36Sopenharmony_ci 149862306a36Sopenharmony_cistatic const struct msm_gpio_wakeirq_map msm8998_mpm_map[] = { 149962306a36Sopenharmony_ci { 1, 3 }, { 5, 4 }, { 9, 5 }, { 11, 6 }, { 22, 8 }, { 24, 9 }, { 26, 10 }, 150062306a36Sopenharmony_ci { 34, 11 }, { 36, 12 }, { 37, 13 }, { 38, 14 }, { 40, 15 }, { 42, 16 }, { 46, 17 }, 150162306a36Sopenharmony_ci { 50, 18 }, { 53, 19 }, { 54, 20 }, { 56, 21 }, { 57, 22 }, { 58, 23 }, { 59, 24 }, 150262306a36Sopenharmony_ci { 60, 25 }, { 61, 26 }, { 62, 27 }, { 63, 28 }, { 64, 29 }, { 66, 7 }, { 71, 30 }, 150362306a36Sopenharmony_ci { 73, 31 }, { 77, 32 }, { 78, 33 }, { 79, 34 }, { 80, 35 }, { 82, 36 }, { 86, 37 }, 150462306a36Sopenharmony_ci { 91, 38 }, { 92, 39 }, { 95, 40 }, { 97, 41 }, { 101, 42 }, { 104, 43 }, { 106, 44 }, 150562306a36Sopenharmony_ci { 108, 45 }, { 110, 48 }, { 112, 46 }, { 113, 47 }, { 115, 51 }, { 116, 54 }, { 117, 55 }, 150662306a36Sopenharmony_ci { 118, 56 }, { 119, 57 }, { 120, 58 }, { 121, 59 }, { 122, 60 }, { 123, 61 }, { 124, 62 }, 150762306a36Sopenharmony_ci { 125, 63 }, { 126, 64 }, { 127, 50 }, { 129, 65 }, { 131, 66 }, { 132, 67 }, { 133, 68 }, 150862306a36Sopenharmony_ci}; 150962306a36Sopenharmony_ci 151062306a36Sopenharmony_cistatic const struct msm_pinctrl_soc_data msm8998_pinctrl = { 151162306a36Sopenharmony_ci .pins = msm8998_pins, 151262306a36Sopenharmony_ci .npins = ARRAY_SIZE(msm8998_pins), 151362306a36Sopenharmony_ci .functions = msm8998_functions, 151462306a36Sopenharmony_ci .nfunctions = ARRAY_SIZE(msm8998_functions), 151562306a36Sopenharmony_ci .groups = msm8998_groups, 151662306a36Sopenharmony_ci .ngroups = ARRAY_SIZE(msm8998_groups), 151762306a36Sopenharmony_ci .ngpios = 150, 151862306a36Sopenharmony_ci .wakeirq_map = msm8998_mpm_map, 151962306a36Sopenharmony_ci .nwakeirq_map = ARRAY_SIZE(msm8998_mpm_map), 152062306a36Sopenharmony_ci}; 152162306a36Sopenharmony_ci 152262306a36Sopenharmony_cistatic int msm8998_pinctrl_probe(struct platform_device *pdev) 152362306a36Sopenharmony_ci{ 152462306a36Sopenharmony_ci return msm_pinctrl_probe(pdev, &msm8998_pinctrl); 152562306a36Sopenharmony_ci} 152662306a36Sopenharmony_ci 152762306a36Sopenharmony_cistatic const struct of_device_id msm8998_pinctrl_of_match[] = { 152862306a36Sopenharmony_ci { .compatible = "qcom,msm8998-pinctrl", }, 152962306a36Sopenharmony_ci { }, 153062306a36Sopenharmony_ci}; 153162306a36Sopenharmony_ci 153262306a36Sopenharmony_cistatic struct platform_driver msm8998_pinctrl_driver = { 153362306a36Sopenharmony_ci .driver = { 153462306a36Sopenharmony_ci .name = "msm8998-pinctrl", 153562306a36Sopenharmony_ci .of_match_table = msm8998_pinctrl_of_match, 153662306a36Sopenharmony_ci }, 153762306a36Sopenharmony_ci .probe = msm8998_pinctrl_probe, 153862306a36Sopenharmony_ci .remove = msm_pinctrl_remove, 153962306a36Sopenharmony_ci}; 154062306a36Sopenharmony_ci 154162306a36Sopenharmony_cistatic int __init msm8998_pinctrl_init(void) 154262306a36Sopenharmony_ci{ 154362306a36Sopenharmony_ci return platform_driver_register(&msm8998_pinctrl_driver); 154462306a36Sopenharmony_ci} 154562306a36Sopenharmony_ciarch_initcall(msm8998_pinctrl_init); 154662306a36Sopenharmony_ci 154762306a36Sopenharmony_cistatic void __exit msm8998_pinctrl_exit(void) 154862306a36Sopenharmony_ci{ 154962306a36Sopenharmony_ci platform_driver_unregister(&msm8998_pinctrl_driver); 155062306a36Sopenharmony_ci} 155162306a36Sopenharmony_cimodule_exit(msm8998_pinctrl_exit); 155262306a36Sopenharmony_ci 155362306a36Sopenharmony_ciMODULE_DESCRIPTION("QTI msm8998 pinctrl driver"); 155462306a36Sopenharmony_ciMODULE_LICENSE("GPL v2"); 155562306a36Sopenharmony_ciMODULE_DEVICE_TABLE(of, msm8998_pinctrl_of_match); 1556