162306a36Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * Copyright (c) 2014-2015, The Linux Foundation. All rights reserved.
462306a36Sopenharmony_ci */
562306a36Sopenharmony_ci
662306a36Sopenharmony_ci#include <linux/module.h>
762306a36Sopenharmony_ci#include <linux/of.h>
862306a36Sopenharmony_ci#include <linux/platform_device.h>
962306a36Sopenharmony_ci
1062306a36Sopenharmony_ci#include "pinctrl-msm.h"
1162306a36Sopenharmony_ci
1262306a36Sopenharmony_ci#define REG_BASE 0x0
1362306a36Sopenharmony_ci#define REG_SIZE 0x1000
1462306a36Sopenharmony_ci#define PINGROUP(id, f1, f2, f3, f4, f5, f6, f7, f8, f9)	\
1562306a36Sopenharmony_ci	{					        \
1662306a36Sopenharmony_ci		.grp = PINCTRL_PINGROUP("gpio" #id, 	\
1762306a36Sopenharmony_ci			gpio##id##_pins, 		\
1862306a36Sopenharmony_ci			ARRAY_SIZE(gpio##id##_pins)),	\
1962306a36Sopenharmony_ci		.funcs = (int[]){			\
2062306a36Sopenharmony_ci			msm_mux_gpio, /* gpio mode */	\
2162306a36Sopenharmony_ci			msm_mux_##f1,			\
2262306a36Sopenharmony_ci			msm_mux_##f2,			\
2362306a36Sopenharmony_ci			msm_mux_##f3,			\
2462306a36Sopenharmony_ci			msm_mux_##f4,			\
2562306a36Sopenharmony_ci			msm_mux_##f5,			\
2662306a36Sopenharmony_ci			msm_mux_##f6,			\
2762306a36Sopenharmony_ci			msm_mux_##f7,			\
2862306a36Sopenharmony_ci			msm_mux_##f8,			\
2962306a36Sopenharmony_ci			msm_mux_##f9			\
3062306a36Sopenharmony_ci		},				        \
3162306a36Sopenharmony_ci		.nfuncs = 10,				\
3262306a36Sopenharmony_ci		.ctl_reg = REG_BASE + REG_SIZE * id,	\
3362306a36Sopenharmony_ci		.io_reg = REG_BASE + 0x4 + REG_SIZE * id,		\
3462306a36Sopenharmony_ci		.intr_cfg_reg = REG_BASE + 0x8 + REG_SIZE * id,		\
3562306a36Sopenharmony_ci		.intr_status_reg = REG_BASE + 0xc + REG_SIZE * id,	\
3662306a36Sopenharmony_ci		.intr_target_reg = REG_BASE + 0x8 + REG_SIZE * id,	\
3762306a36Sopenharmony_ci		.mux_bit = 2,			\
3862306a36Sopenharmony_ci		.pull_bit = 0,			\
3962306a36Sopenharmony_ci		.drv_bit = 6,			\
4062306a36Sopenharmony_ci		.oe_bit = 9,			\
4162306a36Sopenharmony_ci		.in_bit = 0,			\
4262306a36Sopenharmony_ci		.out_bit = 1,			\
4362306a36Sopenharmony_ci		.intr_enable_bit = 0,		\
4462306a36Sopenharmony_ci		.intr_status_bit = 0,		\
4562306a36Sopenharmony_ci		.intr_target_bit = 5,		\
4662306a36Sopenharmony_ci		.intr_target_kpss_val = 3,	\
4762306a36Sopenharmony_ci		.intr_raw_status_bit = 4,	\
4862306a36Sopenharmony_ci		.intr_polarity_bit = 1,		\
4962306a36Sopenharmony_ci		.intr_detection_bit = 2,	\
5062306a36Sopenharmony_ci		.intr_detection_width = 2,	\
5162306a36Sopenharmony_ci	}
5262306a36Sopenharmony_ci
5362306a36Sopenharmony_ci#define SDC_QDSD_PINGROUP(pg_name, ctl, pull, drv)	\
5462306a36Sopenharmony_ci	{					        \
5562306a36Sopenharmony_ci		.grp = PINCTRL_PINGROUP(#pg_name, 	\
5662306a36Sopenharmony_ci			pg_name##_pins, 		\
5762306a36Sopenharmony_ci			ARRAY_SIZE(pg_name##_pins)),	\
5862306a36Sopenharmony_ci		.ctl_reg = ctl,				\
5962306a36Sopenharmony_ci		.io_reg = 0,				\
6062306a36Sopenharmony_ci		.intr_cfg_reg = 0,			\
6162306a36Sopenharmony_ci		.intr_status_reg = 0,			\
6262306a36Sopenharmony_ci		.intr_target_reg = 0,			\
6362306a36Sopenharmony_ci		.mux_bit = -1,				\
6462306a36Sopenharmony_ci		.pull_bit = pull,			\
6562306a36Sopenharmony_ci		.drv_bit = drv,				\
6662306a36Sopenharmony_ci		.oe_bit = -1,				\
6762306a36Sopenharmony_ci		.in_bit = -1,				\
6862306a36Sopenharmony_ci		.out_bit = -1,				\
6962306a36Sopenharmony_ci		.intr_enable_bit = -1,			\
7062306a36Sopenharmony_ci		.intr_status_bit = -1,			\
7162306a36Sopenharmony_ci		.intr_target_bit = -1,			\
7262306a36Sopenharmony_ci		.intr_raw_status_bit = -1,		\
7362306a36Sopenharmony_ci		.intr_polarity_bit = -1,		\
7462306a36Sopenharmony_ci		.intr_detection_bit = -1,		\
7562306a36Sopenharmony_ci		.intr_detection_width = -1,		\
7662306a36Sopenharmony_ci	}
7762306a36Sopenharmony_cistatic const struct pinctrl_pin_desc msm8996_pins[] = {
7862306a36Sopenharmony_ci	PINCTRL_PIN(0, "GPIO_0"),
7962306a36Sopenharmony_ci	PINCTRL_PIN(1, "GPIO_1"),
8062306a36Sopenharmony_ci	PINCTRL_PIN(2, "GPIO_2"),
8162306a36Sopenharmony_ci	PINCTRL_PIN(3, "GPIO_3"),
8262306a36Sopenharmony_ci	PINCTRL_PIN(4, "GPIO_4"),
8362306a36Sopenharmony_ci	PINCTRL_PIN(5, "GPIO_5"),
8462306a36Sopenharmony_ci	PINCTRL_PIN(6, "GPIO_6"),
8562306a36Sopenharmony_ci	PINCTRL_PIN(7, "GPIO_7"),
8662306a36Sopenharmony_ci	PINCTRL_PIN(8, "GPIO_8"),
8762306a36Sopenharmony_ci	PINCTRL_PIN(9, "GPIO_9"),
8862306a36Sopenharmony_ci	PINCTRL_PIN(10, "GPIO_10"),
8962306a36Sopenharmony_ci	PINCTRL_PIN(11, "GPIO_11"),
9062306a36Sopenharmony_ci	PINCTRL_PIN(12, "GPIO_12"),
9162306a36Sopenharmony_ci	PINCTRL_PIN(13, "GPIO_13"),
9262306a36Sopenharmony_ci	PINCTRL_PIN(14, "GPIO_14"),
9362306a36Sopenharmony_ci	PINCTRL_PIN(15, "GPIO_15"),
9462306a36Sopenharmony_ci	PINCTRL_PIN(16, "GPIO_16"),
9562306a36Sopenharmony_ci	PINCTRL_PIN(17, "GPIO_17"),
9662306a36Sopenharmony_ci	PINCTRL_PIN(18, "GPIO_18"),
9762306a36Sopenharmony_ci	PINCTRL_PIN(19, "GPIO_19"),
9862306a36Sopenharmony_ci	PINCTRL_PIN(20, "GPIO_20"),
9962306a36Sopenharmony_ci	PINCTRL_PIN(21, "GPIO_21"),
10062306a36Sopenharmony_ci	PINCTRL_PIN(22, "GPIO_22"),
10162306a36Sopenharmony_ci	PINCTRL_PIN(23, "GPIO_23"),
10262306a36Sopenharmony_ci	PINCTRL_PIN(24, "GPIO_24"),
10362306a36Sopenharmony_ci	PINCTRL_PIN(25, "GPIO_25"),
10462306a36Sopenharmony_ci	PINCTRL_PIN(26, "GPIO_26"),
10562306a36Sopenharmony_ci	PINCTRL_PIN(27, "GPIO_27"),
10662306a36Sopenharmony_ci	PINCTRL_PIN(28, "GPIO_28"),
10762306a36Sopenharmony_ci	PINCTRL_PIN(29, "GPIO_29"),
10862306a36Sopenharmony_ci	PINCTRL_PIN(30, "GPIO_30"),
10962306a36Sopenharmony_ci	PINCTRL_PIN(31, "GPIO_31"),
11062306a36Sopenharmony_ci	PINCTRL_PIN(32, "GPIO_32"),
11162306a36Sopenharmony_ci	PINCTRL_PIN(33, "GPIO_33"),
11262306a36Sopenharmony_ci	PINCTRL_PIN(34, "GPIO_34"),
11362306a36Sopenharmony_ci	PINCTRL_PIN(35, "GPIO_35"),
11462306a36Sopenharmony_ci	PINCTRL_PIN(36, "GPIO_36"),
11562306a36Sopenharmony_ci	PINCTRL_PIN(37, "GPIO_37"),
11662306a36Sopenharmony_ci	PINCTRL_PIN(38, "GPIO_38"),
11762306a36Sopenharmony_ci	PINCTRL_PIN(39, "GPIO_39"),
11862306a36Sopenharmony_ci	PINCTRL_PIN(40, "GPIO_40"),
11962306a36Sopenharmony_ci	PINCTRL_PIN(41, "GPIO_41"),
12062306a36Sopenharmony_ci	PINCTRL_PIN(42, "GPIO_42"),
12162306a36Sopenharmony_ci	PINCTRL_PIN(43, "GPIO_43"),
12262306a36Sopenharmony_ci	PINCTRL_PIN(44, "GPIO_44"),
12362306a36Sopenharmony_ci	PINCTRL_PIN(45, "GPIO_45"),
12462306a36Sopenharmony_ci	PINCTRL_PIN(46, "GPIO_46"),
12562306a36Sopenharmony_ci	PINCTRL_PIN(47, "GPIO_47"),
12662306a36Sopenharmony_ci	PINCTRL_PIN(48, "GPIO_48"),
12762306a36Sopenharmony_ci	PINCTRL_PIN(49, "GPIO_49"),
12862306a36Sopenharmony_ci	PINCTRL_PIN(50, "GPIO_50"),
12962306a36Sopenharmony_ci	PINCTRL_PIN(51, "GPIO_51"),
13062306a36Sopenharmony_ci	PINCTRL_PIN(52, "GPIO_52"),
13162306a36Sopenharmony_ci	PINCTRL_PIN(53, "GPIO_53"),
13262306a36Sopenharmony_ci	PINCTRL_PIN(54, "GPIO_54"),
13362306a36Sopenharmony_ci	PINCTRL_PIN(55, "GPIO_55"),
13462306a36Sopenharmony_ci	PINCTRL_PIN(56, "GPIO_56"),
13562306a36Sopenharmony_ci	PINCTRL_PIN(57, "GPIO_57"),
13662306a36Sopenharmony_ci	PINCTRL_PIN(58, "GPIO_58"),
13762306a36Sopenharmony_ci	PINCTRL_PIN(59, "GPIO_59"),
13862306a36Sopenharmony_ci	PINCTRL_PIN(60, "GPIO_60"),
13962306a36Sopenharmony_ci	PINCTRL_PIN(61, "GPIO_61"),
14062306a36Sopenharmony_ci	PINCTRL_PIN(62, "GPIO_62"),
14162306a36Sopenharmony_ci	PINCTRL_PIN(63, "GPIO_63"),
14262306a36Sopenharmony_ci	PINCTRL_PIN(64, "GPIO_64"),
14362306a36Sopenharmony_ci	PINCTRL_PIN(65, "GPIO_65"),
14462306a36Sopenharmony_ci	PINCTRL_PIN(66, "GPIO_66"),
14562306a36Sopenharmony_ci	PINCTRL_PIN(67, "GPIO_67"),
14662306a36Sopenharmony_ci	PINCTRL_PIN(68, "GPIO_68"),
14762306a36Sopenharmony_ci	PINCTRL_PIN(69, "GPIO_69"),
14862306a36Sopenharmony_ci	PINCTRL_PIN(70, "GPIO_70"),
14962306a36Sopenharmony_ci	PINCTRL_PIN(71, "GPIO_71"),
15062306a36Sopenharmony_ci	PINCTRL_PIN(72, "GPIO_72"),
15162306a36Sopenharmony_ci	PINCTRL_PIN(73, "GPIO_73"),
15262306a36Sopenharmony_ci	PINCTRL_PIN(74, "GPIO_74"),
15362306a36Sopenharmony_ci	PINCTRL_PIN(75, "GPIO_75"),
15462306a36Sopenharmony_ci	PINCTRL_PIN(76, "GPIO_76"),
15562306a36Sopenharmony_ci	PINCTRL_PIN(77, "GPIO_77"),
15662306a36Sopenharmony_ci	PINCTRL_PIN(78, "GPIO_78"),
15762306a36Sopenharmony_ci	PINCTRL_PIN(79, "GPIO_79"),
15862306a36Sopenharmony_ci	PINCTRL_PIN(80, "GPIO_80"),
15962306a36Sopenharmony_ci	PINCTRL_PIN(81, "GPIO_81"),
16062306a36Sopenharmony_ci	PINCTRL_PIN(82, "GPIO_82"),
16162306a36Sopenharmony_ci	PINCTRL_PIN(83, "GPIO_83"),
16262306a36Sopenharmony_ci	PINCTRL_PIN(84, "GPIO_84"),
16362306a36Sopenharmony_ci	PINCTRL_PIN(85, "GPIO_85"),
16462306a36Sopenharmony_ci	PINCTRL_PIN(86, "GPIO_86"),
16562306a36Sopenharmony_ci	PINCTRL_PIN(87, "GPIO_87"),
16662306a36Sopenharmony_ci	PINCTRL_PIN(88, "GPIO_88"),
16762306a36Sopenharmony_ci	PINCTRL_PIN(89, "GPIO_89"),
16862306a36Sopenharmony_ci	PINCTRL_PIN(90, "GPIO_90"),
16962306a36Sopenharmony_ci	PINCTRL_PIN(91, "GPIO_91"),
17062306a36Sopenharmony_ci	PINCTRL_PIN(92, "GPIO_92"),
17162306a36Sopenharmony_ci	PINCTRL_PIN(93, "GPIO_93"),
17262306a36Sopenharmony_ci	PINCTRL_PIN(94, "GPIO_94"),
17362306a36Sopenharmony_ci	PINCTRL_PIN(95, "GPIO_95"),
17462306a36Sopenharmony_ci	PINCTRL_PIN(96, "GPIO_96"),
17562306a36Sopenharmony_ci	PINCTRL_PIN(97, "GPIO_97"),
17662306a36Sopenharmony_ci	PINCTRL_PIN(98, "GPIO_98"),
17762306a36Sopenharmony_ci	PINCTRL_PIN(99, "GPIO_99"),
17862306a36Sopenharmony_ci	PINCTRL_PIN(100, "GPIO_100"),
17962306a36Sopenharmony_ci	PINCTRL_PIN(101, "GPIO_101"),
18062306a36Sopenharmony_ci	PINCTRL_PIN(102, "GPIO_102"),
18162306a36Sopenharmony_ci	PINCTRL_PIN(103, "GPIO_103"),
18262306a36Sopenharmony_ci	PINCTRL_PIN(104, "GPIO_104"),
18362306a36Sopenharmony_ci	PINCTRL_PIN(105, "GPIO_105"),
18462306a36Sopenharmony_ci	PINCTRL_PIN(106, "GPIO_106"),
18562306a36Sopenharmony_ci	PINCTRL_PIN(107, "GPIO_107"),
18662306a36Sopenharmony_ci	PINCTRL_PIN(108, "GPIO_108"),
18762306a36Sopenharmony_ci	PINCTRL_PIN(109, "GPIO_109"),
18862306a36Sopenharmony_ci	PINCTRL_PIN(110, "GPIO_110"),
18962306a36Sopenharmony_ci	PINCTRL_PIN(111, "GPIO_111"),
19062306a36Sopenharmony_ci	PINCTRL_PIN(112, "GPIO_112"),
19162306a36Sopenharmony_ci	PINCTRL_PIN(113, "GPIO_113"),
19262306a36Sopenharmony_ci	PINCTRL_PIN(114, "GPIO_114"),
19362306a36Sopenharmony_ci	PINCTRL_PIN(115, "GPIO_115"),
19462306a36Sopenharmony_ci	PINCTRL_PIN(116, "GPIO_116"),
19562306a36Sopenharmony_ci	PINCTRL_PIN(117, "GPIO_117"),
19662306a36Sopenharmony_ci	PINCTRL_PIN(118, "GPIO_118"),
19762306a36Sopenharmony_ci	PINCTRL_PIN(119, "GPIO_119"),
19862306a36Sopenharmony_ci	PINCTRL_PIN(120, "GPIO_120"),
19962306a36Sopenharmony_ci	PINCTRL_PIN(121, "GPIO_121"),
20062306a36Sopenharmony_ci	PINCTRL_PIN(122, "GPIO_122"),
20162306a36Sopenharmony_ci	PINCTRL_PIN(123, "GPIO_123"),
20262306a36Sopenharmony_ci	PINCTRL_PIN(124, "GPIO_124"),
20362306a36Sopenharmony_ci	PINCTRL_PIN(125, "GPIO_125"),
20462306a36Sopenharmony_ci	PINCTRL_PIN(126, "GPIO_126"),
20562306a36Sopenharmony_ci	PINCTRL_PIN(127, "GPIO_127"),
20662306a36Sopenharmony_ci	PINCTRL_PIN(128, "GPIO_128"),
20762306a36Sopenharmony_ci	PINCTRL_PIN(129, "GPIO_129"),
20862306a36Sopenharmony_ci	PINCTRL_PIN(130, "GPIO_130"),
20962306a36Sopenharmony_ci	PINCTRL_PIN(131, "GPIO_131"),
21062306a36Sopenharmony_ci	PINCTRL_PIN(132, "GPIO_132"),
21162306a36Sopenharmony_ci	PINCTRL_PIN(133, "GPIO_133"),
21262306a36Sopenharmony_ci	PINCTRL_PIN(134, "GPIO_134"),
21362306a36Sopenharmony_ci	PINCTRL_PIN(135, "GPIO_135"),
21462306a36Sopenharmony_ci	PINCTRL_PIN(136, "GPIO_136"),
21562306a36Sopenharmony_ci	PINCTRL_PIN(137, "GPIO_137"),
21662306a36Sopenharmony_ci	PINCTRL_PIN(138, "GPIO_138"),
21762306a36Sopenharmony_ci	PINCTRL_PIN(139, "GPIO_139"),
21862306a36Sopenharmony_ci	PINCTRL_PIN(140, "GPIO_140"),
21962306a36Sopenharmony_ci	PINCTRL_PIN(141, "GPIO_141"),
22062306a36Sopenharmony_ci	PINCTRL_PIN(142, "GPIO_142"),
22162306a36Sopenharmony_ci	PINCTRL_PIN(143, "GPIO_143"),
22262306a36Sopenharmony_ci	PINCTRL_PIN(144, "GPIO_144"),
22362306a36Sopenharmony_ci	PINCTRL_PIN(145, "GPIO_145"),
22462306a36Sopenharmony_ci	PINCTRL_PIN(146, "GPIO_146"),
22562306a36Sopenharmony_ci	PINCTRL_PIN(147, "GPIO_147"),
22662306a36Sopenharmony_ci	PINCTRL_PIN(148, "GPIO_148"),
22762306a36Sopenharmony_ci	PINCTRL_PIN(149, "GPIO_149"),
22862306a36Sopenharmony_ci	PINCTRL_PIN(150, "SDC1_CLK"),
22962306a36Sopenharmony_ci	PINCTRL_PIN(151, "SDC1_CMD"),
23062306a36Sopenharmony_ci	PINCTRL_PIN(152, "SDC1_DATA"),
23162306a36Sopenharmony_ci	PINCTRL_PIN(153, "SDC2_CLK"),
23262306a36Sopenharmony_ci	PINCTRL_PIN(154, "SDC2_CMD"),
23362306a36Sopenharmony_ci	PINCTRL_PIN(155, "SDC2_DATA"),
23462306a36Sopenharmony_ci	PINCTRL_PIN(156, "SDC1_RCLK"),
23562306a36Sopenharmony_ci};
23662306a36Sopenharmony_ci
23762306a36Sopenharmony_ci#define DECLARE_MSM_GPIO_PINS(pin) \
23862306a36Sopenharmony_ci	static const unsigned int gpio##pin##_pins[] = { pin }
23962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(0);
24062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(1);
24162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(2);
24262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(3);
24362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(4);
24462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(5);
24562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(6);
24662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(7);
24762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(8);
24862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(9);
24962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(10);
25062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(11);
25162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(12);
25262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(13);
25362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(14);
25462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(15);
25562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(16);
25662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(17);
25762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(18);
25862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(19);
25962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(20);
26062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(21);
26162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(22);
26262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(23);
26362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(24);
26462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(25);
26562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(26);
26662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(27);
26762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(28);
26862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(29);
26962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(30);
27062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(31);
27162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(32);
27262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(33);
27362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(34);
27462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(35);
27562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(36);
27662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(37);
27762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(38);
27862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(39);
27962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(40);
28062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(41);
28162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(42);
28262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(43);
28362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(44);
28462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(45);
28562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(46);
28662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(47);
28762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(48);
28862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(49);
28962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(50);
29062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(51);
29162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(52);
29262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(53);
29362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(54);
29462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(55);
29562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(56);
29662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(57);
29762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(58);
29862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(59);
29962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(60);
30062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(61);
30162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(62);
30262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(63);
30362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(64);
30462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(65);
30562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(66);
30662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(67);
30762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(68);
30862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(69);
30962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(70);
31062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(71);
31162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(72);
31262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(73);
31362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(74);
31462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(75);
31562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(76);
31662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(77);
31762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(78);
31862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(79);
31962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(80);
32062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(81);
32162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(82);
32262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(83);
32362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(84);
32462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(85);
32562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(86);
32662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(87);
32762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(88);
32862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(89);
32962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(90);
33062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(91);
33162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(92);
33262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(93);
33362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(94);
33462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(95);
33562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(96);
33662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(97);
33762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(98);
33862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(99);
33962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(100);
34062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(101);
34162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(102);
34262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(103);
34362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(104);
34462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(105);
34562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(106);
34662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(107);
34762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(108);
34862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(109);
34962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(110);
35062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(111);
35162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(112);
35262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(113);
35362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(114);
35462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(115);
35562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(116);
35662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(117);
35762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(118);
35862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(119);
35962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(120);
36062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(121);
36162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(122);
36262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(123);
36362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(124);
36462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(125);
36562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(126);
36662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(127);
36762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(128);
36862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(129);
36962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(130);
37062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(131);
37162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(132);
37262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(133);
37362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(134);
37462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(135);
37562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(136);
37662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(137);
37762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(138);
37862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(139);
37962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(140);
38062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(141);
38162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(142);
38262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(143);
38362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(144);
38462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(145);
38562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(146);
38662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(147);
38762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(148);
38862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(149);
38962306a36Sopenharmony_ci
39062306a36Sopenharmony_cistatic const unsigned int sdc1_clk_pins[] = { 150 };
39162306a36Sopenharmony_cistatic const unsigned int sdc1_cmd_pins[] = { 151 };
39262306a36Sopenharmony_cistatic const unsigned int sdc1_data_pins[] = { 152 };
39362306a36Sopenharmony_cistatic const unsigned int sdc2_clk_pins[] = { 153 };
39462306a36Sopenharmony_cistatic const unsigned int sdc2_cmd_pins[] = { 154 };
39562306a36Sopenharmony_cistatic const unsigned int sdc2_data_pins[] = { 155 };
39662306a36Sopenharmony_cistatic const unsigned int sdc1_rclk_pins[] = { 156 };
39762306a36Sopenharmony_ci
39862306a36Sopenharmony_cienum msm8996_functions {
39962306a36Sopenharmony_ci	msm_mux_adsp_ext,
40062306a36Sopenharmony_ci	msm_mux_atest_bbrx0,
40162306a36Sopenharmony_ci	msm_mux_atest_bbrx1,
40262306a36Sopenharmony_ci	msm_mux_atest_char,
40362306a36Sopenharmony_ci	msm_mux_atest_char0,
40462306a36Sopenharmony_ci	msm_mux_atest_char1,
40562306a36Sopenharmony_ci	msm_mux_atest_char2,
40662306a36Sopenharmony_ci	msm_mux_atest_char3,
40762306a36Sopenharmony_ci	msm_mux_atest_gpsadc0,
40862306a36Sopenharmony_ci	msm_mux_atest_gpsadc1,
40962306a36Sopenharmony_ci	msm_mux_atest_tsens,
41062306a36Sopenharmony_ci	msm_mux_atest_tsens2,
41162306a36Sopenharmony_ci	msm_mux_atest_usb1,
41262306a36Sopenharmony_ci	msm_mux_atest_usb10,
41362306a36Sopenharmony_ci	msm_mux_atest_usb11,
41462306a36Sopenharmony_ci	msm_mux_atest_usb12,
41562306a36Sopenharmony_ci	msm_mux_atest_usb13,
41662306a36Sopenharmony_ci	msm_mux_atest_usb2,
41762306a36Sopenharmony_ci	msm_mux_atest_usb20,
41862306a36Sopenharmony_ci	msm_mux_atest_usb21,
41962306a36Sopenharmony_ci	msm_mux_atest_usb22,
42062306a36Sopenharmony_ci	msm_mux_atest_usb23,
42162306a36Sopenharmony_ci	msm_mux_audio_ref,
42262306a36Sopenharmony_ci	msm_mux_bimc_dte0,
42362306a36Sopenharmony_ci	msm_mux_bimc_dte1,
42462306a36Sopenharmony_ci	msm_mux_blsp10_spi,
42562306a36Sopenharmony_ci	msm_mux_blsp11_i2c_scl_b,
42662306a36Sopenharmony_ci	msm_mux_blsp11_i2c_sda_b,
42762306a36Sopenharmony_ci	msm_mux_blsp11_uart_rx_b,
42862306a36Sopenharmony_ci	msm_mux_blsp11_uart_tx_b,
42962306a36Sopenharmony_ci	msm_mux_blsp1_spi,
43062306a36Sopenharmony_ci	msm_mux_blsp2_spi,
43162306a36Sopenharmony_ci	msm_mux_blsp_i2c1,
43262306a36Sopenharmony_ci	msm_mux_blsp_i2c10,
43362306a36Sopenharmony_ci	msm_mux_blsp_i2c11,
43462306a36Sopenharmony_ci	msm_mux_blsp_i2c12,
43562306a36Sopenharmony_ci	msm_mux_blsp_i2c2,
43662306a36Sopenharmony_ci	msm_mux_blsp_i2c3,
43762306a36Sopenharmony_ci	msm_mux_blsp_i2c4,
43862306a36Sopenharmony_ci	msm_mux_blsp_i2c5,
43962306a36Sopenharmony_ci	msm_mux_blsp_i2c6,
44062306a36Sopenharmony_ci	msm_mux_blsp_i2c7,
44162306a36Sopenharmony_ci	msm_mux_blsp_i2c8,
44262306a36Sopenharmony_ci	msm_mux_blsp_i2c9,
44362306a36Sopenharmony_ci	msm_mux_blsp_spi1,
44462306a36Sopenharmony_ci	msm_mux_blsp_spi10,
44562306a36Sopenharmony_ci	msm_mux_blsp_spi11,
44662306a36Sopenharmony_ci	msm_mux_blsp_spi12,
44762306a36Sopenharmony_ci	msm_mux_blsp_spi2,
44862306a36Sopenharmony_ci	msm_mux_blsp_spi3,
44962306a36Sopenharmony_ci	msm_mux_blsp_spi4,
45062306a36Sopenharmony_ci	msm_mux_blsp_spi5,
45162306a36Sopenharmony_ci	msm_mux_blsp_spi6,
45262306a36Sopenharmony_ci	msm_mux_blsp_spi7,
45362306a36Sopenharmony_ci	msm_mux_blsp_spi8,
45462306a36Sopenharmony_ci	msm_mux_blsp_spi9,
45562306a36Sopenharmony_ci	msm_mux_blsp_uart1,
45662306a36Sopenharmony_ci	msm_mux_blsp_uart10,
45762306a36Sopenharmony_ci	msm_mux_blsp_uart11,
45862306a36Sopenharmony_ci	msm_mux_blsp_uart12,
45962306a36Sopenharmony_ci	msm_mux_blsp_uart2,
46062306a36Sopenharmony_ci	msm_mux_blsp_uart3,
46162306a36Sopenharmony_ci	msm_mux_blsp_uart4,
46262306a36Sopenharmony_ci	msm_mux_blsp_uart5,
46362306a36Sopenharmony_ci	msm_mux_blsp_uart6,
46462306a36Sopenharmony_ci	msm_mux_blsp_uart7,
46562306a36Sopenharmony_ci	msm_mux_blsp_uart8,
46662306a36Sopenharmony_ci	msm_mux_blsp_uart9,
46762306a36Sopenharmony_ci	msm_mux_blsp_uim1,
46862306a36Sopenharmony_ci	msm_mux_blsp_uim10,
46962306a36Sopenharmony_ci	msm_mux_blsp_uim11,
47062306a36Sopenharmony_ci	msm_mux_blsp_uim12,
47162306a36Sopenharmony_ci	msm_mux_blsp_uim2,
47262306a36Sopenharmony_ci	msm_mux_blsp_uim3,
47362306a36Sopenharmony_ci	msm_mux_blsp_uim4,
47462306a36Sopenharmony_ci	msm_mux_blsp_uim5,
47562306a36Sopenharmony_ci	msm_mux_blsp_uim6,
47662306a36Sopenharmony_ci	msm_mux_blsp_uim7,
47762306a36Sopenharmony_ci	msm_mux_blsp_uim8,
47862306a36Sopenharmony_ci	msm_mux_blsp_uim9,
47962306a36Sopenharmony_ci	msm_mux_btfm_slimbus,
48062306a36Sopenharmony_ci	msm_mux_cam_mclk,
48162306a36Sopenharmony_ci	msm_mux_cci_async,
48262306a36Sopenharmony_ci	msm_mux_cci_i2c,
48362306a36Sopenharmony_ci	msm_mux_cci_timer0,
48462306a36Sopenharmony_ci	msm_mux_cci_timer1,
48562306a36Sopenharmony_ci	msm_mux_cci_timer2,
48662306a36Sopenharmony_ci	msm_mux_cci_timer3,
48762306a36Sopenharmony_ci	msm_mux_cci_timer4,
48862306a36Sopenharmony_ci	msm_mux_cri_trng,
48962306a36Sopenharmony_ci	msm_mux_cri_trng0,
49062306a36Sopenharmony_ci	msm_mux_cri_trng1,
49162306a36Sopenharmony_ci	msm_mux_dac_calib0,
49262306a36Sopenharmony_ci	msm_mux_dac_calib1,
49362306a36Sopenharmony_ci	msm_mux_dac_calib10,
49462306a36Sopenharmony_ci	msm_mux_dac_calib11,
49562306a36Sopenharmony_ci	msm_mux_dac_calib12,
49662306a36Sopenharmony_ci	msm_mux_dac_calib13,
49762306a36Sopenharmony_ci	msm_mux_dac_calib14,
49862306a36Sopenharmony_ci	msm_mux_dac_calib15,
49962306a36Sopenharmony_ci	msm_mux_dac_calib16,
50062306a36Sopenharmony_ci	msm_mux_dac_calib17,
50162306a36Sopenharmony_ci	msm_mux_dac_calib18,
50262306a36Sopenharmony_ci	msm_mux_dac_calib19,
50362306a36Sopenharmony_ci	msm_mux_dac_calib2,
50462306a36Sopenharmony_ci	msm_mux_dac_calib20,
50562306a36Sopenharmony_ci	msm_mux_dac_calib21,
50662306a36Sopenharmony_ci	msm_mux_dac_calib22,
50762306a36Sopenharmony_ci	msm_mux_dac_calib23,
50862306a36Sopenharmony_ci	msm_mux_dac_calib24,
50962306a36Sopenharmony_ci	msm_mux_dac_calib25,
51062306a36Sopenharmony_ci	msm_mux_dac_calib26,
51162306a36Sopenharmony_ci	msm_mux_dac_calib3,
51262306a36Sopenharmony_ci	msm_mux_dac_calib4,
51362306a36Sopenharmony_ci	msm_mux_dac_calib5,
51462306a36Sopenharmony_ci	msm_mux_dac_calib6,
51562306a36Sopenharmony_ci	msm_mux_dac_calib7,
51662306a36Sopenharmony_ci	msm_mux_dac_calib8,
51762306a36Sopenharmony_ci	msm_mux_dac_calib9,
51862306a36Sopenharmony_ci	msm_mux_dac_gpio,
51962306a36Sopenharmony_ci	msm_mux_dbg_out,
52062306a36Sopenharmony_ci	msm_mux_ddr_bist,
52162306a36Sopenharmony_ci	msm_mux_edp_hot,
52262306a36Sopenharmony_ci	msm_mux_edp_lcd,
52362306a36Sopenharmony_ci	msm_mux_gcc_gp1_clk_a,
52462306a36Sopenharmony_ci	msm_mux_gcc_gp1_clk_b,
52562306a36Sopenharmony_ci	msm_mux_gcc_gp2_clk_a,
52662306a36Sopenharmony_ci	msm_mux_gcc_gp2_clk_b,
52762306a36Sopenharmony_ci	msm_mux_gcc_gp3_clk_a,
52862306a36Sopenharmony_ci	msm_mux_gcc_gp3_clk_b,
52962306a36Sopenharmony_ci	msm_mux_gsm_tx,
53062306a36Sopenharmony_ci	msm_mux_hdmi_cec,
53162306a36Sopenharmony_ci	msm_mux_hdmi_ddc,
53262306a36Sopenharmony_ci	msm_mux_hdmi_hot,
53362306a36Sopenharmony_ci	msm_mux_hdmi_rcv,
53462306a36Sopenharmony_ci	msm_mux_isense_dbg,
53562306a36Sopenharmony_ci	msm_mux_ldo_en,
53662306a36Sopenharmony_ci	msm_mux_ldo_update,
53762306a36Sopenharmony_ci	msm_mux_lpass_slimbus,
53862306a36Sopenharmony_ci	msm_mux_m_voc,
53962306a36Sopenharmony_ci	msm_mux_mdp_vsync,
54062306a36Sopenharmony_ci	msm_mux_mdp_vsync_p_b,
54162306a36Sopenharmony_ci	msm_mux_mdp_vsync_s_b,
54262306a36Sopenharmony_ci	msm_mux_modem_tsync,
54362306a36Sopenharmony_ci	msm_mux_mss_lte,
54462306a36Sopenharmony_ci	msm_mux_nav_dr,
54562306a36Sopenharmony_ci	msm_mux_nav_pps,
54662306a36Sopenharmony_ci	msm_mux_pa_indicator,
54762306a36Sopenharmony_ci	msm_mux_pci_e0,
54862306a36Sopenharmony_ci	msm_mux_pci_e1,
54962306a36Sopenharmony_ci	msm_mux_pci_e2,
55062306a36Sopenharmony_ci	msm_mux_pll_bypassnl,
55162306a36Sopenharmony_ci	msm_mux_pll_reset,
55262306a36Sopenharmony_ci	msm_mux_pri_mi2s,
55362306a36Sopenharmony_ci	msm_mux_prng_rosc,
55462306a36Sopenharmony_ci	msm_mux_pwr_crypto,
55562306a36Sopenharmony_ci	msm_mux_pwr_modem,
55662306a36Sopenharmony_ci	msm_mux_pwr_nav,
55762306a36Sopenharmony_ci	msm_mux_qdss_cti,
55862306a36Sopenharmony_ci	msm_mux_qdss_cti_trig_in_a,
55962306a36Sopenharmony_ci	msm_mux_qdss_cti_trig_in_b,
56062306a36Sopenharmony_ci	msm_mux_qdss_cti_trig_out_a,
56162306a36Sopenharmony_ci	msm_mux_qdss_cti_trig_out_b,
56262306a36Sopenharmony_ci	msm_mux_qdss_stm0,
56362306a36Sopenharmony_ci	msm_mux_qdss_stm1,
56462306a36Sopenharmony_ci	msm_mux_qdss_stm10,
56562306a36Sopenharmony_ci	msm_mux_qdss_stm11,
56662306a36Sopenharmony_ci	msm_mux_qdss_stm12,
56762306a36Sopenharmony_ci	msm_mux_qdss_stm13,
56862306a36Sopenharmony_ci	msm_mux_qdss_stm14,
56962306a36Sopenharmony_ci	msm_mux_qdss_stm15,
57062306a36Sopenharmony_ci	msm_mux_qdss_stm16,
57162306a36Sopenharmony_ci	msm_mux_qdss_stm17,
57262306a36Sopenharmony_ci	msm_mux_qdss_stm18,
57362306a36Sopenharmony_ci	msm_mux_qdss_stm19,
57462306a36Sopenharmony_ci	msm_mux_qdss_stm2,
57562306a36Sopenharmony_ci	msm_mux_qdss_stm20,
57662306a36Sopenharmony_ci	msm_mux_qdss_stm21,
57762306a36Sopenharmony_ci	msm_mux_qdss_stm22,
57862306a36Sopenharmony_ci	msm_mux_qdss_stm23,
57962306a36Sopenharmony_ci	msm_mux_qdss_stm24,
58062306a36Sopenharmony_ci	msm_mux_qdss_stm25,
58162306a36Sopenharmony_ci	msm_mux_qdss_stm26,
58262306a36Sopenharmony_ci	msm_mux_qdss_stm27,
58362306a36Sopenharmony_ci	msm_mux_qdss_stm28,
58462306a36Sopenharmony_ci	msm_mux_qdss_stm29,
58562306a36Sopenharmony_ci	msm_mux_qdss_stm3,
58662306a36Sopenharmony_ci	msm_mux_qdss_stm30,
58762306a36Sopenharmony_ci	msm_mux_qdss_stm31,
58862306a36Sopenharmony_ci	msm_mux_qdss_stm4,
58962306a36Sopenharmony_ci	msm_mux_qdss_stm5,
59062306a36Sopenharmony_ci	msm_mux_qdss_stm6,
59162306a36Sopenharmony_ci	msm_mux_qdss_stm7,
59262306a36Sopenharmony_ci	msm_mux_qdss_stm8,
59362306a36Sopenharmony_ci	msm_mux_qdss_stm9,
59462306a36Sopenharmony_ci	msm_mux_qdss_traceclk_a,
59562306a36Sopenharmony_ci	msm_mux_qdss_traceclk_b,
59662306a36Sopenharmony_ci	msm_mux_qdss_tracectl_a,
59762306a36Sopenharmony_ci	msm_mux_qdss_tracectl_b,
59862306a36Sopenharmony_ci	msm_mux_qdss_tracedata_11,
59962306a36Sopenharmony_ci	msm_mux_qdss_tracedata_12,
60062306a36Sopenharmony_ci	msm_mux_qdss_tracedata_a,
60162306a36Sopenharmony_ci	msm_mux_qdss_tracedata_b,
60262306a36Sopenharmony_ci	msm_mux_qspi0,
60362306a36Sopenharmony_ci	msm_mux_qspi1,
60462306a36Sopenharmony_ci	msm_mux_qspi2,
60562306a36Sopenharmony_ci	msm_mux_qspi3,
60662306a36Sopenharmony_ci	msm_mux_qspi_clk,
60762306a36Sopenharmony_ci	msm_mux_qspi_cs,
60862306a36Sopenharmony_ci	msm_mux_qua_mi2s,
60962306a36Sopenharmony_ci	msm_mux_sd_card,
61062306a36Sopenharmony_ci	msm_mux_sd_write,
61162306a36Sopenharmony_ci	msm_mux_sdc40,
61262306a36Sopenharmony_ci	msm_mux_sdc41,
61362306a36Sopenharmony_ci	msm_mux_sdc42,
61462306a36Sopenharmony_ci	msm_mux_sdc43,
61562306a36Sopenharmony_ci	msm_mux_sdc4_clk,
61662306a36Sopenharmony_ci	msm_mux_sdc4_cmd,
61762306a36Sopenharmony_ci	msm_mux_sec_mi2s,
61862306a36Sopenharmony_ci	msm_mux_spkr_i2s,
61962306a36Sopenharmony_ci	msm_mux_ssbi1,
62062306a36Sopenharmony_ci	msm_mux_ssbi2,
62162306a36Sopenharmony_ci	msm_mux_ssc_irq,
62262306a36Sopenharmony_ci	msm_mux_ter_mi2s,
62362306a36Sopenharmony_ci	msm_mux_tsense_pwm1,
62462306a36Sopenharmony_ci	msm_mux_tsense_pwm2,
62562306a36Sopenharmony_ci	msm_mux_tsif1_clk,
62662306a36Sopenharmony_ci	msm_mux_tsif1_data,
62762306a36Sopenharmony_ci	msm_mux_tsif1_en,
62862306a36Sopenharmony_ci	msm_mux_tsif1_error,
62962306a36Sopenharmony_ci	msm_mux_tsif1_sync,
63062306a36Sopenharmony_ci	msm_mux_tsif2_clk,
63162306a36Sopenharmony_ci	msm_mux_tsif2_data,
63262306a36Sopenharmony_ci	msm_mux_tsif2_en,
63362306a36Sopenharmony_ci	msm_mux_tsif2_error,
63462306a36Sopenharmony_ci	msm_mux_tsif2_sync,
63562306a36Sopenharmony_ci	msm_mux_uim1,
63662306a36Sopenharmony_ci	msm_mux_uim2,
63762306a36Sopenharmony_ci	msm_mux_uim3,
63862306a36Sopenharmony_ci	msm_mux_uim4,
63962306a36Sopenharmony_ci	msm_mux_uim_batt,
64062306a36Sopenharmony_ci	msm_mux_vfr_1,
64162306a36Sopenharmony_ci	msm_mux_gpio,
64262306a36Sopenharmony_ci	msm_mux_NA,
64362306a36Sopenharmony_ci};
64462306a36Sopenharmony_ci
64562306a36Sopenharmony_cistatic const char * const gpio_groups[] = {
64662306a36Sopenharmony_ci	"gpio0", "gpio1", "gpio2", "gpio3", "gpio4", "gpio5", "gpio6", "gpio7",
64762306a36Sopenharmony_ci	"gpio8", "gpio9", "gpio10", "gpio11", "gpio12", "gpio13", "gpio14",
64862306a36Sopenharmony_ci	"gpio15", "gpio16", "gpio17", "gpio18", "gpio19", "gpio20", "gpio21",
64962306a36Sopenharmony_ci	"gpio22", "gpio23", "gpio24", "gpio25", "gpio26", "gpio27", "gpio28",
65062306a36Sopenharmony_ci	"gpio29", "gpio30", "gpio31", "gpio32", "gpio33", "gpio34", "gpio35",
65162306a36Sopenharmony_ci	"gpio36", "gpio37", "gpio38", "gpio39", "gpio40", "gpio41", "gpio42",
65262306a36Sopenharmony_ci	"gpio43", "gpio44", "gpio45", "gpio46", "gpio47", "gpio48", "gpio49",
65362306a36Sopenharmony_ci	"gpio50", "gpio51", "gpio52", "gpio53", "gpio54", "gpio55", "gpio56",
65462306a36Sopenharmony_ci	"gpio57", "gpio58", "gpio59", "gpio60", "gpio61", "gpio62", "gpio63",
65562306a36Sopenharmony_ci	"gpio64", "gpio65", "gpio66", "gpio67", "gpio68", "gpio69", "gpio70",
65662306a36Sopenharmony_ci	"gpio71", "gpio72", "gpio73", "gpio74", "gpio75", "gpio76", "gpio77",
65762306a36Sopenharmony_ci	"gpio78", "gpio79", "gpio80", "gpio81", "gpio82", "gpio83", "gpio84",
65862306a36Sopenharmony_ci	"gpio85", "gpio86", "gpio87", "gpio88", "gpio89", "gpio90", "gpio91",
65962306a36Sopenharmony_ci	"gpio92", "gpio93", "gpio94", "gpio95", "gpio96", "gpio97", "gpio98",
66062306a36Sopenharmony_ci	"gpio99", "gpio100", "gpio101", "gpio102", "gpio103", "gpio104",
66162306a36Sopenharmony_ci	"gpio105", "gpio106", "gpio107", "gpio108", "gpio109", "gpio110",
66262306a36Sopenharmony_ci	"gpio111", "gpio112", "gpio113", "gpio114", "gpio115", "gpio116",
66362306a36Sopenharmony_ci	"gpio117", "gpio118", "gpio119", "gpio120", "gpio121", "gpio122",
66462306a36Sopenharmony_ci	"gpio123", "gpio124", "gpio125", "gpio126", "gpio127", "gpio128",
66562306a36Sopenharmony_ci	"gpio129", "gpio130", "gpio131", "gpio132", "gpio133", "gpio134",
66662306a36Sopenharmony_ci	"gpio135", "gpio136", "gpio137", "gpio138", "gpio139", "gpio140",
66762306a36Sopenharmony_ci	"gpio141", "gpio142", "gpio143", "gpio144", "gpio145", "gpio146",
66862306a36Sopenharmony_ci	"gpio147", "gpio148", "gpio149"
66962306a36Sopenharmony_ci};
67062306a36Sopenharmony_ci
67162306a36Sopenharmony_ci
67262306a36Sopenharmony_cistatic const char * const blsp_uart1_groups[] = {
67362306a36Sopenharmony_ci	"gpio0", "gpio1", "gpio2", "gpio3",
67462306a36Sopenharmony_ci};
67562306a36Sopenharmony_cistatic const char * const blsp_spi1_groups[] = {
67662306a36Sopenharmony_ci	"gpio0", "gpio1", "gpio2", "gpio3",
67762306a36Sopenharmony_ci};
67862306a36Sopenharmony_cistatic const char * const blsp_i2c1_groups[] = {
67962306a36Sopenharmony_ci	"gpio2", "gpio3",
68062306a36Sopenharmony_ci};
68162306a36Sopenharmony_cistatic const char * const blsp_uim1_groups[] = {
68262306a36Sopenharmony_ci	"gpio0", "gpio1",
68362306a36Sopenharmony_ci};
68462306a36Sopenharmony_cistatic const char * const atest_tsens_groups[] = {
68562306a36Sopenharmony_ci	"gpio3",
68662306a36Sopenharmony_ci};
68762306a36Sopenharmony_cistatic const char * const bimc_dte1_groups[] = {
68862306a36Sopenharmony_ci	"gpio3", "gpio5",
68962306a36Sopenharmony_ci};
69062306a36Sopenharmony_cistatic const char * const blsp_spi8_groups[] = {
69162306a36Sopenharmony_ci	"gpio4", "gpio5", "gpio6", "gpio7",
69262306a36Sopenharmony_ci};
69362306a36Sopenharmony_cistatic const char * const blsp_uart8_groups[] = {
69462306a36Sopenharmony_ci	"gpio4", "gpio5", "gpio6", "gpio7",
69562306a36Sopenharmony_ci};
69662306a36Sopenharmony_cistatic const char * const blsp_uim8_groups[] = {
69762306a36Sopenharmony_ci	"gpio4", "gpio5",
69862306a36Sopenharmony_ci};
69962306a36Sopenharmony_cistatic const char * const qdss_cti_trig_out_b_groups[] = {
70062306a36Sopenharmony_ci	"gpio4",
70162306a36Sopenharmony_ci};
70262306a36Sopenharmony_cistatic const char * const dac_calib0_groups[] = {
70362306a36Sopenharmony_ci	"gpio4", "gpio41",
70462306a36Sopenharmony_ci};
70562306a36Sopenharmony_cistatic const char * const bimc_dte0_groups[] = {
70662306a36Sopenharmony_ci	"gpio4", "gpio6",
70762306a36Sopenharmony_ci};
70862306a36Sopenharmony_cistatic const char * const qdss_cti_trig_in_b_groups[] = {
70962306a36Sopenharmony_ci	"gpio5",
71062306a36Sopenharmony_ci};
71162306a36Sopenharmony_cistatic const char * const dac_calib1_groups[] = {
71262306a36Sopenharmony_ci	"gpio5", "gpio42",
71362306a36Sopenharmony_ci};
71462306a36Sopenharmony_cistatic const char * const dac_calib2_groups[] = {
71562306a36Sopenharmony_ci	"gpio6", "gpio43",
71662306a36Sopenharmony_ci};
71762306a36Sopenharmony_cistatic const char * const atest_tsens2_groups[] = {
71862306a36Sopenharmony_ci	"gpio7",
71962306a36Sopenharmony_ci};
72062306a36Sopenharmony_cistatic const char * const blsp_spi10_groups[] = {
72162306a36Sopenharmony_ci	"gpio8", "gpio9", "gpio10", "gpio11",
72262306a36Sopenharmony_ci};
72362306a36Sopenharmony_cistatic const char * const blsp_uart10_groups[] = {
72462306a36Sopenharmony_ci	"gpio8", "gpio9", "gpio10", "gpio11",
72562306a36Sopenharmony_ci};
72662306a36Sopenharmony_cistatic const char * const blsp_uim10_groups[] = {
72762306a36Sopenharmony_ci	"gpio8", "gpio9",
72862306a36Sopenharmony_ci};
72962306a36Sopenharmony_cistatic const char * const atest_bbrx1_groups[] = {
73062306a36Sopenharmony_ci	"gpio8",
73162306a36Sopenharmony_ci};
73262306a36Sopenharmony_cistatic const char * const atest_usb12_groups[] = {
73362306a36Sopenharmony_ci	"gpio9",
73462306a36Sopenharmony_ci};
73562306a36Sopenharmony_cistatic const char * const mdp_vsync_groups[] = {
73662306a36Sopenharmony_ci	"gpio10", "gpio11", "gpio12",
73762306a36Sopenharmony_ci};
73862306a36Sopenharmony_cistatic const char * const edp_lcd_groups[] = {
73962306a36Sopenharmony_ci	"gpio10",
74062306a36Sopenharmony_ci};
74162306a36Sopenharmony_cistatic const char * const blsp_i2c10_groups[] = {
74262306a36Sopenharmony_ci	"gpio10", "gpio11",
74362306a36Sopenharmony_ci};
74462306a36Sopenharmony_cistatic const char * const atest_usb11_groups[] = {
74562306a36Sopenharmony_ci	"gpio10",
74662306a36Sopenharmony_ci};
74762306a36Sopenharmony_cistatic const char * const atest_gpsadc0_groups[] = {
74862306a36Sopenharmony_ci	"gpio11",
74962306a36Sopenharmony_ci};
75062306a36Sopenharmony_cistatic const char * const edp_hot_groups[] = {
75162306a36Sopenharmony_ci	"gpio11",
75262306a36Sopenharmony_ci};
75362306a36Sopenharmony_cistatic const char * const atest_usb10_groups[] = {
75462306a36Sopenharmony_ci	"gpio11",
75562306a36Sopenharmony_ci};
75662306a36Sopenharmony_cistatic const char * const m_voc_groups[] = {
75762306a36Sopenharmony_ci	"gpio12",
75862306a36Sopenharmony_ci};
75962306a36Sopenharmony_cistatic const char * const dac_gpio_groups[] = {
76062306a36Sopenharmony_ci	"gpio12",
76162306a36Sopenharmony_ci};
76262306a36Sopenharmony_cistatic const char * const atest_char_groups[] = {
76362306a36Sopenharmony_ci	"gpio12",
76462306a36Sopenharmony_ci};
76562306a36Sopenharmony_cistatic const char * const cam_mclk_groups[] = {
76662306a36Sopenharmony_ci	"gpio13", "gpio14", "gpio15", "gpio16",
76762306a36Sopenharmony_ci};
76862306a36Sopenharmony_cistatic const char * const pll_bypassnl_groups[] = {
76962306a36Sopenharmony_ci	"gpio13",
77062306a36Sopenharmony_ci};
77162306a36Sopenharmony_cistatic const char * const qdss_stm7_groups[] = {
77262306a36Sopenharmony_ci	"gpio13",
77362306a36Sopenharmony_ci};
77462306a36Sopenharmony_cistatic const char * const blsp_i2c8_groups[] = {
77562306a36Sopenharmony_ci	"gpio6", "gpio7",
77662306a36Sopenharmony_ci};
77762306a36Sopenharmony_cistatic const char * const atest_usb1_groups[] = {
77862306a36Sopenharmony_ci	"gpio7",
77962306a36Sopenharmony_ci};
78062306a36Sopenharmony_cistatic const char * const atest_usb13_groups[] = {
78162306a36Sopenharmony_ci	"gpio8",
78262306a36Sopenharmony_ci};
78362306a36Sopenharmony_cistatic const char * const atest_bbrx0_groups[] = {
78462306a36Sopenharmony_ci	"gpio9",
78562306a36Sopenharmony_ci};
78662306a36Sopenharmony_cistatic const char * const atest_gpsadc1_groups[] = {
78762306a36Sopenharmony_ci	"gpio10",
78862306a36Sopenharmony_ci};
78962306a36Sopenharmony_cistatic const char * const qdss_tracedata_b_groups[] = {
79062306a36Sopenharmony_ci	"gpio13", "gpio14", "gpio15", "gpio16", "gpio17", "gpio18", "gpio19",
79162306a36Sopenharmony_ci	"gpio21", "gpio22", "gpio23", "gpio26", "gpio29", "gpio57", "gpio58",
79262306a36Sopenharmony_ci	"gpio92", "gpio93",
79362306a36Sopenharmony_ci};
79462306a36Sopenharmony_cistatic const char * const pll_reset_groups[] = {
79562306a36Sopenharmony_ci	"gpio14",
79662306a36Sopenharmony_ci};
79762306a36Sopenharmony_cistatic const char * const qdss_stm6_groups[] = {
79862306a36Sopenharmony_ci	"gpio14",
79962306a36Sopenharmony_ci};
80062306a36Sopenharmony_cistatic const char * const qdss_stm5_groups[] = {
80162306a36Sopenharmony_ci	"gpio15",
80262306a36Sopenharmony_ci};
80362306a36Sopenharmony_cistatic const char * const qdss_stm4_groups[] = {
80462306a36Sopenharmony_ci	"gpio16",
80562306a36Sopenharmony_ci};
80662306a36Sopenharmony_cistatic const char * const atest_usb2_groups[] = {
80762306a36Sopenharmony_ci	"gpio16",
80862306a36Sopenharmony_ci};
80962306a36Sopenharmony_cistatic const char * const dac_calib3_groups[] = {
81062306a36Sopenharmony_ci	"gpio17", "gpio44",
81162306a36Sopenharmony_ci};
81262306a36Sopenharmony_cistatic const char * const cci_i2c_groups[] = {
81362306a36Sopenharmony_ci	"gpio17", "gpio18", "gpio19", "gpio20",
81462306a36Sopenharmony_ci};
81562306a36Sopenharmony_cistatic const char * const qdss_stm3_groups[] = {
81662306a36Sopenharmony_ci	"gpio17",
81762306a36Sopenharmony_ci};
81862306a36Sopenharmony_cistatic const char * const atest_usb23_groups[] = {
81962306a36Sopenharmony_ci	"gpio17",
82062306a36Sopenharmony_ci};
82162306a36Sopenharmony_cistatic const char * const atest_char3_groups[] = {
82262306a36Sopenharmony_ci	"gpio17",
82362306a36Sopenharmony_ci};
82462306a36Sopenharmony_cistatic const char * const dac_calib4_groups[] = {
82562306a36Sopenharmony_ci	"gpio18", "gpio45",
82662306a36Sopenharmony_ci};
82762306a36Sopenharmony_cistatic const char * const qdss_stm2_groups[] = {
82862306a36Sopenharmony_ci	"gpio18",
82962306a36Sopenharmony_ci};
83062306a36Sopenharmony_cistatic const char * const atest_usb22_groups[] = {
83162306a36Sopenharmony_ci	"gpio18",
83262306a36Sopenharmony_ci};
83362306a36Sopenharmony_cistatic const char * const atest_char2_groups[] = {
83462306a36Sopenharmony_ci	"gpio18",
83562306a36Sopenharmony_ci};
83662306a36Sopenharmony_cistatic const char * const dac_calib5_groups[] = {
83762306a36Sopenharmony_ci	"gpio19", "gpio46",
83862306a36Sopenharmony_ci};
83962306a36Sopenharmony_cistatic const char * const qdss_stm1_groups[] = {
84062306a36Sopenharmony_ci	"gpio19",
84162306a36Sopenharmony_ci};
84262306a36Sopenharmony_cistatic const char * const atest_usb21_groups[] = {
84362306a36Sopenharmony_ci	"gpio19",
84462306a36Sopenharmony_ci};
84562306a36Sopenharmony_cistatic const char * const atest_char1_groups[] = {
84662306a36Sopenharmony_ci	"gpio19",
84762306a36Sopenharmony_ci};
84862306a36Sopenharmony_cistatic const char * const dac_calib6_groups[] = {
84962306a36Sopenharmony_ci	"gpio20", "gpio47",
85062306a36Sopenharmony_ci};
85162306a36Sopenharmony_cistatic const char * const dbg_out_groups[] = {
85262306a36Sopenharmony_ci	"gpio20",
85362306a36Sopenharmony_ci};
85462306a36Sopenharmony_cistatic const char * const qdss_stm0_groups[] = {
85562306a36Sopenharmony_ci	"gpio20",
85662306a36Sopenharmony_ci};
85762306a36Sopenharmony_cistatic const char * const atest_usb20_groups[] = {
85862306a36Sopenharmony_ci	"gpio20",
85962306a36Sopenharmony_ci};
86062306a36Sopenharmony_cistatic const char * const atest_char0_groups[] = {
86162306a36Sopenharmony_ci	"gpio20",
86262306a36Sopenharmony_ci};
86362306a36Sopenharmony_cistatic const char * const dac_calib7_groups[] = {
86462306a36Sopenharmony_ci	"gpio21", "gpio48",
86562306a36Sopenharmony_ci};
86662306a36Sopenharmony_cistatic const char * const cci_timer0_groups[] = {
86762306a36Sopenharmony_ci	"gpio21",
86862306a36Sopenharmony_ci};
86962306a36Sopenharmony_cistatic const char * const qdss_stm13_groups[] = {
87062306a36Sopenharmony_ci	"gpio21",
87162306a36Sopenharmony_ci};
87262306a36Sopenharmony_cistatic const char * const dac_calib8_groups[] = {
87362306a36Sopenharmony_ci	"gpio22", "gpio49",
87462306a36Sopenharmony_ci};
87562306a36Sopenharmony_cistatic const char * const cci_timer1_groups[] = {
87662306a36Sopenharmony_ci	"gpio22",
87762306a36Sopenharmony_ci};
87862306a36Sopenharmony_cistatic const char * const qdss_stm12_groups[] = {
87962306a36Sopenharmony_ci	"gpio22",
88062306a36Sopenharmony_ci};
88162306a36Sopenharmony_cistatic const char * const dac_calib9_groups[] = {
88262306a36Sopenharmony_ci	"gpio23", "gpio50",
88362306a36Sopenharmony_ci};
88462306a36Sopenharmony_cistatic const char * const cci_timer2_groups[] = {
88562306a36Sopenharmony_ci	"gpio23",
88662306a36Sopenharmony_ci};
88762306a36Sopenharmony_cistatic const char * const qdss_stm11_groups[] = {
88862306a36Sopenharmony_ci	"gpio23",
88962306a36Sopenharmony_ci};
89062306a36Sopenharmony_cistatic const char * const dac_calib10_groups[] = {
89162306a36Sopenharmony_ci	"gpio24", "gpio51",
89262306a36Sopenharmony_ci};
89362306a36Sopenharmony_cistatic const char * const cci_timer3_groups[] = {
89462306a36Sopenharmony_ci	"gpio24",
89562306a36Sopenharmony_ci};
89662306a36Sopenharmony_cistatic const char * const cci_async_groups[] = {
89762306a36Sopenharmony_ci	"gpio24", "gpio25", "gpio26",
89862306a36Sopenharmony_ci};
89962306a36Sopenharmony_cistatic const char * const blsp1_spi_groups[] = {
90062306a36Sopenharmony_ci	"gpio24", "gpio27", "gpio28", "gpio90",
90162306a36Sopenharmony_ci};
90262306a36Sopenharmony_cistatic const char * const qdss_stm10_groups[] = {
90362306a36Sopenharmony_ci	"gpio24",
90462306a36Sopenharmony_ci};
90562306a36Sopenharmony_cistatic const char * const qdss_cti_trig_in_a_groups[] = {
90662306a36Sopenharmony_ci	"gpio24",
90762306a36Sopenharmony_ci};
90862306a36Sopenharmony_cistatic const char * const dac_calib11_groups[] = {
90962306a36Sopenharmony_ci	"gpio25", "gpio52",
91062306a36Sopenharmony_ci};
91162306a36Sopenharmony_cistatic const char * const cci_timer4_groups[] = {
91262306a36Sopenharmony_ci	"gpio25",
91362306a36Sopenharmony_ci};
91462306a36Sopenharmony_cistatic const char * const blsp_spi6_groups[] = {
91562306a36Sopenharmony_ci	"gpio25", "gpio26", "gpio27", "gpio28",
91662306a36Sopenharmony_ci};
91762306a36Sopenharmony_cistatic const char * const blsp_uart6_groups[] = {
91862306a36Sopenharmony_ci	"gpio25", "gpio26", "gpio27", "gpio28",
91962306a36Sopenharmony_ci};
92062306a36Sopenharmony_cistatic const char * const blsp_uim6_groups[] = {
92162306a36Sopenharmony_ci	"gpio25", "gpio26",
92262306a36Sopenharmony_ci};
92362306a36Sopenharmony_cistatic const char * const blsp2_spi_groups[] = {
92462306a36Sopenharmony_ci	"gpio25", "gpio29", "gpio30",
92562306a36Sopenharmony_ci};
92662306a36Sopenharmony_cistatic const char * const qdss_stm9_groups[] = {
92762306a36Sopenharmony_ci	"gpio25",
92862306a36Sopenharmony_ci};
92962306a36Sopenharmony_cistatic const char * const qdss_cti_trig_out_a_groups[] = {
93062306a36Sopenharmony_ci	"gpio25",
93162306a36Sopenharmony_ci};
93262306a36Sopenharmony_cistatic const char * const dac_calib12_groups[] = {
93362306a36Sopenharmony_ci	"gpio26", "gpio53",
93462306a36Sopenharmony_ci};
93562306a36Sopenharmony_cistatic const char * const qdss_stm8_groups[] = {
93662306a36Sopenharmony_ci	"gpio26",
93762306a36Sopenharmony_ci};
93862306a36Sopenharmony_cistatic const char * const dac_calib13_groups[] = {
93962306a36Sopenharmony_ci	"gpio27", "gpio54",
94062306a36Sopenharmony_ci};
94162306a36Sopenharmony_cistatic const char * const blsp_i2c6_groups[] = {
94262306a36Sopenharmony_ci	"gpio27", "gpio28",
94362306a36Sopenharmony_ci};
94462306a36Sopenharmony_cistatic const char * const qdss_tracectl_a_groups[] = {
94562306a36Sopenharmony_ci	"gpio27",
94662306a36Sopenharmony_ci};
94762306a36Sopenharmony_cistatic const char * const dac_calib14_groups[] = {
94862306a36Sopenharmony_ci	"gpio28", "gpio55",
94962306a36Sopenharmony_ci};
95062306a36Sopenharmony_cistatic const char * const qdss_traceclk_a_groups[] = {
95162306a36Sopenharmony_ci	"gpio28",
95262306a36Sopenharmony_ci};
95362306a36Sopenharmony_cistatic const char * const dac_calib15_groups[] = {
95462306a36Sopenharmony_ci	"gpio29", "gpio56",
95562306a36Sopenharmony_ci};
95662306a36Sopenharmony_cistatic const char * const dac_calib16_groups[] = {
95762306a36Sopenharmony_ci	"gpio30", "gpio57",
95862306a36Sopenharmony_ci};
95962306a36Sopenharmony_cistatic const char * const hdmi_rcv_groups[] = {
96062306a36Sopenharmony_ci	"gpio30",
96162306a36Sopenharmony_ci};
96262306a36Sopenharmony_cistatic const char * const dac_calib17_groups[] = {
96362306a36Sopenharmony_ci	"gpio31", "gpio58",
96462306a36Sopenharmony_ci};
96562306a36Sopenharmony_cistatic const char * const pwr_modem_groups[] = {
96662306a36Sopenharmony_ci	"gpio31",
96762306a36Sopenharmony_ci};
96862306a36Sopenharmony_cistatic const char * const hdmi_cec_groups[] = {
96962306a36Sopenharmony_ci	"gpio31",
97062306a36Sopenharmony_ci};
97162306a36Sopenharmony_cistatic const char * const pwr_nav_groups[] = {
97262306a36Sopenharmony_ci	"gpio32",
97362306a36Sopenharmony_ci};
97462306a36Sopenharmony_cistatic const char * const dac_calib18_groups[] = {
97562306a36Sopenharmony_ci	"gpio32", "gpio59",
97662306a36Sopenharmony_ci};
97762306a36Sopenharmony_cistatic const char * const hdmi_ddc_groups[] = {
97862306a36Sopenharmony_ci	"gpio32", "gpio33",
97962306a36Sopenharmony_ci};
98062306a36Sopenharmony_cistatic const char * const pwr_crypto_groups[] = {
98162306a36Sopenharmony_ci	"gpio33",
98262306a36Sopenharmony_ci};
98362306a36Sopenharmony_cistatic const char * const dac_calib19_groups[] = {
98462306a36Sopenharmony_ci	"gpio33", "gpio60",
98562306a36Sopenharmony_ci};
98662306a36Sopenharmony_cistatic const char * const dac_calib20_groups[] = {
98762306a36Sopenharmony_ci	"gpio34", "gpio61",
98862306a36Sopenharmony_ci};
98962306a36Sopenharmony_cistatic const char * const hdmi_hot_groups[] = {
99062306a36Sopenharmony_ci	"gpio34",
99162306a36Sopenharmony_ci};
99262306a36Sopenharmony_cistatic const char * const dac_calib21_groups[] = {
99362306a36Sopenharmony_ci	"gpio35", "gpio62",
99462306a36Sopenharmony_ci};
99562306a36Sopenharmony_cistatic const char * const pci_e0_groups[] = {
99662306a36Sopenharmony_ci	"gpio35", "gpio36",
99762306a36Sopenharmony_ci};
99862306a36Sopenharmony_cistatic const char * const dac_calib22_groups[] = {
99962306a36Sopenharmony_ci	"gpio36", "gpio63",
100062306a36Sopenharmony_ci};
100162306a36Sopenharmony_cistatic const char * const dac_calib23_groups[] = {
100262306a36Sopenharmony_ci	"gpio37", "gpio64",
100362306a36Sopenharmony_ci};
100462306a36Sopenharmony_cistatic const char * const blsp_i2c2_groups[] = {
100562306a36Sopenharmony_ci	"gpio43", "gpio44",
100662306a36Sopenharmony_ci};
100762306a36Sopenharmony_cistatic const char * const blsp_spi3_groups[] = {
100862306a36Sopenharmony_ci	"gpio45", "gpio46", "gpio47", "gpio48",
100962306a36Sopenharmony_ci};
101062306a36Sopenharmony_cistatic const char * const blsp_uart3_groups[] = {
101162306a36Sopenharmony_ci	"gpio45", "gpio46", "gpio47", "gpio48",
101262306a36Sopenharmony_ci};
101362306a36Sopenharmony_cistatic const char * const blsp_uim3_groups[] = {
101462306a36Sopenharmony_ci	"gpio45", "gpio46",
101562306a36Sopenharmony_ci};
101662306a36Sopenharmony_cistatic const char * const blsp_i2c3_groups[] = {
101762306a36Sopenharmony_ci	"gpio47", "gpio48",
101862306a36Sopenharmony_ci};
101962306a36Sopenharmony_cistatic const char * const dac_calib24_groups[] = {
102062306a36Sopenharmony_ci	"gpio38", "gpio65",
102162306a36Sopenharmony_ci};
102262306a36Sopenharmony_cistatic const char * const dac_calib25_groups[] = {
102362306a36Sopenharmony_ci	"gpio39", "gpio66",
102462306a36Sopenharmony_ci};
102562306a36Sopenharmony_cistatic const char * const tsif1_sync_groups[] = {
102662306a36Sopenharmony_ci	"gpio39",
102762306a36Sopenharmony_ci};
102862306a36Sopenharmony_cistatic const char * const sd_write_groups[] = {
102962306a36Sopenharmony_ci	"gpio40",
103062306a36Sopenharmony_ci};
103162306a36Sopenharmony_cistatic const char * const tsif1_error_groups[] = {
103262306a36Sopenharmony_ci	"gpio40",
103362306a36Sopenharmony_ci};
103462306a36Sopenharmony_cistatic const char * const blsp_spi2_groups[] = {
103562306a36Sopenharmony_ci	"gpio41", "gpio42", "gpio43", "gpio44",
103662306a36Sopenharmony_ci};
103762306a36Sopenharmony_cistatic const char * const blsp_uart2_groups[] = {
103862306a36Sopenharmony_ci	"gpio41", "gpio42", "gpio43", "gpio44",
103962306a36Sopenharmony_ci};
104062306a36Sopenharmony_cistatic const char * const blsp_uim2_groups[] = {
104162306a36Sopenharmony_ci	"gpio41", "gpio42",
104262306a36Sopenharmony_ci};
104362306a36Sopenharmony_cistatic const char * const qdss_cti_groups[] = {
104462306a36Sopenharmony_ci	"gpio41", "gpio42", "gpio100", "gpio101",
104562306a36Sopenharmony_ci};
104662306a36Sopenharmony_cistatic const char * const uim3_groups[] = {
104762306a36Sopenharmony_ci	"gpio49", "gpio50", "gpio51", "gpio52",
104862306a36Sopenharmony_ci};
104962306a36Sopenharmony_cistatic const char * const blsp_spi9_groups[] = {
105062306a36Sopenharmony_ci	"gpio49", "gpio50", "gpio51", "gpio52",
105162306a36Sopenharmony_ci};
105262306a36Sopenharmony_cistatic const char * const blsp_uart9_groups[] = {
105362306a36Sopenharmony_ci	"gpio49", "gpio50", "gpio51", "gpio52",
105462306a36Sopenharmony_ci};
105562306a36Sopenharmony_cistatic const char * const blsp_uim9_groups[] = {
105662306a36Sopenharmony_ci	"gpio49", "gpio50",
105762306a36Sopenharmony_ci};
105862306a36Sopenharmony_cistatic const char * const blsp10_spi_groups[] = {
105962306a36Sopenharmony_ci	"gpio49", "gpio50", "gpio51", "gpio52", "gpio88",
106062306a36Sopenharmony_ci};
106162306a36Sopenharmony_cistatic const char * const blsp_i2c9_groups[] = {
106262306a36Sopenharmony_ci	"gpio51", "gpio52",
106362306a36Sopenharmony_ci};
106462306a36Sopenharmony_cistatic const char * const blsp_spi7_groups[] = {
106562306a36Sopenharmony_ci	"gpio53", "gpio54", "gpio55", "gpio56",
106662306a36Sopenharmony_ci};
106762306a36Sopenharmony_cistatic const char * const blsp_uart7_groups[] = {
106862306a36Sopenharmony_ci	"gpio53", "gpio54", "gpio55", "gpio56",
106962306a36Sopenharmony_ci};
107062306a36Sopenharmony_cistatic const char * const blsp_uim7_groups[] = {
107162306a36Sopenharmony_ci	"gpio53", "gpio54",
107262306a36Sopenharmony_ci};
107362306a36Sopenharmony_cistatic const char * const qdss_tracedata_a_groups[] = {
107462306a36Sopenharmony_ci	"gpio53", "gpio54", "gpio63", "gpio64", "gpio65", "gpio66", "gpio67",
107562306a36Sopenharmony_ci	"gpio74", "gpio75", "gpio76", "gpio77", "gpio85", "gpio86", "gpio87",
107662306a36Sopenharmony_ci	"gpio89", "gpio90",
107762306a36Sopenharmony_ci};
107862306a36Sopenharmony_cistatic const char * const blsp_i2c7_groups[] = {
107962306a36Sopenharmony_ci	"gpio55", "gpio56",
108062306a36Sopenharmony_ci};
108162306a36Sopenharmony_cistatic const char * const qua_mi2s_groups[] = {
108262306a36Sopenharmony_ci	"gpio57", "gpio58", "gpio59", "gpio60", "gpio61", "gpio62", "gpio63",
108362306a36Sopenharmony_ci};
108462306a36Sopenharmony_cistatic const char * const gcc_gp1_clk_a_groups[] = {
108562306a36Sopenharmony_ci	"gpio57",
108662306a36Sopenharmony_ci};
108762306a36Sopenharmony_cistatic const char * const uim4_groups[] = {
108862306a36Sopenharmony_ci	"gpio58", "gpio59", "gpio60", "gpio61",
108962306a36Sopenharmony_ci};
109062306a36Sopenharmony_cistatic const char * const blsp_spi11_groups[] = {
109162306a36Sopenharmony_ci	"gpio58", "gpio59", "gpio60", "gpio61",
109262306a36Sopenharmony_ci};
109362306a36Sopenharmony_cistatic const char * const blsp_uart11_groups[] = {
109462306a36Sopenharmony_ci	"gpio58", "gpio59", "gpio60", "gpio61",
109562306a36Sopenharmony_ci};
109662306a36Sopenharmony_cistatic const char * const blsp_uim11_groups[] = {
109762306a36Sopenharmony_ci	"gpio58", "gpio59",
109862306a36Sopenharmony_ci};
109962306a36Sopenharmony_cistatic const char * const gcc_gp2_clk_a_groups[] = {
110062306a36Sopenharmony_ci	"gpio58",
110162306a36Sopenharmony_ci};
110262306a36Sopenharmony_cistatic const char * const gcc_gp3_clk_a_groups[] = {
110362306a36Sopenharmony_ci	"gpio59",
110462306a36Sopenharmony_ci};
110562306a36Sopenharmony_cistatic const char * const blsp_i2c11_groups[] = {
110662306a36Sopenharmony_ci	"gpio60", "gpio61",
110762306a36Sopenharmony_ci};
110862306a36Sopenharmony_cistatic const char * const cri_trng0_groups[] = {
110962306a36Sopenharmony_ci	"gpio60",
111062306a36Sopenharmony_ci};
111162306a36Sopenharmony_cistatic const char * const cri_trng1_groups[] = {
111262306a36Sopenharmony_ci	"gpio61",
111362306a36Sopenharmony_ci};
111462306a36Sopenharmony_cistatic const char * const cri_trng_groups[] = {
111562306a36Sopenharmony_ci	"gpio62",
111662306a36Sopenharmony_ci};
111762306a36Sopenharmony_cistatic const char * const qdss_stm18_groups[] = {
111862306a36Sopenharmony_ci	"gpio63",
111962306a36Sopenharmony_ci};
112062306a36Sopenharmony_cistatic const char * const pri_mi2s_groups[] = {
112162306a36Sopenharmony_ci	"gpio64", "gpio65", "gpio66", "gpio67", "gpio68",
112262306a36Sopenharmony_ci};
112362306a36Sopenharmony_cistatic const char * const qdss_stm17_groups[] = {
112462306a36Sopenharmony_ci	"gpio64",
112562306a36Sopenharmony_ci};
112662306a36Sopenharmony_cistatic const char * const blsp_spi4_groups[] = {
112762306a36Sopenharmony_ci	"gpio65", "gpio66", "gpio67", "gpio68",
112862306a36Sopenharmony_ci};
112962306a36Sopenharmony_cistatic const char * const blsp_uart4_groups[] = {
113062306a36Sopenharmony_ci	"gpio65", "gpio66", "gpio67", "gpio68",
113162306a36Sopenharmony_ci};
113262306a36Sopenharmony_cistatic const char * const blsp_uim4_groups[] = {
113362306a36Sopenharmony_ci	"gpio65", "gpio66",
113462306a36Sopenharmony_ci};
113562306a36Sopenharmony_cistatic const char * const qdss_stm16_groups[] = {
113662306a36Sopenharmony_ci	"gpio65",
113762306a36Sopenharmony_ci};
113862306a36Sopenharmony_cistatic const char * const qdss_stm15_groups[] = {
113962306a36Sopenharmony_ci	"gpio66",
114062306a36Sopenharmony_ci};
114162306a36Sopenharmony_cistatic const char * const dac_calib26_groups[] = {
114262306a36Sopenharmony_ci	"gpio67",
114362306a36Sopenharmony_ci};
114462306a36Sopenharmony_cistatic const char * const blsp_i2c4_groups[] = {
114562306a36Sopenharmony_ci	"gpio67", "gpio68",
114662306a36Sopenharmony_ci};
114762306a36Sopenharmony_cistatic const char * const qdss_stm14_groups[] = {
114862306a36Sopenharmony_ci	"gpio67",
114962306a36Sopenharmony_ci};
115062306a36Sopenharmony_cistatic const char * const spkr_i2s_groups[] = {
115162306a36Sopenharmony_ci	"gpio69", "gpio70", "gpio71", "gpio72",
115262306a36Sopenharmony_ci};
115362306a36Sopenharmony_cistatic const char * const audio_ref_groups[] = {
115462306a36Sopenharmony_ci	"gpio69",
115562306a36Sopenharmony_ci};
115662306a36Sopenharmony_cistatic const char * const lpass_slimbus_groups[] = {
115762306a36Sopenharmony_ci	"gpio70", "gpio71", "gpio72",
115862306a36Sopenharmony_ci};
115962306a36Sopenharmony_cistatic const char * const isense_dbg_groups[] = {
116062306a36Sopenharmony_ci	"gpio70",
116162306a36Sopenharmony_ci};
116262306a36Sopenharmony_cistatic const char * const tsense_pwm1_groups[] = {
116362306a36Sopenharmony_ci	"gpio71",
116462306a36Sopenharmony_ci};
116562306a36Sopenharmony_cistatic const char * const tsense_pwm2_groups[] = {
116662306a36Sopenharmony_ci	"gpio71",
116762306a36Sopenharmony_ci};
116862306a36Sopenharmony_cistatic const char * const btfm_slimbus_groups[] = {
116962306a36Sopenharmony_ci	"gpio73", "gpio74",
117062306a36Sopenharmony_ci};
117162306a36Sopenharmony_cistatic const char * const ter_mi2s_groups[] = {
117262306a36Sopenharmony_ci	"gpio74", "gpio75", "gpio76", "gpio77", "gpio78",
117362306a36Sopenharmony_ci};
117462306a36Sopenharmony_cistatic const char * const qdss_stm22_groups[] = {
117562306a36Sopenharmony_ci	"gpio74",
117662306a36Sopenharmony_ci};
117762306a36Sopenharmony_cistatic const char * const qdss_stm21_groups[] = {
117862306a36Sopenharmony_ci	"gpio75",
117962306a36Sopenharmony_ci};
118062306a36Sopenharmony_cistatic const char * const qdss_stm20_groups[] = {
118162306a36Sopenharmony_ci	"gpio76",
118262306a36Sopenharmony_ci};
118362306a36Sopenharmony_cistatic const char * const qdss_stm19_groups[] = {
118462306a36Sopenharmony_ci	"gpio77",
118562306a36Sopenharmony_ci};
118662306a36Sopenharmony_cistatic const char * const ssc_irq_groups[] = {
118762306a36Sopenharmony_ci	"gpio78", "gpio79", "gpio80", "gpio117", "gpio118", "gpio119",
118862306a36Sopenharmony_ci	"gpio120", "gpio121", "gpio122", "gpio123", "gpio124", "gpio125",
118962306a36Sopenharmony_ci};
119062306a36Sopenharmony_cistatic const char * const gcc_gp1_clk_b_groups[] = {
119162306a36Sopenharmony_ci	"gpio78",
119262306a36Sopenharmony_ci};
119362306a36Sopenharmony_cistatic const char * const sec_mi2s_groups[] = {
119462306a36Sopenharmony_ci	"gpio79", "gpio80", "gpio81", "gpio82", "gpio83",
119562306a36Sopenharmony_ci};
119662306a36Sopenharmony_cistatic const char * const blsp_spi5_groups[] = {
119762306a36Sopenharmony_ci	"gpio81", "gpio82", "gpio83", "gpio84",
119862306a36Sopenharmony_ci};
119962306a36Sopenharmony_cistatic const char * const blsp_uart5_groups[] = {
120062306a36Sopenharmony_ci	"gpio81", "gpio82", "gpio83", "gpio84",
120162306a36Sopenharmony_ci};
120262306a36Sopenharmony_cistatic const char * const blsp_uim5_groups[] = {
120362306a36Sopenharmony_ci	"gpio81", "gpio82",
120462306a36Sopenharmony_ci};
120562306a36Sopenharmony_cistatic const char * const gcc_gp2_clk_b_groups[] = {
120662306a36Sopenharmony_ci	"gpio81",
120762306a36Sopenharmony_ci};
120862306a36Sopenharmony_cistatic const char * const gcc_gp3_clk_b_groups[] = {
120962306a36Sopenharmony_ci	"gpio82",
121062306a36Sopenharmony_ci};
121162306a36Sopenharmony_cistatic const char * const blsp_i2c5_groups[] = {
121262306a36Sopenharmony_ci	"gpio83", "gpio84",
121362306a36Sopenharmony_ci};
121462306a36Sopenharmony_cistatic const char * const blsp_spi12_groups[] = {
121562306a36Sopenharmony_ci	"gpio85", "gpio86", "gpio87", "gpio88",
121662306a36Sopenharmony_ci};
121762306a36Sopenharmony_cistatic const char * const blsp_uart12_groups[] = {
121862306a36Sopenharmony_ci	"gpio85", "gpio86", "gpio87", "gpio88",
121962306a36Sopenharmony_ci};
122062306a36Sopenharmony_cistatic const char * const blsp_uim12_groups[] = {
122162306a36Sopenharmony_ci	"gpio85", "gpio86",
122262306a36Sopenharmony_ci};
122362306a36Sopenharmony_cistatic const char * const qdss_stm25_groups[] = {
122462306a36Sopenharmony_ci	"gpio85",
122562306a36Sopenharmony_ci};
122662306a36Sopenharmony_cistatic const char * const qdss_stm31_groups[] = {
122762306a36Sopenharmony_ci	"gpio86",
122862306a36Sopenharmony_ci};
122962306a36Sopenharmony_cistatic const char * const blsp_i2c12_groups[] = {
123062306a36Sopenharmony_ci	"gpio87", "gpio88",
123162306a36Sopenharmony_ci};
123262306a36Sopenharmony_cistatic const char * const qdss_stm30_groups[] = {
123362306a36Sopenharmony_ci	"gpio87",
123462306a36Sopenharmony_ci};
123562306a36Sopenharmony_cistatic const char * const qdss_stm29_groups[] = {
123662306a36Sopenharmony_ci	"gpio88",
123762306a36Sopenharmony_ci};
123862306a36Sopenharmony_cistatic const char * const tsif1_clk_groups[] = {
123962306a36Sopenharmony_ci	"gpio89",
124062306a36Sopenharmony_ci};
124162306a36Sopenharmony_cistatic const char * const qdss_stm28_groups[] = {
124262306a36Sopenharmony_ci	"gpio89",
124362306a36Sopenharmony_ci};
124462306a36Sopenharmony_cistatic const char * const tsif1_en_groups[] = {
124562306a36Sopenharmony_ci	"gpio90",
124662306a36Sopenharmony_ci};
124762306a36Sopenharmony_cistatic const char * const tsif1_data_groups[] = {
124862306a36Sopenharmony_ci	"gpio91",
124962306a36Sopenharmony_ci};
125062306a36Sopenharmony_cistatic const char * const sdc4_cmd_groups[] = {
125162306a36Sopenharmony_ci	"gpio91",
125262306a36Sopenharmony_ci};
125362306a36Sopenharmony_cistatic const char * const qdss_stm27_groups[] = {
125462306a36Sopenharmony_ci	"gpio91",
125562306a36Sopenharmony_ci};
125662306a36Sopenharmony_cistatic const char * const qdss_traceclk_b_groups[] = {
125762306a36Sopenharmony_ci	"gpio91",
125862306a36Sopenharmony_ci};
125962306a36Sopenharmony_cistatic const char * const tsif2_error_groups[] = {
126062306a36Sopenharmony_ci	"gpio92",
126162306a36Sopenharmony_ci};
126262306a36Sopenharmony_cistatic const char * const sdc43_groups[] = {
126362306a36Sopenharmony_ci	"gpio92",
126462306a36Sopenharmony_ci};
126562306a36Sopenharmony_cistatic const char * const vfr_1_groups[] = {
126662306a36Sopenharmony_ci	"gpio92",
126762306a36Sopenharmony_ci};
126862306a36Sopenharmony_cistatic const char * const qdss_stm26_groups[] = {
126962306a36Sopenharmony_ci	"gpio92",
127062306a36Sopenharmony_ci};
127162306a36Sopenharmony_cistatic const char * const tsif2_clk_groups[] = {
127262306a36Sopenharmony_ci	"gpio93",
127362306a36Sopenharmony_ci};
127462306a36Sopenharmony_cistatic const char * const sdc4_clk_groups[] = {
127562306a36Sopenharmony_ci	"gpio93",
127662306a36Sopenharmony_ci};
127762306a36Sopenharmony_cistatic const char * const qdss_stm24_groups[] = {
127862306a36Sopenharmony_ci	"gpio93",
127962306a36Sopenharmony_ci};
128062306a36Sopenharmony_cistatic const char * const tsif2_en_groups[] = {
128162306a36Sopenharmony_ci	"gpio94",
128262306a36Sopenharmony_ci};
128362306a36Sopenharmony_cistatic const char * const sdc42_groups[] = {
128462306a36Sopenharmony_ci	"gpio94",
128562306a36Sopenharmony_ci};
128662306a36Sopenharmony_cistatic const char * const qdss_stm23_groups[] = {
128762306a36Sopenharmony_ci	"gpio94",
128862306a36Sopenharmony_ci};
128962306a36Sopenharmony_cistatic const char * const qdss_tracectl_b_groups[] = {
129062306a36Sopenharmony_ci	"gpio94",
129162306a36Sopenharmony_ci};
129262306a36Sopenharmony_cistatic const char * const sd_card_groups[] = {
129362306a36Sopenharmony_ci	"gpio95",
129462306a36Sopenharmony_ci};
129562306a36Sopenharmony_cistatic const char * const tsif2_data_groups[] = {
129662306a36Sopenharmony_ci	"gpio95",
129762306a36Sopenharmony_ci};
129862306a36Sopenharmony_cistatic const char * const sdc41_groups[] = {
129962306a36Sopenharmony_ci	"gpio95",
130062306a36Sopenharmony_ci};
130162306a36Sopenharmony_cistatic const char * const tsif2_sync_groups[] = {
130262306a36Sopenharmony_ci	"gpio96",
130362306a36Sopenharmony_ci};
130462306a36Sopenharmony_cistatic const char * const sdc40_groups[] = {
130562306a36Sopenharmony_ci	"gpio96",
130662306a36Sopenharmony_ci};
130762306a36Sopenharmony_cistatic const char * const mdp_vsync_p_b_groups[] = {
130862306a36Sopenharmony_ci	"gpio97",
130962306a36Sopenharmony_ci};
131062306a36Sopenharmony_cistatic const char * const ldo_en_groups[] = {
131162306a36Sopenharmony_ci	"gpio97",
131262306a36Sopenharmony_ci};
131362306a36Sopenharmony_cistatic const char * const mdp_vsync_s_b_groups[] = {
131462306a36Sopenharmony_ci	"gpio98",
131562306a36Sopenharmony_ci};
131662306a36Sopenharmony_cistatic const char * const ldo_update_groups[] = {
131762306a36Sopenharmony_ci	"gpio98",
131862306a36Sopenharmony_ci};
131962306a36Sopenharmony_cistatic const char * const blsp11_uart_tx_b_groups[] = {
132062306a36Sopenharmony_ci	"gpio100",
132162306a36Sopenharmony_ci};
132262306a36Sopenharmony_cistatic const char * const blsp11_uart_rx_b_groups[] = {
132362306a36Sopenharmony_ci	"gpio101",
132462306a36Sopenharmony_ci};
132562306a36Sopenharmony_cistatic const char * const blsp11_i2c_sda_b_groups[] = {
132662306a36Sopenharmony_ci	"gpio102",
132762306a36Sopenharmony_ci};
132862306a36Sopenharmony_cistatic const char * const prng_rosc_groups[] = {
132962306a36Sopenharmony_ci	"gpio102",
133062306a36Sopenharmony_ci};
133162306a36Sopenharmony_cistatic const char * const blsp11_i2c_scl_b_groups[] = {
133262306a36Sopenharmony_ci	"gpio103",
133362306a36Sopenharmony_ci};
133462306a36Sopenharmony_cistatic const char * const uim2_groups[] = {
133562306a36Sopenharmony_ci	"gpio105", "gpio106", "gpio107", "gpio108",
133662306a36Sopenharmony_ci};
133762306a36Sopenharmony_cistatic const char * const uim1_groups[] = {
133862306a36Sopenharmony_ci	"gpio109", "gpio110", "gpio111", "gpio112",
133962306a36Sopenharmony_ci};
134062306a36Sopenharmony_cistatic const char * const uim_batt_groups[] = {
134162306a36Sopenharmony_ci	"gpio113",
134262306a36Sopenharmony_ci};
134362306a36Sopenharmony_cistatic const char * const pci_e2_groups[] = {
134462306a36Sopenharmony_ci	"gpio114", "gpio115", "gpio116",
134562306a36Sopenharmony_ci};
134662306a36Sopenharmony_cistatic const char * const pa_indicator_groups[] = {
134762306a36Sopenharmony_ci	"gpio116",
134862306a36Sopenharmony_ci};
134962306a36Sopenharmony_cistatic const char * const adsp_ext_groups[] = {
135062306a36Sopenharmony_ci	"gpio118",
135162306a36Sopenharmony_ci};
135262306a36Sopenharmony_cistatic const char * const ddr_bist_groups[] = {
135362306a36Sopenharmony_ci	"gpio121", "gpio122", "gpio123", "gpio124",
135462306a36Sopenharmony_ci};
135562306a36Sopenharmony_cistatic const char * const qdss_tracedata_11_groups[] = {
135662306a36Sopenharmony_ci	"gpio123",
135762306a36Sopenharmony_ci};
135862306a36Sopenharmony_cistatic const char * const qdss_tracedata_12_groups[] = {
135962306a36Sopenharmony_ci	"gpio124",
136062306a36Sopenharmony_ci};
136162306a36Sopenharmony_cistatic const char * const modem_tsync_groups[] = {
136262306a36Sopenharmony_ci	"gpio128",
136362306a36Sopenharmony_ci};
136462306a36Sopenharmony_cistatic const char * const nav_dr_groups[] = {
136562306a36Sopenharmony_ci	"gpio128",
136662306a36Sopenharmony_ci};
136762306a36Sopenharmony_cistatic const char * const nav_pps_groups[] = {
136862306a36Sopenharmony_ci	"gpio128",
136962306a36Sopenharmony_ci};
137062306a36Sopenharmony_cistatic const char * const pci_e1_groups[] = {
137162306a36Sopenharmony_ci	"gpio130", "gpio131", "gpio132",
137262306a36Sopenharmony_ci};
137362306a36Sopenharmony_cistatic const char * const gsm_tx_groups[] = {
137462306a36Sopenharmony_ci	"gpio134", "gpio135",
137562306a36Sopenharmony_ci};
137662306a36Sopenharmony_cistatic const char * const qspi_cs_groups[] = {
137762306a36Sopenharmony_ci	"gpio138", "gpio141",
137862306a36Sopenharmony_ci};
137962306a36Sopenharmony_cistatic const char * const ssbi2_groups[] = {
138062306a36Sopenharmony_ci	"gpio139",
138162306a36Sopenharmony_ci};
138262306a36Sopenharmony_cistatic const char * const ssbi1_groups[] = {
138362306a36Sopenharmony_ci	"gpio140",
138462306a36Sopenharmony_ci};
138562306a36Sopenharmony_cistatic const char * const mss_lte_groups[] = {
138662306a36Sopenharmony_ci	"gpio144", "gpio145",
138762306a36Sopenharmony_ci};
138862306a36Sopenharmony_cistatic const char * const qspi_clk_groups[] = {
138962306a36Sopenharmony_ci	"gpio145",
139062306a36Sopenharmony_ci};
139162306a36Sopenharmony_cistatic const char * const qspi0_groups[] = {
139262306a36Sopenharmony_ci	"gpio146",
139362306a36Sopenharmony_ci};
139462306a36Sopenharmony_cistatic const char * const qspi1_groups[] = {
139562306a36Sopenharmony_ci	"gpio147",
139662306a36Sopenharmony_ci};
139762306a36Sopenharmony_cistatic const char * const qspi2_groups[] = {
139862306a36Sopenharmony_ci	"gpio148",
139962306a36Sopenharmony_ci};
140062306a36Sopenharmony_cistatic const char * const qspi3_groups[] = {
140162306a36Sopenharmony_ci	"gpio149",
140262306a36Sopenharmony_ci};
140362306a36Sopenharmony_ci
140462306a36Sopenharmony_cistatic const struct pinfunction msm8996_functions[] = {
140562306a36Sopenharmony_ci	MSM_PIN_FUNCTION(adsp_ext),
140662306a36Sopenharmony_ci	MSM_PIN_FUNCTION(atest_bbrx0),
140762306a36Sopenharmony_ci	MSM_PIN_FUNCTION(atest_bbrx1),
140862306a36Sopenharmony_ci	MSM_PIN_FUNCTION(atest_char),
140962306a36Sopenharmony_ci	MSM_PIN_FUNCTION(atest_char0),
141062306a36Sopenharmony_ci	MSM_PIN_FUNCTION(atest_char1),
141162306a36Sopenharmony_ci	MSM_PIN_FUNCTION(atest_char2),
141262306a36Sopenharmony_ci	MSM_PIN_FUNCTION(atest_char3),
141362306a36Sopenharmony_ci	MSM_PIN_FUNCTION(atest_gpsadc0),
141462306a36Sopenharmony_ci	MSM_PIN_FUNCTION(atest_gpsadc1),
141562306a36Sopenharmony_ci	MSM_PIN_FUNCTION(atest_tsens),
141662306a36Sopenharmony_ci	MSM_PIN_FUNCTION(atest_tsens2),
141762306a36Sopenharmony_ci	MSM_PIN_FUNCTION(atest_usb1),
141862306a36Sopenharmony_ci	MSM_PIN_FUNCTION(atest_usb10),
141962306a36Sopenharmony_ci	MSM_PIN_FUNCTION(atest_usb11),
142062306a36Sopenharmony_ci	MSM_PIN_FUNCTION(atest_usb12),
142162306a36Sopenharmony_ci	MSM_PIN_FUNCTION(atest_usb13),
142262306a36Sopenharmony_ci	MSM_PIN_FUNCTION(atest_usb2),
142362306a36Sopenharmony_ci	MSM_PIN_FUNCTION(atest_usb20),
142462306a36Sopenharmony_ci	MSM_PIN_FUNCTION(atest_usb21),
142562306a36Sopenharmony_ci	MSM_PIN_FUNCTION(atest_usb22),
142662306a36Sopenharmony_ci	MSM_PIN_FUNCTION(atest_usb23),
142762306a36Sopenharmony_ci	MSM_PIN_FUNCTION(audio_ref),
142862306a36Sopenharmony_ci	MSM_PIN_FUNCTION(bimc_dte0),
142962306a36Sopenharmony_ci	MSM_PIN_FUNCTION(bimc_dte1),
143062306a36Sopenharmony_ci	MSM_PIN_FUNCTION(blsp10_spi),
143162306a36Sopenharmony_ci	MSM_PIN_FUNCTION(blsp11_i2c_scl_b),
143262306a36Sopenharmony_ci	MSM_PIN_FUNCTION(blsp11_i2c_sda_b),
143362306a36Sopenharmony_ci	MSM_PIN_FUNCTION(blsp11_uart_rx_b),
143462306a36Sopenharmony_ci	MSM_PIN_FUNCTION(blsp11_uart_tx_b),
143562306a36Sopenharmony_ci	MSM_PIN_FUNCTION(blsp1_spi),
143662306a36Sopenharmony_ci	MSM_PIN_FUNCTION(blsp2_spi),
143762306a36Sopenharmony_ci	MSM_PIN_FUNCTION(blsp_i2c1),
143862306a36Sopenharmony_ci	MSM_PIN_FUNCTION(blsp_i2c10),
143962306a36Sopenharmony_ci	MSM_PIN_FUNCTION(blsp_i2c11),
144062306a36Sopenharmony_ci	MSM_PIN_FUNCTION(blsp_i2c12),
144162306a36Sopenharmony_ci	MSM_PIN_FUNCTION(blsp_i2c2),
144262306a36Sopenharmony_ci	MSM_PIN_FUNCTION(blsp_i2c3),
144362306a36Sopenharmony_ci	MSM_PIN_FUNCTION(blsp_i2c4),
144462306a36Sopenharmony_ci	MSM_PIN_FUNCTION(blsp_i2c5),
144562306a36Sopenharmony_ci	MSM_PIN_FUNCTION(blsp_i2c6),
144662306a36Sopenharmony_ci	MSM_PIN_FUNCTION(blsp_i2c7),
144762306a36Sopenharmony_ci	MSM_PIN_FUNCTION(blsp_i2c8),
144862306a36Sopenharmony_ci	MSM_PIN_FUNCTION(blsp_i2c9),
144962306a36Sopenharmony_ci	MSM_PIN_FUNCTION(blsp_spi1),
145062306a36Sopenharmony_ci	MSM_PIN_FUNCTION(blsp_spi10),
145162306a36Sopenharmony_ci	MSM_PIN_FUNCTION(blsp_spi11),
145262306a36Sopenharmony_ci	MSM_PIN_FUNCTION(blsp_spi12),
145362306a36Sopenharmony_ci	MSM_PIN_FUNCTION(blsp_spi2),
145462306a36Sopenharmony_ci	MSM_PIN_FUNCTION(blsp_spi3),
145562306a36Sopenharmony_ci	MSM_PIN_FUNCTION(blsp_spi4),
145662306a36Sopenharmony_ci	MSM_PIN_FUNCTION(blsp_spi5),
145762306a36Sopenharmony_ci	MSM_PIN_FUNCTION(blsp_spi6),
145862306a36Sopenharmony_ci	MSM_PIN_FUNCTION(blsp_spi7),
145962306a36Sopenharmony_ci	MSM_PIN_FUNCTION(blsp_spi8),
146062306a36Sopenharmony_ci	MSM_PIN_FUNCTION(blsp_spi9),
146162306a36Sopenharmony_ci	MSM_PIN_FUNCTION(blsp_uart1),
146262306a36Sopenharmony_ci	MSM_PIN_FUNCTION(blsp_uart10),
146362306a36Sopenharmony_ci	MSM_PIN_FUNCTION(blsp_uart11),
146462306a36Sopenharmony_ci	MSM_PIN_FUNCTION(blsp_uart12),
146562306a36Sopenharmony_ci	MSM_PIN_FUNCTION(blsp_uart2),
146662306a36Sopenharmony_ci	MSM_PIN_FUNCTION(blsp_uart3),
146762306a36Sopenharmony_ci	MSM_PIN_FUNCTION(blsp_uart4),
146862306a36Sopenharmony_ci	MSM_PIN_FUNCTION(blsp_uart5),
146962306a36Sopenharmony_ci	MSM_PIN_FUNCTION(blsp_uart6),
147062306a36Sopenharmony_ci	MSM_PIN_FUNCTION(blsp_uart7),
147162306a36Sopenharmony_ci	MSM_PIN_FUNCTION(blsp_uart8),
147262306a36Sopenharmony_ci	MSM_PIN_FUNCTION(blsp_uart9),
147362306a36Sopenharmony_ci	MSM_PIN_FUNCTION(blsp_uim1),
147462306a36Sopenharmony_ci	MSM_PIN_FUNCTION(blsp_uim10),
147562306a36Sopenharmony_ci	MSM_PIN_FUNCTION(blsp_uim11),
147662306a36Sopenharmony_ci	MSM_PIN_FUNCTION(blsp_uim12),
147762306a36Sopenharmony_ci	MSM_PIN_FUNCTION(blsp_uim2),
147862306a36Sopenharmony_ci	MSM_PIN_FUNCTION(blsp_uim3),
147962306a36Sopenharmony_ci	MSM_PIN_FUNCTION(blsp_uim4),
148062306a36Sopenharmony_ci	MSM_PIN_FUNCTION(blsp_uim5),
148162306a36Sopenharmony_ci	MSM_PIN_FUNCTION(blsp_uim6),
148262306a36Sopenharmony_ci	MSM_PIN_FUNCTION(blsp_uim7),
148362306a36Sopenharmony_ci	MSM_PIN_FUNCTION(blsp_uim8),
148462306a36Sopenharmony_ci	MSM_PIN_FUNCTION(blsp_uim9),
148562306a36Sopenharmony_ci	MSM_PIN_FUNCTION(btfm_slimbus),
148662306a36Sopenharmony_ci	MSM_PIN_FUNCTION(cam_mclk),
148762306a36Sopenharmony_ci	MSM_PIN_FUNCTION(cci_async),
148862306a36Sopenharmony_ci	MSM_PIN_FUNCTION(cci_i2c),
148962306a36Sopenharmony_ci	MSM_PIN_FUNCTION(cci_timer0),
149062306a36Sopenharmony_ci	MSM_PIN_FUNCTION(cci_timer1),
149162306a36Sopenharmony_ci	MSM_PIN_FUNCTION(cci_timer2),
149262306a36Sopenharmony_ci	MSM_PIN_FUNCTION(cci_timer3),
149362306a36Sopenharmony_ci	MSM_PIN_FUNCTION(cci_timer4),
149462306a36Sopenharmony_ci	MSM_PIN_FUNCTION(cri_trng),
149562306a36Sopenharmony_ci	MSM_PIN_FUNCTION(cri_trng0),
149662306a36Sopenharmony_ci	MSM_PIN_FUNCTION(cri_trng1),
149762306a36Sopenharmony_ci	MSM_PIN_FUNCTION(dac_calib0),
149862306a36Sopenharmony_ci	MSM_PIN_FUNCTION(dac_calib1),
149962306a36Sopenharmony_ci	MSM_PIN_FUNCTION(dac_calib10),
150062306a36Sopenharmony_ci	MSM_PIN_FUNCTION(dac_calib11),
150162306a36Sopenharmony_ci	MSM_PIN_FUNCTION(dac_calib12),
150262306a36Sopenharmony_ci	MSM_PIN_FUNCTION(dac_calib13),
150362306a36Sopenharmony_ci	MSM_PIN_FUNCTION(dac_calib14),
150462306a36Sopenharmony_ci	MSM_PIN_FUNCTION(dac_calib15),
150562306a36Sopenharmony_ci	MSM_PIN_FUNCTION(dac_calib16),
150662306a36Sopenharmony_ci	MSM_PIN_FUNCTION(dac_calib17),
150762306a36Sopenharmony_ci	MSM_PIN_FUNCTION(dac_calib18),
150862306a36Sopenharmony_ci	MSM_PIN_FUNCTION(dac_calib19),
150962306a36Sopenharmony_ci	MSM_PIN_FUNCTION(dac_calib2),
151062306a36Sopenharmony_ci	MSM_PIN_FUNCTION(dac_calib20),
151162306a36Sopenharmony_ci	MSM_PIN_FUNCTION(dac_calib21),
151262306a36Sopenharmony_ci	MSM_PIN_FUNCTION(dac_calib22),
151362306a36Sopenharmony_ci	MSM_PIN_FUNCTION(dac_calib23),
151462306a36Sopenharmony_ci	MSM_PIN_FUNCTION(dac_calib24),
151562306a36Sopenharmony_ci	MSM_PIN_FUNCTION(dac_calib25),
151662306a36Sopenharmony_ci	MSM_PIN_FUNCTION(dac_calib26),
151762306a36Sopenharmony_ci	MSM_PIN_FUNCTION(dac_calib3),
151862306a36Sopenharmony_ci	MSM_PIN_FUNCTION(dac_calib4),
151962306a36Sopenharmony_ci	MSM_PIN_FUNCTION(dac_calib5),
152062306a36Sopenharmony_ci	MSM_PIN_FUNCTION(dac_calib6),
152162306a36Sopenharmony_ci	MSM_PIN_FUNCTION(dac_calib7),
152262306a36Sopenharmony_ci	MSM_PIN_FUNCTION(dac_calib8),
152362306a36Sopenharmony_ci	MSM_PIN_FUNCTION(dac_calib9),
152462306a36Sopenharmony_ci	MSM_PIN_FUNCTION(dac_gpio),
152562306a36Sopenharmony_ci	MSM_PIN_FUNCTION(dbg_out),
152662306a36Sopenharmony_ci	MSM_PIN_FUNCTION(ddr_bist),
152762306a36Sopenharmony_ci	MSM_PIN_FUNCTION(edp_hot),
152862306a36Sopenharmony_ci	MSM_PIN_FUNCTION(edp_lcd),
152962306a36Sopenharmony_ci	MSM_PIN_FUNCTION(gcc_gp1_clk_a),
153062306a36Sopenharmony_ci	MSM_PIN_FUNCTION(gcc_gp1_clk_b),
153162306a36Sopenharmony_ci	MSM_PIN_FUNCTION(gcc_gp2_clk_a),
153262306a36Sopenharmony_ci	MSM_PIN_FUNCTION(gcc_gp2_clk_b),
153362306a36Sopenharmony_ci	MSM_PIN_FUNCTION(gcc_gp3_clk_a),
153462306a36Sopenharmony_ci	MSM_PIN_FUNCTION(gcc_gp3_clk_b),
153562306a36Sopenharmony_ci	MSM_PIN_FUNCTION(gpio),
153662306a36Sopenharmony_ci	MSM_PIN_FUNCTION(gsm_tx),
153762306a36Sopenharmony_ci	MSM_PIN_FUNCTION(hdmi_cec),
153862306a36Sopenharmony_ci	MSM_PIN_FUNCTION(hdmi_ddc),
153962306a36Sopenharmony_ci	MSM_PIN_FUNCTION(hdmi_hot),
154062306a36Sopenharmony_ci	MSM_PIN_FUNCTION(hdmi_rcv),
154162306a36Sopenharmony_ci	MSM_PIN_FUNCTION(isense_dbg),
154262306a36Sopenharmony_ci	MSM_PIN_FUNCTION(ldo_en),
154362306a36Sopenharmony_ci	MSM_PIN_FUNCTION(ldo_update),
154462306a36Sopenharmony_ci	MSM_PIN_FUNCTION(lpass_slimbus),
154562306a36Sopenharmony_ci	MSM_PIN_FUNCTION(m_voc),
154662306a36Sopenharmony_ci	MSM_PIN_FUNCTION(mdp_vsync),
154762306a36Sopenharmony_ci	MSM_PIN_FUNCTION(mdp_vsync_p_b),
154862306a36Sopenharmony_ci	MSM_PIN_FUNCTION(mdp_vsync_s_b),
154962306a36Sopenharmony_ci	MSM_PIN_FUNCTION(modem_tsync),
155062306a36Sopenharmony_ci	MSM_PIN_FUNCTION(mss_lte),
155162306a36Sopenharmony_ci	MSM_PIN_FUNCTION(nav_dr),
155262306a36Sopenharmony_ci	MSM_PIN_FUNCTION(nav_pps),
155362306a36Sopenharmony_ci	MSM_PIN_FUNCTION(pa_indicator),
155462306a36Sopenharmony_ci	MSM_PIN_FUNCTION(pci_e0),
155562306a36Sopenharmony_ci	MSM_PIN_FUNCTION(pci_e1),
155662306a36Sopenharmony_ci	MSM_PIN_FUNCTION(pci_e2),
155762306a36Sopenharmony_ci	MSM_PIN_FUNCTION(pll_bypassnl),
155862306a36Sopenharmony_ci	MSM_PIN_FUNCTION(pll_reset),
155962306a36Sopenharmony_ci	MSM_PIN_FUNCTION(pri_mi2s),
156062306a36Sopenharmony_ci	MSM_PIN_FUNCTION(prng_rosc),
156162306a36Sopenharmony_ci	MSM_PIN_FUNCTION(pwr_crypto),
156262306a36Sopenharmony_ci	MSM_PIN_FUNCTION(pwr_modem),
156362306a36Sopenharmony_ci	MSM_PIN_FUNCTION(pwr_nav),
156462306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qdss_cti),
156562306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qdss_cti_trig_in_a),
156662306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qdss_cti_trig_in_b),
156762306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qdss_cti_trig_out_a),
156862306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qdss_cti_trig_out_b),
156962306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qdss_stm0),
157062306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qdss_stm1),
157162306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qdss_stm10),
157262306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qdss_stm11),
157362306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qdss_stm12),
157462306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qdss_stm13),
157562306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qdss_stm14),
157662306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qdss_stm15),
157762306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qdss_stm16),
157862306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qdss_stm17),
157962306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qdss_stm18),
158062306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qdss_stm19),
158162306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qdss_stm2),
158262306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qdss_stm20),
158362306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qdss_stm21),
158462306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qdss_stm22),
158562306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qdss_stm23),
158662306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qdss_stm24),
158762306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qdss_stm25),
158862306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qdss_stm26),
158962306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qdss_stm27),
159062306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qdss_stm28),
159162306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qdss_stm29),
159262306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qdss_stm3),
159362306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qdss_stm30),
159462306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qdss_stm31),
159562306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qdss_stm4),
159662306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qdss_stm5),
159762306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qdss_stm6),
159862306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qdss_stm7),
159962306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qdss_stm8),
160062306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qdss_stm9),
160162306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qdss_traceclk_a),
160262306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qdss_traceclk_b),
160362306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qdss_tracectl_a),
160462306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qdss_tracectl_b),
160562306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qdss_tracedata_11),
160662306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qdss_tracedata_12),
160762306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qdss_tracedata_a),
160862306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qdss_tracedata_b),
160962306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qspi0),
161062306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qspi1),
161162306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qspi2),
161262306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qspi3),
161362306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qspi_clk),
161462306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qspi_cs),
161562306a36Sopenharmony_ci	MSM_PIN_FUNCTION(qua_mi2s),
161662306a36Sopenharmony_ci	MSM_PIN_FUNCTION(sd_card),
161762306a36Sopenharmony_ci	MSM_PIN_FUNCTION(sd_write),
161862306a36Sopenharmony_ci	MSM_PIN_FUNCTION(sdc40),
161962306a36Sopenharmony_ci	MSM_PIN_FUNCTION(sdc41),
162062306a36Sopenharmony_ci	MSM_PIN_FUNCTION(sdc42),
162162306a36Sopenharmony_ci	MSM_PIN_FUNCTION(sdc43),
162262306a36Sopenharmony_ci	MSM_PIN_FUNCTION(sdc4_clk),
162362306a36Sopenharmony_ci	MSM_PIN_FUNCTION(sdc4_cmd),
162462306a36Sopenharmony_ci	MSM_PIN_FUNCTION(sec_mi2s),
162562306a36Sopenharmony_ci	MSM_PIN_FUNCTION(spkr_i2s),
162662306a36Sopenharmony_ci	MSM_PIN_FUNCTION(ssbi1),
162762306a36Sopenharmony_ci	MSM_PIN_FUNCTION(ssbi2),
162862306a36Sopenharmony_ci	MSM_PIN_FUNCTION(ssc_irq),
162962306a36Sopenharmony_ci	MSM_PIN_FUNCTION(ter_mi2s),
163062306a36Sopenharmony_ci	MSM_PIN_FUNCTION(tsense_pwm1),
163162306a36Sopenharmony_ci	MSM_PIN_FUNCTION(tsense_pwm2),
163262306a36Sopenharmony_ci	MSM_PIN_FUNCTION(tsif1_clk),
163362306a36Sopenharmony_ci	MSM_PIN_FUNCTION(tsif1_data),
163462306a36Sopenharmony_ci	MSM_PIN_FUNCTION(tsif1_en),
163562306a36Sopenharmony_ci	MSM_PIN_FUNCTION(tsif1_error),
163662306a36Sopenharmony_ci	MSM_PIN_FUNCTION(tsif1_sync),
163762306a36Sopenharmony_ci	MSM_PIN_FUNCTION(tsif2_clk),
163862306a36Sopenharmony_ci	MSM_PIN_FUNCTION(tsif2_data),
163962306a36Sopenharmony_ci	MSM_PIN_FUNCTION(tsif2_en),
164062306a36Sopenharmony_ci	MSM_PIN_FUNCTION(tsif2_error),
164162306a36Sopenharmony_ci	MSM_PIN_FUNCTION(tsif2_sync),
164262306a36Sopenharmony_ci	MSM_PIN_FUNCTION(uim1),
164362306a36Sopenharmony_ci	MSM_PIN_FUNCTION(uim2),
164462306a36Sopenharmony_ci	MSM_PIN_FUNCTION(uim3),
164562306a36Sopenharmony_ci	MSM_PIN_FUNCTION(uim4),
164662306a36Sopenharmony_ci	MSM_PIN_FUNCTION(uim_batt),
164762306a36Sopenharmony_ci	MSM_PIN_FUNCTION(vfr_1),
164862306a36Sopenharmony_ci};
164962306a36Sopenharmony_ci
165062306a36Sopenharmony_cistatic const struct msm_pingroup msm8996_groups[] = {
165162306a36Sopenharmony_ci	PINGROUP(0, blsp_spi1, blsp_uart1, blsp_uim1, NA, NA, NA, NA, NA, NA),
165262306a36Sopenharmony_ci	PINGROUP(1, blsp_spi1, blsp_uart1, blsp_uim1, NA, NA, NA, NA, NA, NA),
165362306a36Sopenharmony_ci	PINGROUP(2, blsp_spi1, blsp_uart1, blsp_i2c1, NA, NA, NA, NA, NA, NA),
165462306a36Sopenharmony_ci	PINGROUP(3, blsp_spi1, blsp_uart1, blsp_i2c1, NA, atest_tsens,
165562306a36Sopenharmony_ci		 bimc_dte1, NA, NA, NA),
165662306a36Sopenharmony_ci	PINGROUP(4, blsp_spi8, blsp_uart8, blsp_uim8, NA, qdss_cti_trig_out_b,
165762306a36Sopenharmony_ci		 dac_calib0, bimc_dte0, NA, NA),
165862306a36Sopenharmony_ci	PINGROUP(5, blsp_spi8, blsp_uart8, blsp_uim8, NA, qdss_cti_trig_in_b,
165962306a36Sopenharmony_ci		 dac_calib1, bimc_dte1, NA, NA),
166062306a36Sopenharmony_ci	PINGROUP(6, blsp_spi8, blsp_uart8, blsp_i2c8, NA, dac_calib2,
166162306a36Sopenharmony_ci		 bimc_dte0, NA, NA, NA),
166262306a36Sopenharmony_ci	PINGROUP(7, blsp_spi8, blsp_uart8, blsp_i2c8, NA, atest_tsens2,
166362306a36Sopenharmony_ci		 atest_usb1, NA, NA, NA),
166462306a36Sopenharmony_ci	PINGROUP(8, blsp_spi10, blsp_uart10, blsp_uim10, NA, atest_bbrx1,
166562306a36Sopenharmony_ci		 atest_usb13, NA, NA, NA),
166662306a36Sopenharmony_ci	PINGROUP(9, blsp_spi10, blsp_uart10, blsp_uim10, atest_bbrx0,
166762306a36Sopenharmony_ci		 atest_usb12, NA, NA, NA, NA),
166862306a36Sopenharmony_ci	PINGROUP(10, mdp_vsync, blsp_spi10, blsp_uart10, blsp_i2c10,
166962306a36Sopenharmony_ci		 atest_gpsadc1, atest_usb11, NA, NA, NA),
167062306a36Sopenharmony_ci	PINGROUP(11, mdp_vsync, blsp_spi10, blsp_uart10, blsp_i2c10,
167162306a36Sopenharmony_ci		 atest_gpsadc0, atest_usb10, NA, NA, NA),
167262306a36Sopenharmony_ci	PINGROUP(12, mdp_vsync, m_voc, dac_gpio, atest_char, NA, NA, NA, NA,
167362306a36Sopenharmony_ci		 NA),
167462306a36Sopenharmony_ci	PINGROUP(13, cam_mclk, pll_bypassnl, qdss_stm7, qdss_tracedata_b, NA,
167562306a36Sopenharmony_ci		 NA, NA, NA, NA),
167662306a36Sopenharmony_ci	PINGROUP(14, cam_mclk, pll_reset, qdss_stm6, qdss_tracedata_b, NA, NA,
167762306a36Sopenharmony_ci		 NA, NA, NA),
167862306a36Sopenharmony_ci	PINGROUP(15, cam_mclk, qdss_stm5, qdss_tracedata_b, NA, NA, NA, NA, NA,
167962306a36Sopenharmony_ci		 NA),
168062306a36Sopenharmony_ci	PINGROUP(16, cam_mclk, qdss_stm4, qdss_tracedata_b, NA, atest_usb2, NA,
168162306a36Sopenharmony_ci		 NA, NA, NA),
168262306a36Sopenharmony_ci	PINGROUP(17, cci_i2c, qdss_stm3, qdss_tracedata_b, dac_calib3,
168362306a36Sopenharmony_ci		 atest_usb23, atest_char3, NA, NA, NA),
168462306a36Sopenharmony_ci	PINGROUP(18, cci_i2c, qdss_stm2, qdss_tracedata_b, dac_calib4,
168562306a36Sopenharmony_ci		 atest_usb22, atest_char2, NA, NA, NA),
168662306a36Sopenharmony_ci	PINGROUP(19, cci_i2c, qdss_stm1, qdss_tracedata_b, dac_calib5,
168762306a36Sopenharmony_ci		 atest_usb21, atest_char1, NA, NA, NA),
168862306a36Sopenharmony_ci	PINGROUP(20, cci_i2c, dbg_out, qdss_stm0, dac_calib6, atest_usb20,
168962306a36Sopenharmony_ci		 atest_char0, NA, NA, NA),
169062306a36Sopenharmony_ci	PINGROUP(21, cci_timer0, qdss_stm13, qdss_tracedata_b, dac_calib7, NA,
169162306a36Sopenharmony_ci		 NA, NA, NA, NA),
169262306a36Sopenharmony_ci	PINGROUP(22, cci_timer1, qdss_stm12, qdss_tracedata_b, dac_calib8, NA,
169362306a36Sopenharmony_ci		 NA, NA, NA, NA),
169462306a36Sopenharmony_ci	PINGROUP(23, cci_timer2, blsp1_spi, qdss_stm11, qdss_tracedata_b,
169562306a36Sopenharmony_ci		 dac_calib9, NA, NA, NA, NA),
169662306a36Sopenharmony_ci	PINGROUP(24, cci_timer3, cci_async, blsp1_spi, qdss_stm10,
169762306a36Sopenharmony_ci		 qdss_cti_trig_in_a, dac_calib10, NA, NA, NA),
169862306a36Sopenharmony_ci	PINGROUP(25, cci_timer4, cci_async, blsp_spi6, blsp_uart6, blsp_uim6,
169962306a36Sopenharmony_ci		 blsp2_spi, qdss_stm9, qdss_cti_trig_out_a, dac_calib11),
170062306a36Sopenharmony_ci	PINGROUP(26, cci_async, blsp_spi6, blsp_uart6, blsp_uim6, qdss_stm8,
170162306a36Sopenharmony_ci		 qdss_tracedata_b, dac_calib12, NA, NA),
170262306a36Sopenharmony_ci	PINGROUP(27, blsp_spi6, blsp_uart6, blsp_i2c6, blsp1_spi,
170362306a36Sopenharmony_ci		 qdss_tracectl_a, dac_calib13, NA, NA, NA),
170462306a36Sopenharmony_ci	PINGROUP(28, blsp_spi6, blsp_uart6, blsp_i2c6, blsp1_spi,
170562306a36Sopenharmony_ci		 qdss_traceclk_a, dac_calib14, NA, NA, NA),
170662306a36Sopenharmony_ci	PINGROUP(29, blsp2_spi, NA, qdss_tracedata_b, dac_calib15, NA, NA, NA,
170762306a36Sopenharmony_ci		 NA, NA),
170862306a36Sopenharmony_ci	PINGROUP(30, hdmi_rcv, blsp2_spi, dac_calib16, NA, NA, NA, NA, NA, NA),
170962306a36Sopenharmony_ci	PINGROUP(31, hdmi_cec, pwr_modem, dac_calib17, NA, NA, NA, NA, NA, NA),
171062306a36Sopenharmony_ci	PINGROUP(32, hdmi_ddc, pwr_nav, NA, dac_calib18, NA, NA, NA, NA, NA),
171162306a36Sopenharmony_ci	PINGROUP(33, hdmi_ddc, pwr_crypto, NA, dac_calib19, NA, NA, NA, NA, NA),
171262306a36Sopenharmony_ci	PINGROUP(34, hdmi_hot, NA, dac_calib20, NA, NA, NA, NA, NA, NA),
171362306a36Sopenharmony_ci	PINGROUP(35, pci_e0, NA, dac_calib21, NA, NA, NA, NA, NA, NA),
171462306a36Sopenharmony_ci	PINGROUP(36, pci_e0, NA, dac_calib22, NA, NA, NA, NA, NA, NA),
171562306a36Sopenharmony_ci	PINGROUP(37, NA, dac_calib23, NA, NA, NA, NA, NA, NA, NA),
171662306a36Sopenharmony_ci	PINGROUP(38, NA, dac_calib24, NA, NA, NA, NA, NA, NA, NA),
171762306a36Sopenharmony_ci	PINGROUP(39, tsif1_sync, NA, dac_calib25, NA, NA, NA, NA, NA, NA),
171862306a36Sopenharmony_ci	PINGROUP(40, sd_write, tsif1_error, NA, NA, NA, NA, NA, NA, NA),
171962306a36Sopenharmony_ci	PINGROUP(41, blsp_spi2, blsp_uart2, blsp_uim2, NA, qdss_cti,
172062306a36Sopenharmony_ci		 dac_calib0, NA, NA, NA),
172162306a36Sopenharmony_ci	PINGROUP(42, blsp_spi2, blsp_uart2, blsp_uim2, NA, qdss_cti,
172262306a36Sopenharmony_ci		 dac_calib1, NA, NA, NA),
172362306a36Sopenharmony_ci	PINGROUP(43, blsp_spi2, blsp_uart2, blsp_i2c2, NA, dac_calib2, NA, NA,
172462306a36Sopenharmony_ci		 NA, NA),
172562306a36Sopenharmony_ci	PINGROUP(44, blsp_spi2, blsp_uart2, blsp_i2c2, NA, dac_calib3, NA, NA,
172662306a36Sopenharmony_ci		 NA, NA),
172762306a36Sopenharmony_ci	PINGROUP(45, blsp_spi3, blsp_uart3, blsp_uim3, NA, dac_calib4, NA, NA,
172862306a36Sopenharmony_ci		 NA, NA),
172962306a36Sopenharmony_ci	PINGROUP(46, blsp_spi3, blsp_uart3, blsp_uim3, NA, dac_calib5, NA, NA,
173062306a36Sopenharmony_ci		 NA, NA),
173162306a36Sopenharmony_ci	PINGROUP(47, blsp_spi3, blsp_uart3, blsp_i2c3, dac_calib6, NA, NA, NA,
173262306a36Sopenharmony_ci		 NA, NA),
173362306a36Sopenharmony_ci	PINGROUP(48, blsp_spi3, blsp_uart3, blsp_i2c3, dac_calib7, NA, NA, NA,
173462306a36Sopenharmony_ci		 NA, NA),
173562306a36Sopenharmony_ci	PINGROUP(49, uim3, blsp_spi9, blsp_uart9, blsp_uim9, blsp10_spi,
173662306a36Sopenharmony_ci		 dac_calib8, NA, NA, NA),
173762306a36Sopenharmony_ci	PINGROUP(50, uim3, blsp_spi9, blsp_uart9, blsp_uim9, blsp10_spi,
173862306a36Sopenharmony_ci		 dac_calib9, NA, NA, NA),
173962306a36Sopenharmony_ci	PINGROUP(51, uim3, blsp_spi9, blsp_uart9, blsp_i2c9, blsp10_spi,
174062306a36Sopenharmony_ci		 dac_calib10, NA, NA, NA),
174162306a36Sopenharmony_ci	PINGROUP(52, uim3, blsp_spi9, blsp_uart9, blsp_i2c9,
174262306a36Sopenharmony_ci		 blsp10_spi, dac_calib11, NA, NA, NA),
174362306a36Sopenharmony_ci	PINGROUP(53, blsp_spi7, blsp_uart7, blsp_uim7, NA, qdss_tracedata_a,
174462306a36Sopenharmony_ci		 dac_calib12, NA, NA, NA),
174562306a36Sopenharmony_ci	PINGROUP(54, blsp_spi7, blsp_uart7, blsp_uim7, NA, NA,
174662306a36Sopenharmony_ci		 qdss_tracedata_a, dac_calib13, NA, NA),
174762306a36Sopenharmony_ci	PINGROUP(55, blsp_spi7, blsp_uart7, blsp_i2c7, NA, dac_calib14, NA, NA,
174862306a36Sopenharmony_ci		 NA, NA),
174962306a36Sopenharmony_ci	PINGROUP(56, blsp_spi7, blsp_uart7, blsp_i2c7, NA, dac_calib15, NA, NA,
175062306a36Sopenharmony_ci		 NA, NA),
175162306a36Sopenharmony_ci	PINGROUP(57, qua_mi2s, gcc_gp1_clk_a, NA, qdss_tracedata_b,
175262306a36Sopenharmony_ci		 dac_calib16, NA, NA, NA, NA),
175362306a36Sopenharmony_ci	PINGROUP(58, qua_mi2s, uim4, blsp_spi11, blsp_uart11, blsp_uim11,
175462306a36Sopenharmony_ci		 gcc_gp2_clk_a, NA, qdss_tracedata_b, dac_calib17),
175562306a36Sopenharmony_ci	PINGROUP(59, qua_mi2s, uim4, blsp_spi11, blsp_uart11, blsp_uim11,
175662306a36Sopenharmony_ci		 gcc_gp3_clk_a, NA, dac_calib18, NA),
175762306a36Sopenharmony_ci	PINGROUP(60, qua_mi2s, uim4, blsp_spi11, blsp_uart11, blsp_i2c11,
175862306a36Sopenharmony_ci		 cri_trng0, NA, dac_calib19, NA),
175962306a36Sopenharmony_ci	PINGROUP(61, qua_mi2s, uim4, blsp_spi11, blsp_uart11,
176062306a36Sopenharmony_ci		 blsp_i2c11, cri_trng1, NA, dac_calib20, NA),
176162306a36Sopenharmony_ci	PINGROUP(62, qua_mi2s, cri_trng, NA, dac_calib21, NA, NA, NA, NA, NA),
176262306a36Sopenharmony_ci	PINGROUP(63, qua_mi2s, NA, NA, qdss_stm18, qdss_tracedata_a,
176362306a36Sopenharmony_ci		 dac_calib22, NA, NA, NA),
176462306a36Sopenharmony_ci	PINGROUP(64, pri_mi2s, NA, qdss_stm17, qdss_tracedata_a, dac_calib23,
176562306a36Sopenharmony_ci		 NA, NA, NA, NA),
176662306a36Sopenharmony_ci	PINGROUP(65, pri_mi2s, blsp_spi4, blsp_uart4, blsp_uim4, NA,
176762306a36Sopenharmony_ci		 qdss_stm16, qdss_tracedata_a, dac_calib24, NA),
176862306a36Sopenharmony_ci	PINGROUP(66, pri_mi2s, blsp_spi4, blsp_uart4, blsp_uim4, NA,
176962306a36Sopenharmony_ci		 qdss_stm15, qdss_tracedata_a, dac_calib25, NA),
177062306a36Sopenharmony_ci	PINGROUP(67, pri_mi2s, blsp_spi4, blsp_uart4, blsp_i2c4, qdss_stm14,
177162306a36Sopenharmony_ci		 qdss_tracedata_a, dac_calib26, NA, NA),
177262306a36Sopenharmony_ci	PINGROUP(68, pri_mi2s, blsp_spi4, blsp_uart4, blsp_i2c4, NA, NA, NA,
177362306a36Sopenharmony_ci		 NA, NA),
177462306a36Sopenharmony_ci	PINGROUP(69, spkr_i2s, audio_ref, NA, NA, NA, NA, NA, NA, NA),
177562306a36Sopenharmony_ci	PINGROUP(70, lpass_slimbus, spkr_i2s, isense_dbg, NA, NA, NA, NA, NA,
177662306a36Sopenharmony_ci		 NA),
177762306a36Sopenharmony_ci	PINGROUP(71, lpass_slimbus, spkr_i2s, tsense_pwm1, tsense_pwm2, NA, NA,
177862306a36Sopenharmony_ci		 NA, NA, NA),
177962306a36Sopenharmony_ci	PINGROUP(72, lpass_slimbus, spkr_i2s, NA, NA, NA, NA, NA, NA, NA),
178062306a36Sopenharmony_ci	PINGROUP(73, btfm_slimbus, NA, NA, NA, NA, NA, NA, NA, NA),
178162306a36Sopenharmony_ci	PINGROUP(74, btfm_slimbus, ter_mi2s, qdss_stm22, qdss_tracedata_a, NA,
178262306a36Sopenharmony_ci		 NA, NA, NA, NA),
178362306a36Sopenharmony_ci	PINGROUP(75, ter_mi2s, qdss_stm21, qdss_tracedata_a, NA, NA, NA, NA,
178462306a36Sopenharmony_ci		 NA, NA),
178562306a36Sopenharmony_ci	PINGROUP(76, ter_mi2s, qdss_stm20, qdss_tracedata_a, NA, NA, NA, NA,
178662306a36Sopenharmony_ci		 NA, NA),
178762306a36Sopenharmony_ci	PINGROUP(77, ter_mi2s, qdss_stm19, qdss_tracedata_a, NA, NA, NA, NA,
178862306a36Sopenharmony_ci		 NA, NA),
178962306a36Sopenharmony_ci	PINGROUP(78, ter_mi2s, gcc_gp1_clk_b, NA, NA, NA, NA, NA, NA, NA),
179062306a36Sopenharmony_ci	PINGROUP(79, sec_mi2s, NA, NA, NA, NA, NA, NA, NA, NA),
179162306a36Sopenharmony_ci	PINGROUP(80, sec_mi2s, NA, NA, NA, NA, NA, NA, NA, NA),
179262306a36Sopenharmony_ci	PINGROUP(81, sec_mi2s, blsp_spi5, blsp_uart5, blsp_uim5, gcc_gp2_clk_b,
179362306a36Sopenharmony_ci		 NA, NA, NA, NA),
179462306a36Sopenharmony_ci	PINGROUP(82, sec_mi2s, blsp_spi5, blsp_uart5, blsp_uim5, gcc_gp3_clk_b,
179562306a36Sopenharmony_ci		 NA, NA, NA, NA),
179662306a36Sopenharmony_ci	PINGROUP(83, sec_mi2s, blsp_spi5, blsp_uart5, blsp_i2c5, NA, NA, NA,
179762306a36Sopenharmony_ci		 NA, NA),
179862306a36Sopenharmony_ci	PINGROUP(84, blsp_spi5, blsp_uart5, blsp_i2c5, NA, NA, NA, NA, NA, NA),
179962306a36Sopenharmony_ci	PINGROUP(85, blsp_spi12, blsp_uart12, blsp_uim12, NA, qdss_stm25,
180062306a36Sopenharmony_ci		 qdss_tracedata_a, NA, NA, NA),
180162306a36Sopenharmony_ci	PINGROUP(86, blsp_spi12, blsp_uart12, blsp_uim12, NA, NA, qdss_stm31,
180262306a36Sopenharmony_ci		 qdss_tracedata_a, NA, NA),
180362306a36Sopenharmony_ci	PINGROUP(87, blsp_spi12, blsp_uart12, blsp_i2c12, NA, qdss_stm30,
180462306a36Sopenharmony_ci		 qdss_tracedata_a, NA, NA, NA),
180562306a36Sopenharmony_ci	PINGROUP(88, blsp_spi12, blsp_uart12, blsp_i2c12, blsp10_spi, NA,
180662306a36Sopenharmony_ci		 qdss_stm29, NA, NA, NA),
180762306a36Sopenharmony_ci	PINGROUP(89, tsif1_clk, qdss_stm28, qdss_tracedata_a, NA, NA, NA, NA,
180862306a36Sopenharmony_ci		 NA, NA),
180962306a36Sopenharmony_ci	PINGROUP(90, tsif1_en, blsp1_spi, qdss_tracedata_a, NA, NA, NA, NA, NA,
181062306a36Sopenharmony_ci		 NA),
181162306a36Sopenharmony_ci	PINGROUP(91, tsif1_data, sdc4_cmd, qdss_stm27, qdss_traceclk_b, NA, NA,
181262306a36Sopenharmony_ci		 NA, NA, NA),
181362306a36Sopenharmony_ci	PINGROUP(92, tsif2_error, sdc43, vfr_1, qdss_stm26, qdss_tracedata_b,
181462306a36Sopenharmony_ci		 NA, NA, NA, NA),
181562306a36Sopenharmony_ci	PINGROUP(93, tsif2_clk, sdc4_clk, NA, qdss_stm24, qdss_tracedata_b, NA,
181662306a36Sopenharmony_ci		 NA, NA, NA),
181762306a36Sopenharmony_ci	PINGROUP(94, tsif2_en, sdc42, NA, qdss_stm23, qdss_tracectl_b, NA, NA,
181862306a36Sopenharmony_ci		 NA, NA),
181962306a36Sopenharmony_ci	PINGROUP(95, tsif2_data, sdc41, NA, NA, NA, NA, NA, NA, NA),
182062306a36Sopenharmony_ci	PINGROUP(96, tsif2_sync, sdc40, NA, NA, NA, NA, NA, NA, NA),
182162306a36Sopenharmony_ci	PINGROUP(97, NA, NA, mdp_vsync_p_b, ldo_en, NA, NA, NA, NA, NA),
182262306a36Sopenharmony_ci	PINGROUP(98, NA, NA, mdp_vsync_s_b, ldo_update, NA, NA, NA, NA, NA),
182362306a36Sopenharmony_ci	PINGROUP(99, NA, NA, NA, NA, NA, NA, NA, NA, NA),
182462306a36Sopenharmony_ci	PINGROUP(100, NA, NA, blsp11_uart_tx_b, qdss_cti, NA, NA, NA, NA, NA),
182562306a36Sopenharmony_ci	PINGROUP(101, NA, blsp11_uart_rx_b, qdss_cti, NA, NA, NA, NA, NA, NA),
182662306a36Sopenharmony_ci	PINGROUP(102, NA, blsp11_i2c_sda_b, prng_rosc, NA, NA, NA, NA, NA, NA),
182762306a36Sopenharmony_ci	PINGROUP(103, NA, blsp11_i2c_scl_b, NA, NA, NA, NA, NA, NA, NA),
182862306a36Sopenharmony_ci	PINGROUP(104, NA, NA, NA, NA, NA, NA, NA, NA, NA),
182962306a36Sopenharmony_ci	PINGROUP(105, uim2, NA, NA, NA, NA, NA, NA, NA, NA),
183062306a36Sopenharmony_ci	PINGROUP(106, uim2, NA, NA, NA, NA, NA, NA, NA, NA),
183162306a36Sopenharmony_ci	PINGROUP(107, uim2, NA, NA, NA, NA, NA, NA, NA, NA),
183262306a36Sopenharmony_ci	PINGROUP(108, uim2, NA, NA, NA, NA, NA, NA, NA, NA),
183362306a36Sopenharmony_ci	PINGROUP(109, uim1, NA, NA, NA, NA, NA, NA, NA, NA),
183462306a36Sopenharmony_ci	PINGROUP(110, uim1, NA, NA, NA, NA, NA, NA, NA, NA),
183562306a36Sopenharmony_ci	PINGROUP(111, uim1, NA, NA, NA, NA, NA, NA, NA, NA),
183662306a36Sopenharmony_ci	PINGROUP(112, uim1, NA, NA, NA, NA, NA, NA, NA, NA),
183762306a36Sopenharmony_ci	PINGROUP(113, uim_batt, NA, NA, NA, NA, NA, NA, NA, NA),
183862306a36Sopenharmony_ci	PINGROUP(114, NA, pci_e2, NA, NA, NA, NA, NA, NA, NA),
183962306a36Sopenharmony_ci	PINGROUP(115, NA, pci_e2, NA, NA, NA, NA, NA, NA, NA),
184062306a36Sopenharmony_ci	PINGROUP(116, NA, pa_indicator, NA, NA, NA, NA, NA, NA, NA),
184162306a36Sopenharmony_ci	PINGROUP(117, NA, NA, NA, NA, NA, NA, NA, NA, NA),
184262306a36Sopenharmony_ci	PINGROUP(118, adsp_ext, NA, NA, NA, NA, NA, NA, NA, NA),
184362306a36Sopenharmony_ci	PINGROUP(119, NA, NA, NA, NA, NA, NA, NA, NA, NA),
184462306a36Sopenharmony_ci	PINGROUP(120, NA, NA, NA, NA, NA, NA, NA, NA, NA),
184562306a36Sopenharmony_ci	PINGROUP(121, ddr_bist, NA, NA, NA, NA, NA, NA, NA, NA),
184662306a36Sopenharmony_ci	PINGROUP(122, ddr_bist, NA, NA, NA, NA, NA, NA, NA, NA),
184762306a36Sopenharmony_ci	PINGROUP(123, ddr_bist, qdss_tracedata_11, NA, NA, NA, NA, NA, NA, NA),
184862306a36Sopenharmony_ci	PINGROUP(124, ddr_bist, qdss_tracedata_12, NA, NA, NA, NA, NA, NA, NA),
184962306a36Sopenharmony_ci	PINGROUP(125, NA, NA, NA, NA, NA, NA, NA, NA, NA),
185062306a36Sopenharmony_ci	PINGROUP(126, NA, NA, NA, NA, NA, NA, NA, NA, NA),
185162306a36Sopenharmony_ci	PINGROUP(127, NA, NA, NA, NA, NA, NA, NA, NA, NA),
185262306a36Sopenharmony_ci	PINGROUP(128, NA, modem_tsync, nav_dr, nav_pps, NA, NA, NA, NA, NA),
185362306a36Sopenharmony_ci	PINGROUP(129, NA, NA, NA, NA, NA, NA, NA, NA, NA),
185462306a36Sopenharmony_ci	PINGROUP(130, pci_e1, NA, NA, NA, NA, NA, NA, NA, NA),
185562306a36Sopenharmony_ci	PINGROUP(131, pci_e1, NA, NA, NA, NA, NA, NA, NA, NA),
185662306a36Sopenharmony_ci	PINGROUP(132, NA, NA, NA, NA, NA, NA, NA, NA, NA),
185762306a36Sopenharmony_ci	PINGROUP(133, NA, NA, NA, NA, NA, NA, NA, NA, NA),
185862306a36Sopenharmony_ci	PINGROUP(134, gsm_tx, NA, NA, NA, NA, NA, NA, NA, NA),
185962306a36Sopenharmony_ci	PINGROUP(135, gsm_tx, NA, NA, NA, NA, NA, NA, NA, NA),
186062306a36Sopenharmony_ci	PINGROUP(136, NA, NA, NA, NA, NA, NA, NA, NA, NA),
186162306a36Sopenharmony_ci	PINGROUP(137, NA, NA, NA, NA, NA, NA, NA, NA, NA),
186262306a36Sopenharmony_ci	PINGROUP(138, NA, qspi_cs, NA, NA, NA, NA, NA, NA, NA),
186362306a36Sopenharmony_ci	PINGROUP(139, NA, ssbi2, NA, NA, NA, NA, NA, NA, NA),
186462306a36Sopenharmony_ci	PINGROUP(140, NA, ssbi1, NA, NA, NA, NA, NA, NA, NA),
186562306a36Sopenharmony_ci	PINGROUP(141, NA, qspi_cs, NA, NA, NA, NA, NA, NA, NA),
186662306a36Sopenharmony_ci	PINGROUP(142, NA, NA, NA, NA, NA, NA, NA, NA, NA),
186762306a36Sopenharmony_ci	PINGROUP(143, NA, NA, NA, NA, NA, NA, NA, NA, NA),
186862306a36Sopenharmony_ci	PINGROUP(144, mss_lte, NA, NA, NA, NA, NA, NA, NA, NA),
186962306a36Sopenharmony_ci	PINGROUP(145, mss_lte, qspi_clk, NA, NA, NA, NA, NA, NA, NA),
187062306a36Sopenharmony_ci	PINGROUP(146, NA, qspi0, NA, NA, NA, NA, NA, NA, NA),
187162306a36Sopenharmony_ci	PINGROUP(147, NA, qspi1, NA, NA, NA, NA, NA, NA, NA),
187262306a36Sopenharmony_ci	PINGROUP(148, NA, qspi2, NA, NA, NA, NA, NA, NA, NA),
187362306a36Sopenharmony_ci	PINGROUP(149, NA, qspi3, NA, NA, NA, NA, NA, NA, NA),
187462306a36Sopenharmony_ci	SDC_QDSD_PINGROUP(sdc1_clk, 0x12c000, 13, 6),
187562306a36Sopenharmony_ci	SDC_QDSD_PINGROUP(sdc1_cmd, 0x12c000, 11, 3),
187662306a36Sopenharmony_ci	SDC_QDSD_PINGROUP(sdc1_data, 0x12c000, 9, 0),
187762306a36Sopenharmony_ci	SDC_QDSD_PINGROUP(sdc2_clk, 0x12d000, 14, 6),
187862306a36Sopenharmony_ci	SDC_QDSD_PINGROUP(sdc2_cmd, 0x12d000, 11, 3),
187962306a36Sopenharmony_ci	SDC_QDSD_PINGROUP(sdc2_data, 0x12d000, 9, 0),
188062306a36Sopenharmony_ci	SDC_QDSD_PINGROUP(sdc1_rclk, 0x12c000, 15, 0),
188162306a36Sopenharmony_ci};
188262306a36Sopenharmony_ci
188362306a36Sopenharmony_cistatic const struct msm_pinctrl_soc_data msm8996_pinctrl = {
188462306a36Sopenharmony_ci	.pins = msm8996_pins,
188562306a36Sopenharmony_ci	.npins = ARRAY_SIZE(msm8996_pins),
188662306a36Sopenharmony_ci	.functions = msm8996_functions,
188762306a36Sopenharmony_ci	.nfunctions = ARRAY_SIZE(msm8996_functions),
188862306a36Sopenharmony_ci	.groups = msm8996_groups,
188962306a36Sopenharmony_ci	.ngroups = ARRAY_SIZE(msm8996_groups),
189062306a36Sopenharmony_ci	.ngpios = 150,
189162306a36Sopenharmony_ci};
189262306a36Sopenharmony_ci
189362306a36Sopenharmony_cistatic int msm8996_pinctrl_probe(struct platform_device *pdev)
189462306a36Sopenharmony_ci{
189562306a36Sopenharmony_ci	return msm_pinctrl_probe(pdev, &msm8996_pinctrl);
189662306a36Sopenharmony_ci}
189762306a36Sopenharmony_ci
189862306a36Sopenharmony_cistatic const struct of_device_id msm8996_pinctrl_of_match[] = {
189962306a36Sopenharmony_ci	{ .compatible = "qcom,msm8996-pinctrl", },
190062306a36Sopenharmony_ci	{ }
190162306a36Sopenharmony_ci};
190262306a36Sopenharmony_ci
190362306a36Sopenharmony_cistatic struct platform_driver msm8996_pinctrl_driver = {
190462306a36Sopenharmony_ci	.driver = {
190562306a36Sopenharmony_ci		.name = "msm8996-pinctrl",
190662306a36Sopenharmony_ci		.of_match_table = msm8996_pinctrl_of_match,
190762306a36Sopenharmony_ci	},
190862306a36Sopenharmony_ci	.probe = msm8996_pinctrl_probe,
190962306a36Sopenharmony_ci	.remove = msm_pinctrl_remove,
191062306a36Sopenharmony_ci};
191162306a36Sopenharmony_ci
191262306a36Sopenharmony_cistatic int __init msm8996_pinctrl_init(void)
191362306a36Sopenharmony_ci{
191462306a36Sopenharmony_ci	return platform_driver_register(&msm8996_pinctrl_driver);
191562306a36Sopenharmony_ci}
191662306a36Sopenharmony_ciarch_initcall(msm8996_pinctrl_init);
191762306a36Sopenharmony_ci
191862306a36Sopenharmony_cistatic void __exit msm8996_pinctrl_exit(void)
191962306a36Sopenharmony_ci{
192062306a36Sopenharmony_ci	platform_driver_unregister(&msm8996_pinctrl_driver);
192162306a36Sopenharmony_ci}
192262306a36Sopenharmony_cimodule_exit(msm8996_pinctrl_exit);
192362306a36Sopenharmony_ci
192462306a36Sopenharmony_ciMODULE_DESCRIPTION("Qualcomm msm8996 pinctrl driver");
192562306a36Sopenharmony_ciMODULE_LICENSE("GPL v2");
192662306a36Sopenharmony_ciMODULE_DEVICE_TABLE(of, msm8996_pinctrl_of_match);
1927