162306a36Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0-only 262306a36Sopenharmony_ci/* 362306a36Sopenharmony_ci * Copyright (c) 2020-2021, The Linux Foundation. All rights reserved. 462306a36Sopenharmony_ci * Copyright (c) 2021, Linaro Limited 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_SIZE 0x1000 1462306a36Sopenharmony_ci 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 = 0x4 + REG_SIZE * id, \ 3562306a36Sopenharmony_ci .intr_cfg_reg = 0x8 + REG_SIZE * id, \ 3662306a36Sopenharmony_ci .intr_status_reg = 0xc + REG_SIZE * id, \ 3762306a36Sopenharmony_ci .intr_target_reg = 0x8 + REG_SIZE * id, \ 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_QDSD_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 sm8450_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, "GPIO_156"), 26462306a36Sopenharmony_ci PINCTRL_PIN(157, "GPIO_157"), 26562306a36Sopenharmony_ci PINCTRL_PIN(158, "GPIO_158"), 26662306a36Sopenharmony_ci PINCTRL_PIN(159, "GPIO_159"), 26762306a36Sopenharmony_ci PINCTRL_PIN(160, "GPIO_160"), 26862306a36Sopenharmony_ci PINCTRL_PIN(161, "GPIO_161"), 26962306a36Sopenharmony_ci PINCTRL_PIN(162, "GPIO_162"), 27062306a36Sopenharmony_ci PINCTRL_PIN(163, "GPIO_163"), 27162306a36Sopenharmony_ci PINCTRL_PIN(164, "GPIO_164"), 27262306a36Sopenharmony_ci PINCTRL_PIN(165, "GPIO_165"), 27362306a36Sopenharmony_ci PINCTRL_PIN(166, "GPIO_166"), 27462306a36Sopenharmony_ci PINCTRL_PIN(167, "GPIO_167"), 27562306a36Sopenharmony_ci PINCTRL_PIN(168, "GPIO_168"), 27662306a36Sopenharmony_ci PINCTRL_PIN(169, "GPIO_169"), 27762306a36Sopenharmony_ci PINCTRL_PIN(170, "GPIO_170"), 27862306a36Sopenharmony_ci PINCTRL_PIN(171, "GPIO_171"), 27962306a36Sopenharmony_ci PINCTRL_PIN(172, "GPIO_172"), 28062306a36Sopenharmony_ci PINCTRL_PIN(173, "GPIO_173"), 28162306a36Sopenharmony_ci PINCTRL_PIN(174, "GPIO_174"), 28262306a36Sopenharmony_ci PINCTRL_PIN(175, "GPIO_175"), 28362306a36Sopenharmony_ci PINCTRL_PIN(176, "GPIO_176"), 28462306a36Sopenharmony_ci PINCTRL_PIN(177, "GPIO_177"), 28562306a36Sopenharmony_ci PINCTRL_PIN(178, "GPIO_178"), 28662306a36Sopenharmony_ci PINCTRL_PIN(179, "GPIO_179"), 28762306a36Sopenharmony_ci PINCTRL_PIN(180, "GPIO_180"), 28862306a36Sopenharmony_ci PINCTRL_PIN(181, "GPIO_181"), 28962306a36Sopenharmony_ci PINCTRL_PIN(182, "GPIO_182"), 29062306a36Sopenharmony_ci PINCTRL_PIN(183, "GPIO_183"), 29162306a36Sopenharmony_ci PINCTRL_PIN(184, "GPIO_184"), 29262306a36Sopenharmony_ci PINCTRL_PIN(185, "GPIO_185"), 29362306a36Sopenharmony_ci PINCTRL_PIN(186, "GPIO_186"), 29462306a36Sopenharmony_ci PINCTRL_PIN(187, "GPIO_187"), 29562306a36Sopenharmony_ci PINCTRL_PIN(188, "GPIO_188"), 29662306a36Sopenharmony_ci PINCTRL_PIN(189, "GPIO_189"), 29762306a36Sopenharmony_ci PINCTRL_PIN(190, "GPIO_190"), 29862306a36Sopenharmony_ci PINCTRL_PIN(191, "GPIO_191"), 29962306a36Sopenharmony_ci PINCTRL_PIN(192, "GPIO_192"), 30062306a36Sopenharmony_ci PINCTRL_PIN(193, "GPIO_193"), 30162306a36Sopenharmony_ci PINCTRL_PIN(194, "GPIO_194"), 30262306a36Sopenharmony_ci PINCTRL_PIN(195, "GPIO_195"), 30362306a36Sopenharmony_ci PINCTRL_PIN(196, "GPIO_196"), 30462306a36Sopenharmony_ci PINCTRL_PIN(197, "GPIO_197"), 30562306a36Sopenharmony_ci PINCTRL_PIN(198, "GPIO_198"), 30662306a36Sopenharmony_ci PINCTRL_PIN(199, "GPIO_199"), 30762306a36Sopenharmony_ci PINCTRL_PIN(200, "GPIO_200"), 30862306a36Sopenharmony_ci PINCTRL_PIN(201, "GPIO_201"), 30962306a36Sopenharmony_ci PINCTRL_PIN(202, "GPIO_202"), 31062306a36Sopenharmony_ci PINCTRL_PIN(203, "GPIO_203"), 31162306a36Sopenharmony_ci PINCTRL_PIN(204, "GPIO_204"), 31262306a36Sopenharmony_ci PINCTRL_PIN(205, "GPIO_205"), 31362306a36Sopenharmony_ci PINCTRL_PIN(206, "GPIO_206"), 31462306a36Sopenharmony_ci PINCTRL_PIN(207, "GPIO_207"), 31562306a36Sopenharmony_ci PINCTRL_PIN(208, "GPIO_208"), 31662306a36Sopenharmony_ci PINCTRL_PIN(209, "GPIO_209"), 31762306a36Sopenharmony_ci PINCTRL_PIN(210, "UFS_RESET"), 31862306a36Sopenharmony_ci PINCTRL_PIN(211, "SDC2_CLK"), 31962306a36Sopenharmony_ci PINCTRL_PIN(212, "SDC2_CMD"), 32062306a36Sopenharmony_ci PINCTRL_PIN(213, "SDC2_DATA"), 32162306a36Sopenharmony_ci}; 32262306a36Sopenharmony_ci 32362306a36Sopenharmony_ci#define DECLARE_MSM_GPIO_PINS(pin) \ 32462306a36Sopenharmony_ci static const unsigned int gpio##pin##_pins[] = { pin } 32562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(0); 32662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(1); 32762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(2); 32862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(3); 32962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(4); 33062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(5); 33162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(6); 33262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(7); 33362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(8); 33462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(9); 33562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(10); 33662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(11); 33762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(12); 33862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(13); 33962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(14); 34062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(15); 34162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(16); 34262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(17); 34362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(18); 34462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(19); 34562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(20); 34662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(21); 34762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(22); 34862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(23); 34962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(24); 35062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(25); 35162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(26); 35262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(27); 35362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(28); 35462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(29); 35562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(30); 35662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(31); 35762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(32); 35862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(33); 35962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(34); 36062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(35); 36162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(36); 36262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(37); 36362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(38); 36462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(39); 36562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(40); 36662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(41); 36762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(42); 36862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(43); 36962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(44); 37062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(45); 37162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(46); 37262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(47); 37362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(48); 37462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(49); 37562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(50); 37662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(51); 37762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(52); 37862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(53); 37962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(54); 38062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(55); 38162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(56); 38262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(57); 38362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(58); 38462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(59); 38562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(60); 38662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(61); 38762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(62); 38862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(63); 38962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(64); 39062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(65); 39162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(66); 39262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(67); 39362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(68); 39462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(69); 39562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(70); 39662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(71); 39762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(72); 39862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(73); 39962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(74); 40062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(75); 40162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(76); 40262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(77); 40362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(78); 40462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(79); 40562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(80); 40662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(81); 40762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(82); 40862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(83); 40962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(84); 41062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(85); 41162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(86); 41262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(87); 41362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(88); 41462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(89); 41562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(90); 41662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(91); 41762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(92); 41862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(93); 41962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(94); 42062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(95); 42162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(96); 42262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(97); 42362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(98); 42462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(99); 42562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(100); 42662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(101); 42762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(102); 42862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(103); 42962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(104); 43062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(105); 43162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(106); 43262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(107); 43362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(108); 43462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(109); 43562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(110); 43662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(111); 43762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(112); 43862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(113); 43962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(114); 44062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(115); 44162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(116); 44262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(117); 44362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(118); 44462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(119); 44562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(120); 44662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(121); 44762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(122); 44862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(123); 44962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(124); 45062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(125); 45162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(126); 45262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(127); 45362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(128); 45462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(129); 45562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(130); 45662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(131); 45762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(132); 45862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(133); 45962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(134); 46062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(135); 46162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(136); 46262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(137); 46362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(138); 46462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(139); 46562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(140); 46662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(141); 46762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(142); 46862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(143); 46962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(144); 47062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(145); 47162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(146); 47262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(147); 47362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(148); 47462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(149); 47562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(150); 47662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(151); 47762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(152); 47862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(153); 47962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(154); 48062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(155); 48162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(156); 48262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(157); 48362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(158); 48462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(159); 48562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(160); 48662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(161); 48762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(162); 48862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(163); 48962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(164); 49062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(165); 49162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(166); 49262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(167); 49362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(168); 49462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(169); 49562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(170); 49662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(171); 49762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(172); 49862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(173); 49962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(174); 50062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(175); 50162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(176); 50262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(177); 50362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(178); 50462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(179); 50562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(180); 50662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(181); 50762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(182); 50862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(183); 50962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(184); 51062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(185); 51162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(186); 51262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(187); 51362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(188); 51462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(189); 51562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(190); 51662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(191); 51762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(192); 51862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(193); 51962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(194); 52062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(195); 52162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(196); 52262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(197); 52362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(198); 52462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(199); 52562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(200); 52662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(201); 52762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(202); 52862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(203); 52962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(204); 53062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(205); 53162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(206); 53262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(207); 53362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(208); 53462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(209); 53562306a36Sopenharmony_ci 53662306a36Sopenharmony_cistatic const unsigned int ufs_reset_pins[] = { 210 }; 53762306a36Sopenharmony_cistatic const unsigned int sdc2_clk_pins[] = { 211 }; 53862306a36Sopenharmony_cistatic const unsigned int sdc2_cmd_pins[] = { 212 }; 53962306a36Sopenharmony_cistatic const unsigned int sdc2_data_pins[] = { 213 }; 54062306a36Sopenharmony_ci 54162306a36Sopenharmony_cienum sm8450_functions { 54262306a36Sopenharmony_ci msm_mux_gpio, 54362306a36Sopenharmony_ci msm_mux_aon_cam, 54462306a36Sopenharmony_ci msm_mux_atest_char, 54562306a36Sopenharmony_ci msm_mux_atest_usb, 54662306a36Sopenharmony_ci msm_mux_audio_ref, 54762306a36Sopenharmony_ci msm_mux_cam_mclk, 54862306a36Sopenharmony_ci msm_mux_cci_async, 54962306a36Sopenharmony_ci msm_mux_cci_i2c, 55062306a36Sopenharmony_ci msm_mux_cci_timer, 55162306a36Sopenharmony_ci msm_mux_cmu_rng, 55262306a36Sopenharmony_ci msm_mux_coex_uart1, 55362306a36Sopenharmony_ci msm_mux_coex_uart2, 55462306a36Sopenharmony_ci msm_mux_cri_trng, 55562306a36Sopenharmony_ci msm_mux_cri_trng0, 55662306a36Sopenharmony_ci msm_mux_cri_trng1, 55762306a36Sopenharmony_ci msm_mux_dbg_out, 55862306a36Sopenharmony_ci msm_mux_ddr_bist, 55962306a36Sopenharmony_ci msm_mux_ddr_pxi0, 56062306a36Sopenharmony_ci msm_mux_ddr_pxi1, 56162306a36Sopenharmony_ci msm_mux_ddr_pxi2, 56262306a36Sopenharmony_ci msm_mux_ddr_pxi3, 56362306a36Sopenharmony_ci msm_mux_dp_hot, 56462306a36Sopenharmony_ci msm_mux_egpio, 56562306a36Sopenharmony_ci msm_mux_gcc_gp1, 56662306a36Sopenharmony_ci msm_mux_gcc_gp2, 56762306a36Sopenharmony_ci msm_mux_gcc_gp3, 56862306a36Sopenharmony_ci msm_mux_ibi_i3c, 56962306a36Sopenharmony_ci msm_mux_jitter_bist, 57062306a36Sopenharmony_ci msm_mux_mdp_vsync, 57162306a36Sopenharmony_ci msm_mux_mdp_vsync0, 57262306a36Sopenharmony_ci msm_mux_mdp_vsync1, 57362306a36Sopenharmony_ci msm_mux_mdp_vsync2, 57462306a36Sopenharmony_ci msm_mux_mdp_vsync3, 57562306a36Sopenharmony_ci msm_mux_mi2s0_data0, 57662306a36Sopenharmony_ci msm_mux_mi2s0_data1, 57762306a36Sopenharmony_ci msm_mux_mi2s0_sck, 57862306a36Sopenharmony_ci msm_mux_mi2s0_ws, 57962306a36Sopenharmony_ci msm_mux_mi2s2_data0, 58062306a36Sopenharmony_ci msm_mux_mi2s2_data1, 58162306a36Sopenharmony_ci msm_mux_mi2s2_sck, 58262306a36Sopenharmony_ci msm_mux_mi2s2_ws, 58362306a36Sopenharmony_ci msm_mux_mss_grfc0, 58462306a36Sopenharmony_ci msm_mux_mss_grfc1, 58562306a36Sopenharmony_ci msm_mux_mss_grfc10, 58662306a36Sopenharmony_ci msm_mux_mss_grfc11, 58762306a36Sopenharmony_ci msm_mux_mss_grfc12, 58862306a36Sopenharmony_ci msm_mux_mss_grfc2, 58962306a36Sopenharmony_ci msm_mux_mss_grfc3, 59062306a36Sopenharmony_ci msm_mux_mss_grfc4, 59162306a36Sopenharmony_ci msm_mux_mss_grfc5, 59262306a36Sopenharmony_ci msm_mux_mss_grfc6, 59362306a36Sopenharmony_ci msm_mux_mss_grfc7, 59462306a36Sopenharmony_ci msm_mux_mss_grfc8, 59562306a36Sopenharmony_ci msm_mux_mss_grfc9, 59662306a36Sopenharmony_ci msm_mux_nav, 59762306a36Sopenharmony_ci msm_mux_pcie0_clkreqn, 59862306a36Sopenharmony_ci msm_mux_pcie1_clkreqn, 59962306a36Sopenharmony_ci msm_mux_phase_flag, 60062306a36Sopenharmony_ci msm_mux_pll_bist, 60162306a36Sopenharmony_ci msm_mux_pll_clk, 60262306a36Sopenharmony_ci msm_mux_pri_mi2s, 60362306a36Sopenharmony_ci msm_mux_prng_rosc, 60462306a36Sopenharmony_ci msm_mux_qdss_cti, 60562306a36Sopenharmony_ci msm_mux_qdss_gpio, 60662306a36Sopenharmony_ci msm_mux_qlink0_enable, 60762306a36Sopenharmony_ci msm_mux_qlink0_request, 60862306a36Sopenharmony_ci msm_mux_qlink0_wmss, 60962306a36Sopenharmony_ci msm_mux_qlink1_enable, 61062306a36Sopenharmony_ci msm_mux_qlink1_request, 61162306a36Sopenharmony_ci msm_mux_qlink1_wmss, 61262306a36Sopenharmony_ci msm_mux_qlink2_enable, 61362306a36Sopenharmony_ci msm_mux_qlink2_request, 61462306a36Sopenharmony_ci msm_mux_qlink2_wmss, 61562306a36Sopenharmony_ci msm_mux_qspi0, 61662306a36Sopenharmony_ci msm_mux_qspi1, 61762306a36Sopenharmony_ci msm_mux_qspi2, 61862306a36Sopenharmony_ci msm_mux_qspi3, 61962306a36Sopenharmony_ci msm_mux_qspi_clk, 62062306a36Sopenharmony_ci msm_mux_qspi_cs, 62162306a36Sopenharmony_ci msm_mux_qup0, 62262306a36Sopenharmony_ci msm_mux_qup1, 62362306a36Sopenharmony_ci msm_mux_qup10, 62462306a36Sopenharmony_ci msm_mux_qup11, 62562306a36Sopenharmony_ci msm_mux_qup12, 62662306a36Sopenharmony_ci msm_mux_qup13, 62762306a36Sopenharmony_ci msm_mux_qup14, 62862306a36Sopenharmony_ci msm_mux_qup15, 62962306a36Sopenharmony_ci msm_mux_qup16, 63062306a36Sopenharmony_ci msm_mux_qup17, 63162306a36Sopenharmony_ci msm_mux_qup18, 63262306a36Sopenharmony_ci msm_mux_qup19, 63362306a36Sopenharmony_ci msm_mux_qup2, 63462306a36Sopenharmony_ci msm_mux_qup20, 63562306a36Sopenharmony_ci msm_mux_qup21, 63662306a36Sopenharmony_ci msm_mux_qup3, 63762306a36Sopenharmony_ci msm_mux_qup4, 63862306a36Sopenharmony_ci msm_mux_qup5, 63962306a36Sopenharmony_ci msm_mux_qup6, 64062306a36Sopenharmony_ci msm_mux_qup7, 64162306a36Sopenharmony_ci msm_mux_qup8, 64262306a36Sopenharmony_ci msm_mux_qup9, 64362306a36Sopenharmony_ci msm_mux_qup_l4, 64462306a36Sopenharmony_ci msm_mux_qup_l5, 64562306a36Sopenharmony_ci msm_mux_qup_l6, 64662306a36Sopenharmony_ci msm_mux_sd_write, 64762306a36Sopenharmony_ci msm_mux_sdc40, 64862306a36Sopenharmony_ci msm_mux_sdc41, 64962306a36Sopenharmony_ci msm_mux_sdc42, 65062306a36Sopenharmony_ci msm_mux_sdc43, 65162306a36Sopenharmony_ci msm_mux_sdc4_clk, 65262306a36Sopenharmony_ci msm_mux_sdc4_cmd, 65362306a36Sopenharmony_ci msm_mux_sec_mi2s, 65462306a36Sopenharmony_ci msm_mux_tb_trig, 65562306a36Sopenharmony_ci msm_mux_tgu_ch0, 65662306a36Sopenharmony_ci msm_mux_tgu_ch1, 65762306a36Sopenharmony_ci msm_mux_tgu_ch2, 65862306a36Sopenharmony_ci msm_mux_tgu_ch3, 65962306a36Sopenharmony_ci msm_mux_tmess_prng0, 66062306a36Sopenharmony_ci msm_mux_tmess_prng1, 66162306a36Sopenharmony_ci msm_mux_tmess_prng2, 66262306a36Sopenharmony_ci msm_mux_tmess_prng3, 66362306a36Sopenharmony_ci msm_mux_tsense_pwm1, 66462306a36Sopenharmony_ci msm_mux_tsense_pwm2, 66562306a36Sopenharmony_ci msm_mux_uim0_clk, 66662306a36Sopenharmony_ci msm_mux_uim0_data, 66762306a36Sopenharmony_ci msm_mux_uim0_present, 66862306a36Sopenharmony_ci msm_mux_uim0_reset, 66962306a36Sopenharmony_ci msm_mux_uim1_clk, 67062306a36Sopenharmony_ci msm_mux_uim1_data, 67162306a36Sopenharmony_ci msm_mux_uim1_present, 67262306a36Sopenharmony_ci msm_mux_uim1_reset, 67362306a36Sopenharmony_ci msm_mux_usb2phy_ac, 67462306a36Sopenharmony_ci msm_mux_usb_phy, 67562306a36Sopenharmony_ci msm_mux_vfr_0, 67662306a36Sopenharmony_ci msm_mux_vfr_1, 67762306a36Sopenharmony_ci msm_mux_vsense_trigger, 67862306a36Sopenharmony_ci msm_mux__, 67962306a36Sopenharmony_ci}; 68062306a36Sopenharmony_ci 68162306a36Sopenharmony_cistatic const char * const gpio_groups[] = { 68262306a36Sopenharmony_ci "gpio0", "gpio1", "gpio2", "gpio3", "gpio4", "gpio5", "gpio6", "gpio7", 68362306a36Sopenharmony_ci "gpio8", "gpio9", "gpio10", "gpio11", "gpio12", "gpio13", "gpio14", 68462306a36Sopenharmony_ci "gpio15", "gpio16", "gpio17", "gpio18", "gpio19", "gpio20", "gpio21", 68562306a36Sopenharmony_ci "gpio22", "gpio23", "gpio24", "gpio25", "gpio26", "gpio27", "gpio28", 68662306a36Sopenharmony_ci "gpio29", "gpio30", "gpio31", "gpio32", "gpio33", "gpio34", "gpio35", 68762306a36Sopenharmony_ci "gpio36", "gpio37", "gpio38", "gpio39", "gpio40", "gpio41", "gpio42", 68862306a36Sopenharmony_ci "gpio43", "gpio44", "gpio45", "gpio46", "gpio47", "gpio48", "gpio49", 68962306a36Sopenharmony_ci "gpio50", "gpio51", "gpio52", "gpio53", "gpio54", "gpio55", "gpio56", 69062306a36Sopenharmony_ci "gpio57", "gpio58", "gpio59", "gpio60", "gpio61", "gpio62", "gpio63", 69162306a36Sopenharmony_ci "gpio64", "gpio65", "gpio66", "gpio67", "gpio68", "gpio69", "gpio70", 69262306a36Sopenharmony_ci "gpio71", "gpio72", "gpio73", "gpio74", "gpio75", "gpio76", "gpio77", 69362306a36Sopenharmony_ci "gpio78", "gpio79", "gpio80", "gpio81", "gpio82", "gpio83", "gpio84", 69462306a36Sopenharmony_ci "gpio85", "gpio86", "gpio87", "gpio88", "gpio89", "gpio90", "gpio91", 69562306a36Sopenharmony_ci "gpio92", "gpio93", "gpio94", "gpio95", "gpio96", "gpio97", "gpio98", 69662306a36Sopenharmony_ci "gpio99", "gpio100", "gpio101", "gpio102", "gpio103", "gpio104", 69762306a36Sopenharmony_ci "gpio105", "gpio106", "gpio107", "gpio108", "gpio109", "gpio110", 69862306a36Sopenharmony_ci "gpio111", "gpio112", "gpio113", "gpio114", "gpio115", "gpio116", 69962306a36Sopenharmony_ci "gpio117", "gpio118", "gpio119", "gpio120", "gpio121", "gpio122", 70062306a36Sopenharmony_ci "gpio123", "gpio124", "gpio125", "gpio126", "gpio127", "gpio128", 70162306a36Sopenharmony_ci "gpio129", "gpio130", "gpio131", "gpio132", "gpio133", "gpio134", 70262306a36Sopenharmony_ci "gpio135", "gpio136", "gpio137", "gpio138", "gpio139", "gpio140", 70362306a36Sopenharmony_ci "gpio141", "gpio142", "gpio143", "gpio144", "gpio145", "gpio146", 70462306a36Sopenharmony_ci "gpio147", "gpio148", "gpio149", "gpio150", "gpio151", "gpio152", 70562306a36Sopenharmony_ci "gpio153", "gpio154", "gpio155", "gpio156", "gpio157", "gpio158", 70662306a36Sopenharmony_ci "gpio159", "gpio160", "gpio161", "gpio162", "gpio163", "gpio164", 70762306a36Sopenharmony_ci "gpio165", "gpio166", "gpio167", "gpio168", "gpio169", "gpio170", 70862306a36Sopenharmony_ci "gpio171", "gpio172", "gpio173", "gpio174", "gpio175", "gpio176", 70962306a36Sopenharmony_ci "gpio177", "gpio178", "gpio179", "gpio180", "gpio181", "gpio182", 71062306a36Sopenharmony_ci "gpio183", "gpio184", "gpio185", "gpio186", "gpio187", "gpio188", 71162306a36Sopenharmony_ci "gpio189", "gpio190", "gpio191", "gpio192", "gpio193", "gpio194", 71262306a36Sopenharmony_ci "gpio195", "gpio196", "gpio197", "gpio198", "gpio199", "gpio200", 71362306a36Sopenharmony_ci "gpio201", "gpio202", "gpio203", "gpio204", "gpio205", "gpio206", 71462306a36Sopenharmony_ci "gpio207", "gpio208", "gpio209", 71562306a36Sopenharmony_ci}; 71662306a36Sopenharmony_ci 71762306a36Sopenharmony_cistatic const char * const egpio_groups[] = { 71862306a36Sopenharmony_ci "gpio165", "gpio166", "gpio167", "gpio168", "gpio169", "gpio170", 71962306a36Sopenharmony_ci "gpio171", "gpio172", "gpio173", "gpio174", "gpio175", "gpio176", 72062306a36Sopenharmony_ci "gpio177", "gpio178", "gpio179", "gpio180", "gpio181", "gpio182", 72162306a36Sopenharmony_ci "gpio183", "gpio184", "gpio185", "gpio186", "gpio187", "gpio188", 72262306a36Sopenharmony_ci "gpio189", "gpio190", "gpio191", "gpio192", "gpio193", "gpio194", 72362306a36Sopenharmony_ci "gpio195", "gpio196", "gpio197", "gpio198", "gpio199", "gpio200", 72462306a36Sopenharmony_ci "gpio201", "gpio202", "gpio203", "gpio204", "gpio205", "gpio206", 72562306a36Sopenharmony_ci "gpio207", "gpio208", "gpio209", 72662306a36Sopenharmony_ci}; 72762306a36Sopenharmony_ci 72862306a36Sopenharmony_cistatic const char * const aon_cam_groups[] = { 72962306a36Sopenharmony_ci "gpio108", 73062306a36Sopenharmony_ci}; 73162306a36Sopenharmony_ci 73262306a36Sopenharmony_cistatic const char * const atest_char_groups[] = { 73362306a36Sopenharmony_ci "gpio86", "gpio87", "gpio88", "gpio89", "gpio90", 73462306a36Sopenharmony_ci}; 73562306a36Sopenharmony_ci 73662306a36Sopenharmony_cistatic const char * const atest_usb_groups[] = { 73762306a36Sopenharmony_ci "gpio37", "gpio39", "gpio55", "gpio148", "gpio149", 73862306a36Sopenharmony_ci}; 73962306a36Sopenharmony_ci 74062306a36Sopenharmony_cistatic const char * const audio_ref_groups[] = { 74162306a36Sopenharmony_ci "gpio124", 74262306a36Sopenharmony_ci}; 74362306a36Sopenharmony_ci 74462306a36Sopenharmony_cistatic const char * const cam_mclk_groups[] = { 74562306a36Sopenharmony_ci "gpio100", "gpio101", "gpio102", "gpio103", "gpio104", "gpio105", "gpio106", "gpio107", 74662306a36Sopenharmony_ci}; 74762306a36Sopenharmony_ci 74862306a36Sopenharmony_cistatic const char * const cci_async_groups[] = { 74962306a36Sopenharmony_ci "gpio109", "gpio119", "gpio120", 75062306a36Sopenharmony_ci}; 75162306a36Sopenharmony_ci 75262306a36Sopenharmony_cistatic const char * const cci_i2c_groups[] = { 75362306a36Sopenharmony_ci "gpio110", "gpio111", "gpio112", "gpio113", "gpio114", "gpio115", "gpio208", "gpio209", 75462306a36Sopenharmony_ci}; 75562306a36Sopenharmony_ci 75662306a36Sopenharmony_cistatic const char * const cci_timer_groups[] = { 75762306a36Sopenharmony_ci "gpio116", "gpio117", "gpio118", "gpio119", "gpio120", 75862306a36Sopenharmony_ci}; 75962306a36Sopenharmony_ci 76062306a36Sopenharmony_cistatic const char * const cmu_rng_groups[] = { 76162306a36Sopenharmony_ci "gpio94", "gpio95", "gpio96", "gpio97", 76262306a36Sopenharmony_ci}; 76362306a36Sopenharmony_ci 76462306a36Sopenharmony_cistatic const char * const coex_uart1_groups[] = { 76562306a36Sopenharmony_ci "gpio148", "gpio149", 76662306a36Sopenharmony_ci}; 76762306a36Sopenharmony_ci 76862306a36Sopenharmony_cistatic const char * const coex_uart2_groups[] = { 76962306a36Sopenharmony_ci "gpio150", "gpio151", 77062306a36Sopenharmony_ci}; 77162306a36Sopenharmony_ci 77262306a36Sopenharmony_cistatic const char * const cri_trng_groups[] = { 77362306a36Sopenharmony_ci "gpio99", 77462306a36Sopenharmony_ci}; 77562306a36Sopenharmony_ci 77662306a36Sopenharmony_cistatic const char * const cri_trng0_groups[] = { 77762306a36Sopenharmony_ci "gpio71", 77862306a36Sopenharmony_ci}; 77962306a36Sopenharmony_ci 78062306a36Sopenharmony_cistatic const char * const cri_trng1_groups[] = { 78162306a36Sopenharmony_ci "gpio72", 78262306a36Sopenharmony_ci}; 78362306a36Sopenharmony_ci 78462306a36Sopenharmony_cistatic const char * const dbg_out_groups[] = { 78562306a36Sopenharmony_ci "gpio9", 78662306a36Sopenharmony_ci}; 78762306a36Sopenharmony_ci 78862306a36Sopenharmony_cistatic const char * const ddr_bist_groups[] = { 78962306a36Sopenharmony_ci "gpio36", "gpio37", "gpio40", "gpio41", 79062306a36Sopenharmony_ci}; 79162306a36Sopenharmony_ci 79262306a36Sopenharmony_cistatic const char * const ddr_pxi0_groups[] = { 79362306a36Sopenharmony_ci "gpio51", "gpio52", 79462306a36Sopenharmony_ci}; 79562306a36Sopenharmony_ci 79662306a36Sopenharmony_cistatic const char * const ddr_pxi1_groups[] = { 79762306a36Sopenharmony_ci "gpio40", "gpio41", 79862306a36Sopenharmony_ci}; 79962306a36Sopenharmony_ci 80062306a36Sopenharmony_cistatic const char * const ddr_pxi2_groups[] = { 80162306a36Sopenharmony_ci "gpio45", "gpio47", 80262306a36Sopenharmony_ci}; 80362306a36Sopenharmony_ci 80462306a36Sopenharmony_cistatic const char * const ddr_pxi3_groups[] = { 80562306a36Sopenharmony_ci "gpio43", "gpio44", 80662306a36Sopenharmony_ci}; 80762306a36Sopenharmony_ci 80862306a36Sopenharmony_cistatic const char * const dp_hot_groups[] = { 80962306a36Sopenharmony_ci "gpio47", 81062306a36Sopenharmony_ci}; 81162306a36Sopenharmony_ci 81262306a36Sopenharmony_cistatic const char * const gcc_gp1_groups[] = { 81362306a36Sopenharmony_ci "gpio86", "gpio134", 81462306a36Sopenharmony_ci}; 81562306a36Sopenharmony_ci 81662306a36Sopenharmony_cistatic const char * const gcc_gp2_groups[] = { 81762306a36Sopenharmony_ci "gpio87", "gpio135", 81862306a36Sopenharmony_ci}; 81962306a36Sopenharmony_ci 82062306a36Sopenharmony_cistatic const char * const gcc_gp3_groups[] = { 82162306a36Sopenharmony_ci "gpio88", "gpio136", 82262306a36Sopenharmony_ci}; 82362306a36Sopenharmony_ci 82462306a36Sopenharmony_cistatic const char * const ibi_i3c_groups[] = { 82562306a36Sopenharmony_ci "gpio28", "gpio29", "gpio32", "gpio33", "gpio56", "gpio57", "gpio60", "gpio61", 82662306a36Sopenharmony_ci}; 82762306a36Sopenharmony_ci 82862306a36Sopenharmony_cistatic const char * const jitter_bist_groups[] = { 82962306a36Sopenharmony_ci "gpio24", 83062306a36Sopenharmony_ci}; 83162306a36Sopenharmony_ci 83262306a36Sopenharmony_cistatic const char * const mdp_vsync_groups[] = { 83362306a36Sopenharmony_ci "gpio46", "gpio47", "gpio86", "gpio87", "gpio88", 83462306a36Sopenharmony_ci}; 83562306a36Sopenharmony_ci 83662306a36Sopenharmony_cistatic const char * const mdp_vsync0_groups[] = { 83762306a36Sopenharmony_ci "gpio86", 83862306a36Sopenharmony_ci}; 83962306a36Sopenharmony_ci 84062306a36Sopenharmony_cistatic const char * const mdp_vsync1_groups[] = { 84162306a36Sopenharmony_ci "gpio86", 84262306a36Sopenharmony_ci}; 84362306a36Sopenharmony_ci 84462306a36Sopenharmony_cistatic const char * const mdp_vsync2_groups[] = { 84562306a36Sopenharmony_ci "gpio87", 84662306a36Sopenharmony_ci}; 84762306a36Sopenharmony_ci 84862306a36Sopenharmony_cistatic const char * const mdp_vsync3_groups[] = { 84962306a36Sopenharmony_ci "gpio87", 85062306a36Sopenharmony_ci}; 85162306a36Sopenharmony_ci 85262306a36Sopenharmony_cistatic const char * const mi2s0_data0_groups[] = { 85362306a36Sopenharmony_ci "gpio127", 85462306a36Sopenharmony_ci}; 85562306a36Sopenharmony_ci 85662306a36Sopenharmony_cistatic const char * const mi2s0_data1_groups[] = { 85762306a36Sopenharmony_ci "gpio128", 85862306a36Sopenharmony_ci}; 85962306a36Sopenharmony_ci 86062306a36Sopenharmony_cistatic const char * const mi2s0_sck_groups[] = { 86162306a36Sopenharmony_ci "gpio126", 86262306a36Sopenharmony_ci}; 86362306a36Sopenharmony_ci 86462306a36Sopenharmony_cistatic const char * const mi2s0_ws_groups[] = { 86562306a36Sopenharmony_ci "gpio129", 86662306a36Sopenharmony_ci}; 86762306a36Sopenharmony_ci 86862306a36Sopenharmony_cistatic const char * const mi2s2_data0_groups[] = { 86962306a36Sopenharmony_ci "gpio122", 87062306a36Sopenharmony_ci}; 87162306a36Sopenharmony_ci 87262306a36Sopenharmony_cistatic const char * const mi2s2_data1_groups[] = { 87362306a36Sopenharmony_ci "gpio124", 87462306a36Sopenharmony_ci}; 87562306a36Sopenharmony_ci 87662306a36Sopenharmony_cistatic const char * const mi2s2_sck_groups[] = { 87762306a36Sopenharmony_ci "gpio121", 87862306a36Sopenharmony_ci}; 87962306a36Sopenharmony_ci 88062306a36Sopenharmony_cistatic const char * const mi2s2_ws_groups[] = { 88162306a36Sopenharmony_ci "gpio123", 88262306a36Sopenharmony_ci}; 88362306a36Sopenharmony_ci 88462306a36Sopenharmony_cistatic const char * const mss_grfc0_groups[] = { 88562306a36Sopenharmony_ci "gpio138", "gpio153", 88662306a36Sopenharmony_ci}; 88762306a36Sopenharmony_ci 88862306a36Sopenharmony_cistatic const char * const mss_grfc1_groups[] = { 88962306a36Sopenharmony_ci "gpio139", 89062306a36Sopenharmony_ci}; 89162306a36Sopenharmony_ci 89262306a36Sopenharmony_cistatic const char * const mss_grfc10_groups[] = { 89362306a36Sopenharmony_ci "gpio150", 89462306a36Sopenharmony_ci}; 89562306a36Sopenharmony_ci 89662306a36Sopenharmony_cistatic const char * const mss_grfc11_groups[] = { 89762306a36Sopenharmony_ci "gpio151", 89862306a36Sopenharmony_ci}; 89962306a36Sopenharmony_ci 90062306a36Sopenharmony_cistatic const char * const mss_grfc12_groups[] = { 90162306a36Sopenharmony_ci "gpio152", 90262306a36Sopenharmony_ci}; 90362306a36Sopenharmony_ci 90462306a36Sopenharmony_cistatic const char * const mss_grfc2_groups[] = { 90562306a36Sopenharmony_ci "gpio140", 90662306a36Sopenharmony_ci}; 90762306a36Sopenharmony_ci 90862306a36Sopenharmony_cistatic const char * const mss_grfc3_groups[] = { 90962306a36Sopenharmony_ci "gpio141", 91062306a36Sopenharmony_ci}; 91162306a36Sopenharmony_ci 91262306a36Sopenharmony_cistatic const char * const mss_grfc4_groups[] = { 91362306a36Sopenharmony_ci "gpio142", 91462306a36Sopenharmony_ci}; 91562306a36Sopenharmony_ci 91662306a36Sopenharmony_cistatic const char * const mss_grfc5_groups[] = { 91762306a36Sopenharmony_ci "gpio143", 91862306a36Sopenharmony_ci}; 91962306a36Sopenharmony_ci 92062306a36Sopenharmony_cistatic const char * const mss_grfc6_groups[] = { 92162306a36Sopenharmony_ci "gpio144", 92262306a36Sopenharmony_ci}; 92362306a36Sopenharmony_ci 92462306a36Sopenharmony_cistatic const char * const mss_grfc7_groups[] = { 92562306a36Sopenharmony_ci "gpio145", 92662306a36Sopenharmony_ci}; 92762306a36Sopenharmony_ci 92862306a36Sopenharmony_cistatic const char * const mss_grfc8_groups[] = { 92962306a36Sopenharmony_ci "gpio146", 93062306a36Sopenharmony_ci}; 93162306a36Sopenharmony_ci 93262306a36Sopenharmony_cistatic const char * const mss_grfc9_groups[] = { 93362306a36Sopenharmony_ci "gpio147", 93462306a36Sopenharmony_ci}; 93562306a36Sopenharmony_ci 93662306a36Sopenharmony_cistatic const char * const nav_groups[] = { 93762306a36Sopenharmony_ci "gpio153", "gpio154", "gpio155", 93862306a36Sopenharmony_ci}; 93962306a36Sopenharmony_ci 94062306a36Sopenharmony_cistatic const char * const pcie0_clkreqn_groups[] = { 94162306a36Sopenharmony_ci "gpio95", 94262306a36Sopenharmony_ci}; 94362306a36Sopenharmony_ci 94462306a36Sopenharmony_cistatic const char * const pcie1_clkreqn_groups[] = { 94562306a36Sopenharmony_ci "gpio98", 94662306a36Sopenharmony_ci}; 94762306a36Sopenharmony_ci 94862306a36Sopenharmony_cistatic const char * const phase_flag_groups[] = { 94962306a36Sopenharmony_ci "gpio4", "gpio5", "gpio6", "gpio7", "gpio10", "gpio11", "gpio12", "gpio13", 95062306a36Sopenharmony_ci "gpio14", "gpio15", "gpio16", "gpio17", "gpio18", "gpio19", "gpio25", "gpio26", 95162306a36Sopenharmony_ci "gpio76", "gpio77", "gpio78", "gpio79", "gpio81", "gpio82", "gpio83", "gpio92", 95262306a36Sopenharmony_ci "gpio93", "gpio94", "gpio95", "gpio96", "gpio97", "gpio98", "gpio99", 95362306a36Sopenharmony_ci}; 95462306a36Sopenharmony_ci 95562306a36Sopenharmony_cistatic const char * const pll_bist_groups[] = { 95662306a36Sopenharmony_ci "gpio20", 95762306a36Sopenharmony_ci}; 95862306a36Sopenharmony_ci 95962306a36Sopenharmony_cistatic const char * const pll_clk_groups[] = { 96062306a36Sopenharmony_ci "gpio107", 96162306a36Sopenharmony_ci}; 96262306a36Sopenharmony_ci 96362306a36Sopenharmony_cistatic const char * const pri_mi2s_groups[] = { 96462306a36Sopenharmony_ci "gpio125", 96562306a36Sopenharmony_ci}; 96662306a36Sopenharmony_ci 96762306a36Sopenharmony_cistatic const char * const prng_rosc_groups[] = { 96862306a36Sopenharmony_ci "gpio73", "gpio75", "gpio81", "gpio83", "gpio81", 96962306a36Sopenharmony_ci}; 97062306a36Sopenharmony_ci 97162306a36Sopenharmony_cistatic const char * const qdss_cti_groups[] = { 97262306a36Sopenharmony_ci "gpio2", "gpio80", "gpio81", "gpio82", "gpio83", "gpio84", "gpio85", "gpio93", 97362306a36Sopenharmony_ci}; 97462306a36Sopenharmony_ci 97562306a36Sopenharmony_cistatic const char * const qdss_gpio_groups[] = { 97662306a36Sopenharmony_ci "gpio100", "gpio101", "gpio102", "gpio103", "gpio104", "gpio105", "gpio106", "gpio107", 97762306a36Sopenharmony_ci "gpio110", "gpio111", "gpio112", "gpio113", "gpio114", "gpio115", "gpio117", "gpio118", 97862306a36Sopenharmony_ci "gpio119", "gpio120", "gpio188", "gpio189", "gpio190", "gpio191", "gpio192", "gpio193", 97962306a36Sopenharmony_ci "gpio194", "gpio195", "gpio196", "gpio197", "gpio198", "gpio199", "gpio200", "gpio201", 98062306a36Sopenharmony_ci "gpio202", "gpio203", "gpio204", "gpio205", 98162306a36Sopenharmony_ci}; 98262306a36Sopenharmony_ci 98362306a36Sopenharmony_cistatic const char * const qlink0_enable_groups[] = { 98462306a36Sopenharmony_ci "gpio157", 98562306a36Sopenharmony_ci}; 98662306a36Sopenharmony_ci 98762306a36Sopenharmony_cistatic const char * const qlink0_request_groups[] = { 98862306a36Sopenharmony_ci "gpio156", 98962306a36Sopenharmony_ci}; 99062306a36Sopenharmony_ci 99162306a36Sopenharmony_cistatic const char * const qlink0_wmss_groups[] = { 99262306a36Sopenharmony_ci "gpio158", 99362306a36Sopenharmony_ci}; 99462306a36Sopenharmony_ci 99562306a36Sopenharmony_cistatic const char * const qlink1_enable_groups[] = { 99662306a36Sopenharmony_ci "gpio160", 99762306a36Sopenharmony_ci}; 99862306a36Sopenharmony_ci 99962306a36Sopenharmony_cistatic const char * const qlink1_request_groups[] = { 100062306a36Sopenharmony_ci "gpio159", 100162306a36Sopenharmony_ci}; 100262306a36Sopenharmony_ci 100362306a36Sopenharmony_cistatic const char * const qlink1_wmss_groups[] = { 100462306a36Sopenharmony_ci "gpio161", 100562306a36Sopenharmony_ci}; 100662306a36Sopenharmony_ci 100762306a36Sopenharmony_cistatic const char * const qlink2_enable_groups[] = { 100862306a36Sopenharmony_ci "gpio163", 100962306a36Sopenharmony_ci}; 101062306a36Sopenharmony_ci 101162306a36Sopenharmony_cistatic const char * const qlink2_request_groups[] = { 101262306a36Sopenharmony_ci "gpio162", 101362306a36Sopenharmony_ci}; 101462306a36Sopenharmony_ci 101562306a36Sopenharmony_cistatic const char * const qlink2_wmss_groups[] = { 101662306a36Sopenharmony_ci "gpio164", 101762306a36Sopenharmony_ci}; 101862306a36Sopenharmony_ci 101962306a36Sopenharmony_cistatic const char * const qspi0_groups[] = { 102062306a36Sopenharmony_ci "gpio52", 102162306a36Sopenharmony_ci}; 102262306a36Sopenharmony_ci 102362306a36Sopenharmony_cistatic const char * const qspi1_groups[] = { 102462306a36Sopenharmony_ci "gpio53", 102562306a36Sopenharmony_ci}; 102662306a36Sopenharmony_ci 102762306a36Sopenharmony_cistatic const char * const qspi2_groups[] = { 102862306a36Sopenharmony_ci "gpio48", 102962306a36Sopenharmony_ci}; 103062306a36Sopenharmony_ci 103162306a36Sopenharmony_cistatic const char * const qspi3_groups[] = { 103262306a36Sopenharmony_ci "gpio49", 103362306a36Sopenharmony_ci}; 103462306a36Sopenharmony_ci 103562306a36Sopenharmony_cistatic const char * const qspi_clk_groups[] = { 103662306a36Sopenharmony_ci "gpio50", 103762306a36Sopenharmony_ci}; 103862306a36Sopenharmony_ci 103962306a36Sopenharmony_cistatic const char * const qspi_cs_groups[] = { 104062306a36Sopenharmony_ci "gpio51", "gpio54", 104162306a36Sopenharmony_ci}; 104262306a36Sopenharmony_ci 104362306a36Sopenharmony_cistatic const char * const qup0_groups[] = { 104462306a36Sopenharmony_ci "gpio0", "gpio1", "gpio2", "gpio3", 104562306a36Sopenharmony_ci}; 104662306a36Sopenharmony_ci 104762306a36Sopenharmony_cistatic const char * const qup1_groups[] = { 104862306a36Sopenharmony_ci "gpio4", "gpio5", "gpio6", "gpio7", 104962306a36Sopenharmony_ci}; 105062306a36Sopenharmony_ci 105162306a36Sopenharmony_cistatic const char * const qup10_groups[] = { 105262306a36Sopenharmony_ci "gpio36", "gpio37", "gpio38", "gpio39", 105362306a36Sopenharmony_ci}; 105462306a36Sopenharmony_ci 105562306a36Sopenharmony_cistatic const char * const qup11_groups[] = { 105662306a36Sopenharmony_ci "gpio40", "gpio41", "gpio42", "gpio43", 105762306a36Sopenharmony_ci}; 105862306a36Sopenharmony_ci 105962306a36Sopenharmony_cistatic const char * const qup12_groups[] = { 106062306a36Sopenharmony_ci "gpio44", "gpio45", "gpio46", "gpio47", 106162306a36Sopenharmony_ci}; 106262306a36Sopenharmony_ci 106362306a36Sopenharmony_cistatic const char * const qup13_groups[] = { 106462306a36Sopenharmony_ci "gpio48", "gpio49", "gpio50", "gpio51", 106562306a36Sopenharmony_ci}; 106662306a36Sopenharmony_ci 106762306a36Sopenharmony_cistatic const char * const qup14_groups[] = { 106862306a36Sopenharmony_ci "gpio52", "gpio53", "gpio54", "gpio55", 106962306a36Sopenharmony_ci}; 107062306a36Sopenharmony_ci 107162306a36Sopenharmony_cistatic const char * const qup15_groups[] = { 107262306a36Sopenharmony_ci "gpio56", "gpio57", "gpio58", "gpio59", 107362306a36Sopenharmony_ci}; 107462306a36Sopenharmony_ci 107562306a36Sopenharmony_cistatic const char * const qup16_groups[] = { 107662306a36Sopenharmony_ci "gpio60", "gpio61", "gpio62", "gpio63", 107762306a36Sopenharmony_ci}; 107862306a36Sopenharmony_ci 107962306a36Sopenharmony_cistatic const char * const qup17_groups[] = { 108062306a36Sopenharmony_ci "gpio64", "gpio65", "gpio66", "gpio67", 108162306a36Sopenharmony_ci}; 108262306a36Sopenharmony_ci 108362306a36Sopenharmony_cistatic const char * const qup18_groups[] = { 108462306a36Sopenharmony_ci "gpio68", "gpio69", "gpio70", "gpio71", 108562306a36Sopenharmony_ci}; 108662306a36Sopenharmony_ci 108762306a36Sopenharmony_cistatic const char * const qup19_groups[] = { 108862306a36Sopenharmony_ci "gpio72", "gpio73", "gpio74", "gpio75", 108962306a36Sopenharmony_ci}; 109062306a36Sopenharmony_ci 109162306a36Sopenharmony_cistatic const char * const qup2_groups[] = { 109262306a36Sopenharmony_ci "gpio8", "gpio9", "gpio10", "gpio11", 109362306a36Sopenharmony_ci}; 109462306a36Sopenharmony_ci 109562306a36Sopenharmony_cistatic const char * const qup20_groups[] = { 109662306a36Sopenharmony_ci "gpio76", "gpio77", "gpio78", "gpio79", 109762306a36Sopenharmony_ci}; 109862306a36Sopenharmony_ci 109962306a36Sopenharmony_cistatic const char * const qup21_groups[] = { 110062306a36Sopenharmony_ci "gpio80", "gpio81", "gpio82", "gpio83", 110162306a36Sopenharmony_ci}; 110262306a36Sopenharmony_ci 110362306a36Sopenharmony_cistatic const char * const qup3_groups[] = { 110462306a36Sopenharmony_ci "gpio12", "gpio13", "gpio14", "gpio15", 110562306a36Sopenharmony_ci}; 110662306a36Sopenharmony_ci 110762306a36Sopenharmony_cistatic const char * const qup4_groups[] = { 110862306a36Sopenharmony_ci "gpio16", "gpio17", "gpio18", "gpio19", 110962306a36Sopenharmony_ci}; 111062306a36Sopenharmony_ci 111162306a36Sopenharmony_cistatic const char * const qup5_groups[] = { 111262306a36Sopenharmony_ci "gpio84", "gpio85", "gpio206", "gpio207", 111362306a36Sopenharmony_ci}; 111462306a36Sopenharmony_ci 111562306a36Sopenharmony_cistatic const char * const qup6_groups[] = { 111662306a36Sopenharmony_ci "gpio20", "gpio21", "gpio22", "gpio23", 111762306a36Sopenharmony_ci}; 111862306a36Sopenharmony_ci 111962306a36Sopenharmony_cistatic const char * const qup7_groups[] = { 112062306a36Sopenharmony_ci "gpio24", "gpio25", "gpio26", "gpio27", 112162306a36Sopenharmony_ci}; 112262306a36Sopenharmony_ci 112362306a36Sopenharmony_cistatic const char * const qup8_groups[] = { 112462306a36Sopenharmony_ci "gpio28", "gpio29", "gpio30", "gpio31", 112562306a36Sopenharmony_ci}; 112662306a36Sopenharmony_ci 112762306a36Sopenharmony_cistatic const char * const qup9_groups[] = { 112862306a36Sopenharmony_ci "gpio32", "gpio33", "gpio34", "gpio35", 112962306a36Sopenharmony_ci}; 113062306a36Sopenharmony_ci 113162306a36Sopenharmony_cistatic const char * const qup_l4_groups[] = { 113262306a36Sopenharmony_ci "gpio24", "gpio40", "gpio58", "gpio63", 113362306a36Sopenharmony_ci}; 113462306a36Sopenharmony_ci 113562306a36Sopenharmony_cistatic const char * const qup_l5_groups[] = { 113662306a36Sopenharmony_ci "gpio25", "gpio41", "gpio59", "gpio66", 113762306a36Sopenharmony_ci}; 113862306a36Sopenharmony_ci 113962306a36Sopenharmony_cistatic const char * const qup_l6_groups[] = { 114062306a36Sopenharmony_ci "gpio26", "gpio42", "gpio62", "gpio67", 114162306a36Sopenharmony_ci}; 114262306a36Sopenharmony_ci 114362306a36Sopenharmony_cistatic const char * const sd_write_groups[] = { 114462306a36Sopenharmony_ci "gpio93", 114562306a36Sopenharmony_ci}; 114662306a36Sopenharmony_ci 114762306a36Sopenharmony_cistatic const char * const sdc40_groups[] = { 114862306a36Sopenharmony_ci "gpio52", 114962306a36Sopenharmony_ci}; 115062306a36Sopenharmony_ci 115162306a36Sopenharmony_cistatic const char * const sdc41_groups[] = { 115262306a36Sopenharmony_ci "gpio53", 115362306a36Sopenharmony_ci}; 115462306a36Sopenharmony_ci 115562306a36Sopenharmony_cistatic const char * const sdc42_groups[] = { 115662306a36Sopenharmony_ci "gpio48", 115762306a36Sopenharmony_ci}; 115862306a36Sopenharmony_ci 115962306a36Sopenharmony_cistatic const char * const sdc43_groups[] = { 116062306a36Sopenharmony_ci "gpio49", 116162306a36Sopenharmony_ci}; 116262306a36Sopenharmony_ci 116362306a36Sopenharmony_cistatic const char * const sdc4_clk_groups[] = { 116462306a36Sopenharmony_ci "gpio50", 116562306a36Sopenharmony_ci}; 116662306a36Sopenharmony_ci 116762306a36Sopenharmony_cistatic const char * const sdc4_cmd_groups[] = { 116862306a36Sopenharmony_ci "gpio51", 116962306a36Sopenharmony_ci}; 117062306a36Sopenharmony_ci 117162306a36Sopenharmony_cistatic const char * const sec_mi2s_groups[] = { 117262306a36Sopenharmony_ci "gpio124", 117362306a36Sopenharmony_ci}; 117462306a36Sopenharmony_ci 117562306a36Sopenharmony_cistatic const char * const tb_trig_groups[] = { 117662306a36Sopenharmony_ci "gpio64", "gpio137", 117762306a36Sopenharmony_ci}; 117862306a36Sopenharmony_ci 117962306a36Sopenharmony_cistatic const char * const tgu_ch0_groups[] = { 118062306a36Sopenharmony_ci "gpio64", 118162306a36Sopenharmony_ci}; 118262306a36Sopenharmony_ci 118362306a36Sopenharmony_cistatic const char * const tgu_ch1_groups[] = { 118462306a36Sopenharmony_ci "gpio65", 118562306a36Sopenharmony_ci}; 118662306a36Sopenharmony_ci 118762306a36Sopenharmony_cistatic const char * const tgu_ch2_groups[] = { 118862306a36Sopenharmony_ci "gpio66", 118962306a36Sopenharmony_ci}; 119062306a36Sopenharmony_ci 119162306a36Sopenharmony_cistatic const char * const tgu_ch3_groups[] = { 119262306a36Sopenharmony_ci "gpio67", 119362306a36Sopenharmony_ci}; 119462306a36Sopenharmony_ci 119562306a36Sopenharmony_cistatic const char * const tmess_prng0_groups[] = { 119662306a36Sopenharmony_ci "gpio80", 119762306a36Sopenharmony_ci}; 119862306a36Sopenharmony_ci 119962306a36Sopenharmony_cistatic const char * const tmess_prng1_groups[] = { 120062306a36Sopenharmony_ci "gpio79", 120162306a36Sopenharmony_ci}; 120262306a36Sopenharmony_ci 120362306a36Sopenharmony_cistatic const char * const tmess_prng2_groups[] = { 120462306a36Sopenharmony_ci "gpio77", 120562306a36Sopenharmony_ci}; 120662306a36Sopenharmony_ci 120762306a36Sopenharmony_cistatic const char * const tmess_prng3_groups[] = { 120862306a36Sopenharmony_ci "gpio76", 120962306a36Sopenharmony_ci}; 121062306a36Sopenharmony_ci 121162306a36Sopenharmony_cistatic const char * const tsense_pwm1_groups[] = { 121262306a36Sopenharmony_ci "gpio91", 121362306a36Sopenharmony_ci}; 121462306a36Sopenharmony_ci 121562306a36Sopenharmony_cistatic const char * const tsense_pwm2_groups[] = { 121662306a36Sopenharmony_ci "gpio91", 121762306a36Sopenharmony_ci}; 121862306a36Sopenharmony_ci 121962306a36Sopenharmony_cistatic const char * const uim0_clk_groups[] = { 122062306a36Sopenharmony_ci "gpio131", 122162306a36Sopenharmony_ci}; 122262306a36Sopenharmony_ci 122362306a36Sopenharmony_cistatic const char * const uim0_data_groups[] = { 122462306a36Sopenharmony_ci "gpio130", 122562306a36Sopenharmony_ci}; 122662306a36Sopenharmony_ci 122762306a36Sopenharmony_cistatic const char * const uim0_present_groups[] = { 122862306a36Sopenharmony_ci "gpio133", 122962306a36Sopenharmony_ci}; 123062306a36Sopenharmony_ci 123162306a36Sopenharmony_cistatic const char * const uim0_reset_groups[] = { 123262306a36Sopenharmony_ci "gpio132", 123362306a36Sopenharmony_ci}; 123462306a36Sopenharmony_ci 123562306a36Sopenharmony_cistatic const char * const uim1_clk_groups[] = { 123662306a36Sopenharmony_ci "gpio135", 123762306a36Sopenharmony_ci}; 123862306a36Sopenharmony_ci 123962306a36Sopenharmony_cistatic const char * const uim1_data_groups[] = { 124062306a36Sopenharmony_ci "gpio134", 124162306a36Sopenharmony_ci}; 124262306a36Sopenharmony_ci 124362306a36Sopenharmony_cistatic const char * const uim1_present_groups[] = { 124462306a36Sopenharmony_ci "gpio137", 124562306a36Sopenharmony_ci}; 124662306a36Sopenharmony_ci 124762306a36Sopenharmony_cistatic const char * const uim1_reset_groups[] = { 124862306a36Sopenharmony_ci "gpio136", 124962306a36Sopenharmony_ci}; 125062306a36Sopenharmony_ci 125162306a36Sopenharmony_cistatic const char * const usb2phy_ac_groups[] = { 125262306a36Sopenharmony_ci "gpio90", 125362306a36Sopenharmony_ci}; 125462306a36Sopenharmony_ci 125562306a36Sopenharmony_cistatic const char * const usb_phy_groups[] = { 125662306a36Sopenharmony_ci "gpio91", 125762306a36Sopenharmony_ci}; 125862306a36Sopenharmony_ci 125962306a36Sopenharmony_cistatic const char * const vfr_0_groups[] = { 126062306a36Sopenharmony_ci "gpio89", 126162306a36Sopenharmony_ci}; 126262306a36Sopenharmony_ci 126362306a36Sopenharmony_cistatic const char * const vfr_1_groups[] = { 126462306a36Sopenharmony_ci "gpio155", 126562306a36Sopenharmony_ci}; 126662306a36Sopenharmony_ci 126762306a36Sopenharmony_cistatic const char * const vsense_trigger_groups[] = { 126862306a36Sopenharmony_ci "gpio18", 126962306a36Sopenharmony_ci}; 127062306a36Sopenharmony_ci 127162306a36Sopenharmony_cistatic const struct pinfunction sm8450_functions[] = { 127262306a36Sopenharmony_ci MSM_PIN_FUNCTION(gpio), 127362306a36Sopenharmony_ci MSM_PIN_FUNCTION(aon_cam), 127462306a36Sopenharmony_ci MSM_PIN_FUNCTION(atest_char), 127562306a36Sopenharmony_ci MSM_PIN_FUNCTION(atest_usb), 127662306a36Sopenharmony_ci MSM_PIN_FUNCTION(audio_ref), 127762306a36Sopenharmony_ci MSM_PIN_FUNCTION(cam_mclk), 127862306a36Sopenharmony_ci MSM_PIN_FUNCTION(cci_async), 127962306a36Sopenharmony_ci MSM_PIN_FUNCTION(cci_i2c), 128062306a36Sopenharmony_ci MSM_PIN_FUNCTION(cci_timer), 128162306a36Sopenharmony_ci MSM_PIN_FUNCTION(cmu_rng), 128262306a36Sopenharmony_ci MSM_PIN_FUNCTION(coex_uart1), 128362306a36Sopenharmony_ci MSM_PIN_FUNCTION(coex_uart2), 128462306a36Sopenharmony_ci MSM_PIN_FUNCTION(cri_trng), 128562306a36Sopenharmony_ci MSM_PIN_FUNCTION(cri_trng0), 128662306a36Sopenharmony_ci MSM_PIN_FUNCTION(cri_trng1), 128762306a36Sopenharmony_ci MSM_PIN_FUNCTION(dbg_out), 128862306a36Sopenharmony_ci MSM_PIN_FUNCTION(ddr_bist), 128962306a36Sopenharmony_ci MSM_PIN_FUNCTION(ddr_pxi0), 129062306a36Sopenharmony_ci MSM_PIN_FUNCTION(ddr_pxi1), 129162306a36Sopenharmony_ci MSM_PIN_FUNCTION(ddr_pxi2), 129262306a36Sopenharmony_ci MSM_PIN_FUNCTION(ddr_pxi3), 129362306a36Sopenharmony_ci MSM_PIN_FUNCTION(dp_hot), 129462306a36Sopenharmony_ci MSM_PIN_FUNCTION(egpio), 129562306a36Sopenharmony_ci MSM_PIN_FUNCTION(gcc_gp1), 129662306a36Sopenharmony_ci MSM_PIN_FUNCTION(gcc_gp2), 129762306a36Sopenharmony_ci MSM_PIN_FUNCTION(gcc_gp3), 129862306a36Sopenharmony_ci MSM_PIN_FUNCTION(ibi_i3c), 129962306a36Sopenharmony_ci MSM_PIN_FUNCTION(jitter_bist), 130062306a36Sopenharmony_ci MSM_PIN_FUNCTION(mdp_vsync), 130162306a36Sopenharmony_ci MSM_PIN_FUNCTION(mdp_vsync0), 130262306a36Sopenharmony_ci MSM_PIN_FUNCTION(mdp_vsync1), 130362306a36Sopenharmony_ci MSM_PIN_FUNCTION(mdp_vsync2), 130462306a36Sopenharmony_ci MSM_PIN_FUNCTION(mdp_vsync3), 130562306a36Sopenharmony_ci MSM_PIN_FUNCTION(mi2s0_data0), 130662306a36Sopenharmony_ci MSM_PIN_FUNCTION(mi2s0_data1), 130762306a36Sopenharmony_ci MSM_PIN_FUNCTION(mi2s0_sck), 130862306a36Sopenharmony_ci MSM_PIN_FUNCTION(mi2s0_ws), 130962306a36Sopenharmony_ci MSM_PIN_FUNCTION(mi2s2_data0), 131062306a36Sopenharmony_ci MSM_PIN_FUNCTION(mi2s2_data1), 131162306a36Sopenharmony_ci MSM_PIN_FUNCTION(mi2s2_sck), 131262306a36Sopenharmony_ci MSM_PIN_FUNCTION(mi2s2_ws), 131362306a36Sopenharmony_ci MSM_PIN_FUNCTION(mss_grfc0), 131462306a36Sopenharmony_ci MSM_PIN_FUNCTION(mss_grfc1), 131562306a36Sopenharmony_ci MSM_PIN_FUNCTION(mss_grfc10), 131662306a36Sopenharmony_ci MSM_PIN_FUNCTION(mss_grfc11), 131762306a36Sopenharmony_ci MSM_PIN_FUNCTION(mss_grfc12), 131862306a36Sopenharmony_ci MSM_PIN_FUNCTION(mss_grfc2), 131962306a36Sopenharmony_ci MSM_PIN_FUNCTION(mss_grfc3), 132062306a36Sopenharmony_ci MSM_PIN_FUNCTION(mss_grfc4), 132162306a36Sopenharmony_ci MSM_PIN_FUNCTION(mss_grfc5), 132262306a36Sopenharmony_ci MSM_PIN_FUNCTION(mss_grfc6), 132362306a36Sopenharmony_ci MSM_PIN_FUNCTION(mss_grfc7), 132462306a36Sopenharmony_ci MSM_PIN_FUNCTION(mss_grfc8), 132562306a36Sopenharmony_ci MSM_PIN_FUNCTION(mss_grfc9), 132662306a36Sopenharmony_ci MSM_PIN_FUNCTION(nav), 132762306a36Sopenharmony_ci MSM_PIN_FUNCTION(pcie0_clkreqn), 132862306a36Sopenharmony_ci MSM_PIN_FUNCTION(pcie1_clkreqn), 132962306a36Sopenharmony_ci MSM_PIN_FUNCTION(phase_flag), 133062306a36Sopenharmony_ci MSM_PIN_FUNCTION(pll_bist), 133162306a36Sopenharmony_ci MSM_PIN_FUNCTION(pll_clk), 133262306a36Sopenharmony_ci MSM_PIN_FUNCTION(pri_mi2s), 133362306a36Sopenharmony_ci MSM_PIN_FUNCTION(prng_rosc), 133462306a36Sopenharmony_ci MSM_PIN_FUNCTION(qdss_cti), 133562306a36Sopenharmony_ci MSM_PIN_FUNCTION(qdss_gpio), 133662306a36Sopenharmony_ci MSM_PIN_FUNCTION(qlink0_enable), 133762306a36Sopenharmony_ci MSM_PIN_FUNCTION(qlink0_request), 133862306a36Sopenharmony_ci MSM_PIN_FUNCTION(qlink0_wmss), 133962306a36Sopenharmony_ci MSM_PIN_FUNCTION(qlink1_enable), 134062306a36Sopenharmony_ci MSM_PIN_FUNCTION(qlink1_request), 134162306a36Sopenharmony_ci MSM_PIN_FUNCTION(qlink1_wmss), 134262306a36Sopenharmony_ci MSM_PIN_FUNCTION(qlink2_enable), 134362306a36Sopenharmony_ci MSM_PIN_FUNCTION(qlink2_request), 134462306a36Sopenharmony_ci MSM_PIN_FUNCTION(qlink2_wmss), 134562306a36Sopenharmony_ci MSM_PIN_FUNCTION(qspi0), 134662306a36Sopenharmony_ci MSM_PIN_FUNCTION(qspi1), 134762306a36Sopenharmony_ci MSM_PIN_FUNCTION(qspi2), 134862306a36Sopenharmony_ci MSM_PIN_FUNCTION(qspi3), 134962306a36Sopenharmony_ci MSM_PIN_FUNCTION(qspi_clk), 135062306a36Sopenharmony_ci MSM_PIN_FUNCTION(qspi_cs), 135162306a36Sopenharmony_ci MSM_PIN_FUNCTION(qup0), 135262306a36Sopenharmony_ci MSM_PIN_FUNCTION(qup1), 135362306a36Sopenharmony_ci MSM_PIN_FUNCTION(qup10), 135462306a36Sopenharmony_ci MSM_PIN_FUNCTION(qup11), 135562306a36Sopenharmony_ci MSM_PIN_FUNCTION(qup12), 135662306a36Sopenharmony_ci MSM_PIN_FUNCTION(qup13), 135762306a36Sopenharmony_ci MSM_PIN_FUNCTION(qup14), 135862306a36Sopenharmony_ci MSM_PIN_FUNCTION(qup15), 135962306a36Sopenharmony_ci MSM_PIN_FUNCTION(qup16), 136062306a36Sopenharmony_ci MSM_PIN_FUNCTION(qup17), 136162306a36Sopenharmony_ci MSM_PIN_FUNCTION(qup18), 136262306a36Sopenharmony_ci MSM_PIN_FUNCTION(qup19), 136362306a36Sopenharmony_ci MSM_PIN_FUNCTION(qup2), 136462306a36Sopenharmony_ci MSM_PIN_FUNCTION(qup20), 136562306a36Sopenharmony_ci MSM_PIN_FUNCTION(qup21), 136662306a36Sopenharmony_ci MSM_PIN_FUNCTION(qup3), 136762306a36Sopenharmony_ci MSM_PIN_FUNCTION(qup4), 136862306a36Sopenharmony_ci MSM_PIN_FUNCTION(qup5), 136962306a36Sopenharmony_ci MSM_PIN_FUNCTION(qup6), 137062306a36Sopenharmony_ci MSM_PIN_FUNCTION(qup7), 137162306a36Sopenharmony_ci MSM_PIN_FUNCTION(qup8), 137262306a36Sopenharmony_ci MSM_PIN_FUNCTION(qup9), 137362306a36Sopenharmony_ci MSM_PIN_FUNCTION(qup_l4), 137462306a36Sopenharmony_ci MSM_PIN_FUNCTION(qup_l5), 137562306a36Sopenharmony_ci MSM_PIN_FUNCTION(qup_l6), 137662306a36Sopenharmony_ci MSM_PIN_FUNCTION(sd_write), 137762306a36Sopenharmony_ci MSM_PIN_FUNCTION(sdc40), 137862306a36Sopenharmony_ci MSM_PIN_FUNCTION(sdc41), 137962306a36Sopenharmony_ci MSM_PIN_FUNCTION(sdc42), 138062306a36Sopenharmony_ci MSM_PIN_FUNCTION(sdc43), 138162306a36Sopenharmony_ci MSM_PIN_FUNCTION(sdc4_clk), 138262306a36Sopenharmony_ci MSM_PIN_FUNCTION(sdc4_cmd), 138362306a36Sopenharmony_ci MSM_PIN_FUNCTION(sec_mi2s), 138462306a36Sopenharmony_ci MSM_PIN_FUNCTION(tb_trig), 138562306a36Sopenharmony_ci MSM_PIN_FUNCTION(tgu_ch0), 138662306a36Sopenharmony_ci MSM_PIN_FUNCTION(tgu_ch1), 138762306a36Sopenharmony_ci MSM_PIN_FUNCTION(tgu_ch2), 138862306a36Sopenharmony_ci MSM_PIN_FUNCTION(tgu_ch3), 138962306a36Sopenharmony_ci MSM_PIN_FUNCTION(tmess_prng0), 139062306a36Sopenharmony_ci MSM_PIN_FUNCTION(tmess_prng1), 139162306a36Sopenharmony_ci MSM_PIN_FUNCTION(tmess_prng2), 139262306a36Sopenharmony_ci MSM_PIN_FUNCTION(tmess_prng3), 139362306a36Sopenharmony_ci MSM_PIN_FUNCTION(tsense_pwm1), 139462306a36Sopenharmony_ci MSM_PIN_FUNCTION(tsense_pwm2), 139562306a36Sopenharmony_ci MSM_PIN_FUNCTION(uim0_clk), 139662306a36Sopenharmony_ci MSM_PIN_FUNCTION(uim0_data), 139762306a36Sopenharmony_ci MSM_PIN_FUNCTION(uim0_present), 139862306a36Sopenharmony_ci MSM_PIN_FUNCTION(uim0_reset), 139962306a36Sopenharmony_ci MSM_PIN_FUNCTION(uim1_clk), 140062306a36Sopenharmony_ci MSM_PIN_FUNCTION(uim1_data), 140162306a36Sopenharmony_ci MSM_PIN_FUNCTION(uim1_present), 140262306a36Sopenharmony_ci MSM_PIN_FUNCTION(uim1_reset), 140362306a36Sopenharmony_ci MSM_PIN_FUNCTION(usb2phy_ac), 140462306a36Sopenharmony_ci MSM_PIN_FUNCTION(usb_phy), 140562306a36Sopenharmony_ci MSM_PIN_FUNCTION(vfr_0), 140662306a36Sopenharmony_ci MSM_PIN_FUNCTION(vfr_1), 140762306a36Sopenharmony_ci MSM_PIN_FUNCTION(vsense_trigger), 140862306a36Sopenharmony_ci}; 140962306a36Sopenharmony_ci 141062306a36Sopenharmony_ci/* Every pin is maintained as a single group, and missing or non-existing pin 141162306a36Sopenharmony_ci * would be maintained as dummy group to synchronize pin group index with 141262306a36Sopenharmony_ci * pin descriptor registered with pinctrl core. 141362306a36Sopenharmony_ci * Clients would not be able to request these dummy pin groups. 141462306a36Sopenharmony_ci */ 141562306a36Sopenharmony_cistatic const struct msm_pingroup sm8450_groups[] = { 141662306a36Sopenharmony_ci [0] = PINGROUP(0, qup0, _, _, _, _, _, _, _, _), 141762306a36Sopenharmony_ci [1] = PINGROUP(1, qup0, _, _, _, _, _, _, _, _), 141862306a36Sopenharmony_ci [2] = PINGROUP(2, qup0, qdss_cti, _, _, _, _, _, _, _), 141962306a36Sopenharmony_ci [3] = PINGROUP(3, qup0, _, _, _, _, _, _, _, _), 142062306a36Sopenharmony_ci [4] = PINGROUP(4, qup1, phase_flag, _, _, _, _, _, _, _), 142162306a36Sopenharmony_ci [5] = PINGROUP(5, qup1, phase_flag, _, _, _, _, _, _, _), 142262306a36Sopenharmony_ci [6] = PINGROUP(6, qup1, phase_flag, _, _, _, _, _, _, _), 142362306a36Sopenharmony_ci [7] = PINGROUP(7, qup1, phase_flag, _, _, _, _, _, _, _), 142462306a36Sopenharmony_ci [8] = PINGROUP(8, qup2, _, _, _, _, _, _, _, _), 142562306a36Sopenharmony_ci [9] = PINGROUP(9, qup2, dbg_out, _, _, _, _, _, _, _), 142662306a36Sopenharmony_ci [10] = PINGROUP(10, qup2, phase_flag, _, _, _, _, _, _, _), 142762306a36Sopenharmony_ci [11] = PINGROUP(11, qup2, phase_flag, _, _, _, _, _, _, _), 142862306a36Sopenharmony_ci [12] = PINGROUP(12, qup3, phase_flag, _, _, _, _, _, _, _), 142962306a36Sopenharmony_ci [13] = PINGROUP(13, qup3, phase_flag, _, _, _, _, _, _, _), 143062306a36Sopenharmony_ci [14] = PINGROUP(14, qup3, phase_flag, _, _, _, _, _, _, _), 143162306a36Sopenharmony_ci [15] = PINGROUP(15, qup3, phase_flag, _, _, _, _, _, _, _), 143262306a36Sopenharmony_ci [16] = PINGROUP(16, qup4, phase_flag, _, _, _, _, _, _, _), 143362306a36Sopenharmony_ci [17] = PINGROUP(17, qup4, phase_flag, _, _, _, _, _, _, _), 143462306a36Sopenharmony_ci [18] = PINGROUP(18, qup4, phase_flag, _, vsense_trigger, _, _, _, _, _), 143562306a36Sopenharmony_ci [19] = PINGROUP(19, qup4, phase_flag, _, _, _, _, _, _, _), 143662306a36Sopenharmony_ci [20] = PINGROUP(20, qup6, pll_bist, _, _, _, _, _, _, _), 143762306a36Sopenharmony_ci [21] = PINGROUP(21, qup6, _, _, _, _, _, _, _, _), 143862306a36Sopenharmony_ci [22] = PINGROUP(22, qup6, _, _, _, _, _, _, _, _), 143962306a36Sopenharmony_ci [23] = PINGROUP(23, qup6, _, _, _, _, _, _, _, _), 144062306a36Sopenharmony_ci [24] = PINGROUP(24, qup7, qup_l4, jitter_bist, _, _, _, _, _, _), 144162306a36Sopenharmony_ci [25] = PINGROUP(25, qup7, qup_l5, phase_flag, _, _, _, _, _, _), 144262306a36Sopenharmony_ci [26] = PINGROUP(26, qup7, qup_l6, phase_flag, _, _, _, _, _, _), 144362306a36Sopenharmony_ci [27] = PINGROUP(27, qup7, _, _, _, _, _, _, _, _), 144462306a36Sopenharmony_ci [28] = PINGROUP(28, qup8, ibi_i3c, _, _, _, _, _, _, _), 144562306a36Sopenharmony_ci [29] = PINGROUP(29, qup8, ibi_i3c, _, _, _, _, _, _, _), 144662306a36Sopenharmony_ci [30] = PINGROUP(30, qup8, _, _, _, _, _, _, _, _), 144762306a36Sopenharmony_ci [31] = PINGROUP(31, qup8, _, _, _, _, _, _, _, _), 144862306a36Sopenharmony_ci [32] = PINGROUP(32, qup9, ibi_i3c, _, _, _, _, _, _, _), 144962306a36Sopenharmony_ci [33] = PINGROUP(33, qup9, ibi_i3c, _, _, _, _, _, _, _), 145062306a36Sopenharmony_ci [34] = PINGROUP(34, qup9, _, _, _, _, _, _, _, _), 145162306a36Sopenharmony_ci [35] = PINGROUP(35, qup9, _, _, _, _, _, _, _, _), 145262306a36Sopenharmony_ci [36] = PINGROUP(36, qup10, ddr_bist, _, _, _, _, _, _, _), 145362306a36Sopenharmony_ci [37] = PINGROUP(37, qup10, ddr_bist, atest_usb, _, _, _, _, _, _), 145462306a36Sopenharmony_ci [38] = PINGROUP(38, qup10, _, _, _, _, _, _, _, _), 145562306a36Sopenharmony_ci [39] = PINGROUP(39, qup10, atest_usb, _, _, _, _, _, _, _), 145662306a36Sopenharmony_ci [40] = PINGROUP(40, qup11, qup_l4, ddr_bist, ddr_pxi1, _, _, _, _, _), 145762306a36Sopenharmony_ci [41] = PINGROUP(41, qup11, qup_l5, ddr_bist, ddr_pxi1, _, _, _, _, _), 145862306a36Sopenharmony_ci [42] = PINGROUP(42, qup11, qup_l6, _, _, _, _, _, _, _), 145962306a36Sopenharmony_ci [43] = PINGROUP(43, qup11, ddr_pxi3, _, _, _, _, _, _, _), 146062306a36Sopenharmony_ci [44] = PINGROUP(44, qup12, ddr_pxi3, _, _, _, _, _, _, _), 146162306a36Sopenharmony_ci [45] = PINGROUP(45, qup12, ddr_pxi2, _, _, _, _, _, _, _), 146262306a36Sopenharmony_ci [46] = PINGROUP(46, qup12, mdp_vsync, _, _, _, _, _, _, _), 146362306a36Sopenharmony_ci [47] = PINGROUP(47, qup12, dp_hot, mdp_vsync, ddr_pxi2, _, _, _, _, _), 146462306a36Sopenharmony_ci [48] = PINGROUP(48, qup13, qspi2, sdc42, _, _, _, _, _, _), 146562306a36Sopenharmony_ci [49] = PINGROUP(49, qup13, qspi3, sdc43, _, _, _, _, _, _), 146662306a36Sopenharmony_ci [50] = PINGROUP(50, qup13, qspi_clk, sdc4_clk, _, _, _, _, _, _), 146762306a36Sopenharmony_ci [51] = PINGROUP(51, qup13, qspi_cs, sdc4_cmd, ddr_pxi0, _, _, _, _, _), 146862306a36Sopenharmony_ci [52] = PINGROUP(52, qup14, qspi0, sdc40, ddr_pxi0, _, _, _, _, _), 146962306a36Sopenharmony_ci [53] = PINGROUP(53, qup14, qspi1, sdc41, _, _, _, _, _, _), 147062306a36Sopenharmony_ci [54] = PINGROUP(54, qup14, qspi_cs, _, _, _, _, _, _, _), 147162306a36Sopenharmony_ci [55] = PINGROUP(55, qup14, atest_usb, _, _, _, _, _, _, _), 147262306a36Sopenharmony_ci [56] = PINGROUP(56, qup15, ibi_i3c, _, _, _, _, _, _, _), 147362306a36Sopenharmony_ci [57] = PINGROUP(57, qup15, ibi_i3c, _, _, _, _, _, _, _), 147462306a36Sopenharmony_ci [58] = PINGROUP(58, qup15, qup_l4, _, _, _, _, _, _, _), 147562306a36Sopenharmony_ci [59] = PINGROUP(59, qup15, qup_l5, _, _, _, _, _, _, _), 147662306a36Sopenharmony_ci [60] = PINGROUP(60, qup16, ibi_i3c, _, _, _, _, _, _, _), 147762306a36Sopenharmony_ci [61] = PINGROUP(61, qup16, ibi_i3c, _, _, _, _, _, _, _), 147862306a36Sopenharmony_ci [62] = PINGROUP(62, qup16, qup_l6, _, _, _, _, _, _, _), 147962306a36Sopenharmony_ci [63] = PINGROUP(63, qup16, qup_l4, _, _, _, _, _, _, _), 148062306a36Sopenharmony_ci [64] = PINGROUP(64, qup17, tb_trig, tgu_ch0, _, _, _, _, _, _), 148162306a36Sopenharmony_ci [65] = PINGROUP(65, qup17, tgu_ch1, _, _, _, _, _, _, _), 148262306a36Sopenharmony_ci [66] = PINGROUP(66, qup17, qup_l5, tgu_ch2, _, _, _, _, _, _), 148362306a36Sopenharmony_ci [67] = PINGROUP(67, qup17, qup_l6, tgu_ch3, _, _, _, _, _, _), 148462306a36Sopenharmony_ci [68] = PINGROUP(68, qup18, _, _, _, _, _, _, _, _), 148562306a36Sopenharmony_ci [69] = PINGROUP(69, qup18, _, _, _, _, _, _, _, _), 148662306a36Sopenharmony_ci [70] = PINGROUP(70, qup18, _, _, _, _, _, _, _, _), 148762306a36Sopenharmony_ci [71] = PINGROUP(71, qup18, cri_trng0, _, _, _, _, _, _, _), 148862306a36Sopenharmony_ci [72] = PINGROUP(72, qup19, cri_trng1, _, _, _, _, _, _, _), 148962306a36Sopenharmony_ci [73] = PINGROUP(73, qup19, prng_rosc, _, _, _, _, _, _, _), 149062306a36Sopenharmony_ci [74] = PINGROUP(74, qup19, _, _, _, _, _, _, _, _), 149162306a36Sopenharmony_ci [75] = PINGROUP(75, qup19, prng_rosc, _, _, _, _, _, _, _), 149262306a36Sopenharmony_ci [76] = PINGROUP(76, qup20, phase_flag, tmess_prng3, _, _, _, _, _, _), 149362306a36Sopenharmony_ci [77] = PINGROUP(77, qup20, phase_flag, tmess_prng2, _, _, _, _, _, _), 149462306a36Sopenharmony_ci [78] = PINGROUP(78, qup20, phase_flag, _, _, _, _, _, _, _), 149562306a36Sopenharmony_ci [79] = PINGROUP(79, qup20, phase_flag, tmess_prng1, _, _, _, _, _, _), 149662306a36Sopenharmony_ci [80] = PINGROUP(80, qup21, qdss_cti, phase_flag, tmess_prng0, _, _, _, _, _), 149762306a36Sopenharmony_ci [81] = PINGROUP(81, qup21, qdss_cti, phase_flag, prng_rosc, _, _, _, _, _), 149862306a36Sopenharmony_ci [82] = PINGROUP(82, qup21, qdss_cti, phase_flag, _, _, _, _, _, _), 149962306a36Sopenharmony_ci [83] = PINGROUP(83, qup21, qdss_cti, phase_flag, prng_rosc, _, _, _, _, _), 150062306a36Sopenharmony_ci [84] = PINGROUP(84, qup5, qdss_cti, _, _, _, _, _, _, _), 150162306a36Sopenharmony_ci [85] = PINGROUP(85, qup5, qdss_cti, _, _, _, _, _, _, _), 150262306a36Sopenharmony_ci [86] = PINGROUP(86, mdp_vsync, mdp_vsync0, mdp_vsync1, gcc_gp1, atest_char, _, _, _, _), 150362306a36Sopenharmony_ci [87] = PINGROUP(87, mdp_vsync, mdp_vsync2, mdp_vsync3, gcc_gp2, atest_char, _, _, _, _), 150462306a36Sopenharmony_ci [88] = PINGROUP(88, mdp_vsync, gcc_gp3, atest_char, _, _, _, _, _, _), 150562306a36Sopenharmony_ci [89] = PINGROUP(89, vfr_0, atest_char, _, _, _, _, _, _, _), 150662306a36Sopenharmony_ci [90] = PINGROUP(90, usb2phy_ac, atest_char, _, _, _, _, _, _, _), 150762306a36Sopenharmony_ci [91] = PINGROUP(91, usb_phy, tsense_pwm1, tsense_pwm2, _, _, _, _, _, _), 150862306a36Sopenharmony_ci [92] = PINGROUP(92, phase_flag, _, _, _, _, _, _, _, _), 150962306a36Sopenharmony_ci [93] = PINGROUP(93, sd_write, qdss_cti, phase_flag, _, _, _, _, _, _), 151062306a36Sopenharmony_ci [94] = PINGROUP(94, cmu_rng, phase_flag, _, _, _, _, _, _, _), 151162306a36Sopenharmony_ci [95] = PINGROUP(95, pcie0_clkreqn, cmu_rng, phase_flag, _, _, _, _, _, _), 151262306a36Sopenharmony_ci [96] = PINGROUP(96, cmu_rng, phase_flag, _, _, _, _, _, _, _), 151362306a36Sopenharmony_ci [97] = PINGROUP(97, cmu_rng, phase_flag, _, _, _, _, _, _, _), 151462306a36Sopenharmony_ci [98] = PINGROUP(98, pcie1_clkreqn, phase_flag, _, _, _, _, _, _, _), 151562306a36Sopenharmony_ci [99] = PINGROUP(99, phase_flag, cri_trng, _, _, _, _, _, _, _), 151662306a36Sopenharmony_ci [100] = PINGROUP(100, cam_mclk, qdss_gpio, _, _, _, _, _, _, _), 151762306a36Sopenharmony_ci [101] = PINGROUP(101, cam_mclk, qdss_gpio, _, _, _, _, _, _, _), 151862306a36Sopenharmony_ci [102] = PINGROUP(102, cam_mclk, qdss_gpio, _, _, _, _, _, _, _), 151962306a36Sopenharmony_ci [103] = PINGROUP(103, cam_mclk, qdss_gpio, _, _, _, _, _, _, _), 152062306a36Sopenharmony_ci [104] = PINGROUP(104, cam_mclk, qdss_gpio, _, _, _, _, _, _, _), 152162306a36Sopenharmony_ci [105] = PINGROUP(105, cam_mclk, qdss_gpio, _, _, _, _, _, _, _), 152262306a36Sopenharmony_ci [106] = PINGROUP(106, cam_mclk, qdss_gpio, _, _, _, _, _, _, _), 152362306a36Sopenharmony_ci [107] = PINGROUP(107, cam_mclk, qdss_gpio, pll_clk, _, _, _, _, _, _), 152462306a36Sopenharmony_ci [108] = PINGROUP(108, aon_cam, _, _, _, _, _, _, _, _), 152562306a36Sopenharmony_ci [109] = PINGROUP(109, cci_async, _, _, _, _, _, _, _, _), 152662306a36Sopenharmony_ci [110] = PINGROUP(110, cci_i2c, qdss_gpio, _, _, _, _, _, _, _), 152762306a36Sopenharmony_ci [111] = PINGROUP(111, cci_i2c, qdss_gpio, _, _, _, _, _, _, _), 152862306a36Sopenharmony_ci [112] = PINGROUP(112, cci_i2c, qdss_gpio, _, _, _, _, _, _, _), 152962306a36Sopenharmony_ci [113] = PINGROUP(113, cci_i2c, qdss_gpio, _, _, _, _, _, _, _), 153062306a36Sopenharmony_ci [114] = PINGROUP(114, cci_i2c, qdss_gpio, _, _, _, _, _, _, _), 153162306a36Sopenharmony_ci [115] = PINGROUP(115, cci_i2c, qdss_gpio, _, _, _, _, _, _, _), 153262306a36Sopenharmony_ci [116] = PINGROUP(116, cci_timer, _, _, _, _, _, _, _, _), 153362306a36Sopenharmony_ci [117] = PINGROUP(117, cci_timer, qdss_gpio, _, _, _, _, _, _, _), 153462306a36Sopenharmony_ci [118] = PINGROUP(118, cci_timer, qdss_gpio, _, _, _, _, _, _, _), 153562306a36Sopenharmony_ci [119] = PINGROUP(119, cci_timer, cci_async, qdss_gpio, _, _, _, _, _, _), 153662306a36Sopenharmony_ci [120] = PINGROUP(120, cci_timer, cci_async, qdss_gpio, _, _, _, _, _, _), 153762306a36Sopenharmony_ci [121] = PINGROUP(121, mi2s2_sck, _, _, _, _, _, _, _, _), 153862306a36Sopenharmony_ci [122] = PINGROUP(122, mi2s2_data0, _, _, _, _, _, _, _, _), 153962306a36Sopenharmony_ci [123] = PINGROUP(123, mi2s2_ws, _, _, _, _, _, _, _, _), 154062306a36Sopenharmony_ci [124] = PINGROUP(124, mi2s2_data1, sec_mi2s, audio_ref, _, _, _, _, _, _), 154162306a36Sopenharmony_ci [125] = PINGROUP(125, pri_mi2s, _, _, _, _, _, _, _, _), 154262306a36Sopenharmony_ci [126] = PINGROUP(126, mi2s0_sck, _, _, _, _, _, _, _, _), 154362306a36Sopenharmony_ci [127] = PINGROUP(127, mi2s0_data0, _, _, _, _, _, _, _, _), 154462306a36Sopenharmony_ci [128] = PINGROUP(128, mi2s0_data1, _, _, _, _, _, _, _, _), 154562306a36Sopenharmony_ci [129] = PINGROUP(129, mi2s0_ws, _, _, _, _, _, _, _, _), 154662306a36Sopenharmony_ci [130] = PINGROUP(130, uim0_data, _, _, _, _, _, _, _, _), 154762306a36Sopenharmony_ci [131] = PINGROUP(131, uim0_clk, _, _, _, _, _, _, _, _), 154862306a36Sopenharmony_ci [132] = PINGROUP(132, uim0_reset, _, _, _, _, _, _, _, _), 154962306a36Sopenharmony_ci [133] = PINGROUP(133, uim0_present, _, _, _, _, _, _, _, _), 155062306a36Sopenharmony_ci [134] = PINGROUP(134, uim1_data, gcc_gp1, _, _, _, _, _, _, _), 155162306a36Sopenharmony_ci [135] = PINGROUP(135, uim1_clk, gcc_gp2, _, _, _, _, _, _, _), 155262306a36Sopenharmony_ci [136] = PINGROUP(136, uim1_reset, gcc_gp3, _, _, _, _, _, _, _), 155362306a36Sopenharmony_ci [137] = PINGROUP(137, uim1_present, tb_trig, _, _, _, _, _, _, _), 155462306a36Sopenharmony_ci [138] = PINGROUP(138, _, mss_grfc0, _, _, _, _, _, _, _), 155562306a36Sopenharmony_ci [139] = PINGROUP(139, _, mss_grfc1, _, _, _, _, _, _, _), 155662306a36Sopenharmony_ci [140] = PINGROUP(140, _, mss_grfc2, _, _, _, _, _, _, _), 155762306a36Sopenharmony_ci [141] = PINGROUP(141, _, mss_grfc3, _, _, _, _, _, _, _), 155862306a36Sopenharmony_ci [142] = PINGROUP(142, _, mss_grfc4, _, _, _, _, _, _, _), 155962306a36Sopenharmony_ci [143] = PINGROUP(143, _, mss_grfc5, _, _, _, _, _, _, _), 156062306a36Sopenharmony_ci [144] = PINGROUP(144, _, mss_grfc6, _, _, _, _, _, _, _), 156162306a36Sopenharmony_ci [145] = PINGROUP(145, _, mss_grfc7, _, _, _, _, _, _, _), 156262306a36Sopenharmony_ci [146] = PINGROUP(146, _, mss_grfc8, _, _, _, _, _, _, _), 156362306a36Sopenharmony_ci [147] = PINGROUP(147, _, mss_grfc9, _, _, _, _, _, _, _), 156462306a36Sopenharmony_ci [148] = PINGROUP(148, coex_uart1, atest_usb, _, _, _, _, _, _, _), 156562306a36Sopenharmony_ci [149] = PINGROUP(149, coex_uart1, atest_usb, _, _, _, _, _, _, _), 156662306a36Sopenharmony_ci [150] = PINGROUP(150, coex_uart2, mss_grfc10, _, _, _, _, _, _, _), 156762306a36Sopenharmony_ci [151] = PINGROUP(151, coex_uart2, mss_grfc11, _, _, _, _, _, _, _), 156862306a36Sopenharmony_ci [152] = PINGROUP(152, mss_grfc12, _, _, _, _, _, _, _, _), 156962306a36Sopenharmony_ci [153] = PINGROUP(153, mss_grfc0, nav, _, _, _, _, _, _, _), 157062306a36Sopenharmony_ci [154] = PINGROUP(154, nav, _, _, _, _, _, _, _, _), 157162306a36Sopenharmony_ci [155] = PINGROUP(155, nav, vfr_1, _, _, _, _, _, _, _), 157262306a36Sopenharmony_ci [156] = PINGROUP(156, qlink0_request, _, _, _, _, _, _, _, _), 157362306a36Sopenharmony_ci [157] = PINGROUP(157, qlink0_enable, _, _, _, _, _, _, _, _), 157462306a36Sopenharmony_ci [158] = PINGROUP(158, qlink0_wmss, _, _, _, _, _, _, _, _), 157562306a36Sopenharmony_ci [159] = PINGROUP(159, qlink1_request, _, _, _, _, _, _, _, _), 157662306a36Sopenharmony_ci [160] = PINGROUP(160, qlink1_enable, _, _, _, _, _, _, _, _), 157762306a36Sopenharmony_ci [161] = PINGROUP(161, qlink1_wmss, _, _, _, _, _, _, _, _), 157862306a36Sopenharmony_ci [162] = PINGROUP(162, qlink2_request, _, _, _, _, _, _, _, _), 157962306a36Sopenharmony_ci [163] = PINGROUP(163, qlink2_enable, _, _, _, _, _, _, _, _), 158062306a36Sopenharmony_ci [164] = PINGROUP(164, qlink2_wmss, _, _, _, _, _, _, _, _), 158162306a36Sopenharmony_ci [165] = PINGROUP(165, _, _, _, _, _, _, _, _, egpio), 158262306a36Sopenharmony_ci [166] = PINGROUP(166, _, _, _, _, _, _, _, _, egpio), 158362306a36Sopenharmony_ci [167] = PINGROUP(167, _, _, _, _, _, _, _, _, egpio), 158462306a36Sopenharmony_ci [168] = PINGROUP(168, _, _, _, _, _, _, _, _, egpio), 158562306a36Sopenharmony_ci [169] = PINGROUP(169, _, _, _, _, _, _, _, _, egpio), 158662306a36Sopenharmony_ci [170] = PINGROUP(170, _, _, _, _, _, _, _, _, egpio), 158762306a36Sopenharmony_ci [171] = PINGROUP(171, _, _, _, _, _, _, _, _, egpio), 158862306a36Sopenharmony_ci [172] = PINGROUP(172, _, _, _, _, _, _, _, _, egpio), 158962306a36Sopenharmony_ci [173] = PINGROUP(173, _, _, _, _, _, _, _, _, egpio), 159062306a36Sopenharmony_ci [174] = PINGROUP(174, _, _, _, _, _, _, _, _, egpio), 159162306a36Sopenharmony_ci [175] = PINGROUP(175, _, _, _, _, _, _, _, _, egpio), 159262306a36Sopenharmony_ci [176] = PINGROUP(176, _, _, _, _, _, _, _, _, egpio), 159362306a36Sopenharmony_ci [177] = PINGROUP(177, _, _, _, _, _, _, _, _, egpio), 159462306a36Sopenharmony_ci [178] = PINGROUP(178, _, _, _, _, _, _, _, _, egpio), 159562306a36Sopenharmony_ci [179] = PINGROUP(179, _, _, _, _, _, _, _, _, egpio), 159662306a36Sopenharmony_ci [180] = PINGROUP(180, _, _, _, _, _, _, _, _, egpio), 159762306a36Sopenharmony_ci [181] = PINGROUP(181, _, _, _, _, _, _, _, _, egpio), 159862306a36Sopenharmony_ci [182] = PINGROUP(182, _, _, _, _, _, _, _, _, egpio), 159962306a36Sopenharmony_ci [183] = PINGROUP(183, _, _, _, _, _, _, _, _, egpio), 160062306a36Sopenharmony_ci [184] = PINGROUP(184, _, _, _, _, _, _, _, _, egpio), 160162306a36Sopenharmony_ci [185] = PINGROUP(185, _, _, _, _, _, _, _, _, egpio), 160262306a36Sopenharmony_ci [186] = PINGROUP(186, _, _, _, _, _, _, _, _, egpio), 160362306a36Sopenharmony_ci [187] = PINGROUP(187, _, _, _, _, _, _, _, _, egpio), 160462306a36Sopenharmony_ci [188] = PINGROUP(188, _, qdss_gpio, _, _, _, _, _, _, egpio), 160562306a36Sopenharmony_ci [189] = PINGROUP(189, _, qdss_gpio, _, _, _, _, _, _, egpio), 160662306a36Sopenharmony_ci [190] = PINGROUP(190, qdss_gpio, _, _, _, _, _, _, _, egpio), 160762306a36Sopenharmony_ci [191] = PINGROUP(191, qdss_gpio, _, _, _, _, _, _, _, egpio), 160862306a36Sopenharmony_ci [192] = PINGROUP(192, _, qdss_gpio, _, _, _, _, _, _, egpio), 160962306a36Sopenharmony_ci [193] = PINGROUP(193, _, qdss_gpio, _, _, _, _, _, _, egpio), 161062306a36Sopenharmony_ci [194] = PINGROUP(194, _, qdss_gpio, _, _, _, _, _, _, egpio), 161162306a36Sopenharmony_ci [195] = PINGROUP(195, _, qdss_gpio, _, _, _, _, _, _, egpio), 161262306a36Sopenharmony_ci [196] = PINGROUP(196, _, qdss_gpio, _, _, _, _, _, _, egpio), 161362306a36Sopenharmony_ci [197] = PINGROUP(197, _, qdss_gpio, _, _, _, _, _, _, egpio), 161462306a36Sopenharmony_ci [198] = PINGROUP(198, _, qdss_gpio, _, _, _, _, _, _, egpio), 161562306a36Sopenharmony_ci [199] = PINGROUP(199, _, qdss_gpio, _, _, _, _, _, _, egpio), 161662306a36Sopenharmony_ci [200] = PINGROUP(200, _, qdss_gpio, _, _, _, _, _, _, egpio), 161762306a36Sopenharmony_ci [201] = PINGROUP(201, _, qdss_gpio, _, _, _, _, _, _, egpio), 161862306a36Sopenharmony_ci [202] = PINGROUP(202, qdss_gpio, _, _, _, _, _, _, _, egpio), 161962306a36Sopenharmony_ci [203] = PINGROUP(203, qdss_gpio, _, _, _, _, _, _, _, egpio), 162062306a36Sopenharmony_ci [204] = PINGROUP(204, qdss_gpio, _, _, _, _, _, _, _, egpio), 162162306a36Sopenharmony_ci [205] = PINGROUP(205, qdss_gpio, _, _, _, _, _, _, _, egpio), 162262306a36Sopenharmony_ci [206] = PINGROUP(206, qup5, _, _, _, _, _, _, _, egpio), 162362306a36Sopenharmony_ci [207] = PINGROUP(207, qup5, _, _, _, _, _, _, _, egpio), 162462306a36Sopenharmony_ci [208] = PINGROUP(208, cci_i2c, _, _, _, _, _, _, _, egpio), 162562306a36Sopenharmony_ci [209] = PINGROUP(209, cci_i2c, _, _, _, _, _, _, _, egpio), 162662306a36Sopenharmony_ci [210] = UFS_RESET(ufs_reset, 0xde000), 162762306a36Sopenharmony_ci [211] = SDC_QDSD_PINGROUP(sdc2_clk, 0xd6000, 14, 6), 162862306a36Sopenharmony_ci [212] = SDC_QDSD_PINGROUP(sdc2_cmd, 0xd6000, 11, 3), 162962306a36Sopenharmony_ci [213] = SDC_QDSD_PINGROUP(sdc2_data, 0xd6000, 9, 0), 163062306a36Sopenharmony_ci}; 163162306a36Sopenharmony_ci 163262306a36Sopenharmony_cistatic const struct msm_gpio_wakeirq_map sm8450_pdc_map[] = { 163362306a36Sopenharmony_ci { 2, 70 }, { 3, 77 }, { 7, 52 }, { 8, 108 }, { 10, 128 }, { 11, 53 }, 163462306a36Sopenharmony_ci { 12, 129 }, { 13, 130 }, { 14, 131 }, { 15, 67 }, { 19, 69 }, { 21, 132 }, 163562306a36Sopenharmony_ci { 23, 54 }, { 26, 56 }, { 27, 71 }, { 28, 57 }, { 31, 55 }, { 32, 58 }, 163662306a36Sopenharmony_ci { 34, 72 }, { 35, 43 }, { 36, 78 }, { 38, 79 }, { 39, 62 }, { 40, 80 }, 163762306a36Sopenharmony_ci { 41, 133 }, { 43, 81 }, { 44, 87 }, { 45, 134 }, { 46, 66 }, { 47, 63 }, 163862306a36Sopenharmony_ci { 50, 88 }, { 51, 89 }, { 55, 90 }, { 56, 59 }, { 59, 82 }, { 60, 60 }, 163962306a36Sopenharmony_ci { 62, 135 }, { 63, 91 }, { 66, 136 }, { 67, 44 }, { 69, 137 }, { 71, 97 }, 164062306a36Sopenharmony_ci { 75, 73 }, { 79, 74 }, { 80, 96 }, { 81, 98 }, { 82, 45 }, { 83, 99 }, 164162306a36Sopenharmony_ci { 84, 94 }, { 85, 100 }, { 86, 101 }, { 87, 102 }, { 88, 92 }, { 89, 83 }, 164262306a36Sopenharmony_ci { 90, 84 }, { 91, 85 }, { 92, 46 }, { 95, 103 }, { 96, 104 }, { 98, 105 }, 164362306a36Sopenharmony_ci { 99, 106 }, { 115, 95 }, { 116, 76 }, { 117, 75 }, { 118, 86 }, { 119, 93 }, 164462306a36Sopenharmony_ci { 133, 47 }, { 137, 42 }, { 148, 61 }, { 150, 68 }, { 153, 65 }, { 154, 48 }, 164562306a36Sopenharmony_ci { 155, 49 }, { 156, 64 }, { 159, 50 }, { 162, 51 }, { 166, 111 }, { 169, 114 }, 164662306a36Sopenharmony_ci { 171, 115 }, { 172, 116 }, { 174, 117 }, { 176, 107 }, { 181, 109 }, 164762306a36Sopenharmony_ci { 182, 110 }, { 185, 112 }, { 187, 113 }, { 188, 118 }, { 190, 122 }, 164862306a36Sopenharmony_ci { 192, 123 }, { 195, 124 }, { 201, 119 }, { 203, 120 }, { 205, 121 }, 164962306a36Sopenharmony_ci}; 165062306a36Sopenharmony_ci 165162306a36Sopenharmony_cistatic const struct msm_pinctrl_soc_data sm8450_tlmm = { 165262306a36Sopenharmony_ci .pins = sm8450_pins, 165362306a36Sopenharmony_ci .npins = ARRAY_SIZE(sm8450_pins), 165462306a36Sopenharmony_ci .functions = sm8450_functions, 165562306a36Sopenharmony_ci .nfunctions = ARRAY_SIZE(sm8450_functions), 165662306a36Sopenharmony_ci .groups = sm8450_groups, 165762306a36Sopenharmony_ci .ngroups = ARRAY_SIZE(sm8450_groups), 165862306a36Sopenharmony_ci .ngpios = 211, 165962306a36Sopenharmony_ci .wakeirq_map = sm8450_pdc_map, 166062306a36Sopenharmony_ci .nwakeirq_map = ARRAY_SIZE(sm8450_pdc_map), 166162306a36Sopenharmony_ci .egpio_func = 9, 166262306a36Sopenharmony_ci}; 166362306a36Sopenharmony_ci 166462306a36Sopenharmony_cistatic int sm8450_tlmm_probe(struct platform_device *pdev) 166562306a36Sopenharmony_ci{ 166662306a36Sopenharmony_ci return msm_pinctrl_probe(pdev, &sm8450_tlmm); 166762306a36Sopenharmony_ci} 166862306a36Sopenharmony_ci 166962306a36Sopenharmony_cistatic const struct of_device_id sm8450_tlmm_of_match[] = { 167062306a36Sopenharmony_ci { .compatible = "qcom,sm8450-tlmm", }, 167162306a36Sopenharmony_ci { }, 167262306a36Sopenharmony_ci}; 167362306a36Sopenharmony_ci 167462306a36Sopenharmony_cistatic struct platform_driver sm8450_tlmm_driver = { 167562306a36Sopenharmony_ci .driver = { 167662306a36Sopenharmony_ci .name = "sm8450-tlmm", 167762306a36Sopenharmony_ci .of_match_table = sm8450_tlmm_of_match, 167862306a36Sopenharmony_ci }, 167962306a36Sopenharmony_ci .probe = sm8450_tlmm_probe, 168062306a36Sopenharmony_ci .remove = msm_pinctrl_remove, 168162306a36Sopenharmony_ci}; 168262306a36Sopenharmony_ci 168362306a36Sopenharmony_cistatic int __init sm8450_tlmm_init(void) 168462306a36Sopenharmony_ci{ 168562306a36Sopenharmony_ci return platform_driver_register(&sm8450_tlmm_driver); 168662306a36Sopenharmony_ci} 168762306a36Sopenharmony_ciarch_initcall(sm8450_tlmm_init); 168862306a36Sopenharmony_ci 168962306a36Sopenharmony_cistatic void __exit sm8450_tlmm_exit(void) 169062306a36Sopenharmony_ci{ 169162306a36Sopenharmony_ci platform_driver_unregister(&sm8450_tlmm_driver); 169262306a36Sopenharmony_ci} 169362306a36Sopenharmony_cimodule_exit(sm8450_tlmm_exit); 169462306a36Sopenharmony_ci 169562306a36Sopenharmony_ciMODULE_DESCRIPTION("QTI SM8450 TLMM driver"); 169662306a36Sopenharmony_ciMODULE_LICENSE("GPL v2"); 169762306a36Sopenharmony_ciMODULE_DEVICE_TABLE(of, sm8450_tlmm_of_match); 1698