18c2ecf20Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * Copyright (c) 2015-2016, The Linux Foundation. All rights reserved.
48c2ecf20Sopenharmony_ci */
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_ci#include <linux/module.h>
78c2ecf20Sopenharmony_ci#include <linux/of.h>
88c2ecf20Sopenharmony_ci#include <linux/platform_device.h>
98c2ecf20Sopenharmony_ci#include <linux/pinctrl/pinctrl.h>
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ci#include "pinctrl-msm.h"
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ci#define NORTH	0x500000
148c2ecf20Sopenharmony_ci#define WEST	0x100000
158c2ecf20Sopenharmony_ci#define EAST	0x900000
168c2ecf20Sopenharmony_ci
178c2ecf20Sopenharmony_ci#define FUNCTION(fname)					\
188c2ecf20Sopenharmony_ci	[msm_mux_##fname] = {				\
198c2ecf20Sopenharmony_ci		.name = #fname,				\
208c2ecf20Sopenharmony_ci		.groups = fname##_groups,               \
218c2ecf20Sopenharmony_ci		.ngroups = ARRAY_SIZE(fname##_groups),	\
228c2ecf20Sopenharmony_ci	}
238c2ecf20Sopenharmony_ci
248c2ecf20Sopenharmony_ci#define PINGROUP(id, base, f1, f2, f3, f4, f5, f6, f7, f8, f9)	\
258c2ecf20Sopenharmony_ci	{					        \
268c2ecf20Sopenharmony_ci		.name = "gpio" #id,			\
278c2ecf20Sopenharmony_ci		.pins = gpio##id##_pins,		\
288c2ecf20Sopenharmony_ci		.npins = ARRAY_SIZE(gpio##id##_pins),	\
298c2ecf20Sopenharmony_ci		.funcs = (int[]){			\
308c2ecf20Sopenharmony_ci			msm_mux_gpio, /* gpio mode */	\
318c2ecf20Sopenharmony_ci			msm_mux_##f1,			\
328c2ecf20Sopenharmony_ci			msm_mux_##f2,			\
338c2ecf20Sopenharmony_ci			msm_mux_##f3,			\
348c2ecf20Sopenharmony_ci			msm_mux_##f4,			\
358c2ecf20Sopenharmony_ci			msm_mux_##f5,			\
368c2ecf20Sopenharmony_ci			msm_mux_##f6,			\
378c2ecf20Sopenharmony_ci			msm_mux_##f7,			\
388c2ecf20Sopenharmony_ci			msm_mux_##f8,			\
398c2ecf20Sopenharmony_ci			msm_mux_##f9			\
408c2ecf20Sopenharmony_ci		},				        \
418c2ecf20Sopenharmony_ci		.nfuncs = 10,				\
428c2ecf20Sopenharmony_ci		.ctl_reg = base + 0x1000 * id,	\
438c2ecf20Sopenharmony_ci		.io_reg = base + 0x4 + 0x1000 * id,		\
448c2ecf20Sopenharmony_ci		.intr_cfg_reg = base + 0x8 + 0x1000 * id,	\
458c2ecf20Sopenharmony_ci		.intr_status_reg = base + 0xc + 0x1000 * id,	\
468c2ecf20Sopenharmony_ci		.intr_target_reg = base + 0x8 + 0x1000 * id,	\
478c2ecf20Sopenharmony_ci		.mux_bit = 2,			\
488c2ecf20Sopenharmony_ci		.pull_bit = 0,			\
498c2ecf20Sopenharmony_ci		.drv_bit = 6,			\
508c2ecf20Sopenharmony_ci		.oe_bit = 9,			\
518c2ecf20Sopenharmony_ci		.in_bit = 0,			\
528c2ecf20Sopenharmony_ci		.out_bit = 1,			\
538c2ecf20Sopenharmony_ci		.intr_enable_bit = 0,		\
548c2ecf20Sopenharmony_ci		.intr_status_bit = 0,		\
558c2ecf20Sopenharmony_ci		.intr_target_bit = 5,		\
568c2ecf20Sopenharmony_ci		.intr_target_kpss_val = 3,  \
578c2ecf20Sopenharmony_ci		.intr_raw_status_bit = 4,	\
588c2ecf20Sopenharmony_ci		.intr_polarity_bit = 1,		\
598c2ecf20Sopenharmony_ci		.intr_detection_bit = 2,	\
608c2ecf20Sopenharmony_ci		.intr_detection_width = 2,	\
618c2ecf20Sopenharmony_ci	}
628c2ecf20Sopenharmony_ci
638c2ecf20Sopenharmony_ci#define SDC_QDSD_PINGROUP(pg_name, ctl, pull, drv)	\
648c2ecf20Sopenharmony_ci	{					        \
658c2ecf20Sopenharmony_ci		.name = #pg_name,			\
668c2ecf20Sopenharmony_ci		.pins = pg_name##_pins,			\
678c2ecf20Sopenharmony_ci		.npins = ARRAY_SIZE(pg_name##_pins),	\
688c2ecf20Sopenharmony_ci		.ctl_reg = ctl,				\
698c2ecf20Sopenharmony_ci		.io_reg = 0,				\
708c2ecf20Sopenharmony_ci		.intr_cfg_reg = 0,			\
718c2ecf20Sopenharmony_ci		.intr_status_reg = 0,			\
728c2ecf20Sopenharmony_ci		.intr_target_reg = 0,			\
738c2ecf20Sopenharmony_ci		.mux_bit = -1,				\
748c2ecf20Sopenharmony_ci		.pull_bit = pull,			\
758c2ecf20Sopenharmony_ci		.drv_bit = drv,				\
768c2ecf20Sopenharmony_ci		.oe_bit = -1,				\
778c2ecf20Sopenharmony_ci		.in_bit = -1,				\
788c2ecf20Sopenharmony_ci		.out_bit = -1,				\
798c2ecf20Sopenharmony_ci		.intr_enable_bit = -1,			\
808c2ecf20Sopenharmony_ci		.intr_status_bit = -1,			\
818c2ecf20Sopenharmony_ci		.intr_target_bit = -1,			\
828c2ecf20Sopenharmony_ci		.intr_raw_status_bit = -1,		\
838c2ecf20Sopenharmony_ci		.intr_polarity_bit = -1,		\
848c2ecf20Sopenharmony_ci		.intr_detection_bit = -1,		\
858c2ecf20Sopenharmony_ci		.intr_detection_width = -1,		\
868c2ecf20Sopenharmony_ci	}
878c2ecf20Sopenharmony_ci
888c2ecf20Sopenharmony_ci#define UFS_RESET(pg_name, offset)				\
898c2ecf20Sopenharmony_ci	{					        \
908c2ecf20Sopenharmony_ci		.name = #pg_name,			\
918c2ecf20Sopenharmony_ci		.pins = pg_name##_pins,			\
928c2ecf20Sopenharmony_ci		.npins = ARRAY_SIZE(pg_name##_pins),	\
938c2ecf20Sopenharmony_ci		.ctl_reg = offset,			\
948c2ecf20Sopenharmony_ci		.io_reg = offset + 0x4,			\
958c2ecf20Sopenharmony_ci		.intr_cfg_reg = 0,			\
968c2ecf20Sopenharmony_ci		.intr_status_reg = 0,			\
978c2ecf20Sopenharmony_ci		.intr_target_reg = 0,			\
988c2ecf20Sopenharmony_ci		.mux_bit = -1,				\
998c2ecf20Sopenharmony_ci		.pull_bit = 3,				\
1008c2ecf20Sopenharmony_ci		.drv_bit = 0,				\
1018c2ecf20Sopenharmony_ci		.oe_bit = -1,				\
1028c2ecf20Sopenharmony_ci		.in_bit = -1,				\
1038c2ecf20Sopenharmony_ci		.out_bit = 0,				\
1048c2ecf20Sopenharmony_ci		.intr_enable_bit = -1,			\
1058c2ecf20Sopenharmony_ci		.intr_status_bit = -1,			\
1068c2ecf20Sopenharmony_ci		.intr_target_bit = -1,			\
1078c2ecf20Sopenharmony_ci		.intr_raw_status_bit = -1,		\
1088c2ecf20Sopenharmony_ci		.intr_polarity_bit = -1,		\
1098c2ecf20Sopenharmony_ci		.intr_detection_bit = -1,		\
1108c2ecf20Sopenharmony_ci		.intr_detection_width = -1,		\
1118c2ecf20Sopenharmony_ci	}
1128c2ecf20Sopenharmony_ci
1138c2ecf20Sopenharmony_cistatic const struct pinctrl_pin_desc msm8998_pins[] = {
1148c2ecf20Sopenharmony_ci	PINCTRL_PIN(0, "GPIO_0"),
1158c2ecf20Sopenharmony_ci	PINCTRL_PIN(1, "GPIO_1"),
1168c2ecf20Sopenharmony_ci	PINCTRL_PIN(2, "GPIO_2"),
1178c2ecf20Sopenharmony_ci	PINCTRL_PIN(3, "GPIO_3"),
1188c2ecf20Sopenharmony_ci	PINCTRL_PIN(4, "GPIO_4"),
1198c2ecf20Sopenharmony_ci	PINCTRL_PIN(5, "GPIO_5"),
1208c2ecf20Sopenharmony_ci	PINCTRL_PIN(6, "GPIO_6"),
1218c2ecf20Sopenharmony_ci	PINCTRL_PIN(7, "GPIO_7"),
1228c2ecf20Sopenharmony_ci	PINCTRL_PIN(8, "GPIO_8"),
1238c2ecf20Sopenharmony_ci	PINCTRL_PIN(9, "GPIO_9"),
1248c2ecf20Sopenharmony_ci	PINCTRL_PIN(10, "GPIO_10"),
1258c2ecf20Sopenharmony_ci	PINCTRL_PIN(11, "GPIO_11"),
1268c2ecf20Sopenharmony_ci	PINCTRL_PIN(12, "GPIO_12"),
1278c2ecf20Sopenharmony_ci	PINCTRL_PIN(13, "GPIO_13"),
1288c2ecf20Sopenharmony_ci	PINCTRL_PIN(14, "GPIO_14"),
1298c2ecf20Sopenharmony_ci	PINCTRL_PIN(15, "GPIO_15"),
1308c2ecf20Sopenharmony_ci	PINCTRL_PIN(16, "GPIO_16"),
1318c2ecf20Sopenharmony_ci	PINCTRL_PIN(17, "GPIO_17"),
1328c2ecf20Sopenharmony_ci	PINCTRL_PIN(18, "GPIO_18"),
1338c2ecf20Sopenharmony_ci	PINCTRL_PIN(19, "GPIO_19"),
1348c2ecf20Sopenharmony_ci	PINCTRL_PIN(20, "GPIO_20"),
1358c2ecf20Sopenharmony_ci	PINCTRL_PIN(21, "GPIO_21"),
1368c2ecf20Sopenharmony_ci	PINCTRL_PIN(22, "GPIO_22"),
1378c2ecf20Sopenharmony_ci	PINCTRL_PIN(23, "GPIO_23"),
1388c2ecf20Sopenharmony_ci	PINCTRL_PIN(24, "GPIO_24"),
1398c2ecf20Sopenharmony_ci	PINCTRL_PIN(25, "GPIO_25"),
1408c2ecf20Sopenharmony_ci	PINCTRL_PIN(26, "GPIO_26"),
1418c2ecf20Sopenharmony_ci	PINCTRL_PIN(27, "GPIO_27"),
1428c2ecf20Sopenharmony_ci	PINCTRL_PIN(28, "GPIO_28"),
1438c2ecf20Sopenharmony_ci	PINCTRL_PIN(29, "GPIO_29"),
1448c2ecf20Sopenharmony_ci	PINCTRL_PIN(30, "GPIO_30"),
1458c2ecf20Sopenharmony_ci	PINCTRL_PIN(31, "GPIO_31"),
1468c2ecf20Sopenharmony_ci	PINCTRL_PIN(32, "GPIO_32"),
1478c2ecf20Sopenharmony_ci	PINCTRL_PIN(33, "GPIO_33"),
1488c2ecf20Sopenharmony_ci	PINCTRL_PIN(34, "GPIO_34"),
1498c2ecf20Sopenharmony_ci	PINCTRL_PIN(35, "GPIO_35"),
1508c2ecf20Sopenharmony_ci	PINCTRL_PIN(36, "GPIO_36"),
1518c2ecf20Sopenharmony_ci	PINCTRL_PIN(37, "GPIO_37"),
1528c2ecf20Sopenharmony_ci	PINCTRL_PIN(38, "GPIO_38"),
1538c2ecf20Sopenharmony_ci	PINCTRL_PIN(39, "GPIO_39"),
1548c2ecf20Sopenharmony_ci	PINCTRL_PIN(40, "GPIO_40"),
1558c2ecf20Sopenharmony_ci	PINCTRL_PIN(41, "GPIO_41"),
1568c2ecf20Sopenharmony_ci	PINCTRL_PIN(42, "GPIO_42"),
1578c2ecf20Sopenharmony_ci	PINCTRL_PIN(43, "GPIO_43"),
1588c2ecf20Sopenharmony_ci	PINCTRL_PIN(44, "GPIO_44"),
1598c2ecf20Sopenharmony_ci	PINCTRL_PIN(45, "GPIO_45"),
1608c2ecf20Sopenharmony_ci	PINCTRL_PIN(46, "GPIO_46"),
1618c2ecf20Sopenharmony_ci	PINCTRL_PIN(47, "GPIO_47"),
1628c2ecf20Sopenharmony_ci	PINCTRL_PIN(48, "GPIO_48"),
1638c2ecf20Sopenharmony_ci	PINCTRL_PIN(49, "GPIO_49"),
1648c2ecf20Sopenharmony_ci	PINCTRL_PIN(50, "GPIO_50"),
1658c2ecf20Sopenharmony_ci	PINCTRL_PIN(51, "GPIO_51"),
1668c2ecf20Sopenharmony_ci	PINCTRL_PIN(52, "GPIO_52"),
1678c2ecf20Sopenharmony_ci	PINCTRL_PIN(53, "GPIO_53"),
1688c2ecf20Sopenharmony_ci	PINCTRL_PIN(54, "GPIO_54"),
1698c2ecf20Sopenharmony_ci	PINCTRL_PIN(55, "GPIO_55"),
1708c2ecf20Sopenharmony_ci	PINCTRL_PIN(56, "GPIO_56"),
1718c2ecf20Sopenharmony_ci	PINCTRL_PIN(57, "GPIO_57"),
1728c2ecf20Sopenharmony_ci	PINCTRL_PIN(58, "GPIO_58"),
1738c2ecf20Sopenharmony_ci	PINCTRL_PIN(59, "GPIO_59"),
1748c2ecf20Sopenharmony_ci	PINCTRL_PIN(60, "GPIO_60"),
1758c2ecf20Sopenharmony_ci	PINCTRL_PIN(61, "GPIO_61"),
1768c2ecf20Sopenharmony_ci	PINCTRL_PIN(62, "GPIO_62"),
1778c2ecf20Sopenharmony_ci	PINCTRL_PIN(63, "GPIO_63"),
1788c2ecf20Sopenharmony_ci	PINCTRL_PIN(64, "GPIO_64"),
1798c2ecf20Sopenharmony_ci	PINCTRL_PIN(65, "GPIO_65"),
1808c2ecf20Sopenharmony_ci	PINCTRL_PIN(66, "GPIO_66"),
1818c2ecf20Sopenharmony_ci	PINCTRL_PIN(67, "GPIO_67"),
1828c2ecf20Sopenharmony_ci	PINCTRL_PIN(68, "GPIO_68"),
1838c2ecf20Sopenharmony_ci	PINCTRL_PIN(69, "GPIO_69"),
1848c2ecf20Sopenharmony_ci	PINCTRL_PIN(70, "GPIO_70"),
1858c2ecf20Sopenharmony_ci	PINCTRL_PIN(71, "GPIO_71"),
1868c2ecf20Sopenharmony_ci	PINCTRL_PIN(72, "GPIO_72"),
1878c2ecf20Sopenharmony_ci	PINCTRL_PIN(73, "GPIO_73"),
1888c2ecf20Sopenharmony_ci	PINCTRL_PIN(74, "GPIO_74"),
1898c2ecf20Sopenharmony_ci	PINCTRL_PIN(75, "GPIO_75"),
1908c2ecf20Sopenharmony_ci	PINCTRL_PIN(76, "GPIO_76"),
1918c2ecf20Sopenharmony_ci	PINCTRL_PIN(77, "GPIO_77"),
1928c2ecf20Sopenharmony_ci	PINCTRL_PIN(78, "GPIO_78"),
1938c2ecf20Sopenharmony_ci	PINCTRL_PIN(79, "GPIO_79"),
1948c2ecf20Sopenharmony_ci	PINCTRL_PIN(80, "GPIO_80"),
1958c2ecf20Sopenharmony_ci	PINCTRL_PIN(81, "GPIO_81"),
1968c2ecf20Sopenharmony_ci	PINCTRL_PIN(82, "GPIO_82"),
1978c2ecf20Sopenharmony_ci	PINCTRL_PIN(83, "GPIO_83"),
1988c2ecf20Sopenharmony_ci	PINCTRL_PIN(84, "GPIO_84"),
1998c2ecf20Sopenharmony_ci	PINCTRL_PIN(85, "GPIO_85"),
2008c2ecf20Sopenharmony_ci	PINCTRL_PIN(86, "GPIO_86"),
2018c2ecf20Sopenharmony_ci	PINCTRL_PIN(87, "GPIO_87"),
2028c2ecf20Sopenharmony_ci	PINCTRL_PIN(88, "GPIO_88"),
2038c2ecf20Sopenharmony_ci	PINCTRL_PIN(89, "GPIO_89"),
2048c2ecf20Sopenharmony_ci	PINCTRL_PIN(90, "GPIO_90"),
2058c2ecf20Sopenharmony_ci	PINCTRL_PIN(91, "GPIO_91"),
2068c2ecf20Sopenharmony_ci	PINCTRL_PIN(92, "GPIO_92"),
2078c2ecf20Sopenharmony_ci	PINCTRL_PIN(93, "GPIO_93"),
2088c2ecf20Sopenharmony_ci	PINCTRL_PIN(94, "GPIO_94"),
2098c2ecf20Sopenharmony_ci	PINCTRL_PIN(95, "GPIO_95"),
2108c2ecf20Sopenharmony_ci	PINCTRL_PIN(96, "GPIO_96"),
2118c2ecf20Sopenharmony_ci	PINCTRL_PIN(97, "GPIO_97"),
2128c2ecf20Sopenharmony_ci	PINCTRL_PIN(98, "GPIO_98"),
2138c2ecf20Sopenharmony_ci	PINCTRL_PIN(99, "GPIO_99"),
2148c2ecf20Sopenharmony_ci	PINCTRL_PIN(100, "GPIO_100"),
2158c2ecf20Sopenharmony_ci	PINCTRL_PIN(101, "GPIO_101"),
2168c2ecf20Sopenharmony_ci	PINCTRL_PIN(102, "GPIO_102"),
2178c2ecf20Sopenharmony_ci	PINCTRL_PIN(103, "GPIO_103"),
2188c2ecf20Sopenharmony_ci	PINCTRL_PIN(104, "GPIO_104"),
2198c2ecf20Sopenharmony_ci	PINCTRL_PIN(105, "GPIO_105"),
2208c2ecf20Sopenharmony_ci	PINCTRL_PIN(106, "GPIO_106"),
2218c2ecf20Sopenharmony_ci	PINCTRL_PIN(107, "GPIO_107"),
2228c2ecf20Sopenharmony_ci	PINCTRL_PIN(108, "GPIO_108"),
2238c2ecf20Sopenharmony_ci	PINCTRL_PIN(109, "GPIO_109"),
2248c2ecf20Sopenharmony_ci	PINCTRL_PIN(110, "GPIO_110"),
2258c2ecf20Sopenharmony_ci	PINCTRL_PIN(111, "GPIO_111"),
2268c2ecf20Sopenharmony_ci	PINCTRL_PIN(112, "GPIO_112"),
2278c2ecf20Sopenharmony_ci	PINCTRL_PIN(113, "GPIO_113"),
2288c2ecf20Sopenharmony_ci	PINCTRL_PIN(114, "GPIO_114"),
2298c2ecf20Sopenharmony_ci	PINCTRL_PIN(115, "GPIO_115"),
2308c2ecf20Sopenharmony_ci	PINCTRL_PIN(116, "GPIO_116"),
2318c2ecf20Sopenharmony_ci	PINCTRL_PIN(117, "GPIO_117"),
2328c2ecf20Sopenharmony_ci	PINCTRL_PIN(118, "GPIO_118"),
2338c2ecf20Sopenharmony_ci	PINCTRL_PIN(119, "GPIO_119"),
2348c2ecf20Sopenharmony_ci	PINCTRL_PIN(120, "GPIO_120"),
2358c2ecf20Sopenharmony_ci	PINCTRL_PIN(121, "GPIO_121"),
2368c2ecf20Sopenharmony_ci	PINCTRL_PIN(122, "GPIO_122"),
2378c2ecf20Sopenharmony_ci	PINCTRL_PIN(123, "GPIO_123"),
2388c2ecf20Sopenharmony_ci	PINCTRL_PIN(124, "GPIO_124"),
2398c2ecf20Sopenharmony_ci	PINCTRL_PIN(125, "GPIO_125"),
2408c2ecf20Sopenharmony_ci	PINCTRL_PIN(126, "GPIO_126"),
2418c2ecf20Sopenharmony_ci	PINCTRL_PIN(127, "GPIO_127"),
2428c2ecf20Sopenharmony_ci	PINCTRL_PIN(128, "GPIO_128"),
2438c2ecf20Sopenharmony_ci	PINCTRL_PIN(129, "GPIO_129"),
2448c2ecf20Sopenharmony_ci	PINCTRL_PIN(130, "GPIO_130"),
2458c2ecf20Sopenharmony_ci	PINCTRL_PIN(131, "GPIO_131"),
2468c2ecf20Sopenharmony_ci	PINCTRL_PIN(132, "GPIO_132"),
2478c2ecf20Sopenharmony_ci	PINCTRL_PIN(133, "GPIO_133"),
2488c2ecf20Sopenharmony_ci	PINCTRL_PIN(134, "GPIO_134"),
2498c2ecf20Sopenharmony_ci	PINCTRL_PIN(135, "GPIO_135"),
2508c2ecf20Sopenharmony_ci	PINCTRL_PIN(136, "GPIO_136"),
2518c2ecf20Sopenharmony_ci	PINCTRL_PIN(137, "GPIO_137"),
2528c2ecf20Sopenharmony_ci	PINCTRL_PIN(138, "GPIO_138"),
2538c2ecf20Sopenharmony_ci	PINCTRL_PIN(139, "GPIO_139"),
2548c2ecf20Sopenharmony_ci	PINCTRL_PIN(140, "GPIO_140"),
2558c2ecf20Sopenharmony_ci	PINCTRL_PIN(141, "GPIO_141"),
2568c2ecf20Sopenharmony_ci	PINCTRL_PIN(142, "GPIO_142"),
2578c2ecf20Sopenharmony_ci	PINCTRL_PIN(143, "GPIO_143"),
2588c2ecf20Sopenharmony_ci	PINCTRL_PIN(144, "GPIO_144"),
2598c2ecf20Sopenharmony_ci	PINCTRL_PIN(145, "GPIO_145"),
2608c2ecf20Sopenharmony_ci	PINCTRL_PIN(146, "GPIO_146"),
2618c2ecf20Sopenharmony_ci	PINCTRL_PIN(147, "GPIO_147"),
2628c2ecf20Sopenharmony_ci	PINCTRL_PIN(148, "GPIO_148"),
2638c2ecf20Sopenharmony_ci	PINCTRL_PIN(149, "GPIO_149"),
2648c2ecf20Sopenharmony_ci	PINCTRL_PIN(150, "SDC2_CLK"),
2658c2ecf20Sopenharmony_ci	PINCTRL_PIN(151, "SDC2_CMD"),
2668c2ecf20Sopenharmony_ci	PINCTRL_PIN(152, "SDC2_DATA"),
2678c2ecf20Sopenharmony_ci	PINCTRL_PIN(153, "UFS_RESET"),
2688c2ecf20Sopenharmony_ci};
2698c2ecf20Sopenharmony_ci
2708c2ecf20Sopenharmony_ci#define DECLARE_MSM_GPIO_PINS(pin) \
2718c2ecf20Sopenharmony_ci	static const unsigned int gpio##pin##_pins[] = { pin }
2728c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(0);
2738c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(1);
2748c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(2);
2758c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(3);
2768c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(4);
2778c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(5);
2788c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(6);
2798c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(7);
2808c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(8);
2818c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(9);
2828c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(10);
2838c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(11);
2848c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(12);
2858c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(13);
2868c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(14);
2878c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(15);
2888c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(16);
2898c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(17);
2908c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(18);
2918c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(19);
2928c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(20);
2938c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(21);
2948c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(22);
2958c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(23);
2968c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(24);
2978c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(25);
2988c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(26);
2998c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(27);
3008c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(28);
3018c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(29);
3028c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(30);
3038c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(31);
3048c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(32);
3058c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(33);
3068c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(34);
3078c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(35);
3088c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(36);
3098c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(37);
3108c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(38);
3118c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(39);
3128c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(40);
3138c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(41);
3148c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(42);
3158c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(43);
3168c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(44);
3178c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(45);
3188c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(46);
3198c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(47);
3208c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(48);
3218c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(49);
3228c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(50);
3238c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(51);
3248c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(52);
3258c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(53);
3268c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(54);
3278c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(55);
3288c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(56);
3298c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(57);
3308c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(58);
3318c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(59);
3328c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(60);
3338c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(61);
3348c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(62);
3358c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(63);
3368c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(64);
3378c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(65);
3388c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(66);
3398c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(67);
3408c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(68);
3418c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(69);
3428c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(70);
3438c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(71);
3448c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(72);
3458c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(73);
3468c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(74);
3478c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(75);
3488c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(76);
3498c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(77);
3508c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(78);
3518c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(79);
3528c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(80);
3538c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(81);
3548c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(82);
3558c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(83);
3568c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(84);
3578c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(85);
3588c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(86);
3598c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(87);
3608c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(88);
3618c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(89);
3628c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(90);
3638c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(91);
3648c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(92);
3658c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(93);
3668c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(94);
3678c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(95);
3688c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(96);
3698c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(97);
3708c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(98);
3718c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(99);
3728c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(100);
3738c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(101);
3748c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(102);
3758c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(103);
3768c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(104);
3778c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(105);
3788c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(106);
3798c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(107);
3808c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(108);
3818c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(109);
3828c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(110);
3838c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(111);
3848c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(112);
3858c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(113);
3868c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(114);
3878c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(115);
3888c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(116);
3898c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(117);
3908c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(118);
3918c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(119);
3928c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(120);
3938c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(121);
3948c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(122);
3958c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(123);
3968c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(124);
3978c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(125);
3988c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(126);
3998c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(127);
4008c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(128);
4018c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(129);
4028c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(130);
4038c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(131);
4048c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(132);
4058c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(133);
4068c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(134);
4078c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(135);
4088c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(136);
4098c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(137);
4108c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(138);
4118c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(139);
4128c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(140);
4138c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(141);
4148c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(142);
4158c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(143);
4168c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(144);
4178c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(145);
4188c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(146);
4198c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(147);
4208c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(148);
4218c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(149);
4228c2ecf20Sopenharmony_ci
4238c2ecf20Sopenharmony_cistatic const unsigned int sdc2_clk_pins[] = { 150 };
4248c2ecf20Sopenharmony_cistatic const unsigned int sdc2_cmd_pins[] = { 151 };
4258c2ecf20Sopenharmony_cistatic const unsigned int sdc2_data_pins[] = { 152 };
4268c2ecf20Sopenharmony_cistatic const unsigned int ufs_reset_pins[] = { 153 };
4278c2ecf20Sopenharmony_ci
4288c2ecf20Sopenharmony_cienum msm8998_functions {
4298c2ecf20Sopenharmony_ci	msm_mux_adsp_ext,
4308c2ecf20Sopenharmony_ci	msm_mux_agera_pll,
4318c2ecf20Sopenharmony_ci	msm_mux_atest_char,
4328c2ecf20Sopenharmony_ci	msm_mux_atest_gpsadc0,
4338c2ecf20Sopenharmony_ci	msm_mux_atest_gpsadc1,
4348c2ecf20Sopenharmony_ci	msm_mux_atest_tsens,
4358c2ecf20Sopenharmony_ci	msm_mux_atest_tsens2,
4368c2ecf20Sopenharmony_ci	msm_mux_atest_usb1,
4378c2ecf20Sopenharmony_ci	msm_mux_atest_usb10,
4388c2ecf20Sopenharmony_ci	msm_mux_atest_usb11,
4398c2ecf20Sopenharmony_ci	msm_mux_atest_usb12,
4408c2ecf20Sopenharmony_ci	msm_mux_atest_usb13,
4418c2ecf20Sopenharmony_ci	msm_mux_audio_ref,
4428c2ecf20Sopenharmony_ci	msm_mux_bimc_dte0,
4438c2ecf20Sopenharmony_ci	msm_mux_bimc_dte1,
4448c2ecf20Sopenharmony_ci	msm_mux_blsp10_spi,
4458c2ecf20Sopenharmony_ci	msm_mux_blsp10_spi_a,
4468c2ecf20Sopenharmony_ci	msm_mux_blsp10_spi_b,
4478c2ecf20Sopenharmony_ci	msm_mux_blsp11_i2c,
4488c2ecf20Sopenharmony_ci	msm_mux_blsp1_spi,
4498c2ecf20Sopenharmony_ci	msm_mux_blsp1_spi_a,
4508c2ecf20Sopenharmony_ci	msm_mux_blsp1_spi_b,
4518c2ecf20Sopenharmony_ci	msm_mux_blsp2_spi,
4528c2ecf20Sopenharmony_ci	msm_mux_blsp9_spi,
4538c2ecf20Sopenharmony_ci	msm_mux_blsp_i2c1,
4548c2ecf20Sopenharmony_ci	msm_mux_blsp_i2c10,
4558c2ecf20Sopenharmony_ci	msm_mux_blsp_i2c11,
4568c2ecf20Sopenharmony_ci	msm_mux_blsp_i2c12,
4578c2ecf20Sopenharmony_ci	msm_mux_blsp_i2c2,
4588c2ecf20Sopenharmony_ci	msm_mux_blsp_i2c3,
4598c2ecf20Sopenharmony_ci	msm_mux_blsp_i2c4,
4608c2ecf20Sopenharmony_ci	msm_mux_blsp_i2c5,
4618c2ecf20Sopenharmony_ci	msm_mux_blsp_i2c6,
4628c2ecf20Sopenharmony_ci	msm_mux_blsp_i2c7,
4638c2ecf20Sopenharmony_ci	msm_mux_blsp_i2c8,
4648c2ecf20Sopenharmony_ci	msm_mux_blsp_i2c9,
4658c2ecf20Sopenharmony_ci	msm_mux_blsp_spi1,
4668c2ecf20Sopenharmony_ci	msm_mux_blsp_spi10,
4678c2ecf20Sopenharmony_ci	msm_mux_blsp_spi11,
4688c2ecf20Sopenharmony_ci	msm_mux_blsp_spi12,
4698c2ecf20Sopenharmony_ci	msm_mux_blsp_spi2,
4708c2ecf20Sopenharmony_ci	msm_mux_blsp_spi3,
4718c2ecf20Sopenharmony_ci	msm_mux_blsp_spi4,
4728c2ecf20Sopenharmony_ci	msm_mux_blsp_spi5,
4738c2ecf20Sopenharmony_ci	msm_mux_blsp_spi6,
4748c2ecf20Sopenharmony_ci	msm_mux_blsp_spi7,
4758c2ecf20Sopenharmony_ci	msm_mux_blsp_spi8,
4768c2ecf20Sopenharmony_ci	msm_mux_blsp_spi9,
4778c2ecf20Sopenharmony_ci	msm_mux_blsp_uart1_a,
4788c2ecf20Sopenharmony_ci	msm_mux_blsp_uart1_b,
4798c2ecf20Sopenharmony_ci	msm_mux_blsp_uart2_a,
4808c2ecf20Sopenharmony_ci	msm_mux_blsp_uart2_b,
4818c2ecf20Sopenharmony_ci	msm_mux_blsp_uart3_a,
4828c2ecf20Sopenharmony_ci	msm_mux_blsp_uart3_b,
4838c2ecf20Sopenharmony_ci	msm_mux_blsp_uart7_a,
4848c2ecf20Sopenharmony_ci	msm_mux_blsp_uart7_b,
4858c2ecf20Sopenharmony_ci	msm_mux_blsp_uart8,
4868c2ecf20Sopenharmony_ci	msm_mux_blsp_uart8_a,
4878c2ecf20Sopenharmony_ci	msm_mux_blsp_uart8_b,
4888c2ecf20Sopenharmony_ci	msm_mux_blsp_uart9_a,
4898c2ecf20Sopenharmony_ci	msm_mux_blsp_uart9_b,
4908c2ecf20Sopenharmony_ci	msm_mux_blsp_uim1_a,
4918c2ecf20Sopenharmony_ci	msm_mux_blsp_uim1_b,
4928c2ecf20Sopenharmony_ci	msm_mux_blsp_uim2_a,
4938c2ecf20Sopenharmony_ci	msm_mux_blsp_uim2_b,
4948c2ecf20Sopenharmony_ci	msm_mux_blsp_uim3_a,
4958c2ecf20Sopenharmony_ci	msm_mux_blsp_uim3_b,
4968c2ecf20Sopenharmony_ci	msm_mux_blsp_uim7_a,
4978c2ecf20Sopenharmony_ci	msm_mux_blsp_uim7_b,
4988c2ecf20Sopenharmony_ci	msm_mux_blsp_uim8_a,
4998c2ecf20Sopenharmony_ci	msm_mux_blsp_uim8_b,
5008c2ecf20Sopenharmony_ci	msm_mux_blsp_uim9_a,
5018c2ecf20Sopenharmony_ci	msm_mux_blsp_uim9_b,
5028c2ecf20Sopenharmony_ci	msm_mux_bt_reset,
5038c2ecf20Sopenharmony_ci	msm_mux_btfm_slimbus,
5048c2ecf20Sopenharmony_ci	msm_mux_cam_mclk,
5058c2ecf20Sopenharmony_ci	msm_mux_cci_async,
5068c2ecf20Sopenharmony_ci	msm_mux_cci_i2c,
5078c2ecf20Sopenharmony_ci	msm_mux_cci_timer0,
5088c2ecf20Sopenharmony_ci	msm_mux_cci_timer1,
5098c2ecf20Sopenharmony_ci	msm_mux_cci_timer2,
5108c2ecf20Sopenharmony_ci	msm_mux_cci_timer3,
5118c2ecf20Sopenharmony_ci	msm_mux_cci_timer4,
5128c2ecf20Sopenharmony_ci	msm_mux_cri_trng,
5138c2ecf20Sopenharmony_ci	msm_mux_cri_trng0,
5148c2ecf20Sopenharmony_ci	msm_mux_cri_trng1,
5158c2ecf20Sopenharmony_ci	msm_mux_dbg_out,
5168c2ecf20Sopenharmony_ci	msm_mux_ddr_bist,
5178c2ecf20Sopenharmony_ci	msm_mux_edp_hot,
5188c2ecf20Sopenharmony_ci	msm_mux_edp_lcd,
5198c2ecf20Sopenharmony_ci	msm_mux_gcc_gp1_a,
5208c2ecf20Sopenharmony_ci	msm_mux_gcc_gp1_b,
5218c2ecf20Sopenharmony_ci	msm_mux_gcc_gp2_a,
5228c2ecf20Sopenharmony_ci	msm_mux_gcc_gp2_b,
5238c2ecf20Sopenharmony_ci	msm_mux_gcc_gp3_a,
5248c2ecf20Sopenharmony_ci	msm_mux_gcc_gp3_b,
5258c2ecf20Sopenharmony_ci	msm_mux_gpio,
5268c2ecf20Sopenharmony_ci	msm_mux_hdmi_cec,
5278c2ecf20Sopenharmony_ci	msm_mux_hdmi_ddc,
5288c2ecf20Sopenharmony_ci	msm_mux_hdmi_hot,
5298c2ecf20Sopenharmony_ci	msm_mux_hdmi_rcv,
5308c2ecf20Sopenharmony_ci	msm_mux_isense_dbg,
5318c2ecf20Sopenharmony_ci	msm_mux_jitter_bist,
5328c2ecf20Sopenharmony_ci	msm_mux_ldo_en,
5338c2ecf20Sopenharmony_ci	msm_mux_ldo_update,
5348c2ecf20Sopenharmony_ci	msm_mux_lpass_slimbus,
5358c2ecf20Sopenharmony_ci	msm_mux_m_voc,
5368c2ecf20Sopenharmony_ci	msm_mux_mdp_vsync,
5378c2ecf20Sopenharmony_ci	msm_mux_mdp_vsync0,
5388c2ecf20Sopenharmony_ci	msm_mux_mdp_vsync1,
5398c2ecf20Sopenharmony_ci	msm_mux_mdp_vsync2,
5408c2ecf20Sopenharmony_ci	msm_mux_mdp_vsync3,
5418c2ecf20Sopenharmony_ci	msm_mux_mdp_vsync_a,
5428c2ecf20Sopenharmony_ci	msm_mux_mdp_vsync_b,
5438c2ecf20Sopenharmony_ci	msm_mux_modem_tsync,
5448c2ecf20Sopenharmony_ci	msm_mux_mss_lte,
5458c2ecf20Sopenharmony_ci	msm_mux_nav_dr,
5468c2ecf20Sopenharmony_ci	msm_mux_nav_pps,
5478c2ecf20Sopenharmony_ci	msm_mux_pa_indicator,
5488c2ecf20Sopenharmony_ci	msm_mux_pci_e0,
5498c2ecf20Sopenharmony_ci	msm_mux_phase_flag,
5508c2ecf20Sopenharmony_ci	msm_mux_pll_bypassnl,
5518c2ecf20Sopenharmony_ci	msm_mux_pll_reset,
5528c2ecf20Sopenharmony_ci	msm_mux_pri_mi2s,
5538c2ecf20Sopenharmony_ci	msm_mux_pri_mi2s_ws,
5548c2ecf20Sopenharmony_ci	msm_mux_prng_rosc,
5558c2ecf20Sopenharmony_ci	msm_mux_pwr_crypto,
5568c2ecf20Sopenharmony_ci	msm_mux_pwr_modem,
5578c2ecf20Sopenharmony_ci	msm_mux_pwr_nav,
5588c2ecf20Sopenharmony_ci	msm_mux_qdss_cti0_a,
5598c2ecf20Sopenharmony_ci	msm_mux_qdss_cti0_b,
5608c2ecf20Sopenharmony_ci	msm_mux_qdss_cti1_a,
5618c2ecf20Sopenharmony_ci	msm_mux_qdss_cti1_b,
5628c2ecf20Sopenharmony_ci	msm_mux_qdss,
5638c2ecf20Sopenharmony_ci	msm_mux_qlink_enable,
5648c2ecf20Sopenharmony_ci	msm_mux_qlink_request,
5658c2ecf20Sopenharmony_ci	msm_mux_qua_mi2s,
5668c2ecf20Sopenharmony_ci	msm_mux_sd_card,
5678c2ecf20Sopenharmony_ci	msm_mux_sd_write,
5688c2ecf20Sopenharmony_ci	msm_mux_sdc40,
5698c2ecf20Sopenharmony_ci	msm_mux_sdc41,
5708c2ecf20Sopenharmony_ci	msm_mux_sdc42,
5718c2ecf20Sopenharmony_ci	msm_mux_sdc43,
5728c2ecf20Sopenharmony_ci	msm_mux_sdc4_clk,
5738c2ecf20Sopenharmony_ci	msm_mux_sdc4_cmd,
5748c2ecf20Sopenharmony_ci	msm_mux_sec_mi2s,
5758c2ecf20Sopenharmony_ci	msm_mux_sp_cmu,
5768c2ecf20Sopenharmony_ci	msm_mux_spkr_i2s,
5778c2ecf20Sopenharmony_ci	msm_mux_ssbi1,
5788c2ecf20Sopenharmony_ci	msm_mux_ssc_irq,
5798c2ecf20Sopenharmony_ci	msm_mux_ter_mi2s,
5808c2ecf20Sopenharmony_ci	msm_mux_tgu_ch0,
5818c2ecf20Sopenharmony_ci	msm_mux_tgu_ch1,
5828c2ecf20Sopenharmony_ci	msm_mux_tsense_pwm1,
5838c2ecf20Sopenharmony_ci	msm_mux_tsense_pwm2,
5848c2ecf20Sopenharmony_ci	msm_mux_tsif0,
5858c2ecf20Sopenharmony_ci	msm_mux_tsif1,
5868c2ecf20Sopenharmony_ci	msm_mux_uim1_clk,
5878c2ecf20Sopenharmony_ci	msm_mux_uim1_data,
5888c2ecf20Sopenharmony_ci	msm_mux_uim1_present,
5898c2ecf20Sopenharmony_ci	msm_mux_uim1_reset,
5908c2ecf20Sopenharmony_ci	msm_mux_uim2_clk,
5918c2ecf20Sopenharmony_ci	msm_mux_uim2_data,
5928c2ecf20Sopenharmony_ci	msm_mux_uim2_present,
5938c2ecf20Sopenharmony_ci	msm_mux_uim2_reset,
5948c2ecf20Sopenharmony_ci	msm_mux_uim_batt,
5958c2ecf20Sopenharmony_ci	msm_mux_usb_phy,
5968c2ecf20Sopenharmony_ci	msm_mux_vfr_1,
5978c2ecf20Sopenharmony_ci	msm_mux_vsense_clkout,
5988c2ecf20Sopenharmony_ci	msm_mux_vsense_data0,
5998c2ecf20Sopenharmony_ci	msm_mux_vsense_data1,
6008c2ecf20Sopenharmony_ci	msm_mux_vsense_mode,
6018c2ecf20Sopenharmony_ci	msm_mux_wlan1_adc0,
6028c2ecf20Sopenharmony_ci	msm_mux_wlan1_adc1,
6038c2ecf20Sopenharmony_ci	msm_mux_wlan2_adc0,
6048c2ecf20Sopenharmony_ci	msm_mux_wlan2_adc1,
6058c2ecf20Sopenharmony_ci	msm_mux__,
6068c2ecf20Sopenharmony_ci};
6078c2ecf20Sopenharmony_ci
6088c2ecf20Sopenharmony_cistatic const char * const gpio_groups[] = {
6098c2ecf20Sopenharmony_ci	"gpio0", "gpio1", "gpio2", "gpio3", "gpio4", "gpio5", "gpio6", "gpio7",
6108c2ecf20Sopenharmony_ci	"gpio8", "gpio9", "gpio10", "gpio11", "gpio12", "gpio13", "gpio14",
6118c2ecf20Sopenharmony_ci	"gpio15", "gpio16", "gpio17", "gpio18", "gpio19", "gpio20", "gpio21",
6128c2ecf20Sopenharmony_ci	"gpio22", "gpio23", "gpio24", "gpio25", "gpio26", "gpio27", "gpio28",
6138c2ecf20Sopenharmony_ci	"gpio29", "gpio30", "gpio31", "gpio32", "gpio33", "gpio34", "gpio35",
6148c2ecf20Sopenharmony_ci	"gpio36", "gpio37", "gpio38", "gpio39", "gpio40", "gpio41", "gpio42",
6158c2ecf20Sopenharmony_ci	"gpio43", "gpio44", "gpio45", "gpio46", "gpio47", "gpio48", "gpio49",
6168c2ecf20Sopenharmony_ci	"gpio50", "gpio51", "gpio52", "gpio53", "gpio54", "gpio55", "gpio56",
6178c2ecf20Sopenharmony_ci	"gpio57", "gpio58", "gpio59", "gpio60", "gpio61", "gpio62", "gpio63",
6188c2ecf20Sopenharmony_ci	"gpio64", "gpio65", "gpio66", "gpio67", "gpio68", "gpio69", "gpio70",
6198c2ecf20Sopenharmony_ci	"gpio71", "gpio72", "gpio73", "gpio74", "gpio75", "gpio76", "gpio77",
6208c2ecf20Sopenharmony_ci	"gpio78", "gpio79", "gpio80", "gpio81", "gpio82", "gpio83", "gpio84",
6218c2ecf20Sopenharmony_ci	"gpio85", "gpio86", "gpio87", "gpio88", "gpio89", "gpio90", "gpio91",
6228c2ecf20Sopenharmony_ci	"gpio92", "gpio93", "gpio94", "gpio95", "gpio96", "gpio97", "gpio98",
6238c2ecf20Sopenharmony_ci	"gpio99", "gpio100", "gpio101",	"gpio102", "gpio103", "gpio104",
6248c2ecf20Sopenharmony_ci	"gpio105", "gpio106", "gpio107", "gpio108", "gpio109", "gpio110",
6258c2ecf20Sopenharmony_ci	"gpio111", "gpio112", "gpio113", "gpio114", "gpio115", "gpio116",
6268c2ecf20Sopenharmony_ci	"gpio117", "gpio118", "gpio119", "gpio120", "gpio121", "gpio122",
6278c2ecf20Sopenharmony_ci	"gpio123", "gpio124", "gpio125", "gpio126", "gpio127", "gpio128",
6288c2ecf20Sopenharmony_ci	"gpio129", "gpio130", "gpio131", "gpio132", "gpio133", "gpio134",
6298c2ecf20Sopenharmony_ci	"gpio135", "gpio136", "gpio137", "gpio138", "gpio139", "gpio140",
6308c2ecf20Sopenharmony_ci	"gpio141", "gpio142", "gpio143", "gpio144", "gpio145", "gpio146",
6318c2ecf20Sopenharmony_ci	"gpio147", "gpio148", "gpio149",
6328c2ecf20Sopenharmony_ci};
6338c2ecf20Sopenharmony_cistatic const char * const blsp_spi1_groups[] = {
6348c2ecf20Sopenharmony_ci	"gpio0", "gpio1", "gpio2", "gpio3",
6358c2ecf20Sopenharmony_ci};
6368c2ecf20Sopenharmony_cistatic const char * const blsp_uim1_a_groups[] = {
6378c2ecf20Sopenharmony_ci	"gpio0", "gpio1",
6388c2ecf20Sopenharmony_ci};
6398c2ecf20Sopenharmony_cistatic const char * const blsp_uart1_a_groups[] = {
6408c2ecf20Sopenharmony_ci	"gpio0", "gpio1", "gpio2", "gpio3",
6418c2ecf20Sopenharmony_ci};
6428c2ecf20Sopenharmony_cistatic const char * const blsp_i2c1_groups[] = {
6438c2ecf20Sopenharmony_ci	"gpio2", "gpio3",
6448c2ecf20Sopenharmony_ci};
6458c2ecf20Sopenharmony_cistatic const char * const blsp_spi8_groups[] = {
6468c2ecf20Sopenharmony_ci	"gpio4", "gpio5", "gpio6", "gpio7",
6478c2ecf20Sopenharmony_ci};
6488c2ecf20Sopenharmony_cistatic const char * const blsp_uart8_a_groups[] = {
6498c2ecf20Sopenharmony_ci	"gpio4", "gpio5", "gpio6", "gpio7",
6508c2ecf20Sopenharmony_ci};
6518c2ecf20Sopenharmony_cistatic const char * const blsp_uim8_a_groups[] = {
6528c2ecf20Sopenharmony_ci	"gpio4", "gpio5",
6538c2ecf20Sopenharmony_ci};
6548c2ecf20Sopenharmony_cistatic const char * const qdss_cti0_b_groups[] = {
6558c2ecf20Sopenharmony_ci	"gpio4", "gpio5",
6568c2ecf20Sopenharmony_ci};
6578c2ecf20Sopenharmony_cistatic const char * const blsp_i2c8_groups[] = {
6588c2ecf20Sopenharmony_ci	"gpio6", "gpio7",
6598c2ecf20Sopenharmony_ci};
6608c2ecf20Sopenharmony_cistatic const char * const ddr_bist_groups[] = {
6618c2ecf20Sopenharmony_ci	"gpio7", "gpio8", "gpio9", "gpio10",
6628c2ecf20Sopenharmony_ci};
6638c2ecf20Sopenharmony_cistatic const char * const atest_tsens2_groups[] = {
6648c2ecf20Sopenharmony_ci	"gpio7",
6658c2ecf20Sopenharmony_ci};
6668c2ecf20Sopenharmony_cistatic const char * const atest_usb1_groups[] = {
6678c2ecf20Sopenharmony_ci	"gpio7",
6688c2ecf20Sopenharmony_ci};
6698c2ecf20Sopenharmony_cistatic const char * const blsp_spi4_groups[] = {
6708c2ecf20Sopenharmony_ci	"gpio8", "gpio9", "gpio10", "gpio11",
6718c2ecf20Sopenharmony_ci};
6728c2ecf20Sopenharmony_cistatic const char * const blsp_uart1_b_groups[] = {
6738c2ecf20Sopenharmony_ci	"gpio8", "gpio9", "gpio10", "gpio11",
6748c2ecf20Sopenharmony_ci};
6758c2ecf20Sopenharmony_cistatic const char * const blsp_uim1_b_groups[] = {
6768c2ecf20Sopenharmony_ci	"gpio8", "gpio9",
6778c2ecf20Sopenharmony_ci};
6788c2ecf20Sopenharmony_cistatic const char * const wlan1_adc1_groups[] = {
6798c2ecf20Sopenharmony_ci	"gpio8",
6808c2ecf20Sopenharmony_ci};
6818c2ecf20Sopenharmony_cistatic const char * const atest_usb13_groups[] = {
6828c2ecf20Sopenharmony_ci	"gpio8",
6838c2ecf20Sopenharmony_ci};
6848c2ecf20Sopenharmony_cistatic const char * const bimc_dte1_groups[] = {
6858c2ecf20Sopenharmony_ci	"gpio8", "gpio10",
6868c2ecf20Sopenharmony_ci};
6878c2ecf20Sopenharmony_cistatic const char * const wlan1_adc0_groups[] = {
6888c2ecf20Sopenharmony_ci	"gpio9",
6898c2ecf20Sopenharmony_ci};
6908c2ecf20Sopenharmony_cistatic const char * const atest_usb12_groups[] = {
6918c2ecf20Sopenharmony_ci	"gpio9",
6928c2ecf20Sopenharmony_ci};
6938c2ecf20Sopenharmony_cistatic const char * const bimc_dte0_groups[] = {
6948c2ecf20Sopenharmony_ci	"gpio9", "gpio11",
6958c2ecf20Sopenharmony_ci};
6968c2ecf20Sopenharmony_cistatic const char * const mdp_vsync_a_groups[] = {
6978c2ecf20Sopenharmony_ci	"gpio10", "gpio11",
6988c2ecf20Sopenharmony_ci};
6998c2ecf20Sopenharmony_cistatic const char * const blsp_i2c4_groups[] = {
7008c2ecf20Sopenharmony_ci	"gpio10", "gpio11",
7018c2ecf20Sopenharmony_ci};
7028c2ecf20Sopenharmony_cistatic const char * const atest_gpsadc1_groups[] = {
7038c2ecf20Sopenharmony_ci	"gpio10",
7048c2ecf20Sopenharmony_ci};
7058c2ecf20Sopenharmony_cistatic const char * const wlan2_adc1_groups[] = {
7068c2ecf20Sopenharmony_ci	"gpio10",
7078c2ecf20Sopenharmony_ci};
7088c2ecf20Sopenharmony_cistatic const char * const atest_usb11_groups[] = {
7098c2ecf20Sopenharmony_ci	"gpio10",
7108c2ecf20Sopenharmony_ci};
7118c2ecf20Sopenharmony_cistatic const char * const edp_lcd_groups[] = {
7128c2ecf20Sopenharmony_ci	"gpio11",
7138c2ecf20Sopenharmony_ci};
7148c2ecf20Sopenharmony_cistatic const char * const dbg_out_groups[] = {
7158c2ecf20Sopenharmony_ci	"gpio11",
7168c2ecf20Sopenharmony_ci};
7178c2ecf20Sopenharmony_cistatic const char * const atest_gpsadc0_groups[] = {
7188c2ecf20Sopenharmony_ci	"gpio11",
7198c2ecf20Sopenharmony_ci};
7208c2ecf20Sopenharmony_cistatic const char * const wlan2_adc0_groups[] = {
7218c2ecf20Sopenharmony_ci	"gpio11",
7228c2ecf20Sopenharmony_ci};
7238c2ecf20Sopenharmony_cistatic const char * const atest_usb10_groups[] = {
7248c2ecf20Sopenharmony_ci	"gpio11",
7258c2ecf20Sopenharmony_ci};
7268c2ecf20Sopenharmony_cistatic const char * const mdp_vsync_groups[] = {
7278c2ecf20Sopenharmony_ci	"gpio12",
7288c2ecf20Sopenharmony_ci};
7298c2ecf20Sopenharmony_cistatic const char * const m_voc_groups[] = {
7308c2ecf20Sopenharmony_ci	"gpio12",
7318c2ecf20Sopenharmony_ci};
7328c2ecf20Sopenharmony_cistatic const char * const cam_mclk_groups[] = {
7338c2ecf20Sopenharmony_ci	"gpio13", "gpio14", "gpio15", "gpio16",
7348c2ecf20Sopenharmony_ci};
7358c2ecf20Sopenharmony_cistatic const char * const pll_bypassnl_groups[] = {
7368c2ecf20Sopenharmony_ci	"gpio13",
7378c2ecf20Sopenharmony_ci};
7388c2ecf20Sopenharmony_cistatic const char * const qdss_groups[] = {
7398c2ecf20Sopenharmony_ci	"gpio13", "gpio14", "gpio15", "gpio16", "gpio17", "gpio18", "gpio19",
7408c2ecf20Sopenharmony_ci	"gpio20", "gpio21", "gpio22", "gpio23", "gpio24", "gpio25", "gpio26",
7418c2ecf20Sopenharmony_ci	"gpio27", "gpio28", "gpio29", "gpio30", "gpio41", "gpio42", "gpio43",
7428c2ecf20Sopenharmony_ci	"gpio44", "gpio75", "gpio76", "gpio77", "gpio79", "gpio80", "gpio93",
7438c2ecf20Sopenharmony_ci	"gpio117", "gpio118", "gpio119", "gpio120", "gpio121", "gpio122",
7448c2ecf20Sopenharmony_ci	"gpio123", "gpio124",
7458c2ecf20Sopenharmony_ci};
7468c2ecf20Sopenharmony_cistatic const char * const pll_reset_groups[] = {
7478c2ecf20Sopenharmony_ci	"gpio14",
7488c2ecf20Sopenharmony_ci};
7498c2ecf20Sopenharmony_cistatic const char * const cci_i2c_groups[] = {
7508c2ecf20Sopenharmony_ci	"gpio17", "gpio18", "gpio19", "gpio20",
7518c2ecf20Sopenharmony_ci};
7528c2ecf20Sopenharmony_cistatic const char * const phase_flag_groups[] = {
7538c2ecf20Sopenharmony_ci	"gpio18", "gpio19", "gpio73", "gpio74", "gpio75", "gpio76", "gpio77",
7548c2ecf20Sopenharmony_ci	"gpio89", "gpio91", "gpio92", "gpio96", "gpio114", "gpio115",
7558c2ecf20Sopenharmony_ci	"gpio116", "gpio117", "gpio118", "gpio119", "gpio120", "gpio121",
7568c2ecf20Sopenharmony_ci	"gpio122", "gpio123", "gpio124", "gpio125", "gpio126", "gpio128",
7578c2ecf20Sopenharmony_ci	"gpio129", "gpio130", "gpio131", "gpio132", "gpio133", "gpio134",
7588c2ecf20Sopenharmony_ci};
7598c2ecf20Sopenharmony_cistatic const char * const cci_timer4_groups[] = {
7608c2ecf20Sopenharmony_ci	"gpio25",
7618c2ecf20Sopenharmony_ci};
7628c2ecf20Sopenharmony_cistatic const char * const blsp2_spi_groups[] = {
7638c2ecf20Sopenharmony_ci	"gpio25", "gpio29", "gpio30",
7648c2ecf20Sopenharmony_ci};
7658c2ecf20Sopenharmony_cistatic const char * const cci_timer0_groups[] = {
7668c2ecf20Sopenharmony_ci	"gpio21",
7678c2ecf20Sopenharmony_ci};
7688c2ecf20Sopenharmony_cistatic const char * const vsense_data0_groups[] = {
7698c2ecf20Sopenharmony_ci	"gpio21",
7708c2ecf20Sopenharmony_ci};
7718c2ecf20Sopenharmony_cistatic const char * const cci_timer1_groups[] = {
7728c2ecf20Sopenharmony_ci	"gpio22",
7738c2ecf20Sopenharmony_ci};
7748c2ecf20Sopenharmony_cistatic const char * const vsense_data1_groups[] = {
7758c2ecf20Sopenharmony_ci	"gpio22",
7768c2ecf20Sopenharmony_ci};
7778c2ecf20Sopenharmony_cistatic const char * const cci_timer2_groups[] = {
7788c2ecf20Sopenharmony_ci	"gpio23",
7798c2ecf20Sopenharmony_ci};
7808c2ecf20Sopenharmony_cistatic const char * const blsp1_spi_b_groups[] = {
7818c2ecf20Sopenharmony_ci	"gpio23", "gpio28",
7828c2ecf20Sopenharmony_ci};
7838c2ecf20Sopenharmony_cistatic const char * const vsense_mode_groups[] = {
7848c2ecf20Sopenharmony_ci	"gpio23",
7858c2ecf20Sopenharmony_ci};
7868c2ecf20Sopenharmony_cistatic const char * const cci_timer3_groups[] = {
7878c2ecf20Sopenharmony_ci	"gpio24",
7888c2ecf20Sopenharmony_ci};
7898c2ecf20Sopenharmony_cistatic const char * const cci_async_groups[] = {
7908c2ecf20Sopenharmony_ci	"gpio24", "gpio25", "gpio26",
7918c2ecf20Sopenharmony_ci};
7928c2ecf20Sopenharmony_cistatic const char * const blsp1_spi_a_groups[] = {
7938c2ecf20Sopenharmony_ci	"gpio24", "gpio27",
7948c2ecf20Sopenharmony_ci};
7958c2ecf20Sopenharmony_cistatic const char * const vsense_clkout_groups[] = {
7968c2ecf20Sopenharmony_ci	"gpio24",
7978c2ecf20Sopenharmony_ci};
7988c2ecf20Sopenharmony_cistatic const char * const hdmi_rcv_groups[] = {
7998c2ecf20Sopenharmony_ci	"gpio30",
8008c2ecf20Sopenharmony_ci};
8018c2ecf20Sopenharmony_cistatic const char * const hdmi_cec_groups[] = {
8028c2ecf20Sopenharmony_ci	"gpio31",
8038c2ecf20Sopenharmony_ci};
8048c2ecf20Sopenharmony_cistatic const char * const blsp_spi2_groups[] = {
8058c2ecf20Sopenharmony_ci	"gpio31", "gpio32", "gpio33", "gpio34",
8068c2ecf20Sopenharmony_ci};
8078c2ecf20Sopenharmony_cistatic const char * const blsp_uart2_a_groups[] = {
8088c2ecf20Sopenharmony_ci	"gpio31", "gpio32", "gpio33", "gpio34",
8098c2ecf20Sopenharmony_ci};
8108c2ecf20Sopenharmony_cistatic const char * const blsp_uim2_a_groups[] = {
8118c2ecf20Sopenharmony_ci	"gpio31", "gpio34",
8128c2ecf20Sopenharmony_ci};
8138c2ecf20Sopenharmony_cistatic const char * const pwr_modem_groups[] = {
8148c2ecf20Sopenharmony_ci	"gpio31",
8158c2ecf20Sopenharmony_ci};
8168c2ecf20Sopenharmony_cistatic const char * const hdmi_ddc_groups[] = {
8178c2ecf20Sopenharmony_ci	"gpio32", "gpio33",
8188c2ecf20Sopenharmony_ci};
8198c2ecf20Sopenharmony_cistatic const char * const blsp_i2c2_groups[] = {
8208c2ecf20Sopenharmony_ci	"gpio32", "gpio33",
8218c2ecf20Sopenharmony_ci};
8228c2ecf20Sopenharmony_cistatic const char * const pwr_nav_groups[] = {
8238c2ecf20Sopenharmony_ci	"gpio32",
8248c2ecf20Sopenharmony_ci};
8258c2ecf20Sopenharmony_cistatic const char * const pwr_crypto_groups[] = {
8268c2ecf20Sopenharmony_ci	"gpio33",
8278c2ecf20Sopenharmony_ci};
8288c2ecf20Sopenharmony_cistatic const char * const hdmi_hot_groups[] = {
8298c2ecf20Sopenharmony_ci	"gpio34",
8308c2ecf20Sopenharmony_ci};
8318c2ecf20Sopenharmony_cistatic const char * const edp_hot_groups[] = {
8328c2ecf20Sopenharmony_ci	"gpio34",
8338c2ecf20Sopenharmony_ci};
8348c2ecf20Sopenharmony_cistatic const char * const pci_e0_groups[] = {
8358c2ecf20Sopenharmony_ci	"gpio35", "gpio36", "gpio37",
8368c2ecf20Sopenharmony_ci};
8378c2ecf20Sopenharmony_cistatic const char * const jitter_bist_groups[] = {
8388c2ecf20Sopenharmony_ci	"gpio35",
8398c2ecf20Sopenharmony_ci};
8408c2ecf20Sopenharmony_cistatic const char * const agera_pll_groups[] = {
8418c2ecf20Sopenharmony_ci	"gpio36", "gpio37",
8428c2ecf20Sopenharmony_ci};
8438c2ecf20Sopenharmony_cistatic const char * const atest_tsens_groups[] = {
8448c2ecf20Sopenharmony_ci	"gpio36",
8458c2ecf20Sopenharmony_ci};
8468c2ecf20Sopenharmony_cistatic const char * const usb_phy_groups[] = {
8478c2ecf20Sopenharmony_ci	"gpio38",
8488c2ecf20Sopenharmony_ci};
8498c2ecf20Sopenharmony_cistatic const char * const lpass_slimbus_groups[] = {
8508c2ecf20Sopenharmony_ci	"gpio39", "gpio70", "gpio71", "gpio72",
8518c2ecf20Sopenharmony_ci};
8528c2ecf20Sopenharmony_cistatic const char * const sd_write_groups[] = {
8538c2ecf20Sopenharmony_ci	"gpio40",
8548c2ecf20Sopenharmony_ci};
8558c2ecf20Sopenharmony_cistatic const char * const blsp_spi6_groups[] = {
8568c2ecf20Sopenharmony_ci	"gpio41", "gpio42", "gpio43", "gpio44",
8578c2ecf20Sopenharmony_ci};
8588c2ecf20Sopenharmony_cistatic const char * const blsp_uart3_b_groups[] = {
8598c2ecf20Sopenharmony_ci	"gpio41", "gpio42", "gpio43", "gpio44",
8608c2ecf20Sopenharmony_ci};
8618c2ecf20Sopenharmony_cistatic const char * const blsp_uim3_b_groups[] = {
8628c2ecf20Sopenharmony_ci	"gpio41", "gpio42",
8638c2ecf20Sopenharmony_ci};
8648c2ecf20Sopenharmony_cistatic const char * const blsp_i2c6_groups[] = {
8658c2ecf20Sopenharmony_ci	"gpio43", "gpio44",
8668c2ecf20Sopenharmony_ci};
8678c2ecf20Sopenharmony_cistatic const char * const bt_reset_groups[] = {
8688c2ecf20Sopenharmony_ci	"gpio45",
8698c2ecf20Sopenharmony_ci};
8708c2ecf20Sopenharmony_cistatic const char * const blsp_spi3_groups[] = {
8718c2ecf20Sopenharmony_ci	"gpio45", "gpio46", "gpio47", "gpio48",
8728c2ecf20Sopenharmony_ci};
8738c2ecf20Sopenharmony_cistatic const char * const blsp_uart3_a_groups[] = {
8748c2ecf20Sopenharmony_ci	"gpio45", "gpio46", "gpio47", "gpio48",
8758c2ecf20Sopenharmony_ci};
8768c2ecf20Sopenharmony_cistatic const char * const blsp_uim3_a_groups[] = {
8778c2ecf20Sopenharmony_ci	"gpio45", "gpio46",
8788c2ecf20Sopenharmony_ci};
8798c2ecf20Sopenharmony_cistatic const char * const blsp_i2c3_groups[] = {
8808c2ecf20Sopenharmony_ci	"gpio47", "gpio48",
8818c2ecf20Sopenharmony_ci};
8828c2ecf20Sopenharmony_cistatic const char * const blsp_spi9_groups[] = {
8838c2ecf20Sopenharmony_ci	"gpio49", "gpio50", "gpio51", "gpio52",
8848c2ecf20Sopenharmony_ci};
8858c2ecf20Sopenharmony_cistatic const char * const blsp_uart9_a_groups[] = {
8868c2ecf20Sopenharmony_ci	"gpio49", "gpio50", "gpio51", "gpio52",
8878c2ecf20Sopenharmony_ci};
8888c2ecf20Sopenharmony_cistatic const char * const blsp_uim9_a_groups[] = {
8898c2ecf20Sopenharmony_ci	"gpio49", "gpio50",
8908c2ecf20Sopenharmony_ci};
8918c2ecf20Sopenharmony_cistatic const char * const blsp10_spi_b_groups[] = {
8928c2ecf20Sopenharmony_ci	"gpio49", "gpio50",
8938c2ecf20Sopenharmony_ci};
8948c2ecf20Sopenharmony_cistatic const char * const qdss_cti0_a_groups[] = {
8958c2ecf20Sopenharmony_ci	"gpio49", "gpio50",
8968c2ecf20Sopenharmony_ci};
8978c2ecf20Sopenharmony_cistatic const char * const blsp_i2c9_groups[] = {
8988c2ecf20Sopenharmony_ci	"gpio51", "gpio52",
8998c2ecf20Sopenharmony_ci};
9008c2ecf20Sopenharmony_cistatic const char * const blsp10_spi_a_groups[] = {
9018c2ecf20Sopenharmony_ci	"gpio51", "gpio52",
9028c2ecf20Sopenharmony_ci};
9038c2ecf20Sopenharmony_cistatic const char * const blsp_spi7_groups[] = {
9048c2ecf20Sopenharmony_ci	"gpio53", "gpio54", "gpio55", "gpio56",
9058c2ecf20Sopenharmony_ci};
9068c2ecf20Sopenharmony_cistatic const char * const blsp_uart7_a_groups[] = {
9078c2ecf20Sopenharmony_ci	"gpio53", "gpio54", "gpio55", "gpio56",
9088c2ecf20Sopenharmony_ci};
9098c2ecf20Sopenharmony_cistatic const char * const blsp_uim7_a_groups[] = {
9108c2ecf20Sopenharmony_ci	"gpio53", "gpio54",
9118c2ecf20Sopenharmony_ci};
9128c2ecf20Sopenharmony_cistatic const char * const blsp_i2c7_groups[] = {
9138c2ecf20Sopenharmony_ci	"gpio55", "gpio56",
9148c2ecf20Sopenharmony_ci};
9158c2ecf20Sopenharmony_cistatic const char * const qua_mi2s_groups[] = {
9168c2ecf20Sopenharmony_ci	"gpio57", "gpio58", "gpio59", "gpio60", "gpio61", "gpio62", "gpio63",
9178c2ecf20Sopenharmony_ci};
9188c2ecf20Sopenharmony_cistatic const char * const blsp10_spi_groups[] = {
9198c2ecf20Sopenharmony_ci	"gpio57",
9208c2ecf20Sopenharmony_ci};
9218c2ecf20Sopenharmony_cistatic const char * const gcc_gp1_a_groups[] = {
9228c2ecf20Sopenharmony_ci	"gpio57",
9238c2ecf20Sopenharmony_ci};
9248c2ecf20Sopenharmony_cistatic const char * const ssc_irq_groups[] = {
9258c2ecf20Sopenharmony_ci	"gpio58", "gpio59", "gpio60", "gpio61", "gpio62", "gpio63", "gpio78",
9268c2ecf20Sopenharmony_ci	"gpio79", "gpio80", "gpio117", "gpio118", "gpio119", "gpio120",
9278c2ecf20Sopenharmony_ci	"gpio121", "gpio122", "gpio123", "gpio124", "gpio125",
9288c2ecf20Sopenharmony_ci};
9298c2ecf20Sopenharmony_cistatic const char * const blsp_spi11_groups[] = {
9308c2ecf20Sopenharmony_ci	"gpio58", "gpio59", "gpio60", "gpio61",
9318c2ecf20Sopenharmony_ci};
9328c2ecf20Sopenharmony_cistatic const char * const blsp_uart8_b_groups[] = {
9338c2ecf20Sopenharmony_ci	"gpio58", "gpio59", "gpio60", "gpio61",
9348c2ecf20Sopenharmony_ci};
9358c2ecf20Sopenharmony_cistatic const char * const blsp_uim8_b_groups[] = {
9368c2ecf20Sopenharmony_ci	"gpio58", "gpio59",
9378c2ecf20Sopenharmony_ci};
9388c2ecf20Sopenharmony_cistatic const char * const gcc_gp2_a_groups[] = {
9398c2ecf20Sopenharmony_ci	"gpio58",
9408c2ecf20Sopenharmony_ci};
9418c2ecf20Sopenharmony_cistatic const char * const qdss_cti1_a_groups[] = {
9428c2ecf20Sopenharmony_ci	"gpio58", "gpio59",
9438c2ecf20Sopenharmony_ci};
9448c2ecf20Sopenharmony_cistatic const char * const gcc_gp3_a_groups[] = {
9458c2ecf20Sopenharmony_ci	"gpio59",
9468c2ecf20Sopenharmony_ci};
9478c2ecf20Sopenharmony_cistatic const char * const blsp_i2c11_groups[] = {
9488c2ecf20Sopenharmony_ci	"gpio60", "gpio61",
9498c2ecf20Sopenharmony_ci};
9508c2ecf20Sopenharmony_cistatic const char * const cri_trng0_groups[] = {
9518c2ecf20Sopenharmony_ci	"gpio60",
9528c2ecf20Sopenharmony_ci};
9538c2ecf20Sopenharmony_cistatic const char * const cri_trng1_groups[] = {
9548c2ecf20Sopenharmony_ci	"gpio61",
9558c2ecf20Sopenharmony_ci};
9568c2ecf20Sopenharmony_cistatic const char * const cri_trng_groups[] = {
9578c2ecf20Sopenharmony_ci	"gpio62",
9588c2ecf20Sopenharmony_ci};
9598c2ecf20Sopenharmony_cistatic const char * const pri_mi2s_groups[] = {
9608c2ecf20Sopenharmony_ci	"gpio64", "gpio65", "gpio67", "gpio68",
9618c2ecf20Sopenharmony_ci};
9628c2ecf20Sopenharmony_cistatic const char * const sp_cmu_groups[] = {
9638c2ecf20Sopenharmony_ci	"gpio64",
9648c2ecf20Sopenharmony_ci};
9658c2ecf20Sopenharmony_cistatic const char * const blsp_spi10_groups[] = {
9668c2ecf20Sopenharmony_ci	"gpio65", "gpio66", "gpio67", "gpio68",
9678c2ecf20Sopenharmony_ci};
9688c2ecf20Sopenharmony_cistatic const char * const blsp_uart7_b_groups[] = {
9698c2ecf20Sopenharmony_ci	"gpio65", "gpio66", "gpio67", "gpio68",
9708c2ecf20Sopenharmony_ci};
9718c2ecf20Sopenharmony_cistatic const char * const blsp_uim7_b_groups[] = {
9728c2ecf20Sopenharmony_ci	"gpio65", "gpio66",
9738c2ecf20Sopenharmony_ci};
9748c2ecf20Sopenharmony_cistatic const char * const pri_mi2s_ws_groups[] = {
9758c2ecf20Sopenharmony_ci	"gpio66",
9768c2ecf20Sopenharmony_ci};
9778c2ecf20Sopenharmony_cistatic const char * const blsp_i2c10_groups[] = {
9788c2ecf20Sopenharmony_ci	"gpio67", "gpio68",
9798c2ecf20Sopenharmony_ci};
9808c2ecf20Sopenharmony_cistatic const char * const spkr_i2s_groups[] = {
9818c2ecf20Sopenharmony_ci	"gpio69", "gpio70", "gpio71", "gpio72",
9828c2ecf20Sopenharmony_ci};
9838c2ecf20Sopenharmony_cistatic const char * const audio_ref_groups[] = {
9848c2ecf20Sopenharmony_ci	"gpio69",
9858c2ecf20Sopenharmony_ci};
9868c2ecf20Sopenharmony_cistatic const char * const blsp9_spi_groups[] = {
9878c2ecf20Sopenharmony_ci	"gpio70", "gpio71", "gpio72",
9888c2ecf20Sopenharmony_ci};
9898c2ecf20Sopenharmony_cistatic const char * const tsense_pwm1_groups[] = {
9908c2ecf20Sopenharmony_ci	"gpio71",
9918c2ecf20Sopenharmony_ci};
9928c2ecf20Sopenharmony_cistatic const char * const tsense_pwm2_groups[] = {
9938c2ecf20Sopenharmony_ci	"gpio71",
9948c2ecf20Sopenharmony_ci};
9958c2ecf20Sopenharmony_cistatic const char * const btfm_slimbus_groups[] = {
9968c2ecf20Sopenharmony_ci	"gpio73", "gpio74",
9978c2ecf20Sopenharmony_ci};
9988c2ecf20Sopenharmony_cistatic const char * const ter_mi2s_groups[] = {
9998c2ecf20Sopenharmony_ci	"gpio74", "gpio75", "gpio76", "gpio77", "gpio78",
10008c2ecf20Sopenharmony_ci};
10018c2ecf20Sopenharmony_cistatic const char * const gcc_gp1_b_groups[] = {
10028c2ecf20Sopenharmony_ci	"gpio78",
10038c2ecf20Sopenharmony_ci};
10048c2ecf20Sopenharmony_cistatic const char * const sec_mi2s_groups[] = {
10058c2ecf20Sopenharmony_ci	"gpio79", "gpio80", "gpio81", "gpio82", "gpio83",
10068c2ecf20Sopenharmony_ci};
10078c2ecf20Sopenharmony_cistatic const char * const blsp_spi12_groups[] = {
10088c2ecf20Sopenharmony_ci	"gpio81", "gpio82", "gpio83", "gpio84",
10098c2ecf20Sopenharmony_ci};
10108c2ecf20Sopenharmony_cistatic const char * const blsp_uart9_b_groups[] = {
10118c2ecf20Sopenharmony_ci	"gpio81", "gpio82", "gpio83", "gpio84",
10128c2ecf20Sopenharmony_ci};
10138c2ecf20Sopenharmony_cistatic const char * const blsp_uim9_b_groups[] = {
10148c2ecf20Sopenharmony_ci	"gpio81", "gpio82",
10158c2ecf20Sopenharmony_ci};
10168c2ecf20Sopenharmony_cistatic const char * const gcc_gp2_b_groups[] = {
10178c2ecf20Sopenharmony_ci	"gpio81",
10188c2ecf20Sopenharmony_ci};
10198c2ecf20Sopenharmony_cistatic const char * const gcc_gp3_b_groups[] = {
10208c2ecf20Sopenharmony_ci	"gpio82",
10218c2ecf20Sopenharmony_ci};
10228c2ecf20Sopenharmony_cistatic const char * const blsp_i2c12_groups[] = {
10238c2ecf20Sopenharmony_ci	"gpio83", "gpio84",
10248c2ecf20Sopenharmony_ci};
10258c2ecf20Sopenharmony_cistatic const char * const blsp_spi5_groups[] = {
10268c2ecf20Sopenharmony_ci	"gpio85", "gpio86", "gpio87", "gpio88",
10278c2ecf20Sopenharmony_ci};
10288c2ecf20Sopenharmony_cistatic const char * const blsp_uart2_b_groups[] = {
10298c2ecf20Sopenharmony_ci	"gpio85", "gpio86", "gpio87", "gpio88",
10308c2ecf20Sopenharmony_ci};
10318c2ecf20Sopenharmony_cistatic const char * const blsp_uim2_b_groups[] = {
10328c2ecf20Sopenharmony_ci	"gpio85", "gpio86",
10338c2ecf20Sopenharmony_ci};
10348c2ecf20Sopenharmony_cistatic const char * const blsp_i2c5_groups[] = {
10358c2ecf20Sopenharmony_ci	"gpio87", "gpio88",
10368c2ecf20Sopenharmony_ci};
10378c2ecf20Sopenharmony_cistatic const char * const tsif0_groups[] = {
10388c2ecf20Sopenharmony_ci	"gpio9", "gpio40", "gpio89", "gpio90", "gpio91",
10398c2ecf20Sopenharmony_ci};
10408c2ecf20Sopenharmony_cistatic const char * const mdp_vsync0_groups[] = {
10418c2ecf20Sopenharmony_ci	"gpio90",
10428c2ecf20Sopenharmony_ci};
10438c2ecf20Sopenharmony_cistatic const char * const mdp_vsync1_groups[] = {
10448c2ecf20Sopenharmony_ci	"gpio90",
10458c2ecf20Sopenharmony_ci};
10468c2ecf20Sopenharmony_cistatic const char * const mdp_vsync2_groups[] = {
10478c2ecf20Sopenharmony_ci	"gpio90",
10488c2ecf20Sopenharmony_ci};
10498c2ecf20Sopenharmony_cistatic const char * const mdp_vsync3_groups[] = {
10508c2ecf20Sopenharmony_ci	"gpio90",
10518c2ecf20Sopenharmony_ci};
10528c2ecf20Sopenharmony_cistatic const char * const blsp1_spi_groups[] = {
10538c2ecf20Sopenharmony_ci	"gpio90",
10548c2ecf20Sopenharmony_ci};
10558c2ecf20Sopenharmony_cistatic const char * const tgu_ch0_groups[] = {
10568c2ecf20Sopenharmony_ci	"gpio90",
10578c2ecf20Sopenharmony_ci};
10588c2ecf20Sopenharmony_cistatic const char * const qdss_cti1_b_groups[] = {
10598c2ecf20Sopenharmony_ci	"gpio90", "gpio91",
10608c2ecf20Sopenharmony_ci};
10618c2ecf20Sopenharmony_cistatic const char * const sdc4_cmd_groups[] = {
10628c2ecf20Sopenharmony_ci	"gpio91",
10638c2ecf20Sopenharmony_ci};
10648c2ecf20Sopenharmony_cistatic const char * const tgu_ch1_groups[] = {
10658c2ecf20Sopenharmony_ci	"gpio91",
10668c2ecf20Sopenharmony_ci};
10678c2ecf20Sopenharmony_cistatic const char * const tsif1_groups[] = {
10688c2ecf20Sopenharmony_ci	"gpio92", "gpio93", "gpio94", "gpio95", "gpio96",
10698c2ecf20Sopenharmony_ci};
10708c2ecf20Sopenharmony_cistatic const char * const sdc43_groups[] = {
10718c2ecf20Sopenharmony_ci	"gpio92",
10728c2ecf20Sopenharmony_ci};
10738c2ecf20Sopenharmony_cistatic const char * const vfr_1_groups[] = {
10748c2ecf20Sopenharmony_ci	"gpio92",
10758c2ecf20Sopenharmony_ci};
10768c2ecf20Sopenharmony_cistatic const char * const sdc4_clk_groups[] = {
10778c2ecf20Sopenharmony_ci	"gpio93",
10788c2ecf20Sopenharmony_ci};
10798c2ecf20Sopenharmony_cistatic const char * const sdc42_groups[] = {
10808c2ecf20Sopenharmony_ci	"gpio94",
10818c2ecf20Sopenharmony_ci};
10828c2ecf20Sopenharmony_cistatic const char * const sd_card_groups[] = {
10838c2ecf20Sopenharmony_ci	"gpio95",
10848c2ecf20Sopenharmony_ci};
10858c2ecf20Sopenharmony_cistatic const char * const sdc41_groups[] = {
10868c2ecf20Sopenharmony_ci	"gpio95",
10878c2ecf20Sopenharmony_ci};
10888c2ecf20Sopenharmony_cistatic const char * const sdc40_groups[] = {
10898c2ecf20Sopenharmony_ci	"gpio96",
10908c2ecf20Sopenharmony_ci};
10918c2ecf20Sopenharmony_cistatic const char * const mdp_vsync_b_groups[] = {
10928c2ecf20Sopenharmony_ci	"gpio97", "gpio98",
10938c2ecf20Sopenharmony_ci};
10948c2ecf20Sopenharmony_cistatic const char * const ldo_en_groups[] = {
10958c2ecf20Sopenharmony_ci	"gpio97",
10968c2ecf20Sopenharmony_ci};
10978c2ecf20Sopenharmony_cistatic const char * const ldo_update_groups[] = {
10988c2ecf20Sopenharmony_ci	"gpio98",
10998c2ecf20Sopenharmony_ci};
11008c2ecf20Sopenharmony_cistatic const char * const blsp_uart8_groups[] = {
11018c2ecf20Sopenharmony_ci	"gpio100", "gpio101",
11028c2ecf20Sopenharmony_ci};
11038c2ecf20Sopenharmony_cistatic const char * const blsp11_i2c_groups[] = {
11048c2ecf20Sopenharmony_ci	"gpio102", "gpio103",
11058c2ecf20Sopenharmony_ci};
11068c2ecf20Sopenharmony_cistatic const char * const prng_rosc_groups[] = {
11078c2ecf20Sopenharmony_ci	"gpio102",
11088c2ecf20Sopenharmony_ci};
11098c2ecf20Sopenharmony_cistatic const char * const uim2_data_groups[] = {
11108c2ecf20Sopenharmony_ci	"gpio105",
11118c2ecf20Sopenharmony_ci};
11128c2ecf20Sopenharmony_cistatic const char * const uim2_clk_groups[] = {
11138c2ecf20Sopenharmony_ci	"gpio106",
11148c2ecf20Sopenharmony_ci};
11158c2ecf20Sopenharmony_cistatic const char * const uim2_reset_groups[] = {
11168c2ecf20Sopenharmony_ci	"gpio107",
11178c2ecf20Sopenharmony_ci};
11188c2ecf20Sopenharmony_cistatic const char * const uim2_present_groups[] = {
11198c2ecf20Sopenharmony_ci	"gpio108",
11208c2ecf20Sopenharmony_ci};
11218c2ecf20Sopenharmony_cistatic const char * const uim1_data_groups[] = {
11228c2ecf20Sopenharmony_ci	"gpio109",
11238c2ecf20Sopenharmony_ci};
11248c2ecf20Sopenharmony_cistatic const char * const uim1_clk_groups[] = {
11258c2ecf20Sopenharmony_ci	"gpio110",
11268c2ecf20Sopenharmony_ci};
11278c2ecf20Sopenharmony_cistatic const char * const uim1_reset_groups[] = {
11288c2ecf20Sopenharmony_ci	"gpio111",
11298c2ecf20Sopenharmony_ci};
11308c2ecf20Sopenharmony_cistatic const char * const uim1_present_groups[] = {
11318c2ecf20Sopenharmony_ci	"gpio112",
11328c2ecf20Sopenharmony_ci};
11338c2ecf20Sopenharmony_cistatic const char * const uim_batt_groups[] = {
11348c2ecf20Sopenharmony_ci	"gpio113",
11358c2ecf20Sopenharmony_ci};
11368c2ecf20Sopenharmony_cistatic const char * const nav_dr_groups[] = {
11378c2ecf20Sopenharmony_ci	"gpio115",
11388c2ecf20Sopenharmony_ci};
11398c2ecf20Sopenharmony_cistatic const char * const atest_char_groups[] = {
11408c2ecf20Sopenharmony_ci	"gpio117", "gpio118", "gpio119", "gpio120", "gpio121",
11418c2ecf20Sopenharmony_ci};
11428c2ecf20Sopenharmony_cistatic const char * const adsp_ext_groups[] = {
11438c2ecf20Sopenharmony_ci	"gpio118",
11448c2ecf20Sopenharmony_ci};
11458c2ecf20Sopenharmony_cistatic const char * const modem_tsync_groups[] = {
11468c2ecf20Sopenharmony_ci	"gpio128",
11478c2ecf20Sopenharmony_ci};
11488c2ecf20Sopenharmony_cistatic const char * const nav_pps_groups[] = {
11498c2ecf20Sopenharmony_ci	"gpio128",
11508c2ecf20Sopenharmony_ci};
11518c2ecf20Sopenharmony_cistatic const char * const qlink_request_groups[] = {
11528c2ecf20Sopenharmony_ci	"gpio130",
11538c2ecf20Sopenharmony_ci};
11548c2ecf20Sopenharmony_cistatic const char * const qlink_enable_groups[] = {
11558c2ecf20Sopenharmony_ci	"gpio131",
11568c2ecf20Sopenharmony_ci};
11578c2ecf20Sopenharmony_cistatic const char * const pa_indicator_groups[] = {
11588c2ecf20Sopenharmony_ci	"gpio135",
11598c2ecf20Sopenharmony_ci};
11608c2ecf20Sopenharmony_cistatic const char * const ssbi1_groups[] = {
11618c2ecf20Sopenharmony_ci	"gpio142",
11628c2ecf20Sopenharmony_ci};
11638c2ecf20Sopenharmony_cistatic const char * const isense_dbg_groups[] = {
11648c2ecf20Sopenharmony_ci	"gpio143",
11658c2ecf20Sopenharmony_ci};
11668c2ecf20Sopenharmony_cistatic const char * const mss_lte_groups[] = {
11678c2ecf20Sopenharmony_ci	"gpio144", "gpio145",
11688c2ecf20Sopenharmony_ci};
11698c2ecf20Sopenharmony_ci
11708c2ecf20Sopenharmony_cistatic const struct msm_function msm8998_functions[] = {
11718c2ecf20Sopenharmony_ci	FUNCTION(gpio),
11728c2ecf20Sopenharmony_ci	FUNCTION(adsp_ext),
11738c2ecf20Sopenharmony_ci	FUNCTION(agera_pll),
11748c2ecf20Sopenharmony_ci	FUNCTION(atest_char),
11758c2ecf20Sopenharmony_ci	FUNCTION(atest_gpsadc0),
11768c2ecf20Sopenharmony_ci	FUNCTION(atest_gpsadc1),
11778c2ecf20Sopenharmony_ci	FUNCTION(atest_tsens),
11788c2ecf20Sopenharmony_ci	FUNCTION(atest_tsens2),
11798c2ecf20Sopenharmony_ci	FUNCTION(atest_usb1),
11808c2ecf20Sopenharmony_ci	FUNCTION(atest_usb10),
11818c2ecf20Sopenharmony_ci	FUNCTION(atest_usb11),
11828c2ecf20Sopenharmony_ci	FUNCTION(atest_usb12),
11838c2ecf20Sopenharmony_ci	FUNCTION(atest_usb13),
11848c2ecf20Sopenharmony_ci	FUNCTION(audio_ref),
11858c2ecf20Sopenharmony_ci	FUNCTION(bimc_dte0),
11868c2ecf20Sopenharmony_ci	FUNCTION(bimc_dte1),
11878c2ecf20Sopenharmony_ci	FUNCTION(blsp10_spi),
11888c2ecf20Sopenharmony_ci	FUNCTION(blsp10_spi_a),
11898c2ecf20Sopenharmony_ci	FUNCTION(blsp10_spi_b),
11908c2ecf20Sopenharmony_ci	FUNCTION(blsp11_i2c),
11918c2ecf20Sopenharmony_ci	FUNCTION(blsp1_spi),
11928c2ecf20Sopenharmony_ci	FUNCTION(blsp1_spi_a),
11938c2ecf20Sopenharmony_ci	FUNCTION(blsp1_spi_b),
11948c2ecf20Sopenharmony_ci	FUNCTION(blsp2_spi),
11958c2ecf20Sopenharmony_ci	FUNCTION(blsp9_spi),
11968c2ecf20Sopenharmony_ci	FUNCTION(blsp_i2c1),
11978c2ecf20Sopenharmony_ci	FUNCTION(blsp_i2c2),
11988c2ecf20Sopenharmony_ci	FUNCTION(blsp_i2c3),
11998c2ecf20Sopenharmony_ci	FUNCTION(blsp_i2c4),
12008c2ecf20Sopenharmony_ci	FUNCTION(blsp_i2c5),
12018c2ecf20Sopenharmony_ci	FUNCTION(blsp_i2c6),
12028c2ecf20Sopenharmony_ci	FUNCTION(blsp_i2c7),
12038c2ecf20Sopenharmony_ci	FUNCTION(blsp_i2c8),
12048c2ecf20Sopenharmony_ci	FUNCTION(blsp_i2c9),
12058c2ecf20Sopenharmony_ci	FUNCTION(blsp_i2c10),
12068c2ecf20Sopenharmony_ci	FUNCTION(blsp_i2c11),
12078c2ecf20Sopenharmony_ci	FUNCTION(blsp_i2c12),
12088c2ecf20Sopenharmony_ci	FUNCTION(blsp_spi1),
12098c2ecf20Sopenharmony_ci	FUNCTION(blsp_spi2),
12108c2ecf20Sopenharmony_ci	FUNCTION(blsp_spi3),
12118c2ecf20Sopenharmony_ci	FUNCTION(blsp_spi4),
12128c2ecf20Sopenharmony_ci	FUNCTION(blsp_spi5),
12138c2ecf20Sopenharmony_ci	FUNCTION(blsp_spi6),
12148c2ecf20Sopenharmony_ci	FUNCTION(blsp_spi7),
12158c2ecf20Sopenharmony_ci	FUNCTION(blsp_spi8),
12168c2ecf20Sopenharmony_ci	FUNCTION(blsp_spi9),
12178c2ecf20Sopenharmony_ci	FUNCTION(blsp_spi10),
12188c2ecf20Sopenharmony_ci	FUNCTION(blsp_spi11),
12198c2ecf20Sopenharmony_ci	FUNCTION(blsp_spi12),
12208c2ecf20Sopenharmony_ci	FUNCTION(blsp_uart1_a),
12218c2ecf20Sopenharmony_ci	FUNCTION(blsp_uart1_b),
12228c2ecf20Sopenharmony_ci	FUNCTION(blsp_uart2_a),
12238c2ecf20Sopenharmony_ci	FUNCTION(blsp_uart2_b),
12248c2ecf20Sopenharmony_ci	FUNCTION(blsp_uart3_a),
12258c2ecf20Sopenharmony_ci	FUNCTION(blsp_uart3_b),
12268c2ecf20Sopenharmony_ci	FUNCTION(blsp_uart7_a),
12278c2ecf20Sopenharmony_ci	FUNCTION(blsp_uart7_b),
12288c2ecf20Sopenharmony_ci	FUNCTION(blsp_uart8),
12298c2ecf20Sopenharmony_ci	FUNCTION(blsp_uart8_a),
12308c2ecf20Sopenharmony_ci	FUNCTION(blsp_uart8_b),
12318c2ecf20Sopenharmony_ci	FUNCTION(blsp_uart9_a),
12328c2ecf20Sopenharmony_ci	FUNCTION(blsp_uart9_b),
12338c2ecf20Sopenharmony_ci	FUNCTION(blsp_uim1_a),
12348c2ecf20Sopenharmony_ci	FUNCTION(blsp_uim1_b),
12358c2ecf20Sopenharmony_ci	FUNCTION(blsp_uim2_a),
12368c2ecf20Sopenharmony_ci	FUNCTION(blsp_uim2_b),
12378c2ecf20Sopenharmony_ci	FUNCTION(blsp_uim3_a),
12388c2ecf20Sopenharmony_ci	FUNCTION(blsp_uim3_b),
12398c2ecf20Sopenharmony_ci	FUNCTION(blsp_uim7_a),
12408c2ecf20Sopenharmony_ci	FUNCTION(blsp_uim7_b),
12418c2ecf20Sopenharmony_ci	FUNCTION(blsp_uim8_a),
12428c2ecf20Sopenharmony_ci	FUNCTION(blsp_uim8_b),
12438c2ecf20Sopenharmony_ci	FUNCTION(blsp_uim9_a),
12448c2ecf20Sopenharmony_ci	FUNCTION(blsp_uim9_b),
12458c2ecf20Sopenharmony_ci	FUNCTION(bt_reset),
12468c2ecf20Sopenharmony_ci	FUNCTION(btfm_slimbus),
12478c2ecf20Sopenharmony_ci	FUNCTION(cam_mclk),
12488c2ecf20Sopenharmony_ci	FUNCTION(cci_async),
12498c2ecf20Sopenharmony_ci	FUNCTION(cci_i2c),
12508c2ecf20Sopenharmony_ci	FUNCTION(cci_timer0),
12518c2ecf20Sopenharmony_ci	FUNCTION(cci_timer1),
12528c2ecf20Sopenharmony_ci	FUNCTION(cci_timer2),
12538c2ecf20Sopenharmony_ci	FUNCTION(cci_timer3),
12548c2ecf20Sopenharmony_ci	FUNCTION(cci_timer4),
12558c2ecf20Sopenharmony_ci	FUNCTION(cri_trng),
12568c2ecf20Sopenharmony_ci	FUNCTION(cri_trng0),
12578c2ecf20Sopenharmony_ci	FUNCTION(cri_trng1),
12588c2ecf20Sopenharmony_ci	FUNCTION(dbg_out),
12598c2ecf20Sopenharmony_ci	FUNCTION(ddr_bist),
12608c2ecf20Sopenharmony_ci	FUNCTION(edp_hot),
12618c2ecf20Sopenharmony_ci	FUNCTION(edp_lcd),
12628c2ecf20Sopenharmony_ci	FUNCTION(gcc_gp1_a),
12638c2ecf20Sopenharmony_ci	FUNCTION(gcc_gp1_b),
12648c2ecf20Sopenharmony_ci	FUNCTION(gcc_gp2_a),
12658c2ecf20Sopenharmony_ci	FUNCTION(gcc_gp2_b),
12668c2ecf20Sopenharmony_ci	FUNCTION(gcc_gp3_a),
12678c2ecf20Sopenharmony_ci	FUNCTION(gcc_gp3_b),
12688c2ecf20Sopenharmony_ci	FUNCTION(hdmi_cec),
12698c2ecf20Sopenharmony_ci	FUNCTION(hdmi_ddc),
12708c2ecf20Sopenharmony_ci	FUNCTION(hdmi_hot),
12718c2ecf20Sopenharmony_ci	FUNCTION(hdmi_rcv),
12728c2ecf20Sopenharmony_ci	FUNCTION(isense_dbg),
12738c2ecf20Sopenharmony_ci	FUNCTION(jitter_bist),
12748c2ecf20Sopenharmony_ci	FUNCTION(ldo_en),
12758c2ecf20Sopenharmony_ci	FUNCTION(ldo_update),
12768c2ecf20Sopenharmony_ci	FUNCTION(lpass_slimbus),
12778c2ecf20Sopenharmony_ci	FUNCTION(m_voc),
12788c2ecf20Sopenharmony_ci	FUNCTION(mdp_vsync),
12798c2ecf20Sopenharmony_ci	FUNCTION(mdp_vsync0),
12808c2ecf20Sopenharmony_ci	FUNCTION(mdp_vsync1),
12818c2ecf20Sopenharmony_ci	FUNCTION(mdp_vsync2),
12828c2ecf20Sopenharmony_ci	FUNCTION(mdp_vsync3),
12838c2ecf20Sopenharmony_ci	FUNCTION(mdp_vsync_a),
12848c2ecf20Sopenharmony_ci	FUNCTION(mdp_vsync_b),
12858c2ecf20Sopenharmony_ci	FUNCTION(modem_tsync),
12868c2ecf20Sopenharmony_ci	FUNCTION(mss_lte),
12878c2ecf20Sopenharmony_ci	FUNCTION(nav_dr),
12888c2ecf20Sopenharmony_ci	FUNCTION(nav_pps),
12898c2ecf20Sopenharmony_ci	FUNCTION(pa_indicator),
12908c2ecf20Sopenharmony_ci	FUNCTION(pci_e0),
12918c2ecf20Sopenharmony_ci	FUNCTION(phase_flag),
12928c2ecf20Sopenharmony_ci	FUNCTION(pll_bypassnl),
12938c2ecf20Sopenharmony_ci	FUNCTION(pll_reset),
12948c2ecf20Sopenharmony_ci	FUNCTION(pri_mi2s),
12958c2ecf20Sopenharmony_ci	FUNCTION(pri_mi2s_ws),
12968c2ecf20Sopenharmony_ci	FUNCTION(prng_rosc),
12978c2ecf20Sopenharmony_ci	FUNCTION(pwr_crypto),
12988c2ecf20Sopenharmony_ci	FUNCTION(pwr_modem),
12998c2ecf20Sopenharmony_ci	FUNCTION(pwr_nav),
13008c2ecf20Sopenharmony_ci	FUNCTION(qdss_cti0_a),
13018c2ecf20Sopenharmony_ci	FUNCTION(qdss_cti0_b),
13028c2ecf20Sopenharmony_ci	FUNCTION(qdss_cti1_a),
13038c2ecf20Sopenharmony_ci	FUNCTION(qdss_cti1_b),
13048c2ecf20Sopenharmony_ci	FUNCTION(qdss),
13058c2ecf20Sopenharmony_ci	FUNCTION(qlink_enable),
13068c2ecf20Sopenharmony_ci	FUNCTION(qlink_request),
13078c2ecf20Sopenharmony_ci	FUNCTION(qua_mi2s),
13088c2ecf20Sopenharmony_ci	FUNCTION(sd_card),
13098c2ecf20Sopenharmony_ci	FUNCTION(sd_write),
13108c2ecf20Sopenharmony_ci	FUNCTION(sdc40),
13118c2ecf20Sopenharmony_ci	FUNCTION(sdc41),
13128c2ecf20Sopenharmony_ci	FUNCTION(sdc42),
13138c2ecf20Sopenharmony_ci	FUNCTION(sdc43),
13148c2ecf20Sopenharmony_ci	FUNCTION(sdc4_clk),
13158c2ecf20Sopenharmony_ci	FUNCTION(sdc4_cmd),
13168c2ecf20Sopenharmony_ci	FUNCTION(sec_mi2s),
13178c2ecf20Sopenharmony_ci	FUNCTION(sp_cmu),
13188c2ecf20Sopenharmony_ci	FUNCTION(spkr_i2s),
13198c2ecf20Sopenharmony_ci	FUNCTION(ssbi1),
13208c2ecf20Sopenharmony_ci	FUNCTION(ssc_irq),
13218c2ecf20Sopenharmony_ci	FUNCTION(ter_mi2s),
13228c2ecf20Sopenharmony_ci	FUNCTION(tgu_ch0),
13238c2ecf20Sopenharmony_ci	FUNCTION(tgu_ch1),
13248c2ecf20Sopenharmony_ci	FUNCTION(tsense_pwm1),
13258c2ecf20Sopenharmony_ci	FUNCTION(tsense_pwm2),
13268c2ecf20Sopenharmony_ci	FUNCTION(tsif0),
13278c2ecf20Sopenharmony_ci	FUNCTION(tsif1),
13288c2ecf20Sopenharmony_ci	FUNCTION(uim1_clk),
13298c2ecf20Sopenharmony_ci	FUNCTION(uim1_data),
13308c2ecf20Sopenharmony_ci	FUNCTION(uim1_present),
13318c2ecf20Sopenharmony_ci	FUNCTION(uim1_reset),
13328c2ecf20Sopenharmony_ci	FUNCTION(uim2_clk),
13338c2ecf20Sopenharmony_ci	FUNCTION(uim2_data),
13348c2ecf20Sopenharmony_ci	FUNCTION(uim2_present),
13358c2ecf20Sopenharmony_ci	FUNCTION(uim2_reset),
13368c2ecf20Sopenharmony_ci	FUNCTION(uim_batt),
13378c2ecf20Sopenharmony_ci	FUNCTION(usb_phy),
13388c2ecf20Sopenharmony_ci	FUNCTION(vfr_1),
13398c2ecf20Sopenharmony_ci	FUNCTION(vsense_clkout),
13408c2ecf20Sopenharmony_ci	FUNCTION(vsense_data0),
13418c2ecf20Sopenharmony_ci	FUNCTION(vsense_data1),
13428c2ecf20Sopenharmony_ci	FUNCTION(vsense_mode),
13438c2ecf20Sopenharmony_ci	FUNCTION(wlan1_adc0),
13448c2ecf20Sopenharmony_ci	FUNCTION(wlan1_adc1),
13458c2ecf20Sopenharmony_ci	FUNCTION(wlan2_adc0),
13468c2ecf20Sopenharmony_ci	FUNCTION(wlan2_adc1),
13478c2ecf20Sopenharmony_ci};
13488c2ecf20Sopenharmony_ci
13498c2ecf20Sopenharmony_cistatic const struct msm_pingroup msm8998_groups[] = {
13508c2ecf20Sopenharmony_ci	PINGROUP(0, EAST, blsp_spi1, blsp_uart1_a, blsp_uim1_a, _, _, _, _, _, _),
13518c2ecf20Sopenharmony_ci	PINGROUP(1, EAST, blsp_spi1, blsp_uart1_a, blsp_uim1_a, _, _, _, _, _, _),
13528c2ecf20Sopenharmony_ci	PINGROUP(2, EAST, blsp_spi1, blsp_uart1_a, blsp_i2c1, _, _, _, _, _, _),
13538c2ecf20Sopenharmony_ci	PINGROUP(3, EAST, blsp_spi1, blsp_uart1_a, blsp_i2c1, _, _, _, _, _, _),
13548c2ecf20Sopenharmony_ci	PINGROUP(4, WEST, blsp_spi8, blsp_uart8_a, blsp_uim8_a, _, qdss_cti0_b, _, _, _, _),
13558c2ecf20Sopenharmony_ci	PINGROUP(5, WEST, blsp_spi8, blsp_uart8_a, blsp_uim8_a, _, qdss_cti0_b, _, _, _, _),
13568c2ecf20Sopenharmony_ci	PINGROUP(6, WEST, blsp_spi8, blsp_uart8_a, blsp_i2c8, _, _, _, _, _, _),
13578c2ecf20Sopenharmony_ci	PINGROUP(7, WEST, blsp_spi8, blsp_uart8_a, blsp_i2c8, ddr_bist, _, atest_tsens2, atest_usb1, _, _),
13588c2ecf20Sopenharmony_ci	PINGROUP(8, EAST, blsp_spi4, blsp_uart1_b, blsp_uim1_b, _, ddr_bist, _, wlan1_adc1, atest_usb13, bimc_dte1),
13598c2ecf20Sopenharmony_ci	PINGROUP(9, EAST, blsp_spi4, blsp_uart1_b, blsp_uim1_b, tsif0, ddr_bist, _, wlan1_adc0, atest_usb12, bimc_dte0),
13608c2ecf20Sopenharmony_ci	PINGROUP(10, EAST, mdp_vsync_a, blsp_spi4, blsp_uart1_b, blsp_i2c4, ddr_bist, atest_gpsadc1, wlan2_adc1, atest_usb11, bimc_dte1),
13618c2ecf20Sopenharmony_ci	PINGROUP(11, EAST, mdp_vsync_a, edp_lcd, blsp_spi4, blsp_uart1_b, blsp_i2c4, dbg_out, atest_gpsadc0, wlan2_adc0, atest_usb10),
13628c2ecf20Sopenharmony_ci	PINGROUP(12, EAST, mdp_vsync, m_voc, _, _, _, _, _, _, _),
13638c2ecf20Sopenharmony_ci	PINGROUP(13, EAST, cam_mclk, pll_bypassnl, qdss, _, _, _, _, _, _),
13648c2ecf20Sopenharmony_ci	PINGROUP(14, EAST, cam_mclk, pll_reset, qdss, _, _, _, _, _, _),
13658c2ecf20Sopenharmony_ci	PINGROUP(15, EAST, cam_mclk, qdss, _, _, _, _, _, _, _),
13668c2ecf20Sopenharmony_ci	PINGROUP(16, EAST, cam_mclk, qdss, _, _, _, _, _, _, _),
13678c2ecf20Sopenharmony_ci	PINGROUP(17, EAST, cci_i2c, qdss, _, _, _, _, _, _, _),
13688c2ecf20Sopenharmony_ci	PINGROUP(18, EAST, cci_i2c, phase_flag, qdss, _, _, _, _, _, _),
13698c2ecf20Sopenharmony_ci	PINGROUP(19, EAST, cci_i2c, phase_flag, qdss, _, _, _, _, _, _),
13708c2ecf20Sopenharmony_ci	PINGROUP(20, EAST, cci_i2c, qdss, _, _, _, _, _, _, _),
13718c2ecf20Sopenharmony_ci	PINGROUP(21, EAST, cci_timer0, _, qdss, vsense_data0, _, _, _, _, _),
13728c2ecf20Sopenharmony_ci	PINGROUP(22, EAST, cci_timer1, _, qdss, vsense_data1, _, _, _, _, _),
13738c2ecf20Sopenharmony_ci	PINGROUP(23, EAST, cci_timer2, blsp1_spi_b, qdss, vsense_mode, _, _, _, _, _),
13748c2ecf20Sopenharmony_ci	PINGROUP(24, EAST, cci_timer3, cci_async, blsp1_spi_a, _, qdss, vsense_clkout, _, _, _),
13758c2ecf20Sopenharmony_ci	PINGROUP(25, EAST, cci_timer4, cci_async, blsp2_spi, _, qdss, _, _, _, _),
13768c2ecf20Sopenharmony_ci	PINGROUP(26, EAST, cci_async, qdss, _, _, _, _, _, _, _),
13778c2ecf20Sopenharmony_ci	PINGROUP(27, EAST, blsp1_spi_a, qdss, _, _, _, _, _, _, _),
13788c2ecf20Sopenharmony_ci	PINGROUP(28, EAST, blsp1_spi_b, qdss, _, _, _, _, _, _, _),
13798c2ecf20Sopenharmony_ci	PINGROUP(29, EAST, blsp2_spi, _, qdss, _, _, _, _, _, _),
13808c2ecf20Sopenharmony_ci	PINGROUP(30, EAST, hdmi_rcv, blsp2_spi, qdss, _, _, _, _, _, _),
13818c2ecf20Sopenharmony_ci	PINGROUP(31, EAST, hdmi_cec, blsp_spi2, blsp_uart2_a, blsp_uim2_a, pwr_modem, _, _, _, _),
13828c2ecf20Sopenharmony_ci	PINGROUP(32, EAST, hdmi_ddc, blsp_spi2, blsp_uart2_a, blsp_i2c2, pwr_nav, _, _, _, _),
13838c2ecf20Sopenharmony_ci	PINGROUP(33, EAST, hdmi_ddc, blsp_spi2, blsp_uart2_a, blsp_i2c2, pwr_crypto, _, _, _, _),
13848c2ecf20Sopenharmony_ci	PINGROUP(34, EAST, hdmi_hot, edp_hot, blsp_spi2, blsp_uart2_a, blsp_uim2_a, _, _, _, _),
13858c2ecf20Sopenharmony_ci	PINGROUP(35, NORTH, pci_e0, jitter_bist, _, _, _, _, _, _, _),
13868c2ecf20Sopenharmony_ci	PINGROUP(36, NORTH, pci_e0, agera_pll, _, atest_tsens, _, _, _, _, _),
13878c2ecf20Sopenharmony_ci	PINGROUP(37, NORTH, agera_pll, _, _, _, _, _, _, _, _),
13888c2ecf20Sopenharmony_ci	PINGROUP(38, WEST, usb_phy, _, _, _, _, _, _, _, _),
13898c2ecf20Sopenharmony_ci	PINGROUP(39, WEST, lpass_slimbus, _, _, _, _, _, _, _, _),
13908c2ecf20Sopenharmony_ci	PINGROUP(40, EAST, sd_write, tsif0, _, _, _, _, _, _, _),
13918c2ecf20Sopenharmony_ci	PINGROUP(41, EAST, blsp_spi6, blsp_uart3_b, blsp_uim3_b, _, qdss, _, _, _, _),
13928c2ecf20Sopenharmony_ci	PINGROUP(42, EAST, blsp_spi6, blsp_uart3_b, blsp_uim3_b, _, qdss, _, _, _, _),
13938c2ecf20Sopenharmony_ci	PINGROUP(43, EAST, blsp_spi6, blsp_uart3_b, blsp_i2c6, _, qdss, _, _, _, _),
13948c2ecf20Sopenharmony_ci	PINGROUP(44, EAST, blsp_spi6, blsp_uart3_b, blsp_i2c6, _, qdss, _, _, _, _),
13958c2ecf20Sopenharmony_ci	PINGROUP(45, EAST, blsp_spi3, blsp_uart3_a, blsp_uim3_a, _, _, _, _, _, _),
13968c2ecf20Sopenharmony_ci	PINGROUP(46, EAST, blsp_spi3, blsp_uart3_a, blsp_uim3_a, _, _, _, _, _, _),
13978c2ecf20Sopenharmony_ci	PINGROUP(47, EAST, blsp_spi3, blsp_uart3_a, blsp_i2c3, _, _, _, _, _, _),
13988c2ecf20Sopenharmony_ci	PINGROUP(48, EAST, blsp_spi3, blsp_uart3_a, blsp_i2c3, _, _, _, _, _, _),
13998c2ecf20Sopenharmony_ci	PINGROUP(49, NORTH, blsp_spi9, blsp_uart9_a, blsp_uim9_a, blsp10_spi_b, qdss_cti0_a, _, _, _, _),
14008c2ecf20Sopenharmony_ci	PINGROUP(50, NORTH, blsp_spi9, blsp_uart9_a, blsp_uim9_a, blsp10_spi_b, qdss_cti0_a, _, _, _, _),
14018c2ecf20Sopenharmony_ci	PINGROUP(51, NORTH, blsp_spi9, blsp_uart9_a, blsp_i2c9, blsp10_spi_a, _, _, _, _, _),
14028c2ecf20Sopenharmony_ci	PINGROUP(52, NORTH, blsp_spi9, blsp_uart9_a, blsp_i2c9, blsp10_spi_a, _, _, _, _, _),
14038c2ecf20Sopenharmony_ci	PINGROUP(53, WEST, blsp_spi7, blsp_uart7_a, blsp_uim7_a, _, _, _, _, _, _),
14048c2ecf20Sopenharmony_ci	PINGROUP(54, WEST, blsp_spi7, blsp_uart7_a, blsp_uim7_a, _, _, _, _, _, _),
14058c2ecf20Sopenharmony_ci	PINGROUP(55, WEST, blsp_spi7, blsp_uart7_a, blsp_i2c7, _, _, _, _, _, _),
14068c2ecf20Sopenharmony_ci	PINGROUP(56, WEST, blsp_spi7, blsp_uart7_a, blsp_i2c7, _, _, _, _, _, _),
14078c2ecf20Sopenharmony_ci	PINGROUP(57, WEST, qua_mi2s, blsp10_spi, gcc_gp1_a, _, _, _, _, _, _),
14088c2ecf20Sopenharmony_ci	PINGROUP(58, WEST, qua_mi2s, blsp_spi11, blsp_uart8_b, blsp_uim8_b, gcc_gp2_a, _, qdss_cti1_a, _, _),
14098c2ecf20Sopenharmony_ci	PINGROUP(59, WEST, qua_mi2s, blsp_spi11, blsp_uart8_b, blsp_uim8_b, gcc_gp3_a, _, qdss_cti1_a, _, _),
14108c2ecf20Sopenharmony_ci	PINGROUP(60, WEST, qua_mi2s, blsp_spi11, blsp_uart8_b, blsp_i2c11, cri_trng0, _, _, _, _),
14118c2ecf20Sopenharmony_ci	PINGROUP(61, WEST, qua_mi2s, blsp_spi11, blsp_uart8_b, blsp_i2c11, cri_trng1, _, _, _, _),
14128c2ecf20Sopenharmony_ci	PINGROUP(62, WEST, qua_mi2s, cri_trng, _, _, _, _, _, _, _),
14138c2ecf20Sopenharmony_ci	PINGROUP(63, WEST, qua_mi2s, _, _, _, _, _, _, _, _),
14148c2ecf20Sopenharmony_ci	PINGROUP(64, WEST, pri_mi2s, sp_cmu, _, _, _, _, _, _, _),
14158c2ecf20Sopenharmony_ci	PINGROUP(65, WEST, pri_mi2s, blsp_spi10, blsp_uart7_b, blsp_uim7_b, _, _, _, _, _),
14168c2ecf20Sopenharmony_ci	PINGROUP(66, WEST, pri_mi2s_ws, blsp_spi10, blsp_uart7_b, blsp_uim7_b, _, _, _, _, _),
14178c2ecf20Sopenharmony_ci	PINGROUP(67, WEST, pri_mi2s, blsp_spi10, blsp_uart7_b, blsp_i2c10, _, _, _, _, _),
14188c2ecf20Sopenharmony_ci	PINGROUP(68, WEST, pri_mi2s, blsp_spi10, blsp_uart7_b, blsp_i2c10, _, _, _, _, _),
14198c2ecf20Sopenharmony_ci	PINGROUP(69, WEST, spkr_i2s, audio_ref, _, _, _, _, _, _, _),
14208c2ecf20Sopenharmony_ci	PINGROUP(70, WEST, lpass_slimbus, spkr_i2s, blsp9_spi, _, _, _, _, _, _),
14218c2ecf20Sopenharmony_ci	PINGROUP(71, WEST, lpass_slimbus, spkr_i2s, blsp9_spi, tsense_pwm1, tsense_pwm2, _, _, _, _),
14228c2ecf20Sopenharmony_ci	PINGROUP(72, WEST, lpass_slimbus, spkr_i2s, blsp9_spi, _, _, _, _, _, _),
14238c2ecf20Sopenharmony_ci	PINGROUP(73, WEST, btfm_slimbus, phase_flag, _, _, _, _, _, _, _),
14248c2ecf20Sopenharmony_ci	PINGROUP(74, WEST, btfm_slimbus, ter_mi2s, phase_flag, _, _, _, _, _, _),
14258c2ecf20Sopenharmony_ci	PINGROUP(75, WEST, ter_mi2s, phase_flag, qdss, _, _, _, _, _, _),
14268c2ecf20Sopenharmony_ci	PINGROUP(76, WEST, ter_mi2s, phase_flag, qdss, _, _, _, _, _, _),
14278c2ecf20Sopenharmony_ci	PINGROUP(77, WEST, ter_mi2s, phase_flag, qdss, _, _, _, _, _, _),
14288c2ecf20Sopenharmony_ci	PINGROUP(78, WEST, ter_mi2s, gcc_gp1_b, _, _, _, _, _, _, _),
14298c2ecf20Sopenharmony_ci	PINGROUP(79, WEST, sec_mi2s, _, qdss, _, _, _, _, _, _),
14308c2ecf20Sopenharmony_ci	PINGROUP(80, WEST, sec_mi2s, _, qdss, _, _, _, _, _, _),
14318c2ecf20Sopenharmony_ci	PINGROUP(81, WEST, sec_mi2s, blsp_spi12, blsp_uart9_b, blsp_uim9_b, gcc_gp2_b, _, _, _, _),
14328c2ecf20Sopenharmony_ci	PINGROUP(82, WEST, sec_mi2s, blsp_spi12, blsp_uart9_b, blsp_uim9_b, gcc_gp3_b, _, _, _, _),
14338c2ecf20Sopenharmony_ci	PINGROUP(83, WEST, sec_mi2s, blsp_spi12, blsp_uart9_b, blsp_i2c12, _, _, _, _, _),
14348c2ecf20Sopenharmony_ci	PINGROUP(84, WEST, blsp_spi12, blsp_uart9_b, blsp_i2c12, _, _, _, _, _, _),
14358c2ecf20Sopenharmony_ci	PINGROUP(85, EAST, blsp_spi5, blsp_uart2_b, blsp_uim2_b, _, _, _, _, _, _),
14368c2ecf20Sopenharmony_ci	PINGROUP(86, EAST, blsp_spi5, blsp_uart2_b, blsp_uim2_b, _, _, _, _, _, _),
14378c2ecf20Sopenharmony_ci	PINGROUP(87, EAST, blsp_spi5, blsp_uart2_b, blsp_i2c5, _, _, _, _, _, _),
14388c2ecf20Sopenharmony_ci	PINGROUP(88, EAST, blsp_spi5, blsp_uart2_b, blsp_i2c5, _, _, _, _, _, _),
14398c2ecf20Sopenharmony_ci	PINGROUP(89, EAST, tsif0, phase_flag, _, _, _, _, _, _, _),
14408c2ecf20Sopenharmony_ci	PINGROUP(90, EAST, tsif0, mdp_vsync0, mdp_vsync1, mdp_vsync2, mdp_vsync3, blsp1_spi, tgu_ch0, qdss_cti1_b, _),
14418c2ecf20Sopenharmony_ci	PINGROUP(91, EAST, tsif0, sdc4_cmd, tgu_ch1, phase_flag, qdss_cti1_b, _, _, _, _),
14428c2ecf20Sopenharmony_ci	PINGROUP(92, EAST, tsif1, sdc43, vfr_1, phase_flag, _, _, _, _, _),
14438c2ecf20Sopenharmony_ci	PINGROUP(93, EAST, tsif1, sdc4_clk, _, qdss, _, _, _, _, _),
14448c2ecf20Sopenharmony_ci	PINGROUP(94, EAST, tsif1, sdc42, _, _, _, _, _, _, _),
14458c2ecf20Sopenharmony_ci	PINGROUP(95, EAST, tsif1, sdc41, _, _, _, _, _, _, _),
14468c2ecf20Sopenharmony_ci	PINGROUP(96, EAST, tsif1, sdc40, phase_flag, _, _, _, _, _, _),
14478c2ecf20Sopenharmony_ci	PINGROUP(97, WEST, _, mdp_vsync_b, ldo_en, _, _, _, _, _, _),
14488c2ecf20Sopenharmony_ci	PINGROUP(98, WEST, _, mdp_vsync_b, ldo_update, _, _, _, _, _, _),
14498c2ecf20Sopenharmony_ci	PINGROUP(99, WEST, _, _, _, _, _, _, _, _, _),
14508c2ecf20Sopenharmony_ci	PINGROUP(100, WEST, _, _, blsp_uart8, _, _, _, _, _, _),
14518c2ecf20Sopenharmony_ci	PINGROUP(101, WEST, _, blsp_uart8, _, _, _, _, _, _, _),
14528c2ecf20Sopenharmony_ci	PINGROUP(102, WEST, _, blsp11_i2c, prng_rosc, _, _, _, _, _, _),
14538c2ecf20Sopenharmony_ci	PINGROUP(103, WEST, _, blsp11_i2c, phase_flag, _, _, _, _, _, _),
14548c2ecf20Sopenharmony_ci	PINGROUP(104, WEST, _, _, _, _, _, _, _, _, _),
14558c2ecf20Sopenharmony_ci	PINGROUP(105, NORTH, uim2_data, _, _, _, _, _, _, _, _),
14568c2ecf20Sopenharmony_ci	PINGROUP(106, NORTH, uim2_clk, _, _, _, _, _, _, _, _),
14578c2ecf20Sopenharmony_ci	PINGROUP(107, NORTH, uim2_reset, _, _, _, _, _, _, _, _),
14588c2ecf20Sopenharmony_ci	PINGROUP(108, NORTH, uim2_present, _, _, _, _, _, _, _, _),
14598c2ecf20Sopenharmony_ci	PINGROUP(109, NORTH, uim1_data, _, _, _, _, _, _, _, _),
14608c2ecf20Sopenharmony_ci	PINGROUP(110, NORTH, uim1_clk, _, _, _, _, _, _, _, _),
14618c2ecf20Sopenharmony_ci	PINGROUP(111, NORTH, uim1_reset, _, _, _, _, _, _, _, _),
14628c2ecf20Sopenharmony_ci	PINGROUP(112, NORTH, uim1_present, _, _, _, _, _, _, _, _),
14638c2ecf20Sopenharmony_ci	PINGROUP(113, NORTH, uim_batt, _, _, _, _, _, _, _, _),
14648c2ecf20Sopenharmony_ci	PINGROUP(114, WEST, _, _, phase_flag, _, _, _, _, _, _),
14658c2ecf20Sopenharmony_ci	PINGROUP(115, WEST, _, nav_dr, phase_flag, _, _, _, _, _, _),
14668c2ecf20Sopenharmony_ci	PINGROUP(116, WEST, phase_flag, _, _, _, _, _, _, _, _),
14678c2ecf20Sopenharmony_ci	PINGROUP(117, EAST, phase_flag, qdss, atest_char, _, _, _, _, _, _),
14688c2ecf20Sopenharmony_ci	PINGROUP(118, EAST, adsp_ext, phase_flag, qdss, atest_char, _, _, _, _, _),
14698c2ecf20Sopenharmony_ci	PINGROUP(119, EAST, phase_flag, qdss, atest_char, _, _, _, _, _, _),
14708c2ecf20Sopenharmony_ci	PINGROUP(120, EAST, phase_flag, qdss, atest_char, _, _, _, _, _, _),
14718c2ecf20Sopenharmony_ci	PINGROUP(121, EAST, phase_flag, qdss, atest_char, _, _, _, _, _, _),
14728c2ecf20Sopenharmony_ci	PINGROUP(122, EAST, phase_flag, qdss, _, _, _, _, _, _, _),
14738c2ecf20Sopenharmony_ci	PINGROUP(123, EAST, phase_flag, qdss, _, _, _, _, _, _, _),
14748c2ecf20Sopenharmony_ci	PINGROUP(124, EAST, phase_flag, qdss, _, _, _, _, _, _, _),
14758c2ecf20Sopenharmony_ci	PINGROUP(125, EAST, phase_flag, _, _, _, _, _, _, _, _),
14768c2ecf20Sopenharmony_ci	PINGROUP(126, EAST, phase_flag, _, _, _, _, _, _, _, _),
14778c2ecf20Sopenharmony_ci	PINGROUP(127, WEST, _, _, _, _, _, _, _, _, _),
14788c2ecf20Sopenharmony_ci	PINGROUP(128, WEST, modem_tsync, nav_pps, phase_flag, _, _, _, _, _, _),
14798c2ecf20Sopenharmony_ci	PINGROUP(129, WEST, phase_flag, _, _, _, _, _, _, _, _),
14808c2ecf20Sopenharmony_ci	PINGROUP(130, NORTH, qlink_request, phase_flag, _, _, _, _, _, _, _),
14818c2ecf20Sopenharmony_ci	PINGROUP(131, NORTH, qlink_enable, phase_flag, _, _, _, _, _, _, _),
14828c2ecf20Sopenharmony_ci	PINGROUP(132, WEST, _, phase_flag, _, _, _, _, _, _, _),
14838c2ecf20Sopenharmony_ci	PINGROUP(133, WEST, phase_flag, _, _, _, _, _, _, _, _),
14848c2ecf20Sopenharmony_ci	PINGROUP(134, WEST, phase_flag, _, _, _, _, _, _, _, _),
14858c2ecf20Sopenharmony_ci	PINGROUP(135, WEST, _, pa_indicator, _, _, _, _, _, _, _),
14868c2ecf20Sopenharmony_ci	PINGROUP(136, WEST, _, _, _, _, _, _, _, _, _),
14878c2ecf20Sopenharmony_ci	PINGROUP(137, WEST, _, _, _, _, _, _, _, _, _),
14888c2ecf20Sopenharmony_ci	PINGROUP(138, WEST, _, _, _, _, _, _, _, _, _),
14898c2ecf20Sopenharmony_ci	PINGROUP(139, WEST, _, _, _, _, _, _, _, _, _),
14908c2ecf20Sopenharmony_ci	PINGROUP(140, WEST, _, _, _, _, _, _, _, _, _),
14918c2ecf20Sopenharmony_ci	PINGROUP(141, WEST, _, _, _, _, _, _, _, _, _),
14928c2ecf20Sopenharmony_ci	PINGROUP(142, WEST, _, ssbi1, _, _, _, _, _, _, _),
14938c2ecf20Sopenharmony_ci	PINGROUP(143, WEST, isense_dbg, _, _, _, _, _, _, _, _),
14948c2ecf20Sopenharmony_ci	PINGROUP(144, WEST, mss_lte, _, _, _, _, _, _, _, _),
14958c2ecf20Sopenharmony_ci	PINGROUP(145, WEST, mss_lte, _, _, _, _, _, _, _, _),
14968c2ecf20Sopenharmony_ci	PINGROUP(146, WEST, _, _, _, _, _, _, _, _, _),
14978c2ecf20Sopenharmony_ci	PINGROUP(147, WEST, _, _, _, _, _, _, _, _, _),
14988c2ecf20Sopenharmony_ci	PINGROUP(148, WEST, _, _, _, _, _, _, _, _, _),
14998c2ecf20Sopenharmony_ci	PINGROUP(149, WEST, _, _, _, _, _, _, _, _, _),
15008c2ecf20Sopenharmony_ci	SDC_QDSD_PINGROUP(sdc2_clk, 0x999000, 14, 6),
15018c2ecf20Sopenharmony_ci	SDC_QDSD_PINGROUP(sdc2_cmd, 0x999000, 11, 3),
15028c2ecf20Sopenharmony_ci	SDC_QDSD_PINGROUP(sdc2_data, 0x999000, 9, 0),
15038c2ecf20Sopenharmony_ci	UFS_RESET(ufs_reset, 0x19d000),
15048c2ecf20Sopenharmony_ci};
15058c2ecf20Sopenharmony_ci
15068c2ecf20Sopenharmony_cistatic const struct msm_pinctrl_soc_data msm8998_pinctrl = {
15078c2ecf20Sopenharmony_ci	.pins = msm8998_pins,
15088c2ecf20Sopenharmony_ci	.npins = ARRAY_SIZE(msm8998_pins),
15098c2ecf20Sopenharmony_ci	.functions = msm8998_functions,
15108c2ecf20Sopenharmony_ci	.nfunctions = ARRAY_SIZE(msm8998_functions),
15118c2ecf20Sopenharmony_ci	.groups = msm8998_groups,
15128c2ecf20Sopenharmony_ci	.ngroups = ARRAY_SIZE(msm8998_groups),
15138c2ecf20Sopenharmony_ci	.ngpios = 150,
15148c2ecf20Sopenharmony_ci};
15158c2ecf20Sopenharmony_ci
15168c2ecf20Sopenharmony_cistatic int msm8998_pinctrl_probe(struct platform_device *pdev)
15178c2ecf20Sopenharmony_ci{
15188c2ecf20Sopenharmony_ci	return msm_pinctrl_probe(pdev, &msm8998_pinctrl);
15198c2ecf20Sopenharmony_ci}
15208c2ecf20Sopenharmony_ci
15218c2ecf20Sopenharmony_cistatic const struct of_device_id msm8998_pinctrl_of_match[] = {
15228c2ecf20Sopenharmony_ci	{ .compatible = "qcom,msm8998-pinctrl", },
15238c2ecf20Sopenharmony_ci	{ },
15248c2ecf20Sopenharmony_ci};
15258c2ecf20Sopenharmony_ci
15268c2ecf20Sopenharmony_cistatic struct platform_driver msm8998_pinctrl_driver = {
15278c2ecf20Sopenharmony_ci	.driver = {
15288c2ecf20Sopenharmony_ci		.name = "msm8998-pinctrl",
15298c2ecf20Sopenharmony_ci		.of_match_table = msm8998_pinctrl_of_match,
15308c2ecf20Sopenharmony_ci	},
15318c2ecf20Sopenharmony_ci	.probe = msm8998_pinctrl_probe,
15328c2ecf20Sopenharmony_ci	.remove = msm_pinctrl_remove,
15338c2ecf20Sopenharmony_ci};
15348c2ecf20Sopenharmony_ci
15358c2ecf20Sopenharmony_cistatic int __init msm8998_pinctrl_init(void)
15368c2ecf20Sopenharmony_ci{
15378c2ecf20Sopenharmony_ci	return platform_driver_register(&msm8998_pinctrl_driver);
15388c2ecf20Sopenharmony_ci}
15398c2ecf20Sopenharmony_ciarch_initcall(msm8998_pinctrl_init);
15408c2ecf20Sopenharmony_ci
15418c2ecf20Sopenharmony_cistatic void __exit msm8998_pinctrl_exit(void)
15428c2ecf20Sopenharmony_ci{
15438c2ecf20Sopenharmony_ci	platform_driver_unregister(&msm8998_pinctrl_driver);
15448c2ecf20Sopenharmony_ci}
15458c2ecf20Sopenharmony_cimodule_exit(msm8998_pinctrl_exit);
15468c2ecf20Sopenharmony_ci
15478c2ecf20Sopenharmony_ciMODULE_DESCRIPTION("QTI msm8998 pinctrl driver");
15488c2ecf20Sopenharmony_ciMODULE_LICENSE("GPL v2");
15498c2ecf20Sopenharmony_ciMODULE_DEVICE_TABLE(of, msm8998_pinctrl_of_match);
1550