162306a36Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * Copyright (c) 2021, The Linux Foundation. All rights reserved.
462306a36Sopenharmony_ci * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
562306a36Sopenharmony_ci * Copyright (c) 2022, Linaro Limited
662306a36Sopenharmony_ci */
762306a36Sopenharmony_ci
862306a36Sopenharmony_ci#include <linux/module.h>
962306a36Sopenharmony_ci#include <linux/of.h>
1062306a36Sopenharmony_ci#include <linux/platform_device.h>
1162306a36Sopenharmony_ci
1262306a36Sopenharmony_ci#include "pinctrl-msm.h"
1362306a36Sopenharmony_ci
1462306a36Sopenharmony_ci#define REG_SIZE 0x1000
1562306a36Sopenharmony_ci
1662306a36Sopenharmony_ci#define PINGROUP(id, f1, f2, f3, f4, f5, f6, f7, f8, f9)	\
1762306a36Sopenharmony_ci	{					        \
1862306a36Sopenharmony_ci		.grp = PINCTRL_PINGROUP("gpio" #id, 	\
1962306a36Sopenharmony_ci			gpio##id##_pins, 		\
2062306a36Sopenharmony_ci			ARRAY_SIZE(gpio##id##_pins)),	\
2162306a36Sopenharmony_ci		.funcs = (int[]){			\
2262306a36Sopenharmony_ci			msm_mux_gpio, /* gpio mode */	\
2362306a36Sopenharmony_ci			msm_mux_##f1,			\
2462306a36Sopenharmony_ci			msm_mux_##f2,			\
2562306a36Sopenharmony_ci			msm_mux_##f3,			\
2662306a36Sopenharmony_ci			msm_mux_##f4,			\
2762306a36Sopenharmony_ci			msm_mux_##f5,			\
2862306a36Sopenharmony_ci			msm_mux_##f6,			\
2962306a36Sopenharmony_ci			msm_mux_##f7,			\
3062306a36Sopenharmony_ci			msm_mux_##f8,			\
3162306a36Sopenharmony_ci			msm_mux_##f9			\
3262306a36Sopenharmony_ci		},				        \
3362306a36Sopenharmony_ci		.nfuncs = 10,				\
3462306a36Sopenharmony_ci		.ctl_reg = REG_SIZE * id,			\
3562306a36Sopenharmony_ci		.io_reg = 0x4 + REG_SIZE * id,		\
3662306a36Sopenharmony_ci		.intr_cfg_reg = 0x8 + REG_SIZE * id,		\
3762306a36Sopenharmony_ci		.intr_status_reg = 0xc + REG_SIZE * id,	\
3862306a36Sopenharmony_ci		.intr_target_reg = 0x8 + REG_SIZE * id,	\
3962306a36Sopenharmony_ci		.mux_bit = 2,			\
4062306a36Sopenharmony_ci		.pull_bit = 0,			\
4162306a36Sopenharmony_ci		.drv_bit = 6,			\
4262306a36Sopenharmony_ci		.i2c_pull_bit = 13,		\
4362306a36Sopenharmony_ci		.egpio_enable = 12,		\
4462306a36Sopenharmony_ci		.egpio_present = 11,		\
4562306a36Sopenharmony_ci		.oe_bit = 9,			\
4662306a36Sopenharmony_ci		.in_bit = 0,			\
4762306a36Sopenharmony_ci		.out_bit = 1,			\
4862306a36Sopenharmony_ci		.intr_enable_bit = 0,		\
4962306a36Sopenharmony_ci		.intr_status_bit = 0,		\
5062306a36Sopenharmony_ci		.intr_target_bit = 5,		\
5162306a36Sopenharmony_ci		.intr_target_kpss_val = 3,	\
5262306a36Sopenharmony_ci		.intr_raw_status_bit = 4,	\
5362306a36Sopenharmony_ci		.intr_polarity_bit = 1,		\
5462306a36Sopenharmony_ci		.intr_detection_bit = 2,	\
5562306a36Sopenharmony_ci		.intr_detection_width = 2,	\
5662306a36Sopenharmony_ci	}
5762306a36Sopenharmony_ci
5862306a36Sopenharmony_ci#define SDC_QDSD_PINGROUP(pg_name, ctl, pull, drv)	\
5962306a36Sopenharmony_ci	{					        \
6062306a36Sopenharmony_ci		.grp = PINCTRL_PINGROUP(#pg_name, 	\
6162306a36Sopenharmony_ci			pg_name##_pins, 		\
6262306a36Sopenharmony_ci			ARRAY_SIZE(pg_name##_pins)),	\
6362306a36Sopenharmony_ci		.ctl_reg = ctl,				\
6462306a36Sopenharmony_ci		.io_reg = 0,				\
6562306a36Sopenharmony_ci		.intr_cfg_reg = 0,			\
6662306a36Sopenharmony_ci		.intr_status_reg = 0,			\
6762306a36Sopenharmony_ci		.intr_target_reg = 0,			\
6862306a36Sopenharmony_ci		.mux_bit = -1,				\
6962306a36Sopenharmony_ci		.pull_bit = pull,			\
7062306a36Sopenharmony_ci		.drv_bit = drv,				\
7162306a36Sopenharmony_ci		.oe_bit = -1,				\
7262306a36Sopenharmony_ci		.in_bit = -1,				\
7362306a36Sopenharmony_ci		.out_bit = -1,				\
7462306a36Sopenharmony_ci		.intr_enable_bit = -1,			\
7562306a36Sopenharmony_ci		.intr_status_bit = -1,			\
7662306a36Sopenharmony_ci		.intr_target_bit = -1,			\
7762306a36Sopenharmony_ci		.intr_raw_status_bit = -1,		\
7862306a36Sopenharmony_ci		.intr_polarity_bit = -1,		\
7962306a36Sopenharmony_ci		.intr_detection_bit = -1,		\
8062306a36Sopenharmony_ci		.intr_detection_width = -1,		\
8162306a36Sopenharmony_ci	}
8262306a36Sopenharmony_ci
8362306a36Sopenharmony_ci#define UFS_RESET(pg_name, offset)				\
8462306a36Sopenharmony_ci	{					        \
8562306a36Sopenharmony_ci		.grp = PINCTRL_PINGROUP(#pg_name, 	\
8662306a36Sopenharmony_ci			pg_name##_pins, 		\
8762306a36Sopenharmony_ci			ARRAY_SIZE(pg_name##_pins)),	\
8862306a36Sopenharmony_ci		.ctl_reg = offset,			\
8962306a36Sopenharmony_ci		.io_reg = offset + 0x4,			\
9062306a36Sopenharmony_ci		.intr_cfg_reg = 0,			\
9162306a36Sopenharmony_ci		.intr_status_reg = 0,			\
9262306a36Sopenharmony_ci		.intr_target_reg = 0,			\
9362306a36Sopenharmony_ci		.mux_bit = -1,				\
9462306a36Sopenharmony_ci		.pull_bit = 3,				\
9562306a36Sopenharmony_ci		.drv_bit = 0,				\
9662306a36Sopenharmony_ci		.oe_bit = -1,				\
9762306a36Sopenharmony_ci		.in_bit = -1,				\
9862306a36Sopenharmony_ci		.out_bit = 0,				\
9962306a36Sopenharmony_ci		.intr_enable_bit = -1,			\
10062306a36Sopenharmony_ci		.intr_status_bit = -1,			\
10162306a36Sopenharmony_ci		.intr_target_bit = -1,			\
10262306a36Sopenharmony_ci		.intr_raw_status_bit = -1,		\
10362306a36Sopenharmony_ci		.intr_polarity_bit = -1,		\
10462306a36Sopenharmony_ci		.intr_detection_bit = -1,		\
10562306a36Sopenharmony_ci		.intr_detection_width = -1,		\
10662306a36Sopenharmony_ci	}
10762306a36Sopenharmony_ci
10862306a36Sopenharmony_cistatic const struct pinctrl_pin_desc sm8550_pins[] = {
10962306a36Sopenharmony_ci	PINCTRL_PIN(0, "GPIO_0"),
11062306a36Sopenharmony_ci	PINCTRL_PIN(1, "GPIO_1"),
11162306a36Sopenharmony_ci	PINCTRL_PIN(2, "GPIO_2"),
11262306a36Sopenharmony_ci	PINCTRL_PIN(3, "GPIO_3"),
11362306a36Sopenharmony_ci	PINCTRL_PIN(4, "GPIO_4"),
11462306a36Sopenharmony_ci	PINCTRL_PIN(5, "GPIO_5"),
11562306a36Sopenharmony_ci	PINCTRL_PIN(6, "GPIO_6"),
11662306a36Sopenharmony_ci	PINCTRL_PIN(7, "GPIO_7"),
11762306a36Sopenharmony_ci	PINCTRL_PIN(8, "GPIO_8"),
11862306a36Sopenharmony_ci	PINCTRL_PIN(9, "GPIO_9"),
11962306a36Sopenharmony_ci	PINCTRL_PIN(10, "GPIO_10"),
12062306a36Sopenharmony_ci	PINCTRL_PIN(11, "GPIO_11"),
12162306a36Sopenharmony_ci	PINCTRL_PIN(12, "GPIO_12"),
12262306a36Sopenharmony_ci	PINCTRL_PIN(13, "GPIO_13"),
12362306a36Sopenharmony_ci	PINCTRL_PIN(14, "GPIO_14"),
12462306a36Sopenharmony_ci	PINCTRL_PIN(15, "GPIO_15"),
12562306a36Sopenharmony_ci	PINCTRL_PIN(16, "GPIO_16"),
12662306a36Sopenharmony_ci	PINCTRL_PIN(17, "GPIO_17"),
12762306a36Sopenharmony_ci	PINCTRL_PIN(18, "GPIO_18"),
12862306a36Sopenharmony_ci	PINCTRL_PIN(19, "GPIO_19"),
12962306a36Sopenharmony_ci	PINCTRL_PIN(20, "GPIO_20"),
13062306a36Sopenharmony_ci	PINCTRL_PIN(21, "GPIO_21"),
13162306a36Sopenharmony_ci	PINCTRL_PIN(22, "GPIO_22"),
13262306a36Sopenharmony_ci	PINCTRL_PIN(23, "GPIO_23"),
13362306a36Sopenharmony_ci	PINCTRL_PIN(24, "GPIO_24"),
13462306a36Sopenharmony_ci	PINCTRL_PIN(25, "GPIO_25"),
13562306a36Sopenharmony_ci	PINCTRL_PIN(26, "GPIO_26"),
13662306a36Sopenharmony_ci	PINCTRL_PIN(27, "GPIO_27"),
13762306a36Sopenharmony_ci	PINCTRL_PIN(28, "GPIO_28"),
13862306a36Sopenharmony_ci	PINCTRL_PIN(29, "GPIO_29"),
13962306a36Sopenharmony_ci	PINCTRL_PIN(30, "GPIO_30"),
14062306a36Sopenharmony_ci	PINCTRL_PIN(31, "GPIO_31"),
14162306a36Sopenharmony_ci	PINCTRL_PIN(32, "GPIO_32"),
14262306a36Sopenharmony_ci	PINCTRL_PIN(33, "GPIO_33"),
14362306a36Sopenharmony_ci	PINCTRL_PIN(34, "GPIO_34"),
14462306a36Sopenharmony_ci	PINCTRL_PIN(35, "GPIO_35"),
14562306a36Sopenharmony_ci	PINCTRL_PIN(36, "GPIO_36"),
14662306a36Sopenharmony_ci	PINCTRL_PIN(37, "GPIO_37"),
14762306a36Sopenharmony_ci	PINCTRL_PIN(38, "GPIO_38"),
14862306a36Sopenharmony_ci	PINCTRL_PIN(39, "GPIO_39"),
14962306a36Sopenharmony_ci	PINCTRL_PIN(40, "GPIO_40"),
15062306a36Sopenharmony_ci	PINCTRL_PIN(41, "GPIO_41"),
15162306a36Sopenharmony_ci	PINCTRL_PIN(42, "GPIO_42"),
15262306a36Sopenharmony_ci	PINCTRL_PIN(43, "GPIO_43"),
15362306a36Sopenharmony_ci	PINCTRL_PIN(44, "GPIO_44"),
15462306a36Sopenharmony_ci	PINCTRL_PIN(45, "GPIO_45"),
15562306a36Sopenharmony_ci	PINCTRL_PIN(46, "GPIO_46"),
15662306a36Sopenharmony_ci	PINCTRL_PIN(47, "GPIO_47"),
15762306a36Sopenharmony_ci	PINCTRL_PIN(48, "GPIO_48"),
15862306a36Sopenharmony_ci	PINCTRL_PIN(49, "GPIO_49"),
15962306a36Sopenharmony_ci	PINCTRL_PIN(50, "GPIO_50"),
16062306a36Sopenharmony_ci	PINCTRL_PIN(51, "GPIO_51"),
16162306a36Sopenharmony_ci	PINCTRL_PIN(52, "GPIO_52"),
16262306a36Sopenharmony_ci	PINCTRL_PIN(53, "GPIO_53"),
16362306a36Sopenharmony_ci	PINCTRL_PIN(54, "GPIO_54"),
16462306a36Sopenharmony_ci	PINCTRL_PIN(55, "GPIO_55"),
16562306a36Sopenharmony_ci	PINCTRL_PIN(56, "GPIO_56"),
16662306a36Sopenharmony_ci	PINCTRL_PIN(57, "GPIO_57"),
16762306a36Sopenharmony_ci	PINCTRL_PIN(58, "GPIO_58"),
16862306a36Sopenharmony_ci	PINCTRL_PIN(59, "GPIO_59"),
16962306a36Sopenharmony_ci	PINCTRL_PIN(60, "GPIO_60"),
17062306a36Sopenharmony_ci	PINCTRL_PIN(61, "GPIO_61"),
17162306a36Sopenharmony_ci	PINCTRL_PIN(62, "GPIO_62"),
17262306a36Sopenharmony_ci	PINCTRL_PIN(63, "GPIO_63"),
17362306a36Sopenharmony_ci	PINCTRL_PIN(64, "GPIO_64"),
17462306a36Sopenharmony_ci	PINCTRL_PIN(65, "GPIO_65"),
17562306a36Sopenharmony_ci	PINCTRL_PIN(66, "GPIO_66"),
17662306a36Sopenharmony_ci	PINCTRL_PIN(67, "GPIO_67"),
17762306a36Sopenharmony_ci	PINCTRL_PIN(68, "GPIO_68"),
17862306a36Sopenharmony_ci	PINCTRL_PIN(69, "GPIO_69"),
17962306a36Sopenharmony_ci	PINCTRL_PIN(70, "GPIO_70"),
18062306a36Sopenharmony_ci	PINCTRL_PIN(71, "GPIO_71"),
18162306a36Sopenharmony_ci	PINCTRL_PIN(72, "GPIO_72"),
18262306a36Sopenharmony_ci	PINCTRL_PIN(73, "GPIO_73"),
18362306a36Sopenharmony_ci	PINCTRL_PIN(74, "GPIO_74"),
18462306a36Sopenharmony_ci	PINCTRL_PIN(75, "GPIO_75"),
18562306a36Sopenharmony_ci	PINCTRL_PIN(76, "GPIO_76"),
18662306a36Sopenharmony_ci	PINCTRL_PIN(77, "GPIO_77"),
18762306a36Sopenharmony_ci	PINCTRL_PIN(78, "GPIO_78"),
18862306a36Sopenharmony_ci	PINCTRL_PIN(79, "GPIO_79"),
18962306a36Sopenharmony_ci	PINCTRL_PIN(80, "GPIO_80"),
19062306a36Sopenharmony_ci	PINCTRL_PIN(81, "GPIO_81"),
19162306a36Sopenharmony_ci	PINCTRL_PIN(82, "GPIO_82"),
19262306a36Sopenharmony_ci	PINCTRL_PIN(83, "GPIO_83"),
19362306a36Sopenharmony_ci	PINCTRL_PIN(84, "GPIO_84"),
19462306a36Sopenharmony_ci	PINCTRL_PIN(85, "GPIO_85"),
19562306a36Sopenharmony_ci	PINCTRL_PIN(86, "GPIO_86"),
19662306a36Sopenharmony_ci	PINCTRL_PIN(87, "GPIO_87"),
19762306a36Sopenharmony_ci	PINCTRL_PIN(88, "GPIO_88"),
19862306a36Sopenharmony_ci	PINCTRL_PIN(89, "GPIO_89"),
19962306a36Sopenharmony_ci	PINCTRL_PIN(90, "GPIO_90"),
20062306a36Sopenharmony_ci	PINCTRL_PIN(91, "GPIO_91"),
20162306a36Sopenharmony_ci	PINCTRL_PIN(92, "GPIO_92"),
20262306a36Sopenharmony_ci	PINCTRL_PIN(93, "GPIO_93"),
20362306a36Sopenharmony_ci	PINCTRL_PIN(94, "GPIO_94"),
20462306a36Sopenharmony_ci	PINCTRL_PIN(95, "GPIO_95"),
20562306a36Sopenharmony_ci	PINCTRL_PIN(96, "GPIO_96"),
20662306a36Sopenharmony_ci	PINCTRL_PIN(97, "GPIO_97"),
20762306a36Sopenharmony_ci	PINCTRL_PIN(98, "GPIO_98"),
20862306a36Sopenharmony_ci	PINCTRL_PIN(99, "GPIO_99"),
20962306a36Sopenharmony_ci	PINCTRL_PIN(100, "GPIO_100"),
21062306a36Sopenharmony_ci	PINCTRL_PIN(101, "GPIO_101"),
21162306a36Sopenharmony_ci	PINCTRL_PIN(102, "GPIO_102"),
21262306a36Sopenharmony_ci	PINCTRL_PIN(103, "GPIO_103"),
21362306a36Sopenharmony_ci	PINCTRL_PIN(104, "GPIO_104"),
21462306a36Sopenharmony_ci	PINCTRL_PIN(105, "GPIO_105"),
21562306a36Sopenharmony_ci	PINCTRL_PIN(106, "GPIO_106"),
21662306a36Sopenharmony_ci	PINCTRL_PIN(107, "GPIO_107"),
21762306a36Sopenharmony_ci	PINCTRL_PIN(108, "GPIO_108"),
21862306a36Sopenharmony_ci	PINCTRL_PIN(109, "GPIO_109"),
21962306a36Sopenharmony_ci	PINCTRL_PIN(110, "GPIO_110"),
22062306a36Sopenharmony_ci	PINCTRL_PIN(111, "GPIO_111"),
22162306a36Sopenharmony_ci	PINCTRL_PIN(112, "GPIO_112"),
22262306a36Sopenharmony_ci	PINCTRL_PIN(113, "GPIO_113"),
22362306a36Sopenharmony_ci	PINCTRL_PIN(114, "GPIO_114"),
22462306a36Sopenharmony_ci	PINCTRL_PIN(115, "GPIO_115"),
22562306a36Sopenharmony_ci	PINCTRL_PIN(116, "GPIO_116"),
22662306a36Sopenharmony_ci	PINCTRL_PIN(117, "GPIO_117"),
22762306a36Sopenharmony_ci	PINCTRL_PIN(118, "GPIO_118"),
22862306a36Sopenharmony_ci	PINCTRL_PIN(119, "GPIO_119"),
22962306a36Sopenharmony_ci	PINCTRL_PIN(120, "GPIO_120"),
23062306a36Sopenharmony_ci	PINCTRL_PIN(121, "GPIO_121"),
23162306a36Sopenharmony_ci	PINCTRL_PIN(122, "GPIO_122"),
23262306a36Sopenharmony_ci	PINCTRL_PIN(123, "GPIO_123"),
23362306a36Sopenharmony_ci	PINCTRL_PIN(124, "GPIO_124"),
23462306a36Sopenharmony_ci	PINCTRL_PIN(125, "GPIO_125"),
23562306a36Sopenharmony_ci	PINCTRL_PIN(126, "GPIO_126"),
23662306a36Sopenharmony_ci	PINCTRL_PIN(127, "GPIO_127"),
23762306a36Sopenharmony_ci	PINCTRL_PIN(128, "GPIO_128"),
23862306a36Sopenharmony_ci	PINCTRL_PIN(129, "GPIO_129"),
23962306a36Sopenharmony_ci	PINCTRL_PIN(130, "GPIO_130"),
24062306a36Sopenharmony_ci	PINCTRL_PIN(131, "GPIO_131"),
24162306a36Sopenharmony_ci	PINCTRL_PIN(132, "GPIO_132"),
24262306a36Sopenharmony_ci	PINCTRL_PIN(133, "GPIO_133"),
24362306a36Sopenharmony_ci	PINCTRL_PIN(134, "GPIO_134"),
24462306a36Sopenharmony_ci	PINCTRL_PIN(135, "GPIO_135"),
24562306a36Sopenharmony_ci	PINCTRL_PIN(136, "GPIO_136"),
24662306a36Sopenharmony_ci	PINCTRL_PIN(137, "GPIO_137"),
24762306a36Sopenharmony_ci	PINCTRL_PIN(138, "GPIO_138"),
24862306a36Sopenharmony_ci	PINCTRL_PIN(139, "GPIO_139"),
24962306a36Sopenharmony_ci	PINCTRL_PIN(140, "GPIO_140"),
25062306a36Sopenharmony_ci	PINCTRL_PIN(141, "GPIO_141"),
25162306a36Sopenharmony_ci	PINCTRL_PIN(142, "GPIO_142"),
25262306a36Sopenharmony_ci	PINCTRL_PIN(143, "GPIO_143"),
25362306a36Sopenharmony_ci	PINCTRL_PIN(144, "GPIO_144"),
25462306a36Sopenharmony_ci	PINCTRL_PIN(145, "GPIO_145"),
25562306a36Sopenharmony_ci	PINCTRL_PIN(146, "GPIO_146"),
25662306a36Sopenharmony_ci	PINCTRL_PIN(147, "GPIO_147"),
25762306a36Sopenharmony_ci	PINCTRL_PIN(148, "GPIO_148"),
25862306a36Sopenharmony_ci	PINCTRL_PIN(149, "GPIO_149"),
25962306a36Sopenharmony_ci	PINCTRL_PIN(150, "GPIO_150"),
26062306a36Sopenharmony_ci	PINCTRL_PIN(151, "GPIO_151"),
26162306a36Sopenharmony_ci	PINCTRL_PIN(152, "GPIO_152"),
26262306a36Sopenharmony_ci	PINCTRL_PIN(153, "GPIO_153"),
26362306a36Sopenharmony_ci	PINCTRL_PIN(154, "GPIO_154"),
26462306a36Sopenharmony_ci	PINCTRL_PIN(155, "GPIO_155"),
26562306a36Sopenharmony_ci	PINCTRL_PIN(156, "GPIO_156"),
26662306a36Sopenharmony_ci	PINCTRL_PIN(157, "GPIO_157"),
26762306a36Sopenharmony_ci	PINCTRL_PIN(158, "GPIO_158"),
26862306a36Sopenharmony_ci	PINCTRL_PIN(159, "GPIO_159"),
26962306a36Sopenharmony_ci	PINCTRL_PIN(160, "GPIO_160"),
27062306a36Sopenharmony_ci	PINCTRL_PIN(161, "GPIO_161"),
27162306a36Sopenharmony_ci	PINCTRL_PIN(162, "GPIO_162"),
27262306a36Sopenharmony_ci	PINCTRL_PIN(163, "GPIO_163"),
27362306a36Sopenharmony_ci	PINCTRL_PIN(164, "GPIO_164"),
27462306a36Sopenharmony_ci	PINCTRL_PIN(165, "GPIO_165"),
27562306a36Sopenharmony_ci	PINCTRL_PIN(166, "GPIO_166"),
27662306a36Sopenharmony_ci	PINCTRL_PIN(167, "GPIO_167"),
27762306a36Sopenharmony_ci	PINCTRL_PIN(168, "GPIO_168"),
27862306a36Sopenharmony_ci	PINCTRL_PIN(169, "GPIO_169"),
27962306a36Sopenharmony_ci	PINCTRL_PIN(170, "GPIO_170"),
28062306a36Sopenharmony_ci	PINCTRL_PIN(171, "GPIO_171"),
28162306a36Sopenharmony_ci	PINCTRL_PIN(172, "GPIO_172"),
28262306a36Sopenharmony_ci	PINCTRL_PIN(173, "GPIO_173"),
28362306a36Sopenharmony_ci	PINCTRL_PIN(174, "GPIO_174"),
28462306a36Sopenharmony_ci	PINCTRL_PIN(175, "GPIO_175"),
28562306a36Sopenharmony_ci	PINCTRL_PIN(176, "GPIO_176"),
28662306a36Sopenharmony_ci	PINCTRL_PIN(177, "GPIO_177"),
28762306a36Sopenharmony_ci	PINCTRL_PIN(178, "GPIO_178"),
28862306a36Sopenharmony_ci	PINCTRL_PIN(179, "GPIO_179"),
28962306a36Sopenharmony_ci	PINCTRL_PIN(180, "GPIO_180"),
29062306a36Sopenharmony_ci	PINCTRL_PIN(181, "GPIO_181"),
29162306a36Sopenharmony_ci	PINCTRL_PIN(182, "GPIO_182"),
29262306a36Sopenharmony_ci	PINCTRL_PIN(183, "GPIO_183"),
29362306a36Sopenharmony_ci	PINCTRL_PIN(184, "GPIO_184"),
29462306a36Sopenharmony_ci	PINCTRL_PIN(185, "GPIO_185"),
29562306a36Sopenharmony_ci	PINCTRL_PIN(186, "GPIO_186"),
29662306a36Sopenharmony_ci	PINCTRL_PIN(187, "GPIO_187"),
29762306a36Sopenharmony_ci	PINCTRL_PIN(188, "GPIO_188"),
29862306a36Sopenharmony_ci	PINCTRL_PIN(189, "GPIO_189"),
29962306a36Sopenharmony_ci	PINCTRL_PIN(190, "GPIO_190"),
30062306a36Sopenharmony_ci	PINCTRL_PIN(191, "GPIO_191"),
30162306a36Sopenharmony_ci	PINCTRL_PIN(192, "GPIO_192"),
30262306a36Sopenharmony_ci	PINCTRL_PIN(193, "GPIO_193"),
30362306a36Sopenharmony_ci	PINCTRL_PIN(194, "GPIO_194"),
30462306a36Sopenharmony_ci	PINCTRL_PIN(195, "GPIO_195"),
30562306a36Sopenharmony_ci	PINCTRL_PIN(196, "GPIO_196"),
30662306a36Sopenharmony_ci	PINCTRL_PIN(197, "GPIO_197"),
30762306a36Sopenharmony_ci	PINCTRL_PIN(198, "GPIO_198"),
30862306a36Sopenharmony_ci	PINCTRL_PIN(199, "GPIO_199"),
30962306a36Sopenharmony_ci	PINCTRL_PIN(200, "GPIO_200"),
31062306a36Sopenharmony_ci	PINCTRL_PIN(201, "GPIO_201"),
31162306a36Sopenharmony_ci	PINCTRL_PIN(202, "GPIO_202"),
31262306a36Sopenharmony_ci	PINCTRL_PIN(203, "GPIO_203"),
31362306a36Sopenharmony_ci	PINCTRL_PIN(204, "GPIO_204"),
31462306a36Sopenharmony_ci	PINCTRL_PIN(205, "GPIO_205"),
31562306a36Sopenharmony_ci	PINCTRL_PIN(206, "GPIO_206"),
31662306a36Sopenharmony_ci	PINCTRL_PIN(207, "GPIO_207"),
31762306a36Sopenharmony_ci	PINCTRL_PIN(208, "GPIO_208"),
31862306a36Sopenharmony_ci	PINCTRL_PIN(209, "GPIO_209"),
31962306a36Sopenharmony_ci	PINCTRL_PIN(210, "UFS_RESET"),
32062306a36Sopenharmony_ci	PINCTRL_PIN(211, "SDC2_CLK"),
32162306a36Sopenharmony_ci	PINCTRL_PIN(212, "SDC2_CMD"),
32262306a36Sopenharmony_ci	PINCTRL_PIN(213, "SDC2_DATA"),
32362306a36Sopenharmony_ci};
32462306a36Sopenharmony_ci
32562306a36Sopenharmony_ci#define DECLARE_MSM_GPIO_PINS(pin) \
32662306a36Sopenharmony_ci	static const unsigned int gpio##pin##_pins[] = { pin }
32762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(0);
32862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(1);
32962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(2);
33062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(3);
33162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(4);
33262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(5);
33362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(6);
33462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(7);
33562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(8);
33662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(9);
33762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(10);
33862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(11);
33962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(12);
34062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(13);
34162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(14);
34262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(15);
34362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(16);
34462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(17);
34562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(18);
34662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(19);
34762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(20);
34862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(21);
34962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(22);
35062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(23);
35162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(24);
35262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(25);
35362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(26);
35462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(27);
35562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(28);
35662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(29);
35762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(30);
35862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(31);
35962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(32);
36062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(33);
36162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(34);
36262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(35);
36362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(36);
36462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(37);
36562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(38);
36662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(39);
36762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(40);
36862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(41);
36962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(42);
37062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(43);
37162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(44);
37262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(45);
37362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(46);
37462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(47);
37562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(48);
37662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(49);
37762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(50);
37862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(51);
37962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(52);
38062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(53);
38162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(54);
38262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(55);
38362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(56);
38462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(57);
38562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(58);
38662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(59);
38762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(60);
38862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(61);
38962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(62);
39062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(63);
39162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(64);
39262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(65);
39362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(66);
39462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(67);
39562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(68);
39662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(69);
39762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(70);
39862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(71);
39962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(72);
40062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(73);
40162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(74);
40262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(75);
40362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(76);
40462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(77);
40562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(78);
40662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(79);
40762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(80);
40862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(81);
40962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(82);
41062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(83);
41162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(84);
41262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(85);
41362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(86);
41462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(87);
41562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(88);
41662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(89);
41762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(90);
41862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(91);
41962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(92);
42062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(93);
42162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(94);
42262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(95);
42362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(96);
42462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(97);
42562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(98);
42662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(99);
42762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(100);
42862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(101);
42962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(102);
43062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(103);
43162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(104);
43262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(105);
43362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(106);
43462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(107);
43562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(108);
43662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(109);
43762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(110);
43862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(111);
43962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(112);
44062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(113);
44162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(114);
44262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(115);
44362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(116);
44462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(117);
44562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(118);
44662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(119);
44762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(120);
44862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(121);
44962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(122);
45062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(123);
45162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(124);
45262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(125);
45362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(126);
45462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(127);
45562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(128);
45662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(129);
45762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(130);
45862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(131);
45962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(132);
46062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(133);
46162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(134);
46262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(135);
46362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(136);
46462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(137);
46562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(138);
46662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(139);
46762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(140);
46862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(141);
46962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(142);
47062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(143);
47162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(144);
47262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(145);
47362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(146);
47462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(147);
47562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(148);
47662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(149);
47762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(150);
47862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(151);
47962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(152);
48062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(153);
48162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(154);
48262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(155);
48362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(156);
48462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(157);
48562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(158);
48662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(159);
48762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(160);
48862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(161);
48962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(162);
49062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(163);
49162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(164);
49262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(165);
49362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(166);
49462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(167);
49562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(168);
49662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(169);
49762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(170);
49862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(171);
49962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(172);
50062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(173);
50162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(174);
50262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(175);
50362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(176);
50462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(177);
50562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(178);
50662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(179);
50762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(180);
50862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(181);
50962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(182);
51062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(183);
51162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(184);
51262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(185);
51362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(186);
51462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(187);
51562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(188);
51662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(189);
51762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(190);
51862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(191);
51962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(192);
52062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(193);
52162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(194);
52262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(195);
52362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(196);
52462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(197);
52562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(198);
52662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(199);
52762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(200);
52862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(201);
52962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(202);
53062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(203);
53162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(204);
53262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(205);
53362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(206);
53462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(207);
53562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(208);
53662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(209);
53762306a36Sopenharmony_ci
53862306a36Sopenharmony_cistatic const unsigned int ufs_reset_pins[] = { 210 };
53962306a36Sopenharmony_cistatic const unsigned int sdc2_clk_pins[] = { 211 };
54062306a36Sopenharmony_cistatic const unsigned int sdc2_cmd_pins[] = { 212 };
54162306a36Sopenharmony_cistatic const unsigned int sdc2_data_pins[] = { 213 };
54262306a36Sopenharmony_ci
54362306a36Sopenharmony_cienum sm8550_functions {
54462306a36Sopenharmony_ci	msm_mux_gpio,
54562306a36Sopenharmony_ci	msm_mux_aon_cci,
54662306a36Sopenharmony_ci	msm_mux_aoss_cti,
54762306a36Sopenharmony_ci	msm_mux_atest_char,
54862306a36Sopenharmony_ci	msm_mux_atest_usb,
54962306a36Sopenharmony_ci	msm_mux_audio_ext_mclk0,
55062306a36Sopenharmony_ci	msm_mux_audio_ext_mclk1,
55162306a36Sopenharmony_ci	msm_mux_audio_ref_clk,
55262306a36Sopenharmony_ci	msm_mux_cam_aon_mclk4,
55362306a36Sopenharmony_ci	msm_mux_cam_mclk,
55462306a36Sopenharmony_ci	msm_mux_cci_async_in,
55562306a36Sopenharmony_ci	msm_mux_cci_i2c_scl,
55662306a36Sopenharmony_ci	msm_mux_cci_i2c_sda,
55762306a36Sopenharmony_ci	msm_mux_cci_timer,
55862306a36Sopenharmony_ci	msm_mux_cmu_rng,
55962306a36Sopenharmony_ci	msm_mux_coex_uart1_rx,
56062306a36Sopenharmony_ci	msm_mux_coex_uart1_tx,
56162306a36Sopenharmony_ci	msm_mux_coex_uart2_rx,
56262306a36Sopenharmony_ci	msm_mux_coex_uart2_tx,
56362306a36Sopenharmony_ci	msm_mux_cri_trng,
56462306a36Sopenharmony_ci	msm_mux_dbg_out_clk,
56562306a36Sopenharmony_ci	msm_mux_ddr_bist_complete,
56662306a36Sopenharmony_ci	msm_mux_ddr_bist_fail,
56762306a36Sopenharmony_ci	msm_mux_ddr_bist_start,
56862306a36Sopenharmony_ci	msm_mux_ddr_bist_stop,
56962306a36Sopenharmony_ci	msm_mux_ddr_pxi0,
57062306a36Sopenharmony_ci	msm_mux_ddr_pxi1,
57162306a36Sopenharmony_ci	msm_mux_ddr_pxi2,
57262306a36Sopenharmony_ci	msm_mux_ddr_pxi3,
57362306a36Sopenharmony_ci	msm_mux_dp_hot,
57462306a36Sopenharmony_ci	msm_mux_gcc_gp1,
57562306a36Sopenharmony_ci	msm_mux_gcc_gp2,
57662306a36Sopenharmony_ci	msm_mux_gcc_gp3,
57762306a36Sopenharmony_ci	msm_mux_i2chub0_se0,
57862306a36Sopenharmony_ci	msm_mux_i2chub0_se1,
57962306a36Sopenharmony_ci	msm_mux_i2chub0_se2,
58062306a36Sopenharmony_ci	msm_mux_i2chub0_se3,
58162306a36Sopenharmony_ci	msm_mux_i2chub0_se4,
58262306a36Sopenharmony_ci	msm_mux_i2chub0_se5,
58362306a36Sopenharmony_ci	msm_mux_i2chub0_se6,
58462306a36Sopenharmony_ci	msm_mux_i2chub0_se7,
58562306a36Sopenharmony_ci	msm_mux_i2chub0_se8,
58662306a36Sopenharmony_ci	msm_mux_i2chub0_se9,
58762306a36Sopenharmony_ci	msm_mux_i2s0_data0,
58862306a36Sopenharmony_ci	msm_mux_i2s0_data1,
58962306a36Sopenharmony_ci	msm_mux_i2s0_sck,
59062306a36Sopenharmony_ci	msm_mux_i2s0_ws,
59162306a36Sopenharmony_ci	msm_mux_i2s1_data0,
59262306a36Sopenharmony_ci	msm_mux_i2s1_data1,
59362306a36Sopenharmony_ci	msm_mux_i2s1_sck,
59462306a36Sopenharmony_ci	msm_mux_i2s1_ws,
59562306a36Sopenharmony_ci	msm_mux_ibi_i3c,
59662306a36Sopenharmony_ci	msm_mux_jitter_bist,
59762306a36Sopenharmony_ci	msm_mux_mdp_vsync,
59862306a36Sopenharmony_ci	msm_mux_mdp_vsync0_out,
59962306a36Sopenharmony_ci	msm_mux_mdp_vsync1_out,
60062306a36Sopenharmony_ci	msm_mux_mdp_vsync2_out,
60162306a36Sopenharmony_ci	msm_mux_mdp_vsync3_out,
60262306a36Sopenharmony_ci	msm_mux_mdp_vsync_e,
60362306a36Sopenharmony_ci	msm_mux_nav_gpio0,
60462306a36Sopenharmony_ci	msm_mux_nav_gpio1,
60562306a36Sopenharmony_ci	msm_mux_nav_gpio2,
60662306a36Sopenharmony_ci	msm_mux_pcie0_clk_req_n,
60762306a36Sopenharmony_ci	msm_mux_pcie1_clk_req_n,
60862306a36Sopenharmony_ci	msm_mux_phase_flag,
60962306a36Sopenharmony_ci	msm_mux_pll_bist_sync,
61062306a36Sopenharmony_ci	msm_mux_pll_clk_aux,
61162306a36Sopenharmony_ci	msm_mux_prng_rosc0,
61262306a36Sopenharmony_ci	msm_mux_prng_rosc1,
61362306a36Sopenharmony_ci	msm_mux_prng_rosc2,
61462306a36Sopenharmony_ci	msm_mux_prng_rosc3,
61562306a36Sopenharmony_ci	msm_mux_qdss_cti,
61662306a36Sopenharmony_ci	msm_mux_qdss_gpio,
61762306a36Sopenharmony_ci	msm_mux_qlink0_enable,
61862306a36Sopenharmony_ci	msm_mux_qlink0_request,
61962306a36Sopenharmony_ci	msm_mux_qlink0_wmss,
62062306a36Sopenharmony_ci	msm_mux_qlink1_enable,
62162306a36Sopenharmony_ci	msm_mux_qlink1_request,
62262306a36Sopenharmony_ci	msm_mux_qlink1_wmss,
62362306a36Sopenharmony_ci	msm_mux_qlink2_enable,
62462306a36Sopenharmony_ci	msm_mux_qlink2_request,
62562306a36Sopenharmony_ci	msm_mux_qlink2_wmss,
62662306a36Sopenharmony_ci	msm_mux_qspi0,
62762306a36Sopenharmony_ci	msm_mux_qspi1,
62862306a36Sopenharmony_ci	msm_mux_qspi2,
62962306a36Sopenharmony_ci	msm_mux_qspi3,
63062306a36Sopenharmony_ci	msm_mux_qspi_clk,
63162306a36Sopenharmony_ci	msm_mux_qspi_cs,
63262306a36Sopenharmony_ci	msm_mux_qup1_se0,
63362306a36Sopenharmony_ci	msm_mux_qup1_se1,
63462306a36Sopenharmony_ci	msm_mux_qup1_se2,
63562306a36Sopenharmony_ci	msm_mux_qup1_se3,
63662306a36Sopenharmony_ci	msm_mux_qup1_se4,
63762306a36Sopenharmony_ci	msm_mux_qup1_se5,
63862306a36Sopenharmony_ci	msm_mux_qup1_se6,
63962306a36Sopenharmony_ci	msm_mux_qup1_se7,
64062306a36Sopenharmony_ci	msm_mux_qup2_se0,
64162306a36Sopenharmony_ci	msm_mux_qup2_se0_l0_mira,
64262306a36Sopenharmony_ci	msm_mux_qup2_se0_l0_mirb,
64362306a36Sopenharmony_ci	msm_mux_qup2_se0_l1_mira,
64462306a36Sopenharmony_ci	msm_mux_qup2_se0_l1_mirb,
64562306a36Sopenharmony_ci	msm_mux_qup2_se0_l2_mira,
64662306a36Sopenharmony_ci	msm_mux_qup2_se0_l2_mirb,
64762306a36Sopenharmony_ci	msm_mux_qup2_se0_l3_mira,
64862306a36Sopenharmony_ci	msm_mux_qup2_se0_l3_mirb,
64962306a36Sopenharmony_ci	msm_mux_qup2_se1,
65062306a36Sopenharmony_ci	msm_mux_qup2_se2,
65162306a36Sopenharmony_ci	msm_mux_qup2_se3,
65262306a36Sopenharmony_ci	msm_mux_qup2_se4,
65362306a36Sopenharmony_ci	msm_mux_qup2_se5,
65462306a36Sopenharmony_ci	msm_mux_qup2_se6,
65562306a36Sopenharmony_ci	msm_mux_qup2_se7,
65662306a36Sopenharmony_ci	msm_mux_resout_n,
65762306a36Sopenharmony_ci	msm_mux_sd_write_protect,
65862306a36Sopenharmony_ci	msm_mux_sdc40,
65962306a36Sopenharmony_ci	msm_mux_sdc41,
66062306a36Sopenharmony_ci	msm_mux_sdc42,
66162306a36Sopenharmony_ci	msm_mux_sdc43,
66262306a36Sopenharmony_ci	msm_mux_sdc4_clk,
66362306a36Sopenharmony_ci	msm_mux_sdc4_cmd,
66462306a36Sopenharmony_ci	msm_mux_tb_trig_sdc2,
66562306a36Sopenharmony_ci	msm_mux_tb_trig_sdc4,
66662306a36Sopenharmony_ci	msm_mux_tgu_ch0_trigout,
66762306a36Sopenharmony_ci	msm_mux_tgu_ch1_trigout,
66862306a36Sopenharmony_ci	msm_mux_tgu_ch2_trigout,
66962306a36Sopenharmony_ci	msm_mux_tgu_ch3_trigout,
67062306a36Sopenharmony_ci	msm_mux_tmess_prng0,
67162306a36Sopenharmony_ci	msm_mux_tmess_prng1,
67262306a36Sopenharmony_ci	msm_mux_tmess_prng2,
67362306a36Sopenharmony_ci	msm_mux_tmess_prng3,
67462306a36Sopenharmony_ci	msm_mux_tsense_pwm1,
67562306a36Sopenharmony_ci	msm_mux_tsense_pwm2,
67662306a36Sopenharmony_ci	msm_mux_tsense_pwm3,
67762306a36Sopenharmony_ci	msm_mux_uim0_clk,
67862306a36Sopenharmony_ci	msm_mux_uim0_data,
67962306a36Sopenharmony_ci	msm_mux_uim0_present,
68062306a36Sopenharmony_ci	msm_mux_uim0_reset,
68162306a36Sopenharmony_ci	msm_mux_uim1_clk,
68262306a36Sopenharmony_ci	msm_mux_uim1_data,
68362306a36Sopenharmony_ci	msm_mux_uim1_present,
68462306a36Sopenharmony_ci	msm_mux_uim1_reset,
68562306a36Sopenharmony_ci	msm_mux_usb1_hs,
68662306a36Sopenharmony_ci	msm_mux_usb_phy,
68762306a36Sopenharmony_ci	msm_mux_vfr_0,
68862306a36Sopenharmony_ci	msm_mux_vfr_1,
68962306a36Sopenharmony_ci	msm_mux_vsense_trigger_mirnat,
69062306a36Sopenharmony_ci	msm_mux__,
69162306a36Sopenharmony_ci};
69262306a36Sopenharmony_ci
69362306a36Sopenharmony_cistatic const char * const gpio_groups[] = {
69462306a36Sopenharmony_ci	"gpio0", "gpio1", "gpio2", "gpio3", "gpio4", "gpio5", "gpio6", "gpio7",
69562306a36Sopenharmony_ci	"gpio8", "gpio9", "gpio10", "gpio11", "gpio12", "gpio13", "gpio14",
69662306a36Sopenharmony_ci	"gpio15", "gpio16", "gpio17", "gpio18", "gpio19", "gpio20", "gpio21",
69762306a36Sopenharmony_ci	"gpio22", "gpio23", "gpio24", "gpio25", "gpio26", "gpio27", "gpio28",
69862306a36Sopenharmony_ci	"gpio29", "gpio30", "gpio31", "gpio32", "gpio33", "gpio34", "gpio35",
69962306a36Sopenharmony_ci	"gpio36", "gpio37", "gpio38", "gpio39", "gpio40", "gpio41", "gpio42",
70062306a36Sopenharmony_ci	"gpio43", "gpio44", "gpio45", "gpio46", "gpio47", "gpio48", "gpio49",
70162306a36Sopenharmony_ci	"gpio50", "gpio51", "gpio52", "gpio53", "gpio54", "gpio55", "gpio56",
70262306a36Sopenharmony_ci	"gpio57", "gpio58", "gpio59", "gpio60", "gpio61", "gpio62", "gpio63",
70362306a36Sopenharmony_ci	"gpio64", "gpio65", "gpio66", "gpio67", "gpio68", "gpio69", "gpio70",
70462306a36Sopenharmony_ci	"gpio71", "gpio72", "gpio73", "gpio74", "gpio75", "gpio76", "gpio77",
70562306a36Sopenharmony_ci	"gpio78", "gpio79", "gpio80", "gpio81", "gpio82", "gpio83", "gpio84",
70662306a36Sopenharmony_ci	"gpio85", "gpio86", "gpio87", "gpio88", "gpio89", "gpio90", "gpio91",
70762306a36Sopenharmony_ci	"gpio92", "gpio93", "gpio94", "gpio95", "gpio96", "gpio97", "gpio98",
70862306a36Sopenharmony_ci	"gpio99", "gpio100", "gpio101", "gpio102", "gpio103", "gpio104",
70962306a36Sopenharmony_ci	"gpio105", "gpio106", "gpio107", "gpio108", "gpio109", "gpio110",
71062306a36Sopenharmony_ci	"gpio111", "gpio112", "gpio113", "gpio114", "gpio115", "gpio116",
71162306a36Sopenharmony_ci	"gpio117", "gpio118", "gpio119", "gpio120", "gpio121", "gpio122",
71262306a36Sopenharmony_ci	"gpio123", "gpio124", "gpio125", "gpio126", "gpio127", "gpio128",
71362306a36Sopenharmony_ci	"gpio129", "gpio130", "gpio131", "gpio132", "gpio133", "gpio134",
71462306a36Sopenharmony_ci	"gpio135", "gpio136", "gpio137", "gpio138", "gpio139", "gpio140",
71562306a36Sopenharmony_ci	"gpio141", "gpio142", "gpio143", "gpio144", "gpio145", "gpio146",
71662306a36Sopenharmony_ci	"gpio147", "gpio148", "gpio149", "gpio150", "gpio151", "gpio152",
71762306a36Sopenharmony_ci	"gpio153", "gpio154", "gpio155", "gpio156", "gpio157", "gpio158",
71862306a36Sopenharmony_ci	"gpio159", "gpio160", "gpio161", "gpio162", "gpio163", "gpio164",
71962306a36Sopenharmony_ci	"gpio165", "gpio166", "gpio167", "gpio168", "gpio169", "gpio170",
72062306a36Sopenharmony_ci	"gpio171", "gpio172", "gpio173", "gpio174", "gpio175", "gpio176",
72162306a36Sopenharmony_ci	"gpio177", "gpio178", "gpio179", "gpio180", "gpio181", "gpio182",
72262306a36Sopenharmony_ci	"gpio183", "gpio184", "gpio185", "gpio186", "gpio187", "gpio188",
72362306a36Sopenharmony_ci	"gpio189", "gpio190", "gpio191", "gpio192", "gpio193", "gpio194",
72462306a36Sopenharmony_ci	"gpio195", "gpio196", "gpio197", "gpio198", "gpio199", "gpio200",
72562306a36Sopenharmony_ci	"gpio201", "gpio202", "gpio203", "gpio204", "gpio205", "gpio206",
72662306a36Sopenharmony_ci	"gpio207", "gpio208", "gpio209",
72762306a36Sopenharmony_ci};
72862306a36Sopenharmony_ci
72962306a36Sopenharmony_cistatic const char * const aon_cci_groups[] = {
73062306a36Sopenharmony_ci	"gpio208", "gpio209",
73162306a36Sopenharmony_ci};
73262306a36Sopenharmony_ci
73362306a36Sopenharmony_cistatic const char * const aoss_cti_groups[] = {
73462306a36Sopenharmony_ci	"gpio44", "gpio45", "gpio46", "gpio47",
73562306a36Sopenharmony_ci};
73662306a36Sopenharmony_ci
73762306a36Sopenharmony_cistatic const char *const atest_char_groups[] = {
73862306a36Sopenharmony_ci	"gpio130", "gpio132", "gpio133", "gpio134", "gpio135",
73962306a36Sopenharmony_ci};
74062306a36Sopenharmony_ci
74162306a36Sopenharmony_cistatic const char *const atest_usb_groups[] = {
74262306a36Sopenharmony_ci	"gpio37", "gpio39", "gpio55", "gpio149", "gpio148",
74362306a36Sopenharmony_ci};
74462306a36Sopenharmony_ci
74562306a36Sopenharmony_cistatic const char *const audio_ext_mclk0_groups[] = {
74662306a36Sopenharmony_ci	"gpio125",
74762306a36Sopenharmony_ci};
74862306a36Sopenharmony_ci
74962306a36Sopenharmony_cistatic const char *const audio_ext_mclk1_groups[] = {
75062306a36Sopenharmony_ci	"gpio124",
75162306a36Sopenharmony_ci};
75262306a36Sopenharmony_ci
75362306a36Sopenharmony_cistatic const char *const audio_ref_clk_groups[] = {
75462306a36Sopenharmony_ci	"gpio124",
75562306a36Sopenharmony_ci};
75662306a36Sopenharmony_ci
75762306a36Sopenharmony_cistatic const char *const cam_aon_mclk4_groups[] = {
75862306a36Sopenharmony_ci	"gpio104",
75962306a36Sopenharmony_ci};
76062306a36Sopenharmony_ci
76162306a36Sopenharmony_cistatic const char *const cam_mclk_groups[] = {
76262306a36Sopenharmony_ci	"gpio100", "gpio101", "gpio102", "gpio103",
76362306a36Sopenharmony_ci	"gpio105", "gpio106", "gpio107",
76462306a36Sopenharmony_ci};
76562306a36Sopenharmony_ci
76662306a36Sopenharmony_cistatic const char *const cci_async_in_groups[] = {
76762306a36Sopenharmony_ci	"gpio71", "gpio72", "gpio109",
76862306a36Sopenharmony_ci};
76962306a36Sopenharmony_ci
77062306a36Sopenharmony_cistatic const char *const cci_i2c_scl_groups[] = {
77162306a36Sopenharmony_ci	"gpio111", "gpio113", "gpio115", "gpio75", "gpio1",
77262306a36Sopenharmony_ci};
77362306a36Sopenharmony_ci
77462306a36Sopenharmony_cistatic const char *const cci_i2c_sda_groups[] = {
77562306a36Sopenharmony_ci	"gpio110", "gpio112", "gpio114", "gpio74", "gpio0",
77662306a36Sopenharmony_ci};
77762306a36Sopenharmony_ci
77862306a36Sopenharmony_cistatic const char *const cci_timer_groups[] = {
77962306a36Sopenharmony_ci	"gpio116", "gpio117", "gpio118", "gpio119", "gpio120",
78062306a36Sopenharmony_ci};
78162306a36Sopenharmony_ci
78262306a36Sopenharmony_cistatic const char *const cmu_rng_groups[] = {
78362306a36Sopenharmony_ci	"gpio129", "gpio128", "gpio127", "gpio122",
78462306a36Sopenharmony_ci};
78562306a36Sopenharmony_ci
78662306a36Sopenharmony_cistatic const char *const coex_uart1_rx_groups[] = {
78762306a36Sopenharmony_ci	"gpio148",
78862306a36Sopenharmony_ci};
78962306a36Sopenharmony_ci
79062306a36Sopenharmony_cistatic const char *const coex_uart1_tx_groups[] = {
79162306a36Sopenharmony_ci	"gpio149",
79262306a36Sopenharmony_ci};
79362306a36Sopenharmony_ci
79462306a36Sopenharmony_cistatic const char *const coex_uart2_rx_groups[] = {
79562306a36Sopenharmony_ci	"gpio150",
79662306a36Sopenharmony_ci};
79762306a36Sopenharmony_ci
79862306a36Sopenharmony_cistatic const char *const coex_uart2_tx_groups[] = {
79962306a36Sopenharmony_ci	"gpio151",
80062306a36Sopenharmony_ci};
80162306a36Sopenharmony_ci
80262306a36Sopenharmony_cistatic const char *const cri_trng_groups[] = {
80362306a36Sopenharmony_ci	"gpio187",
80462306a36Sopenharmony_ci};
80562306a36Sopenharmony_ci
80662306a36Sopenharmony_cistatic const char *const dbg_out_clk_groups[] = {
80762306a36Sopenharmony_ci	"gpio89",
80862306a36Sopenharmony_ci};
80962306a36Sopenharmony_ci
81062306a36Sopenharmony_cistatic const char *const ddr_bist_complete_groups[] = {
81162306a36Sopenharmony_ci	"gpio40",
81262306a36Sopenharmony_ci};
81362306a36Sopenharmony_ci
81462306a36Sopenharmony_cistatic const char *const ddr_bist_fail_groups[] = {
81562306a36Sopenharmony_ci	"gpio36",
81662306a36Sopenharmony_ci};
81762306a36Sopenharmony_ci
81862306a36Sopenharmony_cistatic const char *const ddr_bist_start_groups[] = {
81962306a36Sopenharmony_ci	"gpio37",
82062306a36Sopenharmony_ci};
82162306a36Sopenharmony_ci
82262306a36Sopenharmony_cistatic const char *const ddr_bist_stop_groups[] = {
82362306a36Sopenharmony_ci	"gpio41",
82462306a36Sopenharmony_ci};
82562306a36Sopenharmony_ci
82662306a36Sopenharmony_cistatic const char *const ddr_pxi0_groups[] = {
82762306a36Sopenharmony_ci	"gpio51",
82862306a36Sopenharmony_ci	"gpio52",
82962306a36Sopenharmony_ci};
83062306a36Sopenharmony_ci
83162306a36Sopenharmony_cistatic const char *const ddr_pxi1_groups[] = {
83262306a36Sopenharmony_ci	"gpio40",
83362306a36Sopenharmony_ci	"gpio41",
83462306a36Sopenharmony_ci};
83562306a36Sopenharmony_ci
83662306a36Sopenharmony_cistatic const char *const ddr_pxi2_groups[] = {
83762306a36Sopenharmony_ci	"gpio45",
83862306a36Sopenharmony_ci	"gpio47",
83962306a36Sopenharmony_ci};
84062306a36Sopenharmony_ci
84162306a36Sopenharmony_cistatic const char *const ddr_pxi3_groups[] = {
84262306a36Sopenharmony_ci	"gpio43",
84362306a36Sopenharmony_ci	"gpio44",
84462306a36Sopenharmony_ci};
84562306a36Sopenharmony_ci
84662306a36Sopenharmony_cistatic const char *const dp_hot_groups[] = {
84762306a36Sopenharmony_ci	"gpio47",
84862306a36Sopenharmony_ci};
84962306a36Sopenharmony_ci
85062306a36Sopenharmony_cistatic const char *const gcc_gp1_groups[] = {
85162306a36Sopenharmony_ci	"gpio86",
85262306a36Sopenharmony_ci	"gpio134",
85362306a36Sopenharmony_ci};
85462306a36Sopenharmony_ci
85562306a36Sopenharmony_cistatic const char *const gcc_gp2_groups[] = {
85662306a36Sopenharmony_ci	"gpio87",
85762306a36Sopenharmony_ci	"gpio135",
85862306a36Sopenharmony_ci};
85962306a36Sopenharmony_ci
86062306a36Sopenharmony_cistatic const char *const gcc_gp3_groups[] = {
86162306a36Sopenharmony_ci	"gpio88",
86262306a36Sopenharmony_ci	"gpio136",
86362306a36Sopenharmony_ci};
86462306a36Sopenharmony_ci
86562306a36Sopenharmony_cistatic const char *const i2chub0_se0_groups[] = {
86662306a36Sopenharmony_ci	"gpio16",
86762306a36Sopenharmony_ci	"gpio17",
86862306a36Sopenharmony_ci};
86962306a36Sopenharmony_ci
87062306a36Sopenharmony_cistatic const char *const i2chub0_se1_groups[] = {
87162306a36Sopenharmony_ci	"gpio18",
87262306a36Sopenharmony_ci	"gpio19",
87362306a36Sopenharmony_ci};
87462306a36Sopenharmony_ci
87562306a36Sopenharmony_cistatic const char *const i2chub0_se2_groups[] = {
87662306a36Sopenharmony_ci	"gpio20",
87762306a36Sopenharmony_ci	"gpio21",
87862306a36Sopenharmony_ci};
87962306a36Sopenharmony_ci
88062306a36Sopenharmony_cistatic const char *const i2chub0_se3_groups[] = {
88162306a36Sopenharmony_ci	"gpio22",
88262306a36Sopenharmony_ci	"gpio23",
88362306a36Sopenharmony_ci};
88462306a36Sopenharmony_ci
88562306a36Sopenharmony_cistatic const char *const i2chub0_se4_groups[] = {
88662306a36Sopenharmony_ci	"gpio4",
88762306a36Sopenharmony_ci	"gpio5",
88862306a36Sopenharmony_ci};
88962306a36Sopenharmony_ci
89062306a36Sopenharmony_cistatic const char *const i2chub0_se5_groups[] = {
89162306a36Sopenharmony_ci	"gpio6",
89262306a36Sopenharmony_ci	"gpio7",
89362306a36Sopenharmony_ci};
89462306a36Sopenharmony_ci
89562306a36Sopenharmony_cistatic const char *const i2chub0_se6_groups[] = {
89662306a36Sopenharmony_ci	"gpio8",
89762306a36Sopenharmony_ci	"gpio9",
89862306a36Sopenharmony_ci};
89962306a36Sopenharmony_ci
90062306a36Sopenharmony_cistatic const char *const i2chub0_se7_groups[] = {
90162306a36Sopenharmony_ci	"gpio10",
90262306a36Sopenharmony_ci	"gpio11",
90362306a36Sopenharmony_ci};
90462306a36Sopenharmony_ci
90562306a36Sopenharmony_cistatic const char *const i2chub0_se8_groups[] = {
90662306a36Sopenharmony_ci	"gpio206",
90762306a36Sopenharmony_ci	"gpio207",
90862306a36Sopenharmony_ci};
90962306a36Sopenharmony_ci
91062306a36Sopenharmony_cistatic const char *const i2chub0_se9_groups[] = {
91162306a36Sopenharmony_ci	"gpio84",
91262306a36Sopenharmony_ci	"gpio85",
91362306a36Sopenharmony_ci};
91462306a36Sopenharmony_ci
91562306a36Sopenharmony_cistatic const char *const i2s0_data0_groups[] = {
91662306a36Sopenharmony_ci	"gpio127",
91762306a36Sopenharmony_ci};
91862306a36Sopenharmony_ci
91962306a36Sopenharmony_cistatic const char *const i2s0_data1_groups[] = {
92062306a36Sopenharmony_ci	"gpio128",
92162306a36Sopenharmony_ci};
92262306a36Sopenharmony_ci
92362306a36Sopenharmony_cistatic const char *const i2s0_sck_groups[] = {
92462306a36Sopenharmony_ci	"gpio126",
92562306a36Sopenharmony_ci};
92662306a36Sopenharmony_ci
92762306a36Sopenharmony_cistatic const char *const i2s0_ws_groups[] = {
92862306a36Sopenharmony_ci	"gpio129",
92962306a36Sopenharmony_ci};
93062306a36Sopenharmony_ci
93162306a36Sopenharmony_cistatic const char *const i2s1_data0_groups[] = {
93262306a36Sopenharmony_ci	"gpio122",
93362306a36Sopenharmony_ci};
93462306a36Sopenharmony_ci
93562306a36Sopenharmony_cistatic const char *const i2s1_data1_groups[] = {
93662306a36Sopenharmony_ci	"gpio124",
93762306a36Sopenharmony_ci};
93862306a36Sopenharmony_ci
93962306a36Sopenharmony_cistatic const char *const i2s1_sck_groups[] = {
94062306a36Sopenharmony_ci	"gpio121",
94162306a36Sopenharmony_ci};
94262306a36Sopenharmony_ci
94362306a36Sopenharmony_cistatic const char *const i2s1_ws_groups[] = {
94462306a36Sopenharmony_ci	"gpio123",
94562306a36Sopenharmony_ci};
94662306a36Sopenharmony_ci
94762306a36Sopenharmony_cistatic const char *const ibi_i3c_groups[] = {
94862306a36Sopenharmony_ci	"gpio0",  "gpio1",  "gpio28", "gpio29", "gpio32",
94962306a36Sopenharmony_ci	"gpio33", "gpio56", "gpio57", "gpio60", "gpio61",
95062306a36Sopenharmony_ci};
95162306a36Sopenharmony_ci
95262306a36Sopenharmony_cistatic const char *const jitter_bist_groups[] = {
95362306a36Sopenharmony_ci	"gpio43",
95462306a36Sopenharmony_ci};
95562306a36Sopenharmony_ci
95662306a36Sopenharmony_cistatic const char *const mdp_vsync_groups[] = {
95762306a36Sopenharmony_ci	"gpio86",
95862306a36Sopenharmony_ci	"gpio87",
95962306a36Sopenharmony_ci	"gpio133",
96062306a36Sopenharmony_ci	"gpio137",
96162306a36Sopenharmony_ci};
96262306a36Sopenharmony_ci
96362306a36Sopenharmony_cistatic const char *const mdp_vsync0_out_groups[] = {
96462306a36Sopenharmony_ci	"gpio86",
96562306a36Sopenharmony_ci};
96662306a36Sopenharmony_ci
96762306a36Sopenharmony_cistatic const char *const mdp_vsync1_out_groups[] = {
96862306a36Sopenharmony_ci	"gpio86",
96962306a36Sopenharmony_ci};
97062306a36Sopenharmony_ci
97162306a36Sopenharmony_cistatic const char *const mdp_vsync2_out_groups[] = {
97262306a36Sopenharmony_ci	"gpio87",
97362306a36Sopenharmony_ci};
97462306a36Sopenharmony_ci
97562306a36Sopenharmony_cistatic const char *const mdp_vsync3_out_groups[] = {
97662306a36Sopenharmony_ci	"gpio87",
97762306a36Sopenharmony_ci};
97862306a36Sopenharmony_ci
97962306a36Sopenharmony_cistatic const char *const mdp_vsync_e_groups[] = {
98062306a36Sopenharmony_ci	"gpio88",
98162306a36Sopenharmony_ci};
98262306a36Sopenharmony_ci
98362306a36Sopenharmony_cistatic const char *const nav_gpio0_groups[] = {
98462306a36Sopenharmony_ci	"gpio154",
98562306a36Sopenharmony_ci};
98662306a36Sopenharmony_ci
98762306a36Sopenharmony_cistatic const char *const nav_gpio1_groups[] = {
98862306a36Sopenharmony_ci	"gpio155",
98962306a36Sopenharmony_ci};
99062306a36Sopenharmony_ci
99162306a36Sopenharmony_cistatic const char *const nav_gpio2_groups[] = {
99262306a36Sopenharmony_ci	"gpio153",
99362306a36Sopenharmony_ci};
99462306a36Sopenharmony_ci
99562306a36Sopenharmony_cistatic const char *const pcie0_clk_req_n_groups[] = {
99662306a36Sopenharmony_ci	"gpio95",
99762306a36Sopenharmony_ci};
99862306a36Sopenharmony_ci
99962306a36Sopenharmony_cistatic const char *const pcie1_clk_req_n_groups[] = {
100062306a36Sopenharmony_ci	"gpio98",
100162306a36Sopenharmony_ci};
100262306a36Sopenharmony_ci
100362306a36Sopenharmony_cistatic const char *const phase_flag_groups[] = {
100462306a36Sopenharmony_ci	"gpio0", "gpio2", "gpio3", "gpio10", "gpio11", "gpio12", "gpio13", "gpio59",
100562306a36Sopenharmony_ci	"gpio63", "gpio64", "gpio65", "gpio67", "gpio68", "gpio69", "gpio75", "gpio76",
100662306a36Sopenharmony_ci	"gpio77", "gpio79", "gpio80", "gpio81", "gpio92", "gpio83", "gpio94", "gpio95",
100762306a36Sopenharmony_ci	"gpio96", "gpio97", "gpio98", "gpio99", "gpio116", "gpio117", "gpio119", "gpio120",
100862306a36Sopenharmony_ci};
100962306a36Sopenharmony_ci
101062306a36Sopenharmony_cistatic const char *const pll_bist_sync_groups[] = {
101162306a36Sopenharmony_ci	"gpio20",
101262306a36Sopenharmony_ci};
101362306a36Sopenharmony_ci
101462306a36Sopenharmony_cistatic const char *const pll_clk_aux_groups[] = {
101562306a36Sopenharmony_ci	"gpio107",
101662306a36Sopenharmony_ci};
101762306a36Sopenharmony_ci
101862306a36Sopenharmony_cistatic const char *const prng_rosc0_groups[] = {
101962306a36Sopenharmony_ci	"gpio186",
102062306a36Sopenharmony_ci};
102162306a36Sopenharmony_ci
102262306a36Sopenharmony_cistatic const char *const prng_rosc1_groups[] = {
102362306a36Sopenharmony_ci	"gpio183",
102462306a36Sopenharmony_ci};
102562306a36Sopenharmony_ci
102662306a36Sopenharmony_cistatic const char *const prng_rosc2_groups[] = {
102762306a36Sopenharmony_ci	"gpio182",
102862306a36Sopenharmony_ci};
102962306a36Sopenharmony_ci
103062306a36Sopenharmony_cistatic const char *const prng_rosc3_groups[] = {
103162306a36Sopenharmony_ci	"gpio181",
103262306a36Sopenharmony_ci};
103362306a36Sopenharmony_ci
103462306a36Sopenharmony_cistatic const char *const qdss_cti_groups[] = {
103562306a36Sopenharmony_ci	"gpio10",  "gpio11",  "gpio75",  "gpio79",
103662306a36Sopenharmony_ci	"gpio159", "gpio160", "gpio161", "gpio162",
103762306a36Sopenharmony_ci};
103862306a36Sopenharmony_ci
103962306a36Sopenharmony_cistatic const char *const qdss_gpio_groups[] = {
104062306a36Sopenharmony_ci	"gpio59", "gpio64", "gpio73", "gpio100", "gpio101", "gpio102", "gpio103",
104162306a36Sopenharmony_ci	"gpio104", "gpio105", "gpio110", "gpio111", "gpio112", "gpio113", "gpio114",
104262306a36Sopenharmony_ci	"gpio115", "gpio116", "gpio117", "gpio120", "gpio138", "gpio139", "gpio140",
104362306a36Sopenharmony_ci	"gpio141", "gpio142", "gpio143", "gpio144", "gpio145", "gpio148", "gpio149",
104462306a36Sopenharmony_ci	"gpio150", "gpio151", "gpio152", "gpio153", "gpio154", "gpio155", "gpio156",
104562306a36Sopenharmony_ci	"gpio157",
104662306a36Sopenharmony_ci};
104762306a36Sopenharmony_ci
104862306a36Sopenharmony_cistatic const char *const qlink0_enable_groups[] = {
104962306a36Sopenharmony_ci	"gpio157",
105062306a36Sopenharmony_ci};
105162306a36Sopenharmony_ci
105262306a36Sopenharmony_cistatic const char *const qlink0_request_groups[] = {
105362306a36Sopenharmony_ci	"gpio156",
105462306a36Sopenharmony_ci};
105562306a36Sopenharmony_ci
105662306a36Sopenharmony_cistatic const char *const qlink0_wmss_groups[] = {
105762306a36Sopenharmony_ci	"gpio158",
105862306a36Sopenharmony_ci};
105962306a36Sopenharmony_ci
106062306a36Sopenharmony_cistatic const char *const qlink1_enable_groups[] = {
106162306a36Sopenharmony_ci	"gpio160",
106262306a36Sopenharmony_ci};
106362306a36Sopenharmony_ci
106462306a36Sopenharmony_cistatic const char *const qlink1_request_groups[] = {
106562306a36Sopenharmony_ci	"gpio159",
106662306a36Sopenharmony_ci};
106762306a36Sopenharmony_ci
106862306a36Sopenharmony_cistatic const char *const qlink1_wmss_groups[] = {
106962306a36Sopenharmony_ci	"gpio161",
107062306a36Sopenharmony_ci};
107162306a36Sopenharmony_ci
107262306a36Sopenharmony_cistatic const char *const qlink2_enable_groups[] = {
107362306a36Sopenharmony_ci	"gpio163",
107462306a36Sopenharmony_ci};
107562306a36Sopenharmony_ci
107662306a36Sopenharmony_cistatic const char *const qlink2_request_groups[] = {
107762306a36Sopenharmony_ci	"gpio162",
107862306a36Sopenharmony_ci};
107962306a36Sopenharmony_ci
108062306a36Sopenharmony_cistatic const char *const qlink2_wmss_groups[] = {
108162306a36Sopenharmony_ci	"gpio164",
108262306a36Sopenharmony_ci};
108362306a36Sopenharmony_ci
108462306a36Sopenharmony_cistatic const char *const qspi0_groups[] = {
108562306a36Sopenharmony_ci	"gpio89",
108662306a36Sopenharmony_ci};
108762306a36Sopenharmony_ci
108862306a36Sopenharmony_cistatic const char *const qspi1_groups[] = {
108962306a36Sopenharmony_ci	"gpio90",
109062306a36Sopenharmony_ci};
109162306a36Sopenharmony_ci
109262306a36Sopenharmony_cistatic const char *const qspi2_groups[] = {
109362306a36Sopenharmony_ci	"gpio48",
109462306a36Sopenharmony_ci};
109562306a36Sopenharmony_ci
109662306a36Sopenharmony_cistatic const char *const qspi3_groups[] = {
109762306a36Sopenharmony_ci	"gpio49",
109862306a36Sopenharmony_ci};
109962306a36Sopenharmony_ci
110062306a36Sopenharmony_cistatic const char *const qspi_clk_groups[] = {
110162306a36Sopenharmony_ci	"gpio50",
110262306a36Sopenharmony_ci};
110362306a36Sopenharmony_ci
110462306a36Sopenharmony_cistatic const char *const qspi_cs_groups[] = {
110562306a36Sopenharmony_ci	"gpio51", "gpio91",
110662306a36Sopenharmony_ci};
110762306a36Sopenharmony_ci
110862306a36Sopenharmony_cistatic const char *const qup1_se0_groups[] = {
110962306a36Sopenharmony_ci	"gpio28", "gpio29", "gpio30", "gpio31",
111062306a36Sopenharmony_ci};
111162306a36Sopenharmony_ci
111262306a36Sopenharmony_cistatic const char *const qup1_se1_groups[] = {
111362306a36Sopenharmony_ci	"gpio32", "gpio33", "gpio34", "gpio35",
111462306a36Sopenharmony_ci};
111562306a36Sopenharmony_ci
111662306a36Sopenharmony_cistatic const char *const qup1_se2_groups[] = {
111762306a36Sopenharmony_ci	"gpio40", "gpio41", "gpio42", "gpio36",
111862306a36Sopenharmony_ci	"gpio37", "gpio38", "gpio39",
111962306a36Sopenharmony_ci};
112062306a36Sopenharmony_ci
112162306a36Sopenharmony_cistatic const char *const qup1_se3_groups[] = {
112262306a36Sopenharmony_ci	"gpio40", "gpio41", "gpio42", "gpio43",
112362306a36Sopenharmony_ci};
112462306a36Sopenharmony_ci
112562306a36Sopenharmony_cistatic const char *const qup1_se4_groups[] = {
112662306a36Sopenharmony_ci	"gpio44", "gpio45", "gpio46", "gpio47",
112762306a36Sopenharmony_ci};
112862306a36Sopenharmony_ci
112962306a36Sopenharmony_cistatic const char *const qup1_se5_groups[] = {
113062306a36Sopenharmony_ci	"gpio52", "gpio53", "gpio54", "gpio55",
113162306a36Sopenharmony_ci};
113262306a36Sopenharmony_ci
113362306a36Sopenharmony_cistatic const char *const qup1_se6_groups[] = {
113462306a36Sopenharmony_ci	"gpio48", "gpio49", "gpio50", "gpio51",
113562306a36Sopenharmony_ci};
113662306a36Sopenharmony_ci
113762306a36Sopenharmony_cistatic const char *const qup1_se7_groups[] = {
113862306a36Sopenharmony_ci	"gpio24", "gpio25", "gpio26", "gpio27",
113962306a36Sopenharmony_ci};
114062306a36Sopenharmony_ci
114162306a36Sopenharmony_cistatic const char *const qup2_se0_groups[] = {
114262306a36Sopenharmony_ci	"gpio63", "gpio66", "gpio67",
114362306a36Sopenharmony_ci};
114462306a36Sopenharmony_ci
114562306a36Sopenharmony_cistatic const char *const qup2_se0_l0_mira_groups[] = {
114662306a36Sopenharmony_ci	"gpio56",
114762306a36Sopenharmony_ci};
114862306a36Sopenharmony_ci
114962306a36Sopenharmony_cistatic const char *const qup2_se0_l0_mirb_groups[] = {
115062306a36Sopenharmony_ci	"gpio0",
115162306a36Sopenharmony_ci};
115262306a36Sopenharmony_ci
115362306a36Sopenharmony_cistatic const char *const qup2_se0_l1_mira_groups[] = {
115462306a36Sopenharmony_ci	"gpio57",
115562306a36Sopenharmony_ci};
115662306a36Sopenharmony_ci
115762306a36Sopenharmony_cistatic const char *const qup2_se0_l1_mirb_groups[] = {
115862306a36Sopenharmony_ci	"gpio1",
115962306a36Sopenharmony_ci};
116062306a36Sopenharmony_ci
116162306a36Sopenharmony_cistatic const char *const qup2_se0_l2_mira_groups[] = {
116262306a36Sopenharmony_ci	"gpio58",
116362306a36Sopenharmony_ci};
116462306a36Sopenharmony_ci
116562306a36Sopenharmony_cistatic const char *const qup2_se0_l2_mirb_groups[] = {
116662306a36Sopenharmony_ci	"gpio109",
116762306a36Sopenharmony_ci};
116862306a36Sopenharmony_ci
116962306a36Sopenharmony_cistatic const char *const qup2_se0_l3_mira_groups[] = {
117062306a36Sopenharmony_ci	"gpio59",
117162306a36Sopenharmony_ci};
117262306a36Sopenharmony_ci
117362306a36Sopenharmony_cistatic const char *const qup2_se0_l3_mirb_groups[] = {
117462306a36Sopenharmony_ci	"gpio107",
117562306a36Sopenharmony_ci};
117662306a36Sopenharmony_ci
117762306a36Sopenharmony_cistatic const char *const qup2_se1_groups[] = {
117862306a36Sopenharmony_ci	"gpio60", "gpio61", "gpio62", "gpio63",
117962306a36Sopenharmony_ci};
118062306a36Sopenharmony_ci
118162306a36Sopenharmony_cistatic const char *const qup2_se2_groups[] = {
118262306a36Sopenharmony_ci	"gpio64", "gpio65", "gpio66", "gpio67",
118362306a36Sopenharmony_ci};
118462306a36Sopenharmony_ci
118562306a36Sopenharmony_cistatic const char *const qup2_se3_groups[] = {
118662306a36Sopenharmony_ci	"gpio68", "gpio69", "gpio70", "gpio71",
118762306a36Sopenharmony_ci};
118862306a36Sopenharmony_ci
118962306a36Sopenharmony_cistatic const char *const qup2_se4_groups[] = {
119062306a36Sopenharmony_ci	"gpio2", "gpio3", "gpio118", "gpio119",
119162306a36Sopenharmony_ci};
119262306a36Sopenharmony_ci
119362306a36Sopenharmony_cistatic const char *const qup2_se5_groups[] = {
119462306a36Sopenharmony_ci	"gpio80", "gpio81", "gpio82", "gpio83",
119562306a36Sopenharmony_ci};
119662306a36Sopenharmony_ci
119762306a36Sopenharmony_cistatic const char *const qup2_se6_groups[] = {
119862306a36Sopenharmony_ci	"gpio76", "gpio77", "gpio78", "gpio79",
119962306a36Sopenharmony_ci};
120062306a36Sopenharmony_ci
120162306a36Sopenharmony_cistatic const char *const qup2_se7_groups[] = {
120262306a36Sopenharmony_ci	"gpio72", "gpio106", "gpio74", "gpio75",
120362306a36Sopenharmony_ci};
120462306a36Sopenharmony_ci
120562306a36Sopenharmony_cistatic const char * const resout_n_groups[] = {
120662306a36Sopenharmony_ci	"gpio92",
120762306a36Sopenharmony_ci};
120862306a36Sopenharmony_ci
120962306a36Sopenharmony_cistatic const char *const sd_write_protect_groups[] = {
121062306a36Sopenharmony_ci	"gpio93",
121162306a36Sopenharmony_ci};
121262306a36Sopenharmony_ci
121362306a36Sopenharmony_cistatic const char *const sdc40_groups[] = {
121462306a36Sopenharmony_ci	"gpio89",
121562306a36Sopenharmony_ci};
121662306a36Sopenharmony_ci
121762306a36Sopenharmony_cistatic const char *const sdc41_groups[] = {
121862306a36Sopenharmony_ci	"gpio90",
121962306a36Sopenharmony_ci};
122062306a36Sopenharmony_ci
122162306a36Sopenharmony_cistatic const char *const sdc42_groups[] = {
122262306a36Sopenharmony_ci	"gpio48",
122362306a36Sopenharmony_ci};
122462306a36Sopenharmony_ci
122562306a36Sopenharmony_cistatic const char *const sdc43_groups[] = {
122662306a36Sopenharmony_ci	"gpio49",
122762306a36Sopenharmony_ci};
122862306a36Sopenharmony_ci
122962306a36Sopenharmony_cistatic const char *const sdc4_clk_groups[] = {
123062306a36Sopenharmony_ci	"gpio50",
123162306a36Sopenharmony_ci};
123262306a36Sopenharmony_ci
123362306a36Sopenharmony_cistatic const char *const sdc4_cmd_groups[] = {
123462306a36Sopenharmony_ci	"gpio51",
123562306a36Sopenharmony_ci};
123662306a36Sopenharmony_ci
123762306a36Sopenharmony_cistatic const char * const tb_trig_sdc2_groups[] = {
123862306a36Sopenharmony_ci	"gpio64",
123962306a36Sopenharmony_ci};
124062306a36Sopenharmony_ci
124162306a36Sopenharmony_cistatic const char * const tb_trig_sdc4_groups[] = {
124262306a36Sopenharmony_ci	"gpio91",
124362306a36Sopenharmony_ci};
124462306a36Sopenharmony_ci
124562306a36Sopenharmony_cistatic const char * const tgu_ch0_trigout_groups[] = {
124662306a36Sopenharmony_ci	"gpio64",
124762306a36Sopenharmony_ci};
124862306a36Sopenharmony_ci
124962306a36Sopenharmony_cistatic const char * const tgu_ch1_trigout_groups[] = {
125062306a36Sopenharmony_ci	"gpio65",
125162306a36Sopenharmony_ci};
125262306a36Sopenharmony_ci
125362306a36Sopenharmony_cistatic const char * const tgu_ch2_trigout_groups[] = {
125462306a36Sopenharmony_ci	"gpio66",
125562306a36Sopenharmony_ci};
125662306a36Sopenharmony_ci
125762306a36Sopenharmony_cistatic const char * const tgu_ch3_trigout_groups[] = {
125862306a36Sopenharmony_ci	"gpio67",
125962306a36Sopenharmony_ci};
126062306a36Sopenharmony_ci
126162306a36Sopenharmony_cistatic const char *const tmess_prng0_groups[] = {
126262306a36Sopenharmony_ci	"gpio92",
126362306a36Sopenharmony_ci};
126462306a36Sopenharmony_ci
126562306a36Sopenharmony_cistatic const char *const tmess_prng1_groups[] = {
126662306a36Sopenharmony_ci	"gpio94",
126762306a36Sopenharmony_ci};
126862306a36Sopenharmony_ci
126962306a36Sopenharmony_cistatic const char *const tmess_prng2_groups[] = {
127062306a36Sopenharmony_ci	"gpio95",
127162306a36Sopenharmony_ci};
127262306a36Sopenharmony_ci
127362306a36Sopenharmony_cistatic const char *const tmess_prng3_groups[] = {
127462306a36Sopenharmony_ci	"gpio96",
127562306a36Sopenharmony_ci};
127662306a36Sopenharmony_ci
127762306a36Sopenharmony_cistatic const char *const tsense_pwm1_groups[] = {
127862306a36Sopenharmony_ci	"gpio50",
127962306a36Sopenharmony_ci};
128062306a36Sopenharmony_ci
128162306a36Sopenharmony_cistatic const char *const tsense_pwm2_groups[] = {
128262306a36Sopenharmony_ci	"gpio50",
128362306a36Sopenharmony_ci};
128462306a36Sopenharmony_ci
128562306a36Sopenharmony_cistatic const char *const tsense_pwm3_groups[] = {
128662306a36Sopenharmony_ci	"gpio50",
128762306a36Sopenharmony_ci};
128862306a36Sopenharmony_ci
128962306a36Sopenharmony_cistatic const char *const uim0_clk_groups[] = {
129062306a36Sopenharmony_ci	"gpio131",
129162306a36Sopenharmony_ci};
129262306a36Sopenharmony_ci
129362306a36Sopenharmony_cistatic const char *const uim0_data_groups[] = {
129462306a36Sopenharmony_ci	"gpio130",
129562306a36Sopenharmony_ci};
129662306a36Sopenharmony_ci
129762306a36Sopenharmony_cistatic const char *const uim0_present_groups[] = {
129862306a36Sopenharmony_ci	"gpio27",
129962306a36Sopenharmony_ci};
130062306a36Sopenharmony_ci
130162306a36Sopenharmony_cistatic const char *const uim0_reset_groups[] = {
130262306a36Sopenharmony_ci	"gpio132",
130362306a36Sopenharmony_ci};
130462306a36Sopenharmony_ci
130562306a36Sopenharmony_cistatic const char *const uim1_clk_groups[] = {
130662306a36Sopenharmony_ci	"gpio135",
130762306a36Sopenharmony_ci};
130862306a36Sopenharmony_ci
130962306a36Sopenharmony_cistatic const char *const uim1_data_groups[] = {
131062306a36Sopenharmony_ci	"gpio134",
131162306a36Sopenharmony_ci};
131262306a36Sopenharmony_ci
131362306a36Sopenharmony_cistatic const char *const uim1_present_groups[] = {
131462306a36Sopenharmony_ci	"gpio26",
131562306a36Sopenharmony_ci};
131662306a36Sopenharmony_ci
131762306a36Sopenharmony_cistatic const char *const uim1_reset_groups[] = {
131862306a36Sopenharmony_ci	"gpio136",
131962306a36Sopenharmony_ci};
132062306a36Sopenharmony_ci
132162306a36Sopenharmony_cistatic const char *const usb1_hs_groups[] = {
132262306a36Sopenharmony_ci	"gpio90",
132362306a36Sopenharmony_ci};
132462306a36Sopenharmony_ci
132562306a36Sopenharmony_cistatic const char *const usb_phy_groups[] = {
132662306a36Sopenharmony_ci	"gpio11",
132762306a36Sopenharmony_ci	"gpio48",
132862306a36Sopenharmony_ci};
132962306a36Sopenharmony_ci
133062306a36Sopenharmony_cistatic const char *const vfr_0_groups[] = {
133162306a36Sopenharmony_ci	"gpio150",
133262306a36Sopenharmony_ci};
133362306a36Sopenharmony_ci
133462306a36Sopenharmony_cistatic const char *const vfr_1_groups[] = {
133562306a36Sopenharmony_ci	"gpio155",
133662306a36Sopenharmony_ci};
133762306a36Sopenharmony_ci
133862306a36Sopenharmony_cistatic const char *const vsense_trigger_mirnat_groups[] = {
133962306a36Sopenharmony_ci	"gpio24",
134062306a36Sopenharmony_ci};
134162306a36Sopenharmony_ci
134262306a36Sopenharmony_cistatic const struct pinfunction sm8550_functions[] = {
134362306a36Sopenharmony_ci	MSM_PIN_FUNCTION(gpio),
134462306a36Sopenharmony_ci	MSM_PIN_FUNCTION(aon_cci),
134562306a36Sopenharmony_ci	MSM_PIN_FUNCTION(aoss_cti),
134662306a36Sopenharmony_ci	MSM_PIN_FUNCTION(atest_char),
134762306a36Sopenharmony_ci	MSM_PIN_FUNCTION(atest_usb),
134862306a36Sopenharmony_ci	MSM_PIN_FUNCTION(audio_ext_mclk0),
134962306a36Sopenharmony_ci	MSM_PIN_FUNCTION(audio_ext_mclk1),
135062306a36Sopenharmony_ci	MSM_PIN_FUNCTION(audio_ref_clk),
135162306a36Sopenharmony_ci	MSM_PIN_FUNCTION(cam_aon_mclk4),
135262306a36Sopenharmony_ci	MSM_PIN_FUNCTION(cam_mclk),
135362306a36Sopenharmony_ci	MSM_PIN_FUNCTION(cci_async_in),
135462306a36Sopenharmony_ci	MSM_PIN_FUNCTION(cci_i2c_scl),
135562306a36Sopenharmony_ci	MSM_PIN_FUNCTION(cci_i2c_sda),
135662306a36Sopenharmony_ci	MSM_PIN_FUNCTION(cci_timer),
135762306a36Sopenharmony_ci	MSM_PIN_FUNCTION(cmu_rng),
135862306a36Sopenharmony_ci	MSM_PIN_FUNCTION(coex_uart1_rx),
135962306a36Sopenharmony_ci	MSM_PIN_FUNCTION(coex_uart1_tx),
136062306a36Sopenharmony_ci	MSM_PIN_FUNCTION(coex_uart2_rx),
136162306a36Sopenharmony_ci	MSM_PIN_FUNCTION(coex_uart2_tx),
136262306a36Sopenharmony_ci	MSM_PIN_FUNCTION(cri_trng),
136362306a36Sopenharmony_ci	MSM_PIN_FUNCTION(dbg_out_clk),
136462306a36Sopenharmony_ci	MSM_PIN_FUNCTION(ddr_bist_complete),
136562306a36Sopenharmony_ci	MSM_PIN_FUNCTION(ddr_bist_fail),
136662306a36Sopenharmony_ci	MSM_PIN_FUNCTION(ddr_bist_start),
136762306a36Sopenharmony_ci	MSM_PIN_FUNCTION(ddr_bist_stop),
136862306a36Sopenharmony_ci	MSM_PIN_FUNCTION(ddr_pxi0),
136962306a36Sopenharmony_ci	MSM_PIN_FUNCTION(ddr_pxi1),
137062306a36Sopenharmony_ci	MSM_PIN_FUNCTION(ddr_pxi2),
137162306a36Sopenharmony_ci	MSM_PIN_FUNCTION(ddr_pxi3),
137262306a36Sopenharmony_ci	MSM_PIN_FUNCTION(dp_hot),
137362306a36Sopenharmony_ci	MSM_PIN_FUNCTION(gcc_gp1),
137462306a36Sopenharmony_ci	MSM_PIN_FUNCTION(gcc_gp2),
137562306a36Sopenharmony_ci	MSM_PIN_FUNCTION(gcc_gp3),
137662306a36Sopenharmony_ci	MSM_PIN_FUNCTION(i2chub0_se0),
137762306a36Sopenharmony_ci	MSM_PIN_FUNCTION(i2chub0_se1),
137862306a36Sopenharmony_ci	MSM_PIN_FUNCTION(i2chub0_se2),
137962306a36Sopenharmony_ci	MSM_PIN_FUNCTION(i2chub0_se3),
138062306a36Sopenharmony_ci	MSM_PIN_FUNCTION(i2chub0_se4),
138162306a36Sopenharmony_ci	MSM_PIN_FUNCTION(i2chub0_se5),
138262306a36Sopenharmony_ci	MSM_PIN_FUNCTION(i2chub0_se6),
138362306a36Sopenharmony_ci	MSM_PIN_FUNCTION(i2chub0_se7),
138462306a36Sopenharmony_ci	MSM_PIN_FUNCTION(i2chub0_se8),
138562306a36Sopenharmony_ci	MSM_PIN_FUNCTION(i2chub0_se9),
138662306a36Sopenharmony_ci	MSM_PIN_FUNCTION(i2s0_data0),
138762306a36Sopenharmony_ci	MSM_PIN_FUNCTION(i2s0_data1),
138862306a36Sopenharmony_ci	MSM_PIN_FUNCTION(i2s0_sck),
138962306a36Sopenharmony_ci	MSM_PIN_FUNCTION(i2s0_ws),
139062306a36Sopenharmony_ci	MSM_PIN_FUNCTION(i2s1_data0),
139162306a36Sopenharmony_ci	MSM_PIN_FUNCTION(i2s1_data1),
139262306a36Sopenharmony_ci	MSM_PIN_FUNCTION(i2s1_sck),
139362306a36Sopenharmony_ci	MSM_PIN_FUNCTION(i2s1_ws),
139462306a36Sopenharmony_ci	MSM_PIN_FUNCTION(ibi_i3c),
139562306a36Sopenharmony_ci	MSM_PIN_FUNCTION(jitter_bist),
139662306a36Sopenharmony_ci	MSM_PIN_FUNCTION(mdp_vsync),
139762306a36Sopenharmony_ci	MSM_PIN_FUNCTION(mdp_vsync0_out),
139862306a36Sopenharmony_ci	MSM_PIN_FUNCTION(mdp_vsync1_out),
139962306a36Sopenharmony_ci	MSM_PIN_FUNCTION(mdp_vsync2_out),
140062306a36Sopenharmony_ci	MSM_PIN_FUNCTION(mdp_vsync3_out),
140162306a36Sopenharmony_ci	MSM_PIN_FUNCTION(mdp_vsync_e),
140262306a36Sopenharmony_ci	MSM_PIN_FUNCTION(nav_gpio0),
140362306a36Sopenharmony_ci	MSM_PIN_FUNCTION(nav_gpio1),
140462306a36Sopenharmony_ci	MSM_PIN_FUNCTION(nav_gpio2),
140562306a36Sopenharmony_ci	MSM_PIN_FUNCTION(pcie0_clk_req_n),
140662306a36Sopenharmony_ci	MSM_PIN_FUNCTION(pcie1_clk_req_n),
140762306a36Sopenharmony_ci	MSM_PIN_FUNCTION(phase_flag),
140862306a36Sopenharmony_ci	MSM_PIN_FUNCTION(pll_bist_sync),
140962306a36Sopenharmony_ci	MSM_PIN_FUNCTION(pll_clk_aux),
141062306a36Sopenharmony_ci	MSM_PIN_FUNCTION(prng_rosc0),
141162306a36Sopenharmony_ci	MSM_PIN_FUNCTION(prng_rosc1),
141262306a36Sopenharmony_ci	MSM_PIN_FUNCTION(prng_rosc2),
141362306a36Sopenharmony_ci	MSM_PIN_FUNCTION(prng_rosc3),
141462306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qdss_cti),
141562306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qdss_gpio),
141662306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qlink0_enable),
141762306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qlink0_request),
141862306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qlink0_wmss),
141962306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qlink1_enable),
142062306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qlink1_request),
142162306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qlink1_wmss),
142262306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qlink2_enable),
142362306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qlink2_request),
142462306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qlink2_wmss),
142562306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qspi0),
142662306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qspi1),
142762306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qspi2),
142862306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qspi3),
142962306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qspi_clk),
143062306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qspi_cs),
143162306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qup1_se0),
143262306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qup1_se1),
143362306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qup1_se2),
143462306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qup1_se3),
143562306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qup1_se4),
143662306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qup1_se5),
143762306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qup1_se6),
143862306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qup1_se7),
143962306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qup2_se0),
144062306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qup2_se0_l0_mira),
144162306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qup2_se0_l0_mirb),
144262306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qup2_se0_l1_mira),
144362306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qup2_se0_l1_mirb),
144462306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qup2_se0_l2_mira),
144562306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qup2_se0_l2_mirb),
144662306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qup2_se0_l3_mira),
144762306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qup2_se0_l3_mirb),
144862306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qup2_se1),
144962306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qup2_se2),
145062306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qup2_se3),
145162306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qup2_se4),
145262306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qup2_se5),
145362306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qup2_se6),
145462306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qup2_se7),
145562306a36Sopenharmony_ci	MSM_PIN_FUNCTION(resout_n),
145662306a36Sopenharmony_ci	MSM_PIN_FUNCTION(sd_write_protect),
145762306a36Sopenharmony_ci	MSM_PIN_FUNCTION(sdc40),
145862306a36Sopenharmony_ci	MSM_PIN_FUNCTION(sdc41),
145962306a36Sopenharmony_ci	MSM_PIN_FUNCTION(sdc42),
146062306a36Sopenharmony_ci	MSM_PIN_FUNCTION(sdc43),
146162306a36Sopenharmony_ci	MSM_PIN_FUNCTION(sdc4_clk),
146262306a36Sopenharmony_ci	MSM_PIN_FUNCTION(sdc4_cmd),
146362306a36Sopenharmony_ci	MSM_PIN_FUNCTION(tb_trig_sdc2),
146462306a36Sopenharmony_ci	MSM_PIN_FUNCTION(tb_trig_sdc4),
146562306a36Sopenharmony_ci	MSM_PIN_FUNCTION(tgu_ch0_trigout),
146662306a36Sopenharmony_ci	MSM_PIN_FUNCTION(tgu_ch1_trigout),
146762306a36Sopenharmony_ci	MSM_PIN_FUNCTION(tgu_ch2_trigout),
146862306a36Sopenharmony_ci	MSM_PIN_FUNCTION(tgu_ch3_trigout),
146962306a36Sopenharmony_ci	MSM_PIN_FUNCTION(tmess_prng0),
147062306a36Sopenharmony_ci	MSM_PIN_FUNCTION(tmess_prng1),
147162306a36Sopenharmony_ci	MSM_PIN_FUNCTION(tmess_prng2),
147262306a36Sopenharmony_ci	MSM_PIN_FUNCTION(tmess_prng3),
147362306a36Sopenharmony_ci	MSM_PIN_FUNCTION(tsense_pwm1),
147462306a36Sopenharmony_ci	MSM_PIN_FUNCTION(tsense_pwm2),
147562306a36Sopenharmony_ci	MSM_PIN_FUNCTION(tsense_pwm3),
147662306a36Sopenharmony_ci	MSM_PIN_FUNCTION(uim0_clk),
147762306a36Sopenharmony_ci	MSM_PIN_FUNCTION(uim0_data),
147862306a36Sopenharmony_ci	MSM_PIN_FUNCTION(uim0_present),
147962306a36Sopenharmony_ci	MSM_PIN_FUNCTION(uim0_reset),
148062306a36Sopenharmony_ci	MSM_PIN_FUNCTION(uim1_clk),
148162306a36Sopenharmony_ci	MSM_PIN_FUNCTION(uim1_data),
148262306a36Sopenharmony_ci	MSM_PIN_FUNCTION(uim1_present),
148362306a36Sopenharmony_ci	MSM_PIN_FUNCTION(uim1_reset),
148462306a36Sopenharmony_ci	MSM_PIN_FUNCTION(usb1_hs),
148562306a36Sopenharmony_ci	MSM_PIN_FUNCTION(usb_phy),
148662306a36Sopenharmony_ci	MSM_PIN_FUNCTION(vfr_0),
148762306a36Sopenharmony_ci	MSM_PIN_FUNCTION(vfr_1),
148862306a36Sopenharmony_ci	MSM_PIN_FUNCTION(vsense_trigger_mirnat),
148962306a36Sopenharmony_ci};
149062306a36Sopenharmony_ci
149162306a36Sopenharmony_ci/*
149262306a36Sopenharmony_ci * Every pin is maintained as a single group, and missing or non-existing pin
149362306a36Sopenharmony_ci * would be maintained as dummy group to synchronize pin group index with
149462306a36Sopenharmony_ci * pin descriptor registered with pinctrl core.
149562306a36Sopenharmony_ci * Clients would not be able to request these dummy pin groups.
149662306a36Sopenharmony_ci */
149762306a36Sopenharmony_cistatic const struct msm_pingroup sm8550_groups[] = {
149862306a36Sopenharmony_ci	[0] = PINGROUP(0, cci_i2c_sda, qup2_se0_l0_mirb, ibi_i3c, phase_flag, _, _, _, _, _),
149962306a36Sopenharmony_ci	[1] = PINGROUP(1, cci_i2c_scl, qup2_se0_l1_mirb, ibi_i3c, _, _, _, _, _, _),
150062306a36Sopenharmony_ci	[2] = PINGROUP(2, qup2_se4, phase_flag, _, _, _, _, _, _, _),
150162306a36Sopenharmony_ci	[3] = PINGROUP(3, qup2_se4, phase_flag, _, _, _, _, _, _, _),
150262306a36Sopenharmony_ci	[4] = PINGROUP(4, i2chub0_se4, _, _, _, _, _, _, _, _),
150362306a36Sopenharmony_ci	[5] = PINGROUP(5, i2chub0_se4, _, _, _, _, _, _, _, _),
150462306a36Sopenharmony_ci	[6] = PINGROUP(6, i2chub0_se5, _, _, _, _, _, _, _, _),
150562306a36Sopenharmony_ci	[7] = PINGROUP(7, i2chub0_se5, _, _, _, _, _, _, _, _),
150662306a36Sopenharmony_ci	[8] = PINGROUP(8, i2chub0_se6, _, _, _, _, _, _, _, _),
150762306a36Sopenharmony_ci	[9] = PINGROUP(9, i2chub0_se6, _, _, _, _, _, _, _, _),
150862306a36Sopenharmony_ci	[10] = PINGROUP(10, i2chub0_se7, qdss_cti, phase_flag, _, _, _, _, _, _),
150962306a36Sopenharmony_ci	[11] = PINGROUP(11, i2chub0_se7, usb_phy, qdss_cti, phase_flag, _, _, _, _, _),
151062306a36Sopenharmony_ci	[12] = PINGROUP(12, phase_flag, _, _, _, _, _, _, _, _),
151162306a36Sopenharmony_ci	[13] = PINGROUP(13, phase_flag, _, _, _, _, _, _, _, _),
151262306a36Sopenharmony_ci	[14] = PINGROUP(14, _, _, _, _, _, _, _, _, _),
151362306a36Sopenharmony_ci	[15] = PINGROUP(15, _, _, _, _, _, _, _, _, _),
151462306a36Sopenharmony_ci	[16] = PINGROUP(16, i2chub0_se0, _, _, _, _, _, _, _, _),
151562306a36Sopenharmony_ci	[17] = PINGROUP(17, i2chub0_se0, _, _, _, _, _, _, _, _),
151662306a36Sopenharmony_ci	[18] = PINGROUP(18, i2chub0_se1, _, _, _, _, _, _, _, _),
151762306a36Sopenharmony_ci	[19] = PINGROUP(19, i2chub0_se1, _, _, _, _, _, _, _, _),
151862306a36Sopenharmony_ci	[20] = PINGROUP(20, i2chub0_se2, pll_bist_sync, _, _, _, _, _, _, _),
151962306a36Sopenharmony_ci	[21] = PINGROUP(21, i2chub0_se2, _, _, _, _, _, _, _, _),
152062306a36Sopenharmony_ci	[22] = PINGROUP(22, i2chub0_se3, _, _, _, _, _, _, _, _),
152162306a36Sopenharmony_ci	[23] = PINGROUP(23, i2chub0_se3, _, _, _, _, _, _, _, _),
152262306a36Sopenharmony_ci	[24] = PINGROUP(24, qup1_se7, vsense_trigger_mirnat, _, _, _, _, _, _, _),
152362306a36Sopenharmony_ci	[25] = PINGROUP(25, qup1_se7, _, _, _, _, _, _, _, _),
152462306a36Sopenharmony_ci	[26] = PINGROUP(26, qup1_se7, uim1_present, _, _, _, _, _, _, _),
152562306a36Sopenharmony_ci	[27] = PINGROUP(27, qup1_se7, uim0_present, _, _, _, _, _, _, _),
152662306a36Sopenharmony_ci	[28] = PINGROUP(28, qup1_se0, ibi_i3c, _, _, _, _, _, _, _),
152762306a36Sopenharmony_ci	[29] = PINGROUP(29, qup1_se0, ibi_i3c, _, _, _, _, _, _, _),
152862306a36Sopenharmony_ci	[30] = PINGROUP(30, qup1_se0, _, _, _, _, _, _, _, _),
152962306a36Sopenharmony_ci	[31] = PINGROUP(31, qup1_se0, _, _, _, _, _, _, _, _),
153062306a36Sopenharmony_ci	[32] = PINGROUP(32, qup1_se1, ibi_i3c, _, _, _, _, _, _, _),
153162306a36Sopenharmony_ci	[33] = PINGROUP(33, qup1_se1, ibi_i3c, _, _, _, _, _, _, _),
153262306a36Sopenharmony_ci	[34] = PINGROUP(34, qup1_se1, _, _, _, _, _, _, _, _),
153362306a36Sopenharmony_ci	[35] = PINGROUP(35, qup1_se1, _, _, _, _, _, _, _, _),
153462306a36Sopenharmony_ci	[36] = PINGROUP(36, qup1_se2, ddr_bist_fail, _, _, _, _, _, _, _),
153562306a36Sopenharmony_ci	[37] = PINGROUP(37, qup1_se2, ddr_bist_start, _, atest_usb, _, _, _, _, _),
153662306a36Sopenharmony_ci	[38] = PINGROUP(38, qup1_se2, _, _, _, _, _, _, _, _),
153762306a36Sopenharmony_ci	[39] = PINGROUP(39, qup1_se2, _, atest_usb, _, _, _, _, _, _),
153862306a36Sopenharmony_ci	[40] = PINGROUP(40, qup1_se3, qup1_se2, ddr_bist_complete, _, ddr_pxi1, _, _, _, _),
153962306a36Sopenharmony_ci	[41] = PINGROUP(41, qup1_se3, qup1_se2, ddr_bist_stop, _, ddr_pxi1, _, _, _, _),
154062306a36Sopenharmony_ci	[42] = PINGROUP(42, qup1_se3, qup1_se2, _, _, _, _, _, _, _),
154162306a36Sopenharmony_ci	[43] = PINGROUP(43, qup1_se3, jitter_bist, ddr_pxi3, _, _, _, _, _, _),
154262306a36Sopenharmony_ci	[44] = PINGROUP(44, qup1_se4, aoss_cti, ddr_pxi3, _, _, _, _, _, _),
154362306a36Sopenharmony_ci	[45] = PINGROUP(45, qup1_se4, aoss_cti, ddr_pxi2, _, _, _, _, _, _),
154462306a36Sopenharmony_ci	[46] = PINGROUP(46, qup1_se4, aoss_cti, _, _, _, _, _, _, _),
154562306a36Sopenharmony_ci	[47] = PINGROUP(47, qup1_se4, aoss_cti, dp_hot, ddr_pxi2, _, _, _, _, _),
154662306a36Sopenharmony_ci	[48] = PINGROUP(48, usb_phy, qup1_se6, qspi2, sdc42, _, _, _, _, _),
154762306a36Sopenharmony_ci	[49] = PINGROUP(49, qup1_se6, qspi3, sdc43, _, _, _, _, _, _),
154862306a36Sopenharmony_ci	[50] = PINGROUP(50, qup1_se6, qspi_clk, sdc4_clk, tsense_pwm1, tsense_pwm2, tsense_pwm3, _, _, _),
154962306a36Sopenharmony_ci	[51] = PINGROUP(51, qup1_se6, qspi_cs, sdc4_cmd, ddr_pxi0, _, _, _, _, _),
155062306a36Sopenharmony_ci	[52] = PINGROUP(52, _, qup1_se5, ddr_pxi0, _, _, _, _, _, _),
155162306a36Sopenharmony_ci	[53] = PINGROUP(53, _, qup1_se5, _, _, _, _, _, _, _),
155262306a36Sopenharmony_ci	[54] = PINGROUP(54, _, qup1_se5, _, _, _, _, _, _, _),
155362306a36Sopenharmony_ci	[55] = PINGROUP(55, qup1_se5, atest_usb, _, _, _, _, _, _, _),
155462306a36Sopenharmony_ci	[56] = PINGROUP(56, qup2_se0_l0_mira, ibi_i3c, _, _, _, _, _, _, _),
155562306a36Sopenharmony_ci	[57] = PINGROUP(57, qup2_se0_l1_mira, ibi_i3c, _, _, _, _, _, _, _),
155662306a36Sopenharmony_ci	[58] = PINGROUP(58, qup2_se0_l2_mira, _, _, _, _, _, _, _, _),
155762306a36Sopenharmony_ci	[59] = PINGROUP(59, qup2_se0_l3_mira, phase_flag, _, qdss_gpio, _, _, _, _, _),
155862306a36Sopenharmony_ci	[60] = PINGROUP(60, qup2_se1, ibi_i3c, _, _, _, _, _, _, _),
155962306a36Sopenharmony_ci	[61] = PINGROUP(61, qup2_se1, ibi_i3c, _, _, _, _, _, _, _),
156062306a36Sopenharmony_ci	[62] = PINGROUP(62, qup2_se1, _, _, _, _, _, _, _, _),
156162306a36Sopenharmony_ci	[63] = PINGROUP(63, qup2_se1, qup2_se0, phase_flag, _, _, _, _, _, _),
156262306a36Sopenharmony_ci	[64] = PINGROUP(64, qup2_se2, tb_trig_sdc2, phase_flag, tgu_ch0_trigout, _, qdss_gpio, _, _, _),
156362306a36Sopenharmony_ci	[65] = PINGROUP(65, qup2_se2, phase_flag, tgu_ch1_trigout, _, _, _, _, _, _),
156462306a36Sopenharmony_ci	[66] = PINGROUP(66, qup2_se2, qup2_se0, tgu_ch2_trigout, _, _, _, _, _, _),
156562306a36Sopenharmony_ci	[67] = PINGROUP(67, qup2_se2, qup2_se0, phase_flag, tgu_ch3_trigout, _, _, _, _, _),
156662306a36Sopenharmony_ci	[68] = PINGROUP(68, qup2_se3, phase_flag, _, _, _, _, _, _, _),
156762306a36Sopenharmony_ci	[69] = PINGROUP(69, qup2_se3, phase_flag, _, _, _, _, _, _, _),
156862306a36Sopenharmony_ci	[70] = PINGROUP(70, qup2_se3, _, _, _, _, _, _, _, _),
156962306a36Sopenharmony_ci	[71] = PINGROUP(71, cci_async_in, qup2_se3, _, _, _, _, _, _, _),
157062306a36Sopenharmony_ci	[72] = PINGROUP(72, cci_async_in, qup2_se7, _, _, _, _, _, _, _),
157162306a36Sopenharmony_ci	[73] = PINGROUP(73, qdss_gpio, _, _, _, _, _, _, _, _),
157262306a36Sopenharmony_ci	[74] = PINGROUP(74, cci_i2c_sda, qup2_se7, _, _, _, _, _, _, _),
157362306a36Sopenharmony_ci	[75] = PINGROUP(75, cci_i2c_scl, qup2_se7, qdss_cti, phase_flag, _, _, _, _, _),
157462306a36Sopenharmony_ci	[76] = PINGROUP(76, qup2_se6, phase_flag, _, _, _, _, _, _, _),
157562306a36Sopenharmony_ci	[77] = PINGROUP(77, qup2_se6, phase_flag, _, _, _, _, _, _, _),
157662306a36Sopenharmony_ci	[78] = PINGROUP(78, qup2_se6, _, _, _, _, _, _, _, _),
157762306a36Sopenharmony_ci	[79] = PINGROUP(79, qup2_se6, qdss_cti, phase_flag, _, _, _, _, _, _),
157862306a36Sopenharmony_ci	[80] = PINGROUP(80, qup2_se5, phase_flag, _, _, _, _, _, _, _),
157962306a36Sopenharmony_ci	[81] = PINGROUP(81, qup2_se5, phase_flag, _, _, _, _, _, _, _),
158062306a36Sopenharmony_ci	[82] = PINGROUP(82, qup2_se5, _, _, _, _, _, _, _, _),
158162306a36Sopenharmony_ci	[83] = PINGROUP(83, qup2_se5, phase_flag, _, _, _, _, _, _, _),
158262306a36Sopenharmony_ci	[84] = PINGROUP(84, i2chub0_se9, _, _, _, _, _, _, _, _),
158362306a36Sopenharmony_ci	[85] = PINGROUP(85, i2chub0_se9, _, _, _, _, _, _, _, _),
158462306a36Sopenharmony_ci	[86] = PINGROUP(86, mdp_vsync, mdp_vsync0_out, mdp_vsync1_out, gcc_gp1, _, _, _, _, _),
158562306a36Sopenharmony_ci	[87] = PINGROUP(87, mdp_vsync, mdp_vsync2_out, mdp_vsync3_out, gcc_gp2, _, _, _, _, _),
158662306a36Sopenharmony_ci	[88] = PINGROUP(88, mdp_vsync_e, gcc_gp3, _, _, _, _, _, _, _),
158762306a36Sopenharmony_ci	[89] = PINGROUP(89, qspi0, sdc40, dbg_out_clk, _, _, _, _, _, _),
158862306a36Sopenharmony_ci	[90] = PINGROUP(90, usb1_hs, qspi1, sdc41, _, _, _, _, _, _),
158962306a36Sopenharmony_ci	[91] = PINGROUP(91, qspi_cs, tb_trig_sdc4, _, _, _, _, _, _, _),
159062306a36Sopenharmony_ci	[92] = PINGROUP(92, resout_n, phase_flag, tmess_prng0, _, _, _, _, _, _),
159162306a36Sopenharmony_ci	[93] = PINGROUP(93, sd_write_protect, _, _, _, _, _, _, _, _),
159262306a36Sopenharmony_ci	[94] = PINGROUP(94, phase_flag, tmess_prng1, _, _, _, _, _, _, _),
159362306a36Sopenharmony_ci	[95] = PINGROUP(95, pcie0_clk_req_n, phase_flag, tmess_prng2, _, _, _, _, _, _),
159462306a36Sopenharmony_ci	[96] = PINGROUP(96, phase_flag, tmess_prng3, _, _, _, _, _, _, _),
159562306a36Sopenharmony_ci	[97] = PINGROUP(97, phase_flag, _, _, _, _, _, _, _, _),
159662306a36Sopenharmony_ci	[98] = PINGROUP(98, pcie1_clk_req_n, phase_flag, _, _, _, _, _, _, _),
159762306a36Sopenharmony_ci	[99] = PINGROUP(99, phase_flag, _, _, _, _, _, _, _, _),
159862306a36Sopenharmony_ci	[100] = PINGROUP(100, cam_mclk, qdss_gpio, _, _, _, _, _, _, _),
159962306a36Sopenharmony_ci	[101] = PINGROUP(101, cam_mclk, qdss_gpio, _, _, _, _, _, _, _),
160062306a36Sopenharmony_ci	[102] = PINGROUP(102, cam_mclk, qdss_gpio, _, _, _, _, _, _, _),
160162306a36Sopenharmony_ci	[103] = PINGROUP(103, cam_mclk, qdss_gpio, _, _, _, _, _, _, _),
160262306a36Sopenharmony_ci	[104] = PINGROUP(104, cam_aon_mclk4, qdss_gpio, _, _, _, _, _, _, _),
160362306a36Sopenharmony_ci	[105] = PINGROUP(105, cam_mclk, qdss_gpio, _, _, _, _, _, _, _),
160462306a36Sopenharmony_ci	[106] = PINGROUP(106, cam_mclk, qup2_se7, _, _, _, _, _, _, _),
160562306a36Sopenharmony_ci	[107] = PINGROUP(107, cam_mclk, qup2_se0_l3_mirb, pll_clk_aux, _, _, _, _, _, _),
160662306a36Sopenharmony_ci	[108] = PINGROUP(108, _, _, _, _, _, _, _, _, _),
160762306a36Sopenharmony_ci	[109] = PINGROUP(109, cci_async_in, qup2_se0_l2_mirb, _, _, _, _, _, _, _),
160862306a36Sopenharmony_ci	[110] = PINGROUP(110, cci_i2c_sda, qdss_gpio, _, _, _, _, _, _, _),
160962306a36Sopenharmony_ci	[111] = PINGROUP(111, cci_i2c_scl, qdss_gpio, _, _, _, _, _, _, _),
161062306a36Sopenharmony_ci	[112] = PINGROUP(112, cci_i2c_sda, qdss_gpio, _, _, _, _, _, _, _),
161162306a36Sopenharmony_ci	[113] = PINGROUP(113, cci_i2c_scl, qdss_gpio, _, _, _, _, _, _, _),
161262306a36Sopenharmony_ci	[114] = PINGROUP(114, cci_i2c_sda, qdss_gpio, _, _, _, _, _, _, _),
161362306a36Sopenharmony_ci	[115] = PINGROUP(115, cci_i2c_scl, qdss_gpio, _, _, _, _, _, _, _),
161462306a36Sopenharmony_ci	[116] = PINGROUP(116, cci_timer, phase_flag, _, qdss_gpio, _, _, _, _, _),
161562306a36Sopenharmony_ci	[117] = PINGROUP(117, cci_timer, phase_flag, _, qdss_gpio, _, _, _, _, _),
161662306a36Sopenharmony_ci	[118] = PINGROUP(118, qup2_se4, cci_timer, _, _, _, _, _, _, _),
161762306a36Sopenharmony_ci	[119] = PINGROUP(119, qup2_se4, cci_timer, phase_flag, _, _, _, _, _, _),
161862306a36Sopenharmony_ci	[120] = PINGROUP(120, cci_timer, phase_flag, _, qdss_gpio, _, _, _, _, _),
161962306a36Sopenharmony_ci	[121] = PINGROUP(121, i2s1_sck, _, _, _, _, _, _, _, _),
162062306a36Sopenharmony_ci	[122] = PINGROUP(122, i2s1_data0, cmu_rng, _, _, _, _, _, _, _),
162162306a36Sopenharmony_ci	[123] = PINGROUP(123, i2s1_ws, _, _, _, _, _, _, _, _),
162262306a36Sopenharmony_ci	[124] = PINGROUP(124, i2s1_data1, audio_ext_mclk1, audio_ref_clk, _, _, _, _, _, _),
162362306a36Sopenharmony_ci	[125] = PINGROUP(125, audio_ext_mclk0, _, _, _, _, _, _, _, _),
162462306a36Sopenharmony_ci	[126] = PINGROUP(126, i2s0_sck, _, _, _, _, _, _, _, _),
162562306a36Sopenharmony_ci	[127] = PINGROUP(127, i2s0_data0, cmu_rng, _, _, _, _, _, _, _),
162662306a36Sopenharmony_ci	[128] = PINGROUP(128, i2s0_data1, cmu_rng, _, _, _, _, _, _, _),
162762306a36Sopenharmony_ci	[129] = PINGROUP(129, i2s0_ws, cmu_rng, _, _, _, _, _, _, _),
162862306a36Sopenharmony_ci	[130] = PINGROUP(130, uim0_data, atest_char, _, _, _, _, _, _, _),
162962306a36Sopenharmony_ci	[131] = PINGROUP(131, uim0_clk, _, _, _, _, _, _, _, _),
163062306a36Sopenharmony_ci	[132] = PINGROUP(132, uim0_reset, atest_char, _, _, _, _, _, _, _),
163162306a36Sopenharmony_ci	[133] = PINGROUP(133, mdp_vsync, atest_char, _, _, _, _, _, _, _),
163262306a36Sopenharmony_ci	[134] = PINGROUP(134, uim1_data, gcc_gp1, atest_char, _, _, _, _, _, _),
163362306a36Sopenharmony_ci	[135] = PINGROUP(135, uim1_clk, gcc_gp2, atest_char, _, _, _, _, _, _),
163462306a36Sopenharmony_ci	[136] = PINGROUP(136, uim1_reset, gcc_gp3, _, _, _, _, _, _, _),
163562306a36Sopenharmony_ci	[137] = PINGROUP(137, mdp_vsync, _, _, _, _, _, _, _, _),
163662306a36Sopenharmony_ci	[138] = PINGROUP(138, _, _, qdss_gpio, _, _, _, _, _, _),
163762306a36Sopenharmony_ci	[139] = PINGROUP(139, _, _, qdss_gpio, _, _, _, _, _, _),
163862306a36Sopenharmony_ci	[140] = PINGROUP(140, _, _, qdss_gpio, _, _, _, _, _, _),
163962306a36Sopenharmony_ci	[141] = PINGROUP(141, _, _, qdss_gpio, _, _, _, _, _, _),
164062306a36Sopenharmony_ci	[142] = PINGROUP(142, _, _, qdss_gpio, _, _, _, _, _, _),
164162306a36Sopenharmony_ci	[143] = PINGROUP(143, _, _, qdss_gpio, _, _, _, _, _, _),
164262306a36Sopenharmony_ci	[144] = PINGROUP(144, _, _, qdss_gpio, _, _, _, _, _, _),
164362306a36Sopenharmony_ci	[145] = PINGROUP(145, _, _, qdss_gpio, _, _, _, _, _, _),
164462306a36Sopenharmony_ci	[146] = PINGROUP(146, _, _, _, _, _, _, _, _, _),
164562306a36Sopenharmony_ci	[147] = PINGROUP(147, _, _, _, _, _, _, _, _, _),
164662306a36Sopenharmony_ci	[148] = PINGROUP(148, coex_uart1_rx, qdss_gpio, atest_usb, _, _, _, _, _, _),
164762306a36Sopenharmony_ci	[149] = PINGROUP(149, coex_uart1_tx, qdss_gpio, atest_usb, _, _, _, _, _, _),
164862306a36Sopenharmony_ci	[150] = PINGROUP(150, coex_uart2_rx, _, vfr_0, qdss_gpio, _, _, _, _, _),
164962306a36Sopenharmony_ci	[151] = PINGROUP(151, coex_uart2_tx, _, qdss_gpio, _, _, _, _, _, _),
165062306a36Sopenharmony_ci	[152] = PINGROUP(152, _, qdss_gpio, _, _, _, _, _, _, _),
165162306a36Sopenharmony_ci	[153] = PINGROUP(153, _, nav_gpio2, qdss_gpio, _, _, _, _, _, _),
165262306a36Sopenharmony_ci	[154] = PINGROUP(154, nav_gpio0, qdss_gpio, _, _, _, _, _, _, _),
165362306a36Sopenharmony_ci	[155] = PINGROUP(155, nav_gpio1, vfr_1, qdss_gpio, _, _, _, _, _, _),
165462306a36Sopenharmony_ci	[156] = PINGROUP(156, qlink0_request, qdss_gpio, _, _, _, _, _, _, _),
165562306a36Sopenharmony_ci	[157] = PINGROUP(157, qlink0_enable, qdss_gpio, _, _, _, _, _, _, _),
165662306a36Sopenharmony_ci	[158] = PINGROUP(158, qlink0_wmss, _, _, _, _, _, _, _, _),
165762306a36Sopenharmony_ci	[159] = PINGROUP(159, qlink1_request, qdss_cti, _, _, _, _, _, _, _),
165862306a36Sopenharmony_ci	[160] = PINGROUP(160, qlink1_enable, qdss_cti, _, _, _, _, _, _, _),
165962306a36Sopenharmony_ci	[161] = PINGROUP(161, qlink1_wmss, qdss_cti, _, _, _, _, _, _, _),
166062306a36Sopenharmony_ci	[162] = PINGROUP(162, qlink2_request, qdss_cti, _, _, _, _, _, _, _),
166162306a36Sopenharmony_ci	[163] = PINGROUP(163, qlink2_enable, _, _, _, _, _, _, _, _),
166262306a36Sopenharmony_ci	[164] = PINGROUP(164, qlink2_wmss, _, _, _, _, _, _, _, _),
166362306a36Sopenharmony_ci	[165] = PINGROUP(165, _, _, _, _, _, _, _, _, _),
166462306a36Sopenharmony_ci	[166] = PINGROUP(166, _, _, _, _, _, _, _, _, _),
166562306a36Sopenharmony_ci	[167] = PINGROUP(167, _, _, _, _, _, _, _, _, _),
166662306a36Sopenharmony_ci	[168] = PINGROUP(168, _, _, _, _, _, _, _, _, _),
166762306a36Sopenharmony_ci	[169] = PINGROUP(169, _, _, _, _, _, _, _, _, _),
166862306a36Sopenharmony_ci	[170] = PINGROUP(170, _, _, _, _, _, _, _, _, _),
166962306a36Sopenharmony_ci	[171] = PINGROUP(171, _, _, _, _, _, _, _, _, _),
167062306a36Sopenharmony_ci	[172] = PINGROUP(172, _, _, _, _, _, _, _, _, _),
167162306a36Sopenharmony_ci	[173] = PINGROUP(173, _, _, _, _, _, _, _, _, _),
167262306a36Sopenharmony_ci	[174] = PINGROUP(174, _, _, _, _, _, _, _, _, _),
167362306a36Sopenharmony_ci	[175] = PINGROUP(175, _, _, _, _, _, _, _, _, _),
167462306a36Sopenharmony_ci	[176] = PINGROUP(176, _, _, _, _, _, _, _, _, _),
167562306a36Sopenharmony_ci	[177] = PINGROUP(177, _, _, _, _, _, _, _, _, _),
167662306a36Sopenharmony_ci	[178] = PINGROUP(178, _, _, _, _, _, _, _, _, _),
167762306a36Sopenharmony_ci	[179] = PINGROUP(179, _, _, _, _, _, _, _, _, _),
167862306a36Sopenharmony_ci	[180] = PINGROUP(180, _, _, _, _, _, _, _, _, _),
167962306a36Sopenharmony_ci	[181] = PINGROUP(181, prng_rosc3, _, _, _, _, _, _, _, _),
168062306a36Sopenharmony_ci	[182] = PINGROUP(182, prng_rosc2, _, _, _, _, _, _, _, _),
168162306a36Sopenharmony_ci	[183] = PINGROUP(183, prng_rosc1, _, _, _, _, _, _, _, _),
168262306a36Sopenharmony_ci	[184] = PINGROUP(184, _, _, _, _, _, _, _, _, _),
168362306a36Sopenharmony_ci	[185] = PINGROUP(185, _, _, _, _, _, _, _, _, _),
168462306a36Sopenharmony_ci	[186] = PINGROUP(186, prng_rosc0, _, _, _, _, _, _, _, _),
168562306a36Sopenharmony_ci	[187] = PINGROUP(187, cri_trng, _, _, _, _, _, _, _, _),
168662306a36Sopenharmony_ci	[188] = PINGROUP(188, _, _, _, _, _, _, _, _, _),
168762306a36Sopenharmony_ci	[189] = PINGROUP(189, _, _, _, _, _, _, _, _, _),
168862306a36Sopenharmony_ci	[190] = PINGROUP(190, _, _, _, _, _, _, _, _, _),
168962306a36Sopenharmony_ci	[191] = PINGROUP(191, _, _, _, _, _, _, _, _, _),
169062306a36Sopenharmony_ci	[192] = PINGROUP(192, _, _, _, _, _, _, _, _, _),
169162306a36Sopenharmony_ci	[193] = PINGROUP(193, _, _, _, _, _, _, _, _, _),
169262306a36Sopenharmony_ci	[194] = PINGROUP(194, _, _, _, _, _, _, _, _, _),
169362306a36Sopenharmony_ci	[195] = PINGROUP(195, _, _, _, _, _, _, _, _, _),
169462306a36Sopenharmony_ci	[196] = PINGROUP(196, _, _, _, _, _, _, _, _, _),
169562306a36Sopenharmony_ci	[197] = PINGROUP(197, _, _, _, _, _, _, _, _, _),
169662306a36Sopenharmony_ci	[198] = PINGROUP(198, _, _, _, _, _, _, _, _, _),
169762306a36Sopenharmony_ci	[199] = PINGROUP(199, _, _, _, _, _, _, _, _, _),
169862306a36Sopenharmony_ci	[200] = PINGROUP(200, _, _, _, _, _, _, _, _, _),
169962306a36Sopenharmony_ci	[201] = PINGROUP(201, _, _, _, _, _, _, _, _, _),
170062306a36Sopenharmony_ci	[202] = PINGROUP(202, _, _, _, _, _, _, _, _, _),
170162306a36Sopenharmony_ci	[203] = PINGROUP(203, _, _, _, _, _, _, _, _, _),
170262306a36Sopenharmony_ci	[204] = PINGROUP(204, _, _, _, _, _, _, _, _, _),
170362306a36Sopenharmony_ci	[205] = PINGROUP(205, _, _, _, _, _, _, _, _, _),
170462306a36Sopenharmony_ci	[206] = PINGROUP(206, i2chub0_se8, _, _, _, _, _, _, _, _),
170562306a36Sopenharmony_ci	[207] = PINGROUP(207, i2chub0_se8, _, _, _, _, _, _, _, _),
170662306a36Sopenharmony_ci	[208] = PINGROUP(208, aon_cci, _, _, _, _, _, _, _, _),
170762306a36Sopenharmony_ci	[209] = PINGROUP(209, aon_cci, _, _, _, _, _, _, _, _),
170862306a36Sopenharmony_ci	[210] = UFS_RESET(ufs_reset, 0xde000),
170962306a36Sopenharmony_ci	[211] = SDC_QDSD_PINGROUP(sdc2_clk, 0xd6000, 14, 6),
171062306a36Sopenharmony_ci	[212] = SDC_QDSD_PINGROUP(sdc2_cmd, 0xd6000, 11, 3),
171162306a36Sopenharmony_ci	[213] = SDC_QDSD_PINGROUP(sdc2_data, 0xd6000, 9, 0),
171262306a36Sopenharmony_ci};
171362306a36Sopenharmony_ci
171462306a36Sopenharmony_cistatic const struct msm_gpio_wakeirq_map sm8550_pdc_map[] = {
171562306a36Sopenharmony_ci	{ 0, 118 },   { 2, 90 },    { 3, 101 },   { 8, 60 },    { 9, 67 },
171662306a36Sopenharmony_ci	{ 11, 103 },  { 14, 136 },  { 15, 78 },   { 16, 138 },  { 17, 80 },
171762306a36Sopenharmony_ci	{ 18, 71 },   { 19, 59 },   { 25, 57 },   { 26, 74 },   { 27, 76 },
171862306a36Sopenharmony_ci	{ 28, 62 },   { 31, 88 },   { 32, 63 },   { 35, 124 },  { 39, 92 },
171962306a36Sopenharmony_ci	{ 40, 77 },   { 41, 83 },   { 43, 86 },   { 44, 75 },   { 45, 93 },
172062306a36Sopenharmony_ci	{ 46, 96 },   { 47, 64 },   { 48, 110 },  { 51, 89 },   { 55, 95 },
172162306a36Sopenharmony_ci	{ 56, 68 },   { 59, 87 },   { 60, 65 },   { 62, 100 },  { 63, 81 },
172262306a36Sopenharmony_ci	{ 67, 79 },   { 71, 102 },  { 73, 82 },   { 75, 72 },   { 79, 140 },
172362306a36Sopenharmony_ci	{ 82, 105 },  { 83, 104 },  { 84, 126 },  { 85, 142 },  { 86, 106 },
172462306a36Sopenharmony_ci	{ 87, 107 },  { 88, 61 },   { 89, 111 },  { 95, 108 },  { 96, 109 },
172562306a36Sopenharmony_ci	{ 98, 97 },   { 99, 58 },   { 107, 139 }, { 119, 94 },  { 120, 135 },
172662306a36Sopenharmony_ci	{ 133, 52 },  { 137, 84 },  { 148, 66 },  { 150, 73 },  { 153, 70 },
172762306a36Sopenharmony_ci	{ 154, 53 },  { 155, 69 },  { 156, 54 },  { 159, 55 },  { 162, 56 },
172862306a36Sopenharmony_ci	{ 166, 116 }, { 169, 119 }, { 171, 120 }, { 172, 85 },  { 174, 98 },
172962306a36Sopenharmony_ci	{ 176, 112 }, { 177, 51 },  { 181, 114 }, { 182, 115 }, { 185, 117 },
173062306a36Sopenharmony_ci	{ 187, 91 },  { 188, 123 }, { 190, 127 }, { 191, 113 }, { 192, 128 },
173162306a36Sopenharmony_ci	{ 193, 129 }, { 196, 133 }, { 197, 134 }, { 198, 50 },  { 199, 99 },
173262306a36Sopenharmony_ci	{ 200, 49 },  { 201, 48 },  { 203, 125 }, { 205, 141 }, { 206, 137 },
173362306a36Sopenharmony_ci	{ 207, 47 },  { 208, 121 }, { 209, 122 },
173462306a36Sopenharmony_ci};
173562306a36Sopenharmony_ci
173662306a36Sopenharmony_cistatic const struct msm_pinctrl_soc_data sm8550_tlmm = {
173762306a36Sopenharmony_ci	.pins = sm8550_pins,
173862306a36Sopenharmony_ci	.npins = ARRAY_SIZE(sm8550_pins),
173962306a36Sopenharmony_ci	.functions = sm8550_functions,
174062306a36Sopenharmony_ci	.nfunctions = ARRAY_SIZE(sm8550_functions),
174162306a36Sopenharmony_ci	.groups = sm8550_groups,
174262306a36Sopenharmony_ci	.ngroups = ARRAY_SIZE(sm8550_groups),
174362306a36Sopenharmony_ci	.ngpios = 211,
174462306a36Sopenharmony_ci	.wakeirq_map = sm8550_pdc_map,
174562306a36Sopenharmony_ci	.nwakeirq_map = ARRAY_SIZE(sm8550_pdc_map),
174662306a36Sopenharmony_ci	.egpio_func = 9,
174762306a36Sopenharmony_ci};
174862306a36Sopenharmony_ci
174962306a36Sopenharmony_cistatic int sm8550_tlmm_probe(struct platform_device *pdev)
175062306a36Sopenharmony_ci{
175162306a36Sopenharmony_ci	return msm_pinctrl_probe(pdev, &sm8550_tlmm);
175262306a36Sopenharmony_ci}
175362306a36Sopenharmony_ci
175462306a36Sopenharmony_cistatic const struct of_device_id sm8550_tlmm_of_match[] = {
175562306a36Sopenharmony_ci	{ .compatible = "qcom,sm8550-tlmm", },
175662306a36Sopenharmony_ci	{},
175762306a36Sopenharmony_ci};
175862306a36Sopenharmony_ci
175962306a36Sopenharmony_cistatic struct platform_driver sm8550_tlmm_driver = {
176062306a36Sopenharmony_ci	.driver = {
176162306a36Sopenharmony_ci		.name = "sm8550-tlmm",
176262306a36Sopenharmony_ci		.of_match_table = sm8550_tlmm_of_match,
176362306a36Sopenharmony_ci	},
176462306a36Sopenharmony_ci	.probe = sm8550_tlmm_probe,
176562306a36Sopenharmony_ci	.remove = msm_pinctrl_remove,
176662306a36Sopenharmony_ci};
176762306a36Sopenharmony_ci
176862306a36Sopenharmony_cistatic int __init sm8550_tlmm_init(void)
176962306a36Sopenharmony_ci{
177062306a36Sopenharmony_ci	return platform_driver_register(&sm8550_tlmm_driver);
177162306a36Sopenharmony_ci}
177262306a36Sopenharmony_ciarch_initcall(sm8550_tlmm_init);
177362306a36Sopenharmony_ci
177462306a36Sopenharmony_cistatic void __exit sm8550_tlmm_exit(void)
177562306a36Sopenharmony_ci{
177662306a36Sopenharmony_ci	platform_driver_unregister(&sm8550_tlmm_driver);
177762306a36Sopenharmony_ci}
177862306a36Sopenharmony_cimodule_exit(sm8550_tlmm_exit);
177962306a36Sopenharmony_ci
178062306a36Sopenharmony_ciMODULE_DESCRIPTION("QTI SM8550 TLMM driver");
178162306a36Sopenharmony_ciMODULE_LICENSE("GPL");
178262306a36Sopenharmony_ciMODULE_DEVICE_TABLE(of, sm8550_tlmm_of_match);
1783