xref: /linux/drivers/pinctrl/qcom/pinctrl-qcs404.c (revision 0ea5c948cb64bab5bc7a5516774eb8536f05aa0d)
122eb8301SAvaneesh Kumar Dwivedi // SPDX-License-Identifier: GPL-2.0
222eb8301SAvaneesh Kumar Dwivedi /*
322eb8301SAvaneesh Kumar Dwivedi  * Copyright (c) 2018, The Linux Foundation. All rights reserved.
422eb8301SAvaneesh Kumar Dwivedi  */
522eb8301SAvaneesh Kumar Dwivedi 
622eb8301SAvaneesh Kumar Dwivedi #include <linux/module.h>
722eb8301SAvaneesh Kumar Dwivedi #include <linux/of.h>
822eb8301SAvaneesh Kumar Dwivedi #include <linux/platform_device.h>
922eb8301SAvaneesh Kumar Dwivedi 
1022eb8301SAvaneesh Kumar Dwivedi #include "pinctrl-msm.h"
1122eb8301SAvaneesh Kumar Dwivedi 
1222eb8301SAvaneesh Kumar Dwivedi static const char * const qcs404_tiles[] = {
1322eb8301SAvaneesh Kumar Dwivedi 	"north",
1422eb8301SAvaneesh Kumar Dwivedi 	"south",
1522eb8301SAvaneesh Kumar Dwivedi 	"east"
1622eb8301SAvaneesh Kumar Dwivedi };
1722eb8301SAvaneesh Kumar Dwivedi 
1822eb8301SAvaneesh Kumar Dwivedi enum {
1922eb8301SAvaneesh Kumar Dwivedi 	NORTH,
2022eb8301SAvaneesh Kumar Dwivedi 	SOUTH,
2122eb8301SAvaneesh Kumar Dwivedi 	EAST
2222eb8301SAvaneesh Kumar Dwivedi };
2322eb8301SAvaneesh Kumar Dwivedi 
2422eb8301SAvaneesh Kumar Dwivedi #define PINGROUP(id, _tile, f1, f2, f3, f4, f5, f6, f7, f8, f9)	\
2522eb8301SAvaneesh Kumar Dwivedi 	{						\
266a16d1a5SRohit Agarwal 		.grp = PINCTRL_PINGROUP("gpio" #id, 	\
276a16d1a5SRohit Agarwal 			gpio##id##_pins, 		\
286a16d1a5SRohit Agarwal 			ARRAY_SIZE(gpio##id##_pins)),	\
2922eb8301SAvaneesh Kumar Dwivedi 		.funcs = (int[]){			\
3022eb8301SAvaneesh Kumar Dwivedi 			msm_mux_gpio, /* gpio mode */	\
3122eb8301SAvaneesh Kumar Dwivedi 			msm_mux_##f1,			\
3222eb8301SAvaneesh Kumar Dwivedi 			msm_mux_##f2,			\
3322eb8301SAvaneesh Kumar Dwivedi 			msm_mux_##f3,			\
3422eb8301SAvaneesh Kumar Dwivedi 			msm_mux_##f4,			\
3522eb8301SAvaneesh Kumar Dwivedi 			msm_mux_##f5,			\
3622eb8301SAvaneesh Kumar Dwivedi 			msm_mux_##f6,			\
3722eb8301SAvaneesh Kumar Dwivedi 			msm_mux_##f7,			\
3822eb8301SAvaneesh Kumar Dwivedi 			msm_mux_##f8,			\
3922eb8301SAvaneesh Kumar Dwivedi 			msm_mux_##f9			\
4022eb8301SAvaneesh Kumar Dwivedi 		},					\
4122eb8301SAvaneesh Kumar Dwivedi 		.nfuncs = 10,				\
4222eb8301SAvaneesh Kumar Dwivedi 		.ctl_reg = 0x1000 * id,		\
4322eb8301SAvaneesh Kumar Dwivedi 		.io_reg = 0x1000 * id + 0x4,		\
4422eb8301SAvaneesh Kumar Dwivedi 		.intr_cfg_reg = 0x1000 * id + 0x8,	\
4522eb8301SAvaneesh Kumar Dwivedi 		.intr_status_reg = 0x1000 * id + 0xc,	\
4622eb8301SAvaneesh Kumar Dwivedi 		.intr_target_reg = 0x1000 * id + 0x8,	\
4722eb8301SAvaneesh Kumar Dwivedi 		.tile = _tile,			\
4822eb8301SAvaneesh Kumar Dwivedi 		.mux_bit = 2,			\
4922eb8301SAvaneesh Kumar Dwivedi 		.pull_bit = 0,			\
5022eb8301SAvaneesh Kumar Dwivedi 		.drv_bit = 6,			\
5122eb8301SAvaneesh Kumar Dwivedi 		.oe_bit = 9,			\
5222eb8301SAvaneesh Kumar Dwivedi 		.in_bit = 0,			\
5322eb8301SAvaneesh Kumar Dwivedi 		.out_bit = 1,			\
5422eb8301SAvaneesh Kumar Dwivedi 		.intr_enable_bit = 0,		\
5522eb8301SAvaneesh Kumar Dwivedi 		.intr_status_bit = 0,		\
5622eb8301SAvaneesh Kumar Dwivedi 		.intr_target_bit = 5,		\
5722eb8301SAvaneesh Kumar Dwivedi 		.intr_target_kpss_val = 4,	\
5822eb8301SAvaneesh Kumar Dwivedi 		.intr_raw_status_bit = 4,	\
5922eb8301SAvaneesh Kumar Dwivedi 		.intr_polarity_bit = 1,		\
6022eb8301SAvaneesh Kumar Dwivedi 		.intr_detection_bit = 2,	\
6122eb8301SAvaneesh Kumar Dwivedi 		.intr_detection_width = 2,	\
6222eb8301SAvaneesh Kumar Dwivedi 	}
6322eb8301SAvaneesh Kumar Dwivedi 
6422eb8301SAvaneesh Kumar Dwivedi #define SDC_QDSD_PINGROUP(pg_name, ctl, pull, drv)	\
6522eb8301SAvaneesh Kumar Dwivedi 	{						\
666a16d1a5SRohit Agarwal 		.grp = PINCTRL_PINGROUP(#pg_name, 	\
676a16d1a5SRohit Agarwal 			pg_name##_pins, 		\
686a16d1a5SRohit Agarwal 			ARRAY_SIZE(pg_name##_pins)),	\
6922eb8301SAvaneesh Kumar Dwivedi 		.ctl_reg = ctl,				\
7022eb8301SAvaneesh Kumar Dwivedi 		.io_reg = 0,				\
7122eb8301SAvaneesh Kumar Dwivedi 		.intr_cfg_reg = 0,			\
7222eb8301SAvaneesh Kumar Dwivedi 		.intr_status_reg = 0,			\
7322eb8301SAvaneesh Kumar Dwivedi 		.intr_target_reg = 0,			\
74a5a08c35SBjorn Andersson 		.tile = SOUTH,				\
7522eb8301SAvaneesh Kumar Dwivedi 		.mux_bit = -1,				\
7622eb8301SAvaneesh Kumar Dwivedi 		.pull_bit = pull,			\
7722eb8301SAvaneesh Kumar Dwivedi 		.drv_bit = drv,				\
7822eb8301SAvaneesh Kumar Dwivedi 		.oe_bit = -1,				\
7922eb8301SAvaneesh Kumar Dwivedi 		.in_bit = -1,				\
8022eb8301SAvaneesh Kumar Dwivedi 		.out_bit = -1,				\
8122eb8301SAvaneesh Kumar Dwivedi 		.intr_enable_bit = -1,			\
8222eb8301SAvaneesh Kumar Dwivedi 		.intr_status_bit = -1,			\
8322eb8301SAvaneesh Kumar Dwivedi 		.intr_target_bit = -1,			\
8422eb8301SAvaneesh Kumar Dwivedi 		.intr_raw_status_bit = -1,		\
8522eb8301SAvaneesh Kumar Dwivedi 		.intr_polarity_bit = -1,		\
8622eb8301SAvaneesh Kumar Dwivedi 		.intr_detection_bit = -1,		\
8722eb8301SAvaneesh Kumar Dwivedi 		.intr_detection_width = -1,		\
8822eb8301SAvaneesh Kumar Dwivedi 	}
8922eb8301SAvaneesh Kumar Dwivedi 
9022eb8301SAvaneesh Kumar Dwivedi static const struct pinctrl_pin_desc qcs404_pins[] = {
9122eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(0, "GPIO_0"),
9222eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(1, "GPIO_1"),
9322eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(2, "GPIO_2"),
9422eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(3, "GPIO_3"),
9522eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(4, "GPIO_4"),
9622eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(5, "GPIO_5"),
9722eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(6, "GPIO_6"),
9822eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(7, "GPIO_7"),
9922eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(8, "GPIO_8"),
10022eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(9, "GPIO_9"),
10122eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(10, "GPIO_10"),
10222eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(11, "GPIO_11"),
10322eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(12, "GPIO_12"),
10422eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(13, "GPIO_13"),
10522eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(14, "GPIO_14"),
10622eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(15, "GPIO_15"),
10722eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(16, "GPIO_16"),
10822eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(17, "GPIO_17"),
10922eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(18, "GPIO_18"),
11022eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(19, "GPIO_19"),
11122eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(20, "GPIO_20"),
11222eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(21, "GPIO_21"),
11322eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(22, "GPIO_22"),
11422eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(23, "GPIO_23"),
11522eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(24, "GPIO_24"),
11622eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(25, "GPIO_25"),
11722eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(26, "GPIO_26"),
11822eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(27, "GPIO_27"),
11922eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(28, "GPIO_28"),
12022eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(29, "GPIO_29"),
12122eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(30, "GPIO_30"),
12222eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(31, "GPIO_31"),
12322eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(32, "GPIO_32"),
12422eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(33, "GPIO_33"),
12522eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(34, "GPIO_34"),
12622eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(35, "GPIO_35"),
12722eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(36, "GPIO_36"),
12822eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(37, "GPIO_37"),
12922eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(38, "GPIO_38"),
13022eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(39, "GPIO_39"),
13122eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(40, "GPIO_40"),
13222eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(41, "GPIO_41"),
13322eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(42, "GPIO_42"),
13422eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(43, "GPIO_43"),
13522eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(44, "GPIO_44"),
13622eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(45, "GPIO_45"),
13722eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(46, "GPIO_46"),
13822eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(47, "GPIO_47"),
13922eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(48, "GPIO_48"),
14022eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(49, "GPIO_49"),
14122eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(50, "GPIO_50"),
14222eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(51, "GPIO_51"),
14322eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(52, "GPIO_52"),
14422eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(53, "GPIO_53"),
14522eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(54, "GPIO_54"),
14622eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(55, "GPIO_55"),
14722eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(56, "GPIO_56"),
14822eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(57, "GPIO_57"),
14922eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(58, "GPIO_58"),
15022eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(59, "GPIO_59"),
15122eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(60, "GPIO_60"),
15222eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(61, "GPIO_61"),
15322eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(62, "GPIO_62"),
15422eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(63, "GPIO_63"),
15522eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(64, "GPIO_64"),
15622eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(65, "GPIO_65"),
15722eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(66, "GPIO_66"),
15822eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(67, "GPIO_67"),
15922eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(68, "GPIO_68"),
16022eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(69, "GPIO_69"),
16122eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(70, "GPIO_70"),
16222eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(71, "GPIO_71"),
16322eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(72, "GPIO_72"),
16422eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(73, "GPIO_73"),
16522eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(74, "GPIO_74"),
16622eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(75, "GPIO_75"),
16722eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(76, "GPIO_76"),
16822eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(77, "GPIO_77"),
16922eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(78, "GPIO_78"),
17022eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(79, "GPIO_79"),
17122eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(80, "GPIO_80"),
17222eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(81, "GPIO_81"),
17322eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(82, "GPIO_82"),
17422eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(83, "GPIO_83"),
17522eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(84, "GPIO_84"),
17622eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(85, "GPIO_85"),
17722eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(86, "GPIO_86"),
17822eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(87, "GPIO_87"),
17922eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(88, "GPIO_88"),
18022eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(89, "GPIO_89"),
18122eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(90, "GPIO_90"),
18222eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(91, "GPIO_91"),
18322eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(92, "GPIO_92"),
18422eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(93, "GPIO_93"),
18522eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(94, "GPIO_94"),
18622eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(95, "GPIO_95"),
18722eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(96, "GPIO_96"),
18822eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(97, "GPIO_97"),
18922eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(98, "GPIO_98"),
19022eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(99, "GPIO_99"),
19122eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(100, "GPIO_100"),
19222eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(101, "GPIO_101"),
19322eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(102, "GPIO_102"),
19422eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(103, "GPIO_103"),
19522eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(104, "GPIO_104"),
19622eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(105, "GPIO_105"),
19722eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(106, "GPIO_106"),
19822eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(107, "GPIO_107"),
19922eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(108, "GPIO_108"),
20022eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(109, "GPIO_109"),
20122eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(110, "GPIO_110"),
20222eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(111, "GPIO_111"),
20322eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(112, "GPIO_112"),
20422eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(113, "GPIO_113"),
20522eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(114, "GPIO_114"),
20622eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(115, "GPIO_115"),
20722eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(116, "GPIO_116"),
20822eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(117, "GPIO_117"),
20922eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(118, "GPIO_118"),
21022eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(119, "GPIO_119"),
21122eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(120, "SDC1_RCLK"),
21222eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(121, "SDC1_CLK"),
21322eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(122, "SDC1_CMD"),
21422eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(123, "SDC1_DATA"),
21522eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(124, "SDC2_CLK"),
21622eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(125, "SDC2_CMD"),
21722eb8301SAvaneesh Kumar Dwivedi 	PINCTRL_PIN(126, "SDC2_DATA"),
21822eb8301SAvaneesh Kumar Dwivedi };
21922eb8301SAvaneesh Kumar Dwivedi 
22022eb8301SAvaneesh Kumar Dwivedi #define DECLARE_MSM_GPIO_PINS(pin) \
22122eb8301SAvaneesh Kumar Dwivedi 	static const unsigned int gpio##pin##_pins[] = { pin }
22222eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(0);
22322eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(1);
22422eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(2);
22522eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(3);
22622eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(4);
22722eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(5);
22822eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(6);
22922eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(7);
23022eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(8);
23122eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(9);
23222eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(10);
23322eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(11);
23422eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(12);
23522eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(13);
23622eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(14);
23722eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(15);
23822eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(16);
23922eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(17);
24022eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(18);
24122eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(19);
24222eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(20);
24322eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(21);
24422eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(22);
24522eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(23);
24622eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(24);
24722eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(25);
24822eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(26);
24922eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(27);
25022eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(28);
25122eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(29);
25222eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(30);
25322eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(31);
25422eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(32);
25522eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(33);
25622eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(34);
25722eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(35);
25822eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(36);
25922eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(37);
26022eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(38);
26122eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(39);
26222eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(40);
26322eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(41);
26422eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(42);
26522eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(43);
26622eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(44);
26722eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(45);
26822eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(46);
26922eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(47);
27022eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(48);
27122eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(49);
27222eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(50);
27322eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(51);
27422eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(52);
27522eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(53);
27622eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(54);
27722eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(55);
27822eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(56);
27922eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(57);
28022eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(58);
28122eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(59);
28222eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(60);
28322eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(61);
28422eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(62);
28522eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(63);
28622eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(64);
28722eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(65);
28822eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(66);
28922eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(67);
29022eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(68);
29122eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(69);
29222eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(70);
29322eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(71);
29422eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(72);
29522eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(73);
29622eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(74);
29722eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(75);
29822eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(76);
29922eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(77);
30022eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(78);
30122eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(79);
30222eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(80);
30322eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(81);
30422eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(82);
30522eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(83);
30622eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(84);
30722eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(85);
30822eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(86);
30922eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(87);
31022eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(88);
31122eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(89);
31222eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(90);
31322eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(91);
31422eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(92);
31522eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(93);
31622eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(94);
31722eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(95);
31822eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(96);
31922eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(97);
32022eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(98);
32122eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(99);
32222eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(100);
32322eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(101);
32422eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(102);
32522eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(103);
32622eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(104);
32722eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(105);
32822eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(106);
32922eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(107);
33022eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(108);
33122eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(109);
33222eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(110);
33322eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(111);
33422eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(112);
33522eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(113);
33622eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(114);
33722eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(115);
33822eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(116);
33922eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(117);
34022eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(118);
34122eb8301SAvaneesh Kumar Dwivedi DECLARE_MSM_GPIO_PINS(119);
34222eb8301SAvaneesh Kumar Dwivedi 
34322eb8301SAvaneesh Kumar Dwivedi static const unsigned int sdc1_rclk_pins[] = { 120 };
34422eb8301SAvaneesh Kumar Dwivedi static const unsigned int sdc1_clk_pins[] = { 121 };
34522eb8301SAvaneesh Kumar Dwivedi static const unsigned int sdc1_cmd_pins[] = { 122 };
34622eb8301SAvaneesh Kumar Dwivedi static const unsigned int sdc1_data_pins[] = { 123 };
34722eb8301SAvaneesh Kumar Dwivedi static const unsigned int sdc2_clk_pins[] = { 124 };
34822eb8301SAvaneesh Kumar Dwivedi static const unsigned int sdc2_cmd_pins[] = { 125 };
34922eb8301SAvaneesh Kumar Dwivedi static const unsigned int sdc2_data_pins[] = { 126 };
35022eb8301SAvaneesh Kumar Dwivedi 
35122eb8301SAvaneesh Kumar Dwivedi enum qcs404_functions {
35222eb8301SAvaneesh Kumar Dwivedi 	msm_mux_gpio,
35322eb8301SAvaneesh Kumar Dwivedi 	msm_mux_hdmi_tx,
35422eb8301SAvaneesh Kumar Dwivedi 	msm_mux_hdmi_ddc,
35522eb8301SAvaneesh Kumar Dwivedi 	msm_mux_blsp_uart_tx_a2,
35622eb8301SAvaneesh Kumar Dwivedi 	msm_mux_blsp_spi2,
35722eb8301SAvaneesh Kumar Dwivedi 	msm_mux_m_voc,
35822eb8301SAvaneesh Kumar Dwivedi 	msm_mux_qdss_cti_trig_in_a0,
35922eb8301SAvaneesh Kumar Dwivedi 	msm_mux_blsp_uart_rx_a2,
36022eb8301SAvaneesh Kumar Dwivedi 	msm_mux_qdss_tracectl_a,
36122eb8301SAvaneesh Kumar Dwivedi 	msm_mux_blsp_uart2,
36222eb8301SAvaneesh Kumar Dwivedi 	msm_mux_aud_cdc,
36322eb8301SAvaneesh Kumar Dwivedi 	msm_mux_blsp_i2c_sda_a2,
36422eb8301SAvaneesh Kumar Dwivedi 	msm_mux_qdss_tracedata_a,
36522eb8301SAvaneesh Kumar Dwivedi 	msm_mux_blsp_i2c_scl_a2,
36622eb8301SAvaneesh Kumar Dwivedi 	msm_mux_qdss_tracectl_b,
36722eb8301SAvaneesh Kumar Dwivedi 	msm_mux_qdss_cti_trig_in_b0,
36822eb8301SAvaneesh Kumar Dwivedi 	msm_mux_blsp_uart1,
36922eb8301SAvaneesh Kumar Dwivedi 	msm_mux_blsp_spi_mosi_a1,
37022eb8301SAvaneesh Kumar Dwivedi 	msm_mux_blsp_spi_miso_a1,
37122eb8301SAvaneesh Kumar Dwivedi 	msm_mux_qdss_tracedata_b,
37222eb8301SAvaneesh Kumar Dwivedi 	msm_mux_blsp_i2c1,
37322eb8301SAvaneesh Kumar Dwivedi 	msm_mux_blsp_spi_cs_n_a1,
37422eb8301SAvaneesh Kumar Dwivedi 	msm_mux_gcc_plltest,
37522eb8301SAvaneesh Kumar Dwivedi 	msm_mux_blsp_spi_clk_a1,
37622eb8301SAvaneesh Kumar Dwivedi 	msm_mux_rgb_data0,
37722eb8301SAvaneesh Kumar Dwivedi 	msm_mux_blsp_uart5,
37822eb8301SAvaneesh Kumar Dwivedi 	msm_mux_blsp_spi5,
37922eb8301SAvaneesh Kumar Dwivedi 	msm_mux_adsp_ext,
38022eb8301SAvaneesh Kumar Dwivedi 	msm_mux_rgb_data1,
38122eb8301SAvaneesh Kumar Dwivedi 	msm_mux_prng_rosc,
38222eb8301SAvaneesh Kumar Dwivedi 	msm_mux_rgb_data2,
38322eb8301SAvaneesh Kumar Dwivedi 	msm_mux_blsp_i2c5,
38422eb8301SAvaneesh Kumar Dwivedi 	msm_mux_gcc_gp1_clk_b,
38522eb8301SAvaneesh Kumar Dwivedi 	msm_mux_rgb_data3,
38622eb8301SAvaneesh Kumar Dwivedi 	msm_mux_gcc_gp2_clk_b,
38722eb8301SAvaneesh Kumar Dwivedi 	msm_mux_blsp_spi0,
38822eb8301SAvaneesh Kumar Dwivedi 	msm_mux_blsp_uart0,
38922eb8301SAvaneesh Kumar Dwivedi 	msm_mux_gcc_gp3_clk_b,
39022eb8301SAvaneesh Kumar Dwivedi 	msm_mux_blsp_i2c0,
39122eb8301SAvaneesh Kumar Dwivedi 	msm_mux_qdss_traceclk_b,
39222eb8301SAvaneesh Kumar Dwivedi 	msm_mux_pcie_clk,
39322eb8301SAvaneesh Kumar Dwivedi 	msm_mux_nfc_irq,
39422eb8301SAvaneesh Kumar Dwivedi 	msm_mux_blsp_spi4,
39522eb8301SAvaneesh Kumar Dwivedi 	msm_mux_nfc_dwl,
39622eb8301SAvaneesh Kumar Dwivedi 	msm_mux_audio_ts,
39722eb8301SAvaneesh Kumar Dwivedi 	msm_mux_rgb_data4,
39822eb8301SAvaneesh Kumar Dwivedi 	msm_mux_spi_lcd,
39922eb8301SAvaneesh Kumar Dwivedi 	msm_mux_blsp_uart_tx_b2,
40022eb8301SAvaneesh Kumar Dwivedi 	msm_mux_gcc_gp3_clk_a,
40122eb8301SAvaneesh Kumar Dwivedi 	msm_mux_rgb_data5,
40222eb8301SAvaneesh Kumar Dwivedi 	msm_mux_blsp_uart_rx_b2,
40322eb8301SAvaneesh Kumar Dwivedi 	msm_mux_blsp_i2c_sda_b2,
40422eb8301SAvaneesh Kumar Dwivedi 	msm_mux_blsp_i2c_scl_b2,
40522eb8301SAvaneesh Kumar Dwivedi 	msm_mux_pwm_led11,
40622eb8301SAvaneesh Kumar Dwivedi 	msm_mux_i2s_3_data0_a,
40722eb8301SAvaneesh Kumar Dwivedi 	msm_mux_ebi2_lcd,
40822eb8301SAvaneesh Kumar Dwivedi 	msm_mux_i2s_3_data1_a,
40922eb8301SAvaneesh Kumar Dwivedi 	msm_mux_i2s_3_data2_a,
41022eb8301SAvaneesh Kumar Dwivedi 	msm_mux_atest_char,
41122eb8301SAvaneesh Kumar Dwivedi 	msm_mux_pwm_led3,
41222eb8301SAvaneesh Kumar Dwivedi 	msm_mux_i2s_3_data3_a,
41322eb8301SAvaneesh Kumar Dwivedi 	msm_mux_pwm_led4,
41422eb8301SAvaneesh Kumar Dwivedi 	msm_mux_i2s_4,
41522eb8301SAvaneesh Kumar Dwivedi 	msm_mux_ebi2_a,
41622eb8301SAvaneesh Kumar Dwivedi 	msm_mux_dsd_clk_b,
41722eb8301SAvaneesh Kumar Dwivedi 	msm_mux_pwm_led5,
41822eb8301SAvaneesh Kumar Dwivedi 	msm_mux_pwm_led6,
41922eb8301SAvaneesh Kumar Dwivedi 	msm_mux_pwm_led7,
42022eb8301SAvaneesh Kumar Dwivedi 	msm_mux_pwm_led8,
42122eb8301SAvaneesh Kumar Dwivedi 	msm_mux_pwm_led24,
42222eb8301SAvaneesh Kumar Dwivedi 	msm_mux_spkr_dac0,
42322eb8301SAvaneesh Kumar Dwivedi 	msm_mux_blsp_i2c4,
42422eb8301SAvaneesh Kumar Dwivedi 	msm_mux_pwm_led9,
42522eb8301SAvaneesh Kumar Dwivedi 	msm_mux_pwm_led10,
42622eb8301SAvaneesh Kumar Dwivedi 	msm_mux_spdifrx_opt,
42722eb8301SAvaneesh Kumar Dwivedi 	msm_mux_pwm_led12,
42822eb8301SAvaneesh Kumar Dwivedi 	msm_mux_pwm_led13,
42922eb8301SAvaneesh Kumar Dwivedi 	msm_mux_pwm_led14,
43022eb8301SAvaneesh Kumar Dwivedi 	msm_mux_wlan1_adc1,
43122eb8301SAvaneesh Kumar Dwivedi 	msm_mux_rgb_data_b0,
43222eb8301SAvaneesh Kumar Dwivedi 	msm_mux_pwm_led15,
43322eb8301SAvaneesh Kumar Dwivedi 	msm_mux_blsp_spi_mosi_b1,
43422eb8301SAvaneesh Kumar Dwivedi 	msm_mux_wlan1_adc0,
43522eb8301SAvaneesh Kumar Dwivedi 	msm_mux_rgb_data_b1,
43622eb8301SAvaneesh Kumar Dwivedi 	msm_mux_pwm_led16,
43722eb8301SAvaneesh Kumar Dwivedi 	msm_mux_blsp_spi_miso_b1,
43822eb8301SAvaneesh Kumar Dwivedi 	msm_mux_qdss_cti_trig_out_b0,
43922eb8301SAvaneesh Kumar Dwivedi 	msm_mux_wlan2_adc1,
44022eb8301SAvaneesh Kumar Dwivedi 	msm_mux_rgb_data_b2,
44122eb8301SAvaneesh Kumar Dwivedi 	msm_mux_pwm_led17,
44222eb8301SAvaneesh Kumar Dwivedi 	msm_mux_blsp_spi_cs_n_b1,
44322eb8301SAvaneesh Kumar Dwivedi 	msm_mux_wlan2_adc0,
44422eb8301SAvaneesh Kumar Dwivedi 	msm_mux_rgb_data_b3,
44522eb8301SAvaneesh Kumar Dwivedi 	msm_mux_pwm_led18,
44622eb8301SAvaneesh Kumar Dwivedi 	msm_mux_blsp_spi_clk_b1,
44722eb8301SAvaneesh Kumar Dwivedi 	msm_mux_rgb_data_b4,
44822eb8301SAvaneesh Kumar Dwivedi 	msm_mux_pwm_led19,
44922eb8301SAvaneesh Kumar Dwivedi 	msm_mux_ext_mclk1_b,
45022eb8301SAvaneesh Kumar Dwivedi 	msm_mux_qdss_traceclk_a,
45122eb8301SAvaneesh Kumar Dwivedi 	msm_mux_rgb_data_b5,
45222eb8301SAvaneesh Kumar Dwivedi 	msm_mux_pwm_led20,
45322eb8301SAvaneesh Kumar Dwivedi 	msm_mux_atest_char3,
45422eb8301SAvaneesh Kumar Dwivedi 	msm_mux_i2s_3_sck_b,
45522eb8301SAvaneesh Kumar Dwivedi 	msm_mux_ldo_update,
45622eb8301SAvaneesh Kumar Dwivedi 	msm_mux_bimc_dte0,
45722eb8301SAvaneesh Kumar Dwivedi 	msm_mux_rgb_hsync,
45822eb8301SAvaneesh Kumar Dwivedi 	msm_mux_pwm_led21,
45922eb8301SAvaneesh Kumar Dwivedi 	msm_mux_i2s_3_ws_b,
46022eb8301SAvaneesh Kumar Dwivedi 	msm_mux_dbg_out,
46122eb8301SAvaneesh Kumar Dwivedi 	msm_mux_rgb_vsync,
46222eb8301SAvaneesh Kumar Dwivedi 	msm_mux_i2s_3_data0_b,
46322eb8301SAvaneesh Kumar Dwivedi 	msm_mux_ldo_en,
46422eb8301SAvaneesh Kumar Dwivedi 	msm_mux_hdmi_dtest,
46522eb8301SAvaneesh Kumar Dwivedi 	msm_mux_rgb_de,
46622eb8301SAvaneesh Kumar Dwivedi 	msm_mux_i2s_3_data1_b,
46722eb8301SAvaneesh Kumar Dwivedi 	msm_mux_hdmi_lbk9,
46822eb8301SAvaneesh Kumar Dwivedi 	msm_mux_rgb_clk,
46922eb8301SAvaneesh Kumar Dwivedi 	msm_mux_atest_char1,
47022eb8301SAvaneesh Kumar Dwivedi 	msm_mux_i2s_3_data2_b,
47122eb8301SAvaneesh Kumar Dwivedi 	msm_mux_ebi_cdc,
47222eb8301SAvaneesh Kumar Dwivedi 	msm_mux_hdmi_lbk8,
47322eb8301SAvaneesh Kumar Dwivedi 	msm_mux_rgb_mdp,
47422eb8301SAvaneesh Kumar Dwivedi 	msm_mux_atest_char0,
47522eb8301SAvaneesh Kumar Dwivedi 	msm_mux_i2s_3_data3_b,
47622eb8301SAvaneesh Kumar Dwivedi 	msm_mux_hdmi_lbk7,
47722eb8301SAvaneesh Kumar Dwivedi 	msm_mux_rgb_data_b6,
47822eb8301SAvaneesh Kumar Dwivedi 	msm_mux_rgb_data_b7,
47922eb8301SAvaneesh Kumar Dwivedi 	msm_mux_hdmi_lbk6,
48022eb8301SAvaneesh Kumar Dwivedi 	msm_mux_rgmii_int,
48122eb8301SAvaneesh Kumar Dwivedi 	msm_mux_cri_trng1,
48222eb8301SAvaneesh Kumar Dwivedi 	msm_mux_rgmii_wol,
48322eb8301SAvaneesh Kumar Dwivedi 	msm_mux_cri_trng0,
48422eb8301SAvaneesh Kumar Dwivedi 	msm_mux_gcc_tlmm,
48522eb8301SAvaneesh Kumar Dwivedi 	msm_mux_rgmii_ck,
48622eb8301SAvaneesh Kumar Dwivedi 	msm_mux_rgmii_tx,
48722eb8301SAvaneesh Kumar Dwivedi 	msm_mux_hdmi_lbk5,
48822eb8301SAvaneesh Kumar Dwivedi 	msm_mux_hdmi_pixel,
48922eb8301SAvaneesh Kumar Dwivedi 	msm_mux_hdmi_rcv,
49022eb8301SAvaneesh Kumar Dwivedi 	msm_mux_hdmi_lbk4,
49122eb8301SAvaneesh Kumar Dwivedi 	msm_mux_rgmii_ctl,
49222eb8301SAvaneesh Kumar Dwivedi 	msm_mux_ext_lpass,
49322eb8301SAvaneesh Kumar Dwivedi 	msm_mux_rgmii_rx,
49422eb8301SAvaneesh Kumar Dwivedi 	msm_mux_cri_trng,
49522eb8301SAvaneesh Kumar Dwivedi 	msm_mux_hdmi_lbk3,
49622eb8301SAvaneesh Kumar Dwivedi 	msm_mux_hdmi_lbk2,
49722eb8301SAvaneesh Kumar Dwivedi 	msm_mux_qdss_cti_trig_out_b1,
49822eb8301SAvaneesh Kumar Dwivedi 	msm_mux_rgmii_mdio,
49922eb8301SAvaneesh Kumar Dwivedi 	msm_mux_hdmi_lbk1,
50022eb8301SAvaneesh Kumar Dwivedi 	msm_mux_rgmii_mdc,
50122eb8301SAvaneesh Kumar Dwivedi 	msm_mux_hdmi_lbk0,
50222eb8301SAvaneesh Kumar Dwivedi 	msm_mux_ir_in,
50322eb8301SAvaneesh Kumar Dwivedi 	msm_mux_wsa_en,
50422eb8301SAvaneesh Kumar Dwivedi 	msm_mux_rgb_data6,
50522eb8301SAvaneesh Kumar Dwivedi 	msm_mux_rgb_data7,
50622eb8301SAvaneesh Kumar Dwivedi 	msm_mux_atest_char2,
50722eb8301SAvaneesh Kumar Dwivedi 	msm_mux_ebi_ch0,
50822eb8301SAvaneesh Kumar Dwivedi 	msm_mux_blsp_uart3,
50922eb8301SAvaneesh Kumar Dwivedi 	msm_mux_blsp_spi3,
51022eb8301SAvaneesh Kumar Dwivedi 	msm_mux_sd_write,
51122eb8301SAvaneesh Kumar Dwivedi 	msm_mux_blsp_i2c3,
51222eb8301SAvaneesh Kumar Dwivedi 	msm_mux_gcc_gp1_clk_a,
51322eb8301SAvaneesh Kumar Dwivedi 	msm_mux_qdss_cti_trig_in_b1,
51422eb8301SAvaneesh Kumar Dwivedi 	msm_mux_gcc_gp2_clk_a,
51522eb8301SAvaneesh Kumar Dwivedi 	msm_mux_ext_mclk0,
51622eb8301SAvaneesh Kumar Dwivedi 	msm_mux_mclk_in1,
51722eb8301SAvaneesh Kumar Dwivedi 	msm_mux_i2s_1,
51822eb8301SAvaneesh Kumar Dwivedi 	msm_mux_dsd_clk_a,
51922eb8301SAvaneesh Kumar Dwivedi 	msm_mux_qdss_cti_trig_in_a1,
52022eb8301SAvaneesh Kumar Dwivedi 	msm_mux_rgmi_dll1,
52122eb8301SAvaneesh Kumar Dwivedi 	msm_mux_pwm_led22,
52222eb8301SAvaneesh Kumar Dwivedi 	msm_mux_pwm_led23,
52322eb8301SAvaneesh Kumar Dwivedi 	msm_mux_qdss_cti_trig_out_a0,
52422eb8301SAvaneesh Kumar Dwivedi 	msm_mux_rgmi_dll2,
52522eb8301SAvaneesh Kumar Dwivedi 	msm_mux_pwm_led1,
52622eb8301SAvaneesh Kumar Dwivedi 	msm_mux_qdss_cti_trig_out_a1,
52722eb8301SAvaneesh Kumar Dwivedi 	msm_mux_pwm_led2,
52822eb8301SAvaneesh Kumar Dwivedi 	msm_mux_i2s_2,
52922eb8301SAvaneesh Kumar Dwivedi 	msm_mux_pll_bist,
53022eb8301SAvaneesh Kumar Dwivedi 	msm_mux_ext_mclk1_a,
53122eb8301SAvaneesh Kumar Dwivedi 	msm_mux_mclk_in2,
53222eb8301SAvaneesh Kumar Dwivedi 	msm_mux_bimc_dte1,
53322eb8301SAvaneesh Kumar Dwivedi 	msm_mux_i2s_3_sck_a,
53422eb8301SAvaneesh Kumar Dwivedi 	msm_mux_i2s_3_ws_a,
53522eb8301SAvaneesh Kumar Dwivedi 	msm_mux__,
53622eb8301SAvaneesh Kumar Dwivedi };
53722eb8301SAvaneesh Kumar Dwivedi 
53822eb8301SAvaneesh Kumar Dwivedi static const char * const gpio_groups[] = {
53922eb8301SAvaneesh Kumar Dwivedi 	"gpio0", "gpio1", "gpio2", "gpio3", "gpio4", "gpio5", "gpio6", "gpio7",
54022eb8301SAvaneesh Kumar Dwivedi 	"gpio8", "gpio9", "gpio10", "gpio11", "gpio12", "gpio13", "gpio14",
54122eb8301SAvaneesh Kumar Dwivedi 	"gpio15", "gpio16", "gpio17", "gpio18", "gpio19", "gpio20", "gpio21",
54222eb8301SAvaneesh Kumar Dwivedi 	"gpio21", "gpio21", "gpio22", "gpio22", "gpio23", "gpio23", "gpio24",
54322eb8301SAvaneesh Kumar Dwivedi 	"gpio25", "gpio26", "gpio27", "gpio28", "gpio29", "gpio30", "gpio31",
54422eb8301SAvaneesh Kumar Dwivedi 	"gpio32", "gpio33", "gpio34", "gpio35", "gpio36", "gpio36", "gpio36",
54522eb8301SAvaneesh Kumar Dwivedi 	"gpio36", "gpio37", "gpio37", "gpio37", "gpio38", "gpio38", "gpio38",
54622eb8301SAvaneesh Kumar Dwivedi 	"gpio39", "gpio39", "gpio40", "gpio40", "gpio41", "gpio41", "gpio41",
54722eb8301SAvaneesh Kumar Dwivedi 	"gpio42", "gpio43", "gpio44", "gpio45", "gpio46", "gpio47", "gpio48",
54822eb8301SAvaneesh Kumar Dwivedi 	"gpio49", "gpio50", "gpio51", "gpio52", "gpio53", "gpio54", "gpio55",
54922eb8301SAvaneesh Kumar Dwivedi 	"gpio56", "gpio57", "gpio58", "gpio59", "gpio59", "gpio60", "gpio61",
55022eb8301SAvaneesh Kumar Dwivedi 	"gpio62", "gpio63", "gpio64", "gpio65", "gpio66", "gpio67", "gpio68",
55122eb8301SAvaneesh Kumar Dwivedi 	"gpio69", "gpio70", "gpio71", "gpio72", "gpio73", "gpio74", "gpio75",
55222eb8301SAvaneesh Kumar Dwivedi 	"gpio76", "gpio77", "gpio77", "gpio78", "gpio78", "gpio78", "gpio79",
55322eb8301SAvaneesh Kumar Dwivedi 	"gpio79", "gpio79", "gpio80", "gpio81", "gpio81", "gpio82", "gpio83",
55422eb8301SAvaneesh Kumar Dwivedi 	"gpio84", "gpio85", "gpio86", "gpio87", "gpio88", "gpio89", "gpio90",
55522eb8301SAvaneesh Kumar Dwivedi 	"gpio91", "gpio92", "gpio93", "gpio94", "gpio95", "gpio96", "gpio97",
55622eb8301SAvaneesh Kumar Dwivedi 	"gpio98", "gpio99", "gpio100", "gpio101", "gpio102", "gpio103",
55722eb8301SAvaneesh Kumar Dwivedi 	"gpio104", "gpio105", "gpio106", "gpio107", "gpio108", "gpio108",
55822eb8301SAvaneesh Kumar Dwivedi 	"gpio108", "gpio109", "gpio109", "gpio110", "gpio111", "gpio112",
55922eb8301SAvaneesh Kumar Dwivedi 	"gpio113", "gpio114", "gpio115", "gpio116", "gpio117", "gpio118",
56022eb8301SAvaneesh Kumar Dwivedi 	"gpio119",
56122eb8301SAvaneesh Kumar Dwivedi };
56222eb8301SAvaneesh Kumar Dwivedi 
56322eb8301SAvaneesh Kumar Dwivedi static const char * const hdmi_tx_groups[] = {
56422eb8301SAvaneesh Kumar Dwivedi 	"gpio14",
56522eb8301SAvaneesh Kumar Dwivedi };
56622eb8301SAvaneesh Kumar Dwivedi 
56722eb8301SAvaneesh Kumar Dwivedi static const char * const hdmi_ddc_groups[] = {
56822eb8301SAvaneesh Kumar Dwivedi 	"gpio15", "gpio16",
56922eb8301SAvaneesh Kumar Dwivedi };
57022eb8301SAvaneesh Kumar Dwivedi 
57122eb8301SAvaneesh Kumar Dwivedi static const char * const blsp_uart_tx_a2_groups[] = {
57222eb8301SAvaneesh Kumar Dwivedi 	"gpio17",
57322eb8301SAvaneesh Kumar Dwivedi };
57422eb8301SAvaneesh Kumar Dwivedi 
57522eb8301SAvaneesh Kumar Dwivedi static const char * const blsp_spi2_groups[] = {
57622eb8301SAvaneesh Kumar Dwivedi 	"gpio17", "gpio18", "gpio19", "gpio20",
57722eb8301SAvaneesh Kumar Dwivedi };
57822eb8301SAvaneesh Kumar Dwivedi 
57922eb8301SAvaneesh Kumar Dwivedi static const char * const m_voc_groups[] = {
58022eb8301SAvaneesh Kumar Dwivedi 	"gpio17", "gpio21",
58122eb8301SAvaneesh Kumar Dwivedi };
58222eb8301SAvaneesh Kumar Dwivedi 
58322eb8301SAvaneesh Kumar Dwivedi static const char * const qdss_cti_trig_in_a0_groups[] = {
58422eb8301SAvaneesh Kumar Dwivedi 	"gpio17",
58522eb8301SAvaneesh Kumar Dwivedi };
58622eb8301SAvaneesh Kumar Dwivedi 
58722eb8301SAvaneesh Kumar Dwivedi static const char * const blsp_uart_rx_a2_groups[] = {
58822eb8301SAvaneesh Kumar Dwivedi 	"gpio18",
58922eb8301SAvaneesh Kumar Dwivedi };
59022eb8301SAvaneesh Kumar Dwivedi 
59122eb8301SAvaneesh Kumar Dwivedi static const char * const qdss_tracectl_a_groups[] = {
59222eb8301SAvaneesh Kumar Dwivedi 	"gpio18",
59322eb8301SAvaneesh Kumar Dwivedi };
59422eb8301SAvaneesh Kumar Dwivedi 
59522eb8301SAvaneesh Kumar Dwivedi static const char * const blsp_uart2_groups[] = {
59622eb8301SAvaneesh Kumar Dwivedi 	"gpio19", "gpio20",
59722eb8301SAvaneesh Kumar Dwivedi };
59822eb8301SAvaneesh Kumar Dwivedi 
59922eb8301SAvaneesh Kumar Dwivedi static const char * const aud_cdc_groups[] = {
60022eb8301SAvaneesh Kumar Dwivedi 	"gpio19", "gpio20",
60122eb8301SAvaneesh Kumar Dwivedi };
60222eb8301SAvaneesh Kumar Dwivedi 
60322eb8301SAvaneesh Kumar Dwivedi static const char * const blsp_i2c_sda_a2_groups[] = {
60422eb8301SAvaneesh Kumar Dwivedi 	"gpio19",
60522eb8301SAvaneesh Kumar Dwivedi };
60622eb8301SAvaneesh Kumar Dwivedi 
60722eb8301SAvaneesh Kumar Dwivedi static const char * const qdss_tracedata_a_groups[] = {
60822eb8301SAvaneesh Kumar Dwivedi 	"gpio19", "gpio24", "gpio25", "gpio26", "gpio27", "gpio28", "gpio30",
60922eb8301SAvaneesh Kumar Dwivedi 	"gpio31", "gpio32", "gpio36", "gpio38", "gpio39", "gpio42", "gpio43",
61022eb8301SAvaneesh Kumar Dwivedi 	"gpio82", "gpio83",
61122eb8301SAvaneesh Kumar Dwivedi };
61222eb8301SAvaneesh Kumar Dwivedi 
61322eb8301SAvaneesh Kumar Dwivedi static const char * const blsp_i2c_scl_a2_groups[] = {
61422eb8301SAvaneesh Kumar Dwivedi 	"gpio20",
61522eb8301SAvaneesh Kumar Dwivedi };
61622eb8301SAvaneesh Kumar Dwivedi 
61722eb8301SAvaneesh Kumar Dwivedi static const char * const qdss_tracectl_b_groups[] = {
61822eb8301SAvaneesh Kumar Dwivedi 	"gpio20",
61922eb8301SAvaneesh Kumar Dwivedi };
62022eb8301SAvaneesh Kumar Dwivedi 
62122eb8301SAvaneesh Kumar Dwivedi static const char * const qdss_cti_trig_in_b0_groups[] = {
62222eb8301SAvaneesh Kumar Dwivedi 	"gpio21",
62322eb8301SAvaneesh Kumar Dwivedi };
62422eb8301SAvaneesh Kumar Dwivedi 
62522eb8301SAvaneesh Kumar Dwivedi static const char * const blsp_uart1_groups[] = {
62622eb8301SAvaneesh Kumar Dwivedi 	"gpio22", "gpio23", "gpio24", "gpio25",
62722eb8301SAvaneesh Kumar Dwivedi };
62822eb8301SAvaneesh Kumar Dwivedi 
62922eb8301SAvaneesh Kumar Dwivedi static const char * const blsp_spi_mosi_a1_groups[] = {
63022eb8301SAvaneesh Kumar Dwivedi 	"gpio22",
63122eb8301SAvaneesh Kumar Dwivedi };
63222eb8301SAvaneesh Kumar Dwivedi 
63322eb8301SAvaneesh Kumar Dwivedi static const char * const blsp_spi_miso_a1_groups[] = {
63422eb8301SAvaneesh Kumar Dwivedi 	"gpio23",
63522eb8301SAvaneesh Kumar Dwivedi };
63622eb8301SAvaneesh Kumar Dwivedi 
63722eb8301SAvaneesh Kumar Dwivedi static const char * const qdss_tracedata_b_groups[] = {
63822eb8301SAvaneesh Kumar Dwivedi 	"gpio23", "gpio35", "gpio40", "gpio41", "gpio44", "gpio45", "gpio46",
63922eb8301SAvaneesh Kumar Dwivedi 	"gpio47", "gpio49", "gpio50", "gpio55", "gpio61", "gpio62", "gpio85",
64022eb8301SAvaneesh Kumar Dwivedi 	"gpio89", "gpio93",
64122eb8301SAvaneesh Kumar Dwivedi };
64222eb8301SAvaneesh Kumar Dwivedi 
64322eb8301SAvaneesh Kumar Dwivedi static const char * const blsp_i2c1_groups[] = {
64422eb8301SAvaneesh Kumar Dwivedi 	"gpio24", "gpio25",
64522eb8301SAvaneesh Kumar Dwivedi };
64622eb8301SAvaneesh Kumar Dwivedi 
64722eb8301SAvaneesh Kumar Dwivedi static const char * const blsp_spi_cs_n_a1_groups[] = {
64822eb8301SAvaneesh Kumar Dwivedi 	"gpio24",
64922eb8301SAvaneesh Kumar Dwivedi };
65022eb8301SAvaneesh Kumar Dwivedi 
65122eb8301SAvaneesh Kumar Dwivedi static const char * const gcc_plltest_groups[] = {
65222eb8301SAvaneesh Kumar Dwivedi 	"gpio24", "gpio25",
65322eb8301SAvaneesh Kumar Dwivedi };
65422eb8301SAvaneesh Kumar Dwivedi 
65522eb8301SAvaneesh Kumar Dwivedi static const char * const blsp_spi_clk_a1_groups[] = {
65622eb8301SAvaneesh Kumar Dwivedi 	"gpio25",
65722eb8301SAvaneesh Kumar Dwivedi };
65822eb8301SAvaneesh Kumar Dwivedi 
65922eb8301SAvaneesh Kumar Dwivedi static const char * const rgb_data0_groups[] = {
66022eb8301SAvaneesh Kumar Dwivedi 	"gpio26", "gpio41",
66122eb8301SAvaneesh Kumar Dwivedi };
66222eb8301SAvaneesh Kumar Dwivedi 
66322eb8301SAvaneesh Kumar Dwivedi static const char * const blsp_uart5_groups[] = {
66422eb8301SAvaneesh Kumar Dwivedi 	"gpio26", "gpio27", "gpio28", "gpio29",
66522eb8301SAvaneesh Kumar Dwivedi };
66622eb8301SAvaneesh Kumar Dwivedi 
66722eb8301SAvaneesh Kumar Dwivedi static const char * const blsp_spi5_groups[] = {
66822eb8301SAvaneesh Kumar Dwivedi 	"gpio26", "gpio27", "gpio28", "gpio29", "gpio44", "gpio45", "gpio46",
66922eb8301SAvaneesh Kumar Dwivedi };
67022eb8301SAvaneesh Kumar Dwivedi 
67122eb8301SAvaneesh Kumar Dwivedi static const char * const adsp_ext_groups[] = {
67222eb8301SAvaneesh Kumar Dwivedi 	"gpio26",
67322eb8301SAvaneesh Kumar Dwivedi };
67422eb8301SAvaneesh Kumar Dwivedi 
67522eb8301SAvaneesh Kumar Dwivedi static const char * const rgb_data1_groups[] = {
67622eb8301SAvaneesh Kumar Dwivedi 	"gpio27", "gpio42",
67722eb8301SAvaneesh Kumar Dwivedi };
67822eb8301SAvaneesh Kumar Dwivedi 
67922eb8301SAvaneesh Kumar Dwivedi static const char * const prng_rosc_groups[] = {
68022eb8301SAvaneesh Kumar Dwivedi 	"gpio27",
68122eb8301SAvaneesh Kumar Dwivedi };
68222eb8301SAvaneesh Kumar Dwivedi 
68322eb8301SAvaneesh Kumar Dwivedi static const char * const rgb_data2_groups[] = {
68422eb8301SAvaneesh Kumar Dwivedi 	"gpio28", "gpio43",
68522eb8301SAvaneesh Kumar Dwivedi };
68622eb8301SAvaneesh Kumar Dwivedi 
68722eb8301SAvaneesh Kumar Dwivedi static const char * const blsp_i2c5_groups[] = {
68822eb8301SAvaneesh Kumar Dwivedi 	"gpio28", "gpio29",
68922eb8301SAvaneesh Kumar Dwivedi };
69022eb8301SAvaneesh Kumar Dwivedi 
69122eb8301SAvaneesh Kumar Dwivedi static const char * const gcc_gp1_clk_b_groups[] = {
69222eb8301SAvaneesh Kumar Dwivedi 	"gpio28",
69322eb8301SAvaneesh Kumar Dwivedi };
69422eb8301SAvaneesh Kumar Dwivedi 
69522eb8301SAvaneesh Kumar Dwivedi static const char * const rgb_data3_groups[] = {
69622eb8301SAvaneesh Kumar Dwivedi 	"gpio29", "gpio44",
69722eb8301SAvaneesh Kumar Dwivedi };
69822eb8301SAvaneesh Kumar Dwivedi 
69922eb8301SAvaneesh Kumar Dwivedi static const char * const gcc_gp2_clk_b_groups[] = {
70022eb8301SAvaneesh Kumar Dwivedi 	"gpio29",
70122eb8301SAvaneesh Kumar Dwivedi };
70222eb8301SAvaneesh Kumar Dwivedi 
70322eb8301SAvaneesh Kumar Dwivedi static const char * const blsp_spi0_groups[] = {
70422eb8301SAvaneesh Kumar Dwivedi 	"gpio30", "gpio31", "gpio32", "gpio33",
70522eb8301SAvaneesh Kumar Dwivedi };
70622eb8301SAvaneesh Kumar Dwivedi 
70722eb8301SAvaneesh Kumar Dwivedi static const char * const blsp_uart0_groups[] = {
70822eb8301SAvaneesh Kumar Dwivedi 	"gpio30", "gpio31", "gpio32", "gpio33",
70922eb8301SAvaneesh Kumar Dwivedi };
71022eb8301SAvaneesh Kumar Dwivedi 
71122eb8301SAvaneesh Kumar Dwivedi static const char * const gcc_gp3_clk_b_groups[] = {
71222eb8301SAvaneesh Kumar Dwivedi 	"gpio30",
71322eb8301SAvaneesh Kumar Dwivedi };
71422eb8301SAvaneesh Kumar Dwivedi 
71522eb8301SAvaneesh Kumar Dwivedi static const char * const blsp_i2c0_groups[] = {
71622eb8301SAvaneesh Kumar Dwivedi 	"gpio32", "gpio33",
71722eb8301SAvaneesh Kumar Dwivedi };
71822eb8301SAvaneesh Kumar Dwivedi 
71922eb8301SAvaneesh Kumar Dwivedi static const char * const qdss_traceclk_b_groups[] = {
72022eb8301SAvaneesh Kumar Dwivedi 	"gpio34",
72122eb8301SAvaneesh Kumar Dwivedi };
72222eb8301SAvaneesh Kumar Dwivedi 
72322eb8301SAvaneesh Kumar Dwivedi static const char * const pcie_clk_groups[] = {
72422eb8301SAvaneesh Kumar Dwivedi 	"gpio35",
72522eb8301SAvaneesh Kumar Dwivedi };
72622eb8301SAvaneesh Kumar Dwivedi 
72722eb8301SAvaneesh Kumar Dwivedi static const char * const nfc_irq_groups[] = {
72822eb8301SAvaneesh Kumar Dwivedi 	"gpio37",
72922eb8301SAvaneesh Kumar Dwivedi };
73022eb8301SAvaneesh Kumar Dwivedi 
73122eb8301SAvaneesh Kumar Dwivedi static const char * const blsp_spi4_groups[] = {
73222eb8301SAvaneesh Kumar Dwivedi 	"gpio37", "gpio38", "gpio117", "gpio118",
73322eb8301SAvaneesh Kumar Dwivedi };
73422eb8301SAvaneesh Kumar Dwivedi 
73522eb8301SAvaneesh Kumar Dwivedi static const char * const nfc_dwl_groups[] = {
73622eb8301SAvaneesh Kumar Dwivedi 	"gpio38",
73722eb8301SAvaneesh Kumar Dwivedi };
73822eb8301SAvaneesh Kumar Dwivedi 
73922eb8301SAvaneesh Kumar Dwivedi static const char * const audio_ts_groups[] = {
74022eb8301SAvaneesh Kumar Dwivedi 	"gpio38",
74122eb8301SAvaneesh Kumar Dwivedi };
74222eb8301SAvaneesh Kumar Dwivedi 
74322eb8301SAvaneesh Kumar Dwivedi static const char * const rgb_data4_groups[] = {
74422eb8301SAvaneesh Kumar Dwivedi 	"gpio39", "gpio45",
74522eb8301SAvaneesh Kumar Dwivedi };
74622eb8301SAvaneesh Kumar Dwivedi 
74722eb8301SAvaneesh Kumar Dwivedi static const char * const spi_lcd_groups[] = {
74822eb8301SAvaneesh Kumar Dwivedi 	"gpio39", "gpio40",
74922eb8301SAvaneesh Kumar Dwivedi };
75022eb8301SAvaneesh Kumar Dwivedi 
75122eb8301SAvaneesh Kumar Dwivedi static const char * const blsp_uart_tx_b2_groups[] = {
75222eb8301SAvaneesh Kumar Dwivedi 	"gpio39",
75322eb8301SAvaneesh Kumar Dwivedi };
75422eb8301SAvaneesh Kumar Dwivedi 
75522eb8301SAvaneesh Kumar Dwivedi static const char * const gcc_gp3_clk_a_groups[] = {
75622eb8301SAvaneesh Kumar Dwivedi 	"gpio39",
75722eb8301SAvaneesh Kumar Dwivedi };
75822eb8301SAvaneesh Kumar Dwivedi 
75922eb8301SAvaneesh Kumar Dwivedi static const char * const rgb_data5_groups[] = {
76022eb8301SAvaneesh Kumar Dwivedi 	"gpio40", "gpio46",
76122eb8301SAvaneesh Kumar Dwivedi };
76222eb8301SAvaneesh Kumar Dwivedi 
76322eb8301SAvaneesh Kumar Dwivedi static const char * const blsp_uart_rx_b2_groups[] = {
76422eb8301SAvaneesh Kumar Dwivedi 	"gpio40",
76522eb8301SAvaneesh Kumar Dwivedi };
76622eb8301SAvaneesh Kumar Dwivedi 
76722eb8301SAvaneesh Kumar Dwivedi static const char * const blsp_i2c_sda_b2_groups[] = {
76822eb8301SAvaneesh Kumar Dwivedi 	"gpio41",
76922eb8301SAvaneesh Kumar Dwivedi };
77022eb8301SAvaneesh Kumar Dwivedi 
77122eb8301SAvaneesh Kumar Dwivedi static const char * const blsp_i2c_scl_b2_groups[] = {
77222eb8301SAvaneesh Kumar Dwivedi 	"gpio42",
77322eb8301SAvaneesh Kumar Dwivedi };
77422eb8301SAvaneesh Kumar Dwivedi 
77522eb8301SAvaneesh Kumar Dwivedi static const char * const pwm_led11_groups[] = {
77622eb8301SAvaneesh Kumar Dwivedi 	"gpio43",
77722eb8301SAvaneesh Kumar Dwivedi };
77822eb8301SAvaneesh Kumar Dwivedi 
77922eb8301SAvaneesh Kumar Dwivedi static const char * const i2s_3_data0_a_groups[] = {
78022eb8301SAvaneesh Kumar Dwivedi 	"gpio106",
78122eb8301SAvaneesh Kumar Dwivedi };
78222eb8301SAvaneesh Kumar Dwivedi 
78322eb8301SAvaneesh Kumar Dwivedi static const char * const ebi2_lcd_groups[] = {
78422eb8301SAvaneesh Kumar Dwivedi 	"gpio106", "gpio107", "gpio108", "gpio109",
78522eb8301SAvaneesh Kumar Dwivedi };
78622eb8301SAvaneesh Kumar Dwivedi 
78722eb8301SAvaneesh Kumar Dwivedi static const char * const i2s_3_data1_a_groups[] = {
78822eb8301SAvaneesh Kumar Dwivedi 	"gpio107",
78922eb8301SAvaneesh Kumar Dwivedi };
79022eb8301SAvaneesh Kumar Dwivedi 
79122eb8301SAvaneesh Kumar Dwivedi static const char * const i2s_3_data2_a_groups[] = {
79222eb8301SAvaneesh Kumar Dwivedi 	"gpio108",
79322eb8301SAvaneesh Kumar Dwivedi };
79422eb8301SAvaneesh Kumar Dwivedi 
79522eb8301SAvaneesh Kumar Dwivedi static const char * const atest_char_groups[] = {
79622eb8301SAvaneesh Kumar Dwivedi 	"gpio108",
79722eb8301SAvaneesh Kumar Dwivedi };
79822eb8301SAvaneesh Kumar Dwivedi 
79922eb8301SAvaneesh Kumar Dwivedi static const char * const pwm_led3_groups[] = {
80022eb8301SAvaneesh Kumar Dwivedi 	"gpio108",
80122eb8301SAvaneesh Kumar Dwivedi };
80222eb8301SAvaneesh Kumar Dwivedi 
80322eb8301SAvaneesh Kumar Dwivedi static const char * const i2s_3_data3_a_groups[] = {
80422eb8301SAvaneesh Kumar Dwivedi 	"gpio109",
80522eb8301SAvaneesh Kumar Dwivedi };
80622eb8301SAvaneesh Kumar Dwivedi 
80722eb8301SAvaneesh Kumar Dwivedi static const char * const pwm_led4_groups[] = {
80822eb8301SAvaneesh Kumar Dwivedi 	"gpio109",
80922eb8301SAvaneesh Kumar Dwivedi };
81022eb8301SAvaneesh Kumar Dwivedi 
81122eb8301SAvaneesh Kumar Dwivedi static const char * const i2s_4_groups[] = {
81222eb8301SAvaneesh Kumar Dwivedi 	"gpio110", "gpio111", "gpio111", "gpio112", "gpio112", "gpio113",
81322eb8301SAvaneesh Kumar Dwivedi 	"gpio113", "gpio114", "gpio114", "gpio115", "gpio115", "gpio116",
81422eb8301SAvaneesh Kumar Dwivedi };
81522eb8301SAvaneesh Kumar Dwivedi 
81622eb8301SAvaneesh Kumar Dwivedi static const char * const ebi2_a_groups[] = {
81722eb8301SAvaneesh Kumar Dwivedi 	"gpio110",
81822eb8301SAvaneesh Kumar Dwivedi };
81922eb8301SAvaneesh Kumar Dwivedi 
82022eb8301SAvaneesh Kumar Dwivedi static const char * const dsd_clk_b_groups[] = {
82122eb8301SAvaneesh Kumar Dwivedi 	"gpio110",
82222eb8301SAvaneesh Kumar Dwivedi };
82322eb8301SAvaneesh Kumar Dwivedi 
82422eb8301SAvaneesh Kumar Dwivedi static const char * const pwm_led5_groups[] = {
82522eb8301SAvaneesh Kumar Dwivedi 	"gpio110",
82622eb8301SAvaneesh Kumar Dwivedi };
82722eb8301SAvaneesh Kumar Dwivedi 
82822eb8301SAvaneesh Kumar Dwivedi static const char * const pwm_led6_groups[] = {
82922eb8301SAvaneesh Kumar Dwivedi 	"gpio111",
83022eb8301SAvaneesh Kumar Dwivedi };
83122eb8301SAvaneesh Kumar Dwivedi 
83222eb8301SAvaneesh Kumar Dwivedi static const char * const pwm_led7_groups[] = {
83322eb8301SAvaneesh Kumar Dwivedi 	"gpio112",
83422eb8301SAvaneesh Kumar Dwivedi };
83522eb8301SAvaneesh Kumar Dwivedi 
83622eb8301SAvaneesh Kumar Dwivedi static const char * const pwm_led8_groups[] = {
83722eb8301SAvaneesh Kumar Dwivedi 	"gpio113",
83822eb8301SAvaneesh Kumar Dwivedi };
83922eb8301SAvaneesh Kumar Dwivedi 
84022eb8301SAvaneesh Kumar Dwivedi static const char * const pwm_led24_groups[] = {
84122eb8301SAvaneesh Kumar Dwivedi 	"gpio114",
84222eb8301SAvaneesh Kumar Dwivedi };
84322eb8301SAvaneesh Kumar Dwivedi 
84422eb8301SAvaneesh Kumar Dwivedi static const char * const spkr_dac0_groups[] = {
84522eb8301SAvaneesh Kumar Dwivedi 	"gpio116",
84622eb8301SAvaneesh Kumar Dwivedi };
84722eb8301SAvaneesh Kumar Dwivedi 
84822eb8301SAvaneesh Kumar Dwivedi static const char * const blsp_i2c4_groups[] = {
84922eb8301SAvaneesh Kumar Dwivedi 	"gpio117", "gpio118",
85022eb8301SAvaneesh Kumar Dwivedi };
85122eb8301SAvaneesh Kumar Dwivedi 
85222eb8301SAvaneesh Kumar Dwivedi static const char * const pwm_led9_groups[] = {
85322eb8301SAvaneesh Kumar Dwivedi 	"gpio117",
85422eb8301SAvaneesh Kumar Dwivedi };
85522eb8301SAvaneesh Kumar Dwivedi 
85622eb8301SAvaneesh Kumar Dwivedi static const char * const pwm_led10_groups[] = {
85722eb8301SAvaneesh Kumar Dwivedi 	"gpio118",
85822eb8301SAvaneesh Kumar Dwivedi };
85922eb8301SAvaneesh Kumar Dwivedi 
86022eb8301SAvaneesh Kumar Dwivedi static const char * const spdifrx_opt_groups[] = {
86122eb8301SAvaneesh Kumar Dwivedi 	"gpio119",
86222eb8301SAvaneesh Kumar Dwivedi };
86322eb8301SAvaneesh Kumar Dwivedi 
86422eb8301SAvaneesh Kumar Dwivedi static const char * const pwm_led12_groups[] = {
86522eb8301SAvaneesh Kumar Dwivedi 	"gpio44",
86622eb8301SAvaneesh Kumar Dwivedi };
86722eb8301SAvaneesh Kumar Dwivedi 
86822eb8301SAvaneesh Kumar Dwivedi static const char * const pwm_led13_groups[] = {
86922eb8301SAvaneesh Kumar Dwivedi 	"gpio45",
87022eb8301SAvaneesh Kumar Dwivedi };
87122eb8301SAvaneesh Kumar Dwivedi 
87222eb8301SAvaneesh Kumar Dwivedi static const char * const pwm_led14_groups[] = {
87322eb8301SAvaneesh Kumar Dwivedi 	"gpio46",
87422eb8301SAvaneesh Kumar Dwivedi };
87522eb8301SAvaneesh Kumar Dwivedi 
87622eb8301SAvaneesh Kumar Dwivedi static const char * const wlan1_adc1_groups[] = {
87722eb8301SAvaneesh Kumar Dwivedi 	"gpio46",
87822eb8301SAvaneesh Kumar Dwivedi };
87922eb8301SAvaneesh Kumar Dwivedi 
88022eb8301SAvaneesh Kumar Dwivedi static const char * const rgb_data_b0_groups[] = {
88122eb8301SAvaneesh Kumar Dwivedi 	"gpio47",
88222eb8301SAvaneesh Kumar Dwivedi };
88322eb8301SAvaneesh Kumar Dwivedi 
88422eb8301SAvaneesh Kumar Dwivedi static const char * const pwm_led15_groups[] = {
88522eb8301SAvaneesh Kumar Dwivedi 	"gpio47",
88622eb8301SAvaneesh Kumar Dwivedi };
88722eb8301SAvaneesh Kumar Dwivedi 
88822eb8301SAvaneesh Kumar Dwivedi static const char * const blsp_spi_mosi_b1_groups[] = {
88922eb8301SAvaneesh Kumar Dwivedi 	"gpio47",
89022eb8301SAvaneesh Kumar Dwivedi };
89122eb8301SAvaneesh Kumar Dwivedi 
89222eb8301SAvaneesh Kumar Dwivedi static const char * const wlan1_adc0_groups[] = {
89322eb8301SAvaneesh Kumar Dwivedi 	"gpio47",
89422eb8301SAvaneesh Kumar Dwivedi };
89522eb8301SAvaneesh Kumar Dwivedi 
89622eb8301SAvaneesh Kumar Dwivedi static const char * const rgb_data_b1_groups[] = {
89722eb8301SAvaneesh Kumar Dwivedi 	"gpio48",
89822eb8301SAvaneesh Kumar Dwivedi };
89922eb8301SAvaneesh Kumar Dwivedi 
90022eb8301SAvaneesh Kumar Dwivedi static const char * const pwm_led16_groups[] = {
90122eb8301SAvaneesh Kumar Dwivedi 	"gpio48",
90222eb8301SAvaneesh Kumar Dwivedi };
90322eb8301SAvaneesh Kumar Dwivedi 
90422eb8301SAvaneesh Kumar Dwivedi static const char * const blsp_spi_miso_b1_groups[] = {
90522eb8301SAvaneesh Kumar Dwivedi 	"gpio48",
90622eb8301SAvaneesh Kumar Dwivedi };
90722eb8301SAvaneesh Kumar Dwivedi 
90822eb8301SAvaneesh Kumar Dwivedi static const char * const qdss_cti_trig_out_b0_groups[] = {
90922eb8301SAvaneesh Kumar Dwivedi 	"gpio48",
91022eb8301SAvaneesh Kumar Dwivedi };
91122eb8301SAvaneesh Kumar Dwivedi 
91222eb8301SAvaneesh Kumar Dwivedi static const char * const wlan2_adc1_groups[] = {
91322eb8301SAvaneesh Kumar Dwivedi 	"gpio48",
91422eb8301SAvaneesh Kumar Dwivedi };
91522eb8301SAvaneesh Kumar Dwivedi 
91622eb8301SAvaneesh Kumar Dwivedi static const char * const rgb_data_b2_groups[] = {
91722eb8301SAvaneesh Kumar Dwivedi 	"gpio49",
91822eb8301SAvaneesh Kumar Dwivedi };
91922eb8301SAvaneesh Kumar Dwivedi 
92022eb8301SAvaneesh Kumar Dwivedi static const char * const pwm_led17_groups[] = {
92122eb8301SAvaneesh Kumar Dwivedi 	"gpio49",
92222eb8301SAvaneesh Kumar Dwivedi };
92322eb8301SAvaneesh Kumar Dwivedi 
92422eb8301SAvaneesh Kumar Dwivedi static const char * const blsp_spi_cs_n_b1_groups[] = {
92522eb8301SAvaneesh Kumar Dwivedi 	"gpio49",
92622eb8301SAvaneesh Kumar Dwivedi };
92722eb8301SAvaneesh Kumar Dwivedi 
92822eb8301SAvaneesh Kumar Dwivedi static const char * const wlan2_adc0_groups[] = {
92922eb8301SAvaneesh Kumar Dwivedi 	"gpio49",
93022eb8301SAvaneesh Kumar Dwivedi };
93122eb8301SAvaneesh Kumar Dwivedi 
93222eb8301SAvaneesh Kumar Dwivedi static const char * const rgb_data_b3_groups[] = {
93322eb8301SAvaneesh Kumar Dwivedi 	"gpio50",
93422eb8301SAvaneesh Kumar Dwivedi };
93522eb8301SAvaneesh Kumar Dwivedi 
93622eb8301SAvaneesh Kumar Dwivedi static const char * const pwm_led18_groups[] = {
93722eb8301SAvaneesh Kumar Dwivedi 	"gpio50",
93822eb8301SAvaneesh Kumar Dwivedi };
93922eb8301SAvaneesh Kumar Dwivedi 
94022eb8301SAvaneesh Kumar Dwivedi static const char * const blsp_spi_clk_b1_groups[] = {
94122eb8301SAvaneesh Kumar Dwivedi 	"gpio50",
94222eb8301SAvaneesh Kumar Dwivedi };
94322eb8301SAvaneesh Kumar Dwivedi 
94422eb8301SAvaneesh Kumar Dwivedi static const char * const rgb_data_b4_groups[] = {
94522eb8301SAvaneesh Kumar Dwivedi 	"gpio51",
94622eb8301SAvaneesh Kumar Dwivedi };
94722eb8301SAvaneesh Kumar Dwivedi 
94822eb8301SAvaneesh Kumar Dwivedi static const char * const pwm_led19_groups[] = {
94922eb8301SAvaneesh Kumar Dwivedi 	"gpio51",
95022eb8301SAvaneesh Kumar Dwivedi };
95122eb8301SAvaneesh Kumar Dwivedi 
95222eb8301SAvaneesh Kumar Dwivedi static const char * const ext_mclk1_b_groups[] = {
95322eb8301SAvaneesh Kumar Dwivedi 	"gpio51",
95422eb8301SAvaneesh Kumar Dwivedi };
95522eb8301SAvaneesh Kumar Dwivedi 
95622eb8301SAvaneesh Kumar Dwivedi static const char * const qdss_traceclk_a_groups[] = {
95722eb8301SAvaneesh Kumar Dwivedi 	"gpio51",
95822eb8301SAvaneesh Kumar Dwivedi };
95922eb8301SAvaneesh Kumar Dwivedi 
96022eb8301SAvaneesh Kumar Dwivedi static const char * const rgb_data_b5_groups[] = {
96122eb8301SAvaneesh Kumar Dwivedi 	"gpio52",
96222eb8301SAvaneesh Kumar Dwivedi };
96322eb8301SAvaneesh Kumar Dwivedi 
96422eb8301SAvaneesh Kumar Dwivedi static const char * const pwm_led20_groups[] = {
96522eb8301SAvaneesh Kumar Dwivedi 	"gpio52",
96622eb8301SAvaneesh Kumar Dwivedi };
96722eb8301SAvaneesh Kumar Dwivedi 
96822eb8301SAvaneesh Kumar Dwivedi static const char * const atest_char3_groups[] = {
96922eb8301SAvaneesh Kumar Dwivedi 	"gpio52",
97022eb8301SAvaneesh Kumar Dwivedi };
97122eb8301SAvaneesh Kumar Dwivedi 
97222eb8301SAvaneesh Kumar Dwivedi static const char * const i2s_3_sck_b_groups[] = {
97322eb8301SAvaneesh Kumar Dwivedi 	"gpio52",
97422eb8301SAvaneesh Kumar Dwivedi };
97522eb8301SAvaneesh Kumar Dwivedi 
97622eb8301SAvaneesh Kumar Dwivedi static const char * const ldo_update_groups[] = {
97722eb8301SAvaneesh Kumar Dwivedi 	"gpio52",
97822eb8301SAvaneesh Kumar Dwivedi };
97922eb8301SAvaneesh Kumar Dwivedi 
98022eb8301SAvaneesh Kumar Dwivedi static const char * const bimc_dte0_groups[] = {
98122eb8301SAvaneesh Kumar Dwivedi 	"gpio52", "gpio54",
98222eb8301SAvaneesh Kumar Dwivedi };
98322eb8301SAvaneesh Kumar Dwivedi 
98422eb8301SAvaneesh Kumar Dwivedi static const char * const rgb_hsync_groups[] = {
98522eb8301SAvaneesh Kumar Dwivedi 	"gpio53",
98622eb8301SAvaneesh Kumar Dwivedi };
98722eb8301SAvaneesh Kumar Dwivedi 
98822eb8301SAvaneesh Kumar Dwivedi static const char * const pwm_led21_groups[] = {
98922eb8301SAvaneesh Kumar Dwivedi 	"gpio53",
99022eb8301SAvaneesh Kumar Dwivedi };
99122eb8301SAvaneesh Kumar Dwivedi 
99222eb8301SAvaneesh Kumar Dwivedi static const char * const i2s_3_ws_b_groups[] = {
99322eb8301SAvaneesh Kumar Dwivedi 	"gpio53",
99422eb8301SAvaneesh Kumar Dwivedi };
99522eb8301SAvaneesh Kumar Dwivedi 
99622eb8301SAvaneesh Kumar Dwivedi static const char * const dbg_out_groups[] = {
99722eb8301SAvaneesh Kumar Dwivedi 	"gpio53",
99822eb8301SAvaneesh Kumar Dwivedi };
99922eb8301SAvaneesh Kumar Dwivedi 
100022eb8301SAvaneesh Kumar Dwivedi static const char * const rgb_vsync_groups[] = {
100122eb8301SAvaneesh Kumar Dwivedi 	"gpio54",
100222eb8301SAvaneesh Kumar Dwivedi };
100322eb8301SAvaneesh Kumar Dwivedi 
100422eb8301SAvaneesh Kumar Dwivedi static const char * const i2s_3_data0_b_groups[] = {
100522eb8301SAvaneesh Kumar Dwivedi 	"gpio54",
100622eb8301SAvaneesh Kumar Dwivedi };
100722eb8301SAvaneesh Kumar Dwivedi 
100822eb8301SAvaneesh Kumar Dwivedi static const char * const ldo_en_groups[] = {
100922eb8301SAvaneesh Kumar Dwivedi 	"gpio54",
101022eb8301SAvaneesh Kumar Dwivedi };
101122eb8301SAvaneesh Kumar Dwivedi 
101222eb8301SAvaneesh Kumar Dwivedi static const char * const hdmi_dtest_groups[] = {
101322eb8301SAvaneesh Kumar Dwivedi 	"gpio54",
101422eb8301SAvaneesh Kumar Dwivedi };
101522eb8301SAvaneesh Kumar Dwivedi 
101622eb8301SAvaneesh Kumar Dwivedi static const char * const rgb_de_groups[] = {
101722eb8301SAvaneesh Kumar Dwivedi 	"gpio55",
101822eb8301SAvaneesh Kumar Dwivedi };
101922eb8301SAvaneesh Kumar Dwivedi 
102022eb8301SAvaneesh Kumar Dwivedi static const char * const i2s_3_data1_b_groups[] = {
102122eb8301SAvaneesh Kumar Dwivedi 	"gpio55",
102222eb8301SAvaneesh Kumar Dwivedi };
102322eb8301SAvaneesh Kumar Dwivedi 
102422eb8301SAvaneesh Kumar Dwivedi static const char * const hdmi_lbk9_groups[] = {
102522eb8301SAvaneesh Kumar Dwivedi 	"gpio55",
102622eb8301SAvaneesh Kumar Dwivedi };
102722eb8301SAvaneesh Kumar Dwivedi 
102822eb8301SAvaneesh Kumar Dwivedi static const char * const rgb_clk_groups[] = {
102922eb8301SAvaneesh Kumar Dwivedi 	"gpio56",
103022eb8301SAvaneesh Kumar Dwivedi };
103122eb8301SAvaneesh Kumar Dwivedi 
103222eb8301SAvaneesh Kumar Dwivedi static const char * const atest_char1_groups[] = {
103322eb8301SAvaneesh Kumar Dwivedi 	"gpio56",
103422eb8301SAvaneesh Kumar Dwivedi };
103522eb8301SAvaneesh Kumar Dwivedi 
103622eb8301SAvaneesh Kumar Dwivedi static const char * const i2s_3_data2_b_groups[] = {
103722eb8301SAvaneesh Kumar Dwivedi 	"gpio56",
103822eb8301SAvaneesh Kumar Dwivedi };
103922eb8301SAvaneesh Kumar Dwivedi 
104022eb8301SAvaneesh Kumar Dwivedi static const char * const ebi_cdc_groups[] = {
104122eb8301SAvaneesh Kumar Dwivedi 	"gpio56", "gpio58", "gpio106", "gpio107", "gpio108", "gpio111",
104222eb8301SAvaneesh Kumar Dwivedi };
104322eb8301SAvaneesh Kumar Dwivedi 
104422eb8301SAvaneesh Kumar Dwivedi static const char * const hdmi_lbk8_groups[] = {
104522eb8301SAvaneesh Kumar Dwivedi 	"gpio56",
104622eb8301SAvaneesh Kumar Dwivedi };
104722eb8301SAvaneesh Kumar Dwivedi 
104822eb8301SAvaneesh Kumar Dwivedi static const char * const rgb_mdp_groups[] = {
104922eb8301SAvaneesh Kumar Dwivedi 	"gpio57",
105022eb8301SAvaneesh Kumar Dwivedi };
105122eb8301SAvaneesh Kumar Dwivedi 
105222eb8301SAvaneesh Kumar Dwivedi static const char * const atest_char0_groups[] = {
105322eb8301SAvaneesh Kumar Dwivedi 	"gpio57",
105422eb8301SAvaneesh Kumar Dwivedi };
105522eb8301SAvaneesh Kumar Dwivedi 
105622eb8301SAvaneesh Kumar Dwivedi static const char * const i2s_3_data3_b_groups[] = {
105722eb8301SAvaneesh Kumar Dwivedi 	"gpio57",
105822eb8301SAvaneesh Kumar Dwivedi };
105922eb8301SAvaneesh Kumar Dwivedi 
106022eb8301SAvaneesh Kumar Dwivedi static const char * const hdmi_lbk7_groups[] = {
106122eb8301SAvaneesh Kumar Dwivedi 	"gpio57",
106222eb8301SAvaneesh Kumar Dwivedi };
106322eb8301SAvaneesh Kumar Dwivedi 
106422eb8301SAvaneesh Kumar Dwivedi static const char * const rgb_data_b6_groups[] = {
106522eb8301SAvaneesh Kumar Dwivedi 	"gpio58",
106622eb8301SAvaneesh Kumar Dwivedi };
106722eb8301SAvaneesh Kumar Dwivedi 
106822eb8301SAvaneesh Kumar Dwivedi static const char * const rgb_data_b7_groups[] = {
106922eb8301SAvaneesh Kumar Dwivedi 	"gpio59",
107022eb8301SAvaneesh Kumar Dwivedi };
107122eb8301SAvaneesh Kumar Dwivedi 
107222eb8301SAvaneesh Kumar Dwivedi static const char * const hdmi_lbk6_groups[] = {
107322eb8301SAvaneesh Kumar Dwivedi 	"gpio59",
107422eb8301SAvaneesh Kumar Dwivedi };
107522eb8301SAvaneesh Kumar Dwivedi 
107622eb8301SAvaneesh Kumar Dwivedi static const char * const rgmii_int_groups[] = {
107722eb8301SAvaneesh Kumar Dwivedi 	"gpio61",
107822eb8301SAvaneesh Kumar Dwivedi };
107922eb8301SAvaneesh Kumar Dwivedi 
108022eb8301SAvaneesh Kumar Dwivedi static const char * const cri_trng1_groups[] = {
108122eb8301SAvaneesh Kumar Dwivedi 	"gpio61",
108222eb8301SAvaneesh Kumar Dwivedi };
108322eb8301SAvaneesh Kumar Dwivedi 
108422eb8301SAvaneesh Kumar Dwivedi static const char * const rgmii_wol_groups[] = {
108522eb8301SAvaneesh Kumar Dwivedi 	"gpio62",
108622eb8301SAvaneesh Kumar Dwivedi };
108722eb8301SAvaneesh Kumar Dwivedi 
108822eb8301SAvaneesh Kumar Dwivedi static const char * const cri_trng0_groups[] = {
108922eb8301SAvaneesh Kumar Dwivedi 	"gpio62",
109022eb8301SAvaneesh Kumar Dwivedi };
109122eb8301SAvaneesh Kumar Dwivedi 
109222eb8301SAvaneesh Kumar Dwivedi static const char * const gcc_tlmm_groups[] = {
109322eb8301SAvaneesh Kumar Dwivedi 	"gpio62",
109422eb8301SAvaneesh Kumar Dwivedi };
109522eb8301SAvaneesh Kumar Dwivedi 
109622eb8301SAvaneesh Kumar Dwivedi static const char * const rgmii_ck_groups[] = {
109722eb8301SAvaneesh Kumar Dwivedi 	"gpio63", "gpio69",
109822eb8301SAvaneesh Kumar Dwivedi };
109922eb8301SAvaneesh Kumar Dwivedi 
110022eb8301SAvaneesh Kumar Dwivedi static const char * const rgmii_tx_groups[] = {
110122eb8301SAvaneesh Kumar Dwivedi 	"gpio64", "gpio65", "gpio66", "gpio67",
110222eb8301SAvaneesh Kumar Dwivedi };
110322eb8301SAvaneesh Kumar Dwivedi 
110422eb8301SAvaneesh Kumar Dwivedi static const char * const hdmi_lbk5_groups[] = {
110522eb8301SAvaneesh Kumar Dwivedi 	"gpio64",
110622eb8301SAvaneesh Kumar Dwivedi };
110722eb8301SAvaneesh Kumar Dwivedi 
110822eb8301SAvaneesh Kumar Dwivedi static const char * const hdmi_pixel_groups[] = {
110922eb8301SAvaneesh Kumar Dwivedi 	"gpio65",
111022eb8301SAvaneesh Kumar Dwivedi };
111122eb8301SAvaneesh Kumar Dwivedi 
111222eb8301SAvaneesh Kumar Dwivedi static const char * const hdmi_rcv_groups[] = {
111322eb8301SAvaneesh Kumar Dwivedi 	"gpio66",
111422eb8301SAvaneesh Kumar Dwivedi };
111522eb8301SAvaneesh Kumar Dwivedi 
111622eb8301SAvaneesh Kumar Dwivedi static const char * const hdmi_lbk4_groups[] = {
111722eb8301SAvaneesh Kumar Dwivedi 	"gpio67",
111822eb8301SAvaneesh Kumar Dwivedi };
111922eb8301SAvaneesh Kumar Dwivedi 
112022eb8301SAvaneesh Kumar Dwivedi static const char * const rgmii_ctl_groups[] = {
112122eb8301SAvaneesh Kumar Dwivedi 	"gpio68", "gpio74",
112222eb8301SAvaneesh Kumar Dwivedi };
112322eb8301SAvaneesh Kumar Dwivedi 
112422eb8301SAvaneesh Kumar Dwivedi static const char * const ext_lpass_groups[] = {
112522eb8301SAvaneesh Kumar Dwivedi 	"gpio69",
112622eb8301SAvaneesh Kumar Dwivedi };
112722eb8301SAvaneesh Kumar Dwivedi 
112822eb8301SAvaneesh Kumar Dwivedi static const char * const rgmii_rx_groups[] = {
112922eb8301SAvaneesh Kumar Dwivedi 	"gpio70", "gpio71", "gpio72", "gpio73",
113022eb8301SAvaneesh Kumar Dwivedi };
113122eb8301SAvaneesh Kumar Dwivedi 
113222eb8301SAvaneesh Kumar Dwivedi static const char * const cri_trng_groups[] = {
113322eb8301SAvaneesh Kumar Dwivedi 	"gpio70",
113422eb8301SAvaneesh Kumar Dwivedi };
113522eb8301SAvaneesh Kumar Dwivedi 
113622eb8301SAvaneesh Kumar Dwivedi static const char * const hdmi_lbk3_groups[] = {
113722eb8301SAvaneesh Kumar Dwivedi 	"gpio71",
113822eb8301SAvaneesh Kumar Dwivedi };
113922eb8301SAvaneesh Kumar Dwivedi 
114022eb8301SAvaneesh Kumar Dwivedi static const char * const hdmi_lbk2_groups[] = {
114122eb8301SAvaneesh Kumar Dwivedi 	"gpio72",
114222eb8301SAvaneesh Kumar Dwivedi };
114322eb8301SAvaneesh Kumar Dwivedi 
114422eb8301SAvaneesh Kumar Dwivedi static const char * const qdss_cti_trig_out_b1_groups[] = {
114522eb8301SAvaneesh Kumar Dwivedi 	"gpio73",
114622eb8301SAvaneesh Kumar Dwivedi };
114722eb8301SAvaneesh Kumar Dwivedi 
114822eb8301SAvaneesh Kumar Dwivedi static const char * const rgmii_mdio_groups[] = {
114922eb8301SAvaneesh Kumar Dwivedi 	"gpio75",
115022eb8301SAvaneesh Kumar Dwivedi };
115122eb8301SAvaneesh Kumar Dwivedi 
115222eb8301SAvaneesh Kumar Dwivedi static const char * const hdmi_lbk1_groups[] = {
115322eb8301SAvaneesh Kumar Dwivedi 	"gpio75",
115422eb8301SAvaneesh Kumar Dwivedi };
115522eb8301SAvaneesh Kumar Dwivedi 
115622eb8301SAvaneesh Kumar Dwivedi static const char * const rgmii_mdc_groups[] = {
115722eb8301SAvaneesh Kumar Dwivedi 	"gpio76",
115822eb8301SAvaneesh Kumar Dwivedi };
115922eb8301SAvaneesh Kumar Dwivedi 
116022eb8301SAvaneesh Kumar Dwivedi static const char * const hdmi_lbk0_groups[] = {
116122eb8301SAvaneesh Kumar Dwivedi 	"gpio76",
116222eb8301SAvaneesh Kumar Dwivedi };
116322eb8301SAvaneesh Kumar Dwivedi 
116422eb8301SAvaneesh Kumar Dwivedi static const char * const ir_in_groups[] = {
116522eb8301SAvaneesh Kumar Dwivedi 	"gpio77",
116622eb8301SAvaneesh Kumar Dwivedi };
116722eb8301SAvaneesh Kumar Dwivedi 
116822eb8301SAvaneesh Kumar Dwivedi static const char * const wsa_en_groups[] = {
116922eb8301SAvaneesh Kumar Dwivedi 	"gpio77",
117022eb8301SAvaneesh Kumar Dwivedi };
117122eb8301SAvaneesh Kumar Dwivedi 
117222eb8301SAvaneesh Kumar Dwivedi static const char * const rgb_data6_groups[] = {
117322eb8301SAvaneesh Kumar Dwivedi 	"gpio78", "gpio80",
117422eb8301SAvaneesh Kumar Dwivedi };
117522eb8301SAvaneesh Kumar Dwivedi 
117622eb8301SAvaneesh Kumar Dwivedi static const char * const rgb_data7_groups[] = {
117722eb8301SAvaneesh Kumar Dwivedi 	"gpio79", "gpio81",
117822eb8301SAvaneesh Kumar Dwivedi };
117922eb8301SAvaneesh Kumar Dwivedi 
118022eb8301SAvaneesh Kumar Dwivedi static const char * const atest_char2_groups[] = {
118122eb8301SAvaneesh Kumar Dwivedi 	"gpio80",
118222eb8301SAvaneesh Kumar Dwivedi };
118322eb8301SAvaneesh Kumar Dwivedi 
118422eb8301SAvaneesh Kumar Dwivedi static const char * const ebi_ch0_groups[] = {
118522eb8301SAvaneesh Kumar Dwivedi 	"gpio81",
118622eb8301SAvaneesh Kumar Dwivedi };
118722eb8301SAvaneesh Kumar Dwivedi 
118822eb8301SAvaneesh Kumar Dwivedi static const char * const blsp_uart3_groups[] = {
118922eb8301SAvaneesh Kumar Dwivedi 	"gpio82", "gpio83", "gpio84", "gpio85",
119022eb8301SAvaneesh Kumar Dwivedi };
119122eb8301SAvaneesh Kumar Dwivedi 
119222eb8301SAvaneesh Kumar Dwivedi static const char * const blsp_spi3_groups[] = {
119322eb8301SAvaneesh Kumar Dwivedi 	"gpio82", "gpio83", "gpio84", "gpio85",
119422eb8301SAvaneesh Kumar Dwivedi };
119522eb8301SAvaneesh Kumar Dwivedi 
119622eb8301SAvaneesh Kumar Dwivedi static const char * const sd_write_groups[] = {
119722eb8301SAvaneesh Kumar Dwivedi 	"gpio82",
119822eb8301SAvaneesh Kumar Dwivedi };
119922eb8301SAvaneesh Kumar Dwivedi 
120022eb8301SAvaneesh Kumar Dwivedi static const char * const blsp_i2c3_groups[] = {
120122eb8301SAvaneesh Kumar Dwivedi 	"gpio84", "gpio85",
120222eb8301SAvaneesh Kumar Dwivedi };
120322eb8301SAvaneesh Kumar Dwivedi 
120422eb8301SAvaneesh Kumar Dwivedi static const char * const gcc_gp1_clk_a_groups[] = {
120522eb8301SAvaneesh Kumar Dwivedi 	"gpio84",
120622eb8301SAvaneesh Kumar Dwivedi };
120722eb8301SAvaneesh Kumar Dwivedi 
120822eb8301SAvaneesh Kumar Dwivedi static const char * const qdss_cti_trig_in_b1_groups[] = {
120922eb8301SAvaneesh Kumar Dwivedi 	"gpio84",
121022eb8301SAvaneesh Kumar Dwivedi };
121122eb8301SAvaneesh Kumar Dwivedi 
121222eb8301SAvaneesh Kumar Dwivedi static const char * const gcc_gp2_clk_a_groups[] = {
121322eb8301SAvaneesh Kumar Dwivedi 	"gpio85",
121422eb8301SAvaneesh Kumar Dwivedi };
121522eb8301SAvaneesh Kumar Dwivedi 
121622eb8301SAvaneesh Kumar Dwivedi static const char * const ext_mclk0_groups[] = {
121722eb8301SAvaneesh Kumar Dwivedi 	"gpio86",
121822eb8301SAvaneesh Kumar Dwivedi };
121922eb8301SAvaneesh Kumar Dwivedi 
122022eb8301SAvaneesh Kumar Dwivedi static const char * const mclk_in1_groups[] = {
122122eb8301SAvaneesh Kumar Dwivedi 	"gpio86",
122222eb8301SAvaneesh Kumar Dwivedi };
122322eb8301SAvaneesh Kumar Dwivedi 
122422eb8301SAvaneesh Kumar Dwivedi static const char * const i2s_1_groups[] = {
122522eb8301SAvaneesh Kumar Dwivedi 	"gpio87", "gpio88", "gpio88", "gpio89", "gpio89", "gpio90", "gpio90",
122622eb8301SAvaneesh Kumar Dwivedi 	"gpio91", "gpio91", "gpio92", "gpio92", "gpio93", "gpio93", "gpio94",
122722eb8301SAvaneesh Kumar Dwivedi 	"gpio94", "gpio95", "gpio95", "gpio96",
122822eb8301SAvaneesh Kumar Dwivedi };
122922eb8301SAvaneesh Kumar Dwivedi 
123022eb8301SAvaneesh Kumar Dwivedi static const char * const dsd_clk_a_groups[] = {
123122eb8301SAvaneesh Kumar Dwivedi 	"gpio87",
123222eb8301SAvaneesh Kumar Dwivedi };
123322eb8301SAvaneesh Kumar Dwivedi 
123422eb8301SAvaneesh Kumar Dwivedi static const char * const qdss_cti_trig_in_a1_groups[] = {
123522eb8301SAvaneesh Kumar Dwivedi 	"gpio92",
123622eb8301SAvaneesh Kumar Dwivedi };
123722eb8301SAvaneesh Kumar Dwivedi 
123822eb8301SAvaneesh Kumar Dwivedi static const char * const rgmi_dll1_groups[] = {
123922eb8301SAvaneesh Kumar Dwivedi 	"gpio92",
124022eb8301SAvaneesh Kumar Dwivedi };
124122eb8301SAvaneesh Kumar Dwivedi 
124222eb8301SAvaneesh Kumar Dwivedi static const char * const pwm_led22_groups[] = {
124322eb8301SAvaneesh Kumar Dwivedi 	"gpio93",
124422eb8301SAvaneesh Kumar Dwivedi };
124522eb8301SAvaneesh Kumar Dwivedi 
124622eb8301SAvaneesh Kumar Dwivedi static const char * const pwm_led23_groups[] = {
124722eb8301SAvaneesh Kumar Dwivedi 	"gpio94",
124822eb8301SAvaneesh Kumar Dwivedi };
124922eb8301SAvaneesh Kumar Dwivedi 
125022eb8301SAvaneesh Kumar Dwivedi static const char * const qdss_cti_trig_out_a0_groups[] = {
125122eb8301SAvaneesh Kumar Dwivedi 	"gpio94",
125222eb8301SAvaneesh Kumar Dwivedi };
125322eb8301SAvaneesh Kumar Dwivedi 
125422eb8301SAvaneesh Kumar Dwivedi static const char * const rgmi_dll2_groups[] = {
125522eb8301SAvaneesh Kumar Dwivedi 	"gpio94",
125622eb8301SAvaneesh Kumar Dwivedi };
125722eb8301SAvaneesh Kumar Dwivedi 
125822eb8301SAvaneesh Kumar Dwivedi static const char * const pwm_led1_groups[] = {
125922eb8301SAvaneesh Kumar Dwivedi 	"gpio95",
126022eb8301SAvaneesh Kumar Dwivedi };
126122eb8301SAvaneesh Kumar Dwivedi 
126222eb8301SAvaneesh Kumar Dwivedi static const char * const qdss_cti_trig_out_a1_groups[] = {
126322eb8301SAvaneesh Kumar Dwivedi 	"gpio95",
126422eb8301SAvaneesh Kumar Dwivedi };
126522eb8301SAvaneesh Kumar Dwivedi 
126622eb8301SAvaneesh Kumar Dwivedi static const char * const pwm_led2_groups[] = {
126722eb8301SAvaneesh Kumar Dwivedi 	"gpio96",
126822eb8301SAvaneesh Kumar Dwivedi };
126922eb8301SAvaneesh Kumar Dwivedi 
127022eb8301SAvaneesh Kumar Dwivedi static const char * const i2s_2_groups[] = {
127122eb8301SAvaneesh Kumar Dwivedi 	"gpio97", "gpio98", "gpio99", "gpio100", "gpio101", "gpio102",
127222eb8301SAvaneesh Kumar Dwivedi };
127322eb8301SAvaneesh Kumar Dwivedi 
127422eb8301SAvaneesh Kumar Dwivedi static const char * const pll_bist_groups[] = {
127522eb8301SAvaneesh Kumar Dwivedi 	"gpio100",
127622eb8301SAvaneesh Kumar Dwivedi };
127722eb8301SAvaneesh Kumar Dwivedi 
127822eb8301SAvaneesh Kumar Dwivedi static const char * const ext_mclk1_a_groups[] = {
127922eb8301SAvaneesh Kumar Dwivedi 	"gpio103",
128022eb8301SAvaneesh Kumar Dwivedi };
128122eb8301SAvaneesh Kumar Dwivedi 
128222eb8301SAvaneesh Kumar Dwivedi static const char * const mclk_in2_groups[] = {
128322eb8301SAvaneesh Kumar Dwivedi 	"gpio103",
128422eb8301SAvaneesh Kumar Dwivedi };
128522eb8301SAvaneesh Kumar Dwivedi 
128622eb8301SAvaneesh Kumar Dwivedi static const char * const bimc_dte1_groups[] = {
128722eb8301SAvaneesh Kumar Dwivedi 	"gpio103", "gpio109",
128822eb8301SAvaneesh Kumar Dwivedi };
128922eb8301SAvaneesh Kumar Dwivedi 
129022eb8301SAvaneesh Kumar Dwivedi static const char * const i2s_3_sck_a_groups[] = {
129122eb8301SAvaneesh Kumar Dwivedi 	"gpio104",
129222eb8301SAvaneesh Kumar Dwivedi };
129322eb8301SAvaneesh Kumar Dwivedi 
129422eb8301SAvaneesh Kumar Dwivedi static const char * const i2s_3_ws_a_groups[] = {
129522eb8301SAvaneesh Kumar Dwivedi 	"gpio105",
129622eb8301SAvaneesh Kumar Dwivedi };
129722eb8301SAvaneesh Kumar Dwivedi 
1298c7a291dbSRohit Agarwal static const struct pinfunction qcs404_functions[] = {
1299c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(gpio),
1300c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(hdmi_tx),
1301c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(hdmi_ddc),
1302c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(blsp_uart_tx_a2),
1303c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(blsp_spi2),
1304c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(m_voc),
1305c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(qdss_cti_trig_in_a0),
1306c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(blsp_uart_rx_a2),
1307c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(qdss_tracectl_a),
1308c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(blsp_uart2),
1309c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(aud_cdc),
1310c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(blsp_i2c_sda_a2),
1311c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(qdss_tracedata_a),
1312c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(blsp_i2c_scl_a2),
1313c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(qdss_tracectl_b),
1314c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(qdss_cti_trig_in_b0),
1315c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(blsp_uart1),
1316c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(blsp_spi_mosi_a1),
1317c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(blsp_spi_miso_a1),
1318c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(qdss_tracedata_b),
1319c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(blsp_i2c1),
1320c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(blsp_spi_cs_n_a1),
1321c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(gcc_plltest),
1322c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(blsp_spi_clk_a1),
1323c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(rgb_data0),
1324c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(blsp_uart5),
1325c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(blsp_spi5),
1326c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(adsp_ext),
1327c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(rgb_data1),
1328c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(prng_rosc),
1329c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(rgb_data2),
1330c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(blsp_i2c5),
1331c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(gcc_gp1_clk_b),
1332c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(rgb_data3),
1333c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(gcc_gp2_clk_b),
1334c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(blsp_spi0),
1335c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(blsp_uart0),
1336c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(gcc_gp3_clk_b),
1337c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(blsp_i2c0),
1338c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(qdss_traceclk_b),
1339c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(pcie_clk),
1340c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(nfc_irq),
1341c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(blsp_spi4),
1342c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(nfc_dwl),
1343c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(audio_ts),
1344c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(rgb_data4),
1345c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(spi_lcd),
1346c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(blsp_uart_tx_b2),
1347c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(gcc_gp3_clk_a),
1348c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(rgb_data5),
1349c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(blsp_uart_rx_b2),
1350c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(blsp_i2c_sda_b2),
1351c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(blsp_i2c_scl_b2),
1352c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(pwm_led11),
1353c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(i2s_3_data0_a),
1354c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(ebi2_lcd),
1355c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(i2s_3_data1_a),
1356c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(i2s_3_data2_a),
1357c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(atest_char),
1358c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(pwm_led3),
1359c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(i2s_3_data3_a),
1360c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(pwm_led4),
1361c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(i2s_4),
1362c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(ebi2_a),
1363c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(dsd_clk_b),
1364c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(pwm_led5),
1365c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(pwm_led6),
1366c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(pwm_led7),
1367c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(pwm_led8),
1368c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(pwm_led24),
1369c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(spkr_dac0),
1370c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(blsp_i2c4),
1371c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(pwm_led9),
1372c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(pwm_led10),
1373c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(spdifrx_opt),
1374c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(pwm_led12),
1375c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(pwm_led13),
1376c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(pwm_led14),
1377c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(wlan1_adc1),
1378c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(rgb_data_b0),
1379c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(pwm_led15),
1380c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(blsp_spi_mosi_b1),
1381c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(wlan1_adc0),
1382c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(rgb_data_b1),
1383c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(pwm_led16),
1384c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(blsp_spi_miso_b1),
1385c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(qdss_cti_trig_out_b0),
1386c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(wlan2_adc1),
1387c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(rgb_data_b2),
1388c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(pwm_led17),
1389c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(blsp_spi_cs_n_b1),
1390c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(wlan2_adc0),
1391c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(rgb_data_b3),
1392c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(pwm_led18),
1393c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(blsp_spi_clk_b1),
1394c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(rgb_data_b4),
1395c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(pwm_led19),
1396c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(ext_mclk1_b),
1397c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(qdss_traceclk_a),
1398c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(rgb_data_b5),
1399c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(pwm_led20),
1400c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(atest_char3),
1401c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(i2s_3_sck_b),
1402c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(ldo_update),
1403c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(bimc_dte0),
1404c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(rgb_hsync),
1405c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(pwm_led21),
1406c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(i2s_3_ws_b),
1407c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(dbg_out),
1408c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(rgb_vsync),
1409c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(i2s_3_data0_b),
1410c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(ldo_en),
1411c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(hdmi_dtest),
1412c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(rgb_de),
1413c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(i2s_3_data1_b),
1414c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(hdmi_lbk9),
1415c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(rgb_clk),
1416c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(atest_char1),
1417c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(i2s_3_data2_b),
1418c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(ebi_cdc),
1419c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(hdmi_lbk8),
1420c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(rgb_mdp),
1421c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(atest_char0),
1422c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(i2s_3_data3_b),
1423c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(hdmi_lbk7),
1424c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(rgb_data_b6),
1425c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(rgb_data_b7),
1426c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(hdmi_lbk6),
1427c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(rgmii_int),
1428c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(cri_trng1),
1429c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(rgmii_wol),
1430c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(cri_trng0),
1431c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(gcc_tlmm),
1432c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(rgmii_ck),
1433c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(rgmii_tx),
1434c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(hdmi_lbk5),
1435c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(hdmi_pixel),
1436c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(hdmi_rcv),
1437c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(hdmi_lbk4),
1438c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(rgmii_ctl),
1439c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(ext_lpass),
1440c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(rgmii_rx),
1441c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(cri_trng),
1442c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(hdmi_lbk3),
1443c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(hdmi_lbk2),
1444c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(qdss_cti_trig_out_b1),
1445c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(rgmii_mdio),
1446c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(hdmi_lbk1),
1447c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(rgmii_mdc),
1448c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(hdmi_lbk0),
1449c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(ir_in),
1450c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(wsa_en),
1451c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(rgb_data6),
1452c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(rgb_data7),
1453c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(atest_char2),
1454c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(ebi_ch0),
1455c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(blsp_uart3),
1456c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(blsp_spi3),
1457c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(sd_write),
1458c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(blsp_i2c3),
1459c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(gcc_gp1_clk_a),
1460c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(qdss_cti_trig_in_b1),
1461c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(gcc_gp2_clk_a),
1462c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(ext_mclk0),
1463c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(mclk_in1),
1464c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(i2s_1),
1465c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(dsd_clk_a),
1466c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(qdss_cti_trig_in_a1),
1467c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(rgmi_dll1),
1468c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(pwm_led22),
1469c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(pwm_led23),
1470c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(qdss_cti_trig_out_a0),
1471c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(rgmi_dll2),
1472c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(pwm_led1),
1473c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(qdss_cti_trig_out_a1),
1474c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(pwm_led2),
1475c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(i2s_2),
1476c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(pll_bist),
1477c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(ext_mclk1_a),
1478c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(mclk_in2),
1479c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(bimc_dte1),
1480c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(i2s_3_sck_a),
1481c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(i2s_3_ws_a),
148222eb8301SAvaneesh Kumar Dwivedi };
148322eb8301SAvaneesh Kumar Dwivedi 
148422eb8301SAvaneesh Kumar Dwivedi /* Every pin is maintained as a single group, and missing or non-existing pin
148522eb8301SAvaneesh Kumar Dwivedi  * would be maintained as dummy group to synchronize pin group index with
148622eb8301SAvaneesh Kumar Dwivedi  * pin descriptor registered with pinctrl core.
148722eb8301SAvaneesh Kumar Dwivedi  * Clients would not be able to request these dummy pin groups.
148822eb8301SAvaneesh Kumar Dwivedi  */
148922eb8301SAvaneesh Kumar Dwivedi static const struct msm_pingroup qcs404_groups[] = {
149022eb8301SAvaneesh Kumar Dwivedi 	[0] = PINGROUP(0, SOUTH, _, _, _, _, _, _, _, _, _),
149122eb8301SAvaneesh Kumar Dwivedi 	[1] = PINGROUP(1, SOUTH, _, _, _, _, _, _, _, _, _),
149222eb8301SAvaneesh Kumar Dwivedi 	[2] = PINGROUP(2, SOUTH, _, _, _, _, _, _, _, _, _),
149322eb8301SAvaneesh Kumar Dwivedi 	[3] = PINGROUP(3, SOUTH, _, _, _, _, _, _, _, _, _),
149422eb8301SAvaneesh Kumar Dwivedi 	[4] = PINGROUP(4, SOUTH, _, _, _, _, _, _, _, _, _),
149522eb8301SAvaneesh Kumar Dwivedi 	[5] = PINGROUP(5, SOUTH, _, _, _, _, _, _, _, _, _),
149622eb8301SAvaneesh Kumar Dwivedi 	[6] = PINGROUP(6, SOUTH, _, _, _, _, _, _, _, _, _),
149722eb8301SAvaneesh Kumar Dwivedi 	[7] = PINGROUP(7, SOUTH, _, _, _, _, _, _, _, _, _),
149822eb8301SAvaneesh Kumar Dwivedi 	[8] = PINGROUP(8, SOUTH, _, _, _, _, _, _, _, _, _),
149922eb8301SAvaneesh Kumar Dwivedi 	[9] = PINGROUP(9, SOUTH, _, _, _, _, _, _, _, _, _),
150022eb8301SAvaneesh Kumar Dwivedi 	[10] = PINGROUP(10, SOUTH, _, _, _, _, _, _, _, _, _),
150122eb8301SAvaneesh Kumar Dwivedi 	[11] = PINGROUP(11, SOUTH, _, _, _, _, _, _, _, _, _),
150222eb8301SAvaneesh Kumar Dwivedi 	[12] = PINGROUP(12, SOUTH, _, _, _, _, _, _, _, _, _),
150322eb8301SAvaneesh Kumar Dwivedi 	[13] = PINGROUP(13, SOUTH, _, _, _, _, _, _, _, _, _),
150422eb8301SAvaneesh Kumar Dwivedi 	[14] = PINGROUP(14, SOUTH, hdmi_tx, _, _, _, _, _, _, _, _),
150522eb8301SAvaneesh Kumar Dwivedi 	[15] = PINGROUP(15, SOUTH, hdmi_ddc, _, _, _, _, _, _, _, _),
150622eb8301SAvaneesh Kumar Dwivedi 	[16] = PINGROUP(16, SOUTH, hdmi_ddc, _, _, _, _, _, _, _, _),
150722eb8301SAvaneesh Kumar Dwivedi 	[17] = PINGROUP(17, NORTH, blsp_uart_tx_a2, blsp_spi2, m_voc, _, _, _, _, _, _),
150822eb8301SAvaneesh Kumar Dwivedi 	[18] = PINGROUP(18, NORTH, blsp_uart_rx_a2, blsp_spi2, _, _, _, _, _, qdss_tracectl_a, _),
150922eb8301SAvaneesh Kumar Dwivedi 	[19] = PINGROUP(19, NORTH, blsp_uart2, aud_cdc, blsp_i2c_sda_a2, blsp_spi2, _, qdss_tracedata_a, _, _, _),
151022eb8301SAvaneesh Kumar Dwivedi 	[20] = PINGROUP(20, NORTH, blsp_uart2, aud_cdc, blsp_i2c_scl_a2, blsp_spi2, _, _, _, _, _),
151122eb8301SAvaneesh Kumar Dwivedi 	[21] = PINGROUP(21, SOUTH, m_voc, _, _, _, _, _, _, _, qdss_cti_trig_in_b0),
151222eb8301SAvaneesh Kumar Dwivedi 	[22] = PINGROUP(22, NORTH, blsp_uart1, blsp_spi_mosi_a1, _, _, _, _, _, _, _),
151322eb8301SAvaneesh Kumar Dwivedi 	[23] = PINGROUP(23, NORTH, blsp_uart1, blsp_spi_miso_a1, _, _, _, _, _, qdss_tracedata_b, _),
151422eb8301SAvaneesh Kumar Dwivedi 	[24] = PINGROUP(24, NORTH, blsp_uart1, blsp_i2c1, blsp_spi_cs_n_a1, gcc_plltest, _, _, _, _, _),
151522eb8301SAvaneesh Kumar Dwivedi 	[25] = PINGROUP(25, NORTH, blsp_uart1, blsp_i2c1, blsp_spi_clk_a1, gcc_plltest, _, _, _, _, _),
151622eb8301SAvaneesh Kumar Dwivedi 	[26] = PINGROUP(26, EAST, rgb_data0, blsp_uart5, blsp_spi5, adsp_ext, _, _, _, _, _),
151722eb8301SAvaneesh Kumar Dwivedi 	[27] = PINGROUP(27, EAST, rgb_data1, blsp_uart5, blsp_spi5, prng_rosc, _, _, _, _, _),
151822eb8301SAvaneesh Kumar Dwivedi 	[28] = PINGROUP(28, EAST, rgb_data2, blsp_uart5, blsp_i2c5, blsp_spi5, gcc_gp1_clk_b, _, _, _, _),
151922eb8301SAvaneesh Kumar Dwivedi 	[29] = PINGROUP(29, EAST, rgb_data3, blsp_uart5, blsp_i2c5, blsp_spi5, gcc_gp2_clk_b, _, _, _, _),
152022eb8301SAvaneesh Kumar Dwivedi 	[30] = PINGROUP(30, NORTH, blsp_spi0, blsp_uart0, gcc_gp3_clk_b, _, _, _, _, _, _),
152122eb8301SAvaneesh Kumar Dwivedi 	[31] = PINGROUP(31, NORTH, blsp_spi0, blsp_uart0, _, _, _, _, _, _, _),
152222eb8301SAvaneesh Kumar Dwivedi 	[32] = PINGROUP(32, NORTH, blsp_spi0, blsp_uart0, blsp_i2c0, _, _, _, _, _, _),
152322eb8301SAvaneesh Kumar Dwivedi 	[33] = PINGROUP(33, NORTH, blsp_spi0, blsp_uart0, blsp_i2c0, _, _, _, _, _, _),
152422eb8301SAvaneesh Kumar Dwivedi 	[34] = PINGROUP(34, SOUTH, _, qdss_traceclk_b, _, _, _, _, _, _, _),
152522eb8301SAvaneesh Kumar Dwivedi 	[35] = PINGROUP(35, SOUTH, pcie_clk, _, qdss_tracedata_b, _, _, _, _, _, _),
152622eb8301SAvaneesh Kumar Dwivedi 	[36] = PINGROUP(36, NORTH, _, _, _, _, _, _, qdss_tracedata_a, _, _),
152722eb8301SAvaneesh Kumar Dwivedi 	[37] = PINGROUP(37, NORTH, nfc_irq, blsp_spi4, _, _, _, _, _, _, _),
152822eb8301SAvaneesh Kumar Dwivedi 	[38] = PINGROUP(38, NORTH, nfc_dwl, blsp_spi4, audio_ts, _, _, _, _, _, _),
152922eb8301SAvaneesh Kumar Dwivedi 	[39] = PINGROUP(39, EAST, rgb_data4, spi_lcd, blsp_uart_tx_b2, gcc_gp3_clk_a, qdss_tracedata_a, _, _, _, _),
153022eb8301SAvaneesh Kumar Dwivedi 	[40] = PINGROUP(40, EAST, rgb_data5, spi_lcd, blsp_uart_rx_b2, _, qdss_tracedata_b, _, _, _, _),
153122eb8301SAvaneesh Kumar Dwivedi 	[41] = PINGROUP(41, EAST, rgb_data0, blsp_i2c_sda_b2, _, qdss_tracedata_b, _, _, _, _, _),
153222eb8301SAvaneesh Kumar Dwivedi 	[42] = PINGROUP(42, EAST, rgb_data1, blsp_i2c_scl_b2, _, _, _, _, _, qdss_tracedata_a, _),
153322eb8301SAvaneesh Kumar Dwivedi 	[43] = PINGROUP(43, EAST, rgb_data2, pwm_led11, _, _, _, _, _, _, _),
153422eb8301SAvaneesh Kumar Dwivedi 	[44] = PINGROUP(44, EAST, rgb_data3, pwm_led12, blsp_spi5, _, _, _, _, _, _),
153522eb8301SAvaneesh Kumar Dwivedi 	[45] = PINGROUP(45, EAST, rgb_data4, pwm_led13, blsp_spi5, qdss_tracedata_b, _, _, _, _, _),
153622eb8301SAvaneesh Kumar Dwivedi 	[46] = PINGROUP(46, EAST, rgb_data5, pwm_led14, blsp_spi5, qdss_tracedata_b, _, wlan1_adc1, _, _, _),
153722eb8301SAvaneesh Kumar Dwivedi 	[47] = PINGROUP(47, EAST, rgb_data_b0, pwm_led15, blsp_spi_mosi_b1, qdss_tracedata_b, _, wlan1_adc0, _, _, _),
153822eb8301SAvaneesh Kumar Dwivedi 	[48] = PINGROUP(48, EAST, rgb_data_b1, pwm_led16, blsp_spi_miso_b1, _, qdss_cti_trig_out_b0, _, wlan2_adc1, _, _),
153922eb8301SAvaneesh Kumar Dwivedi 	[49] = PINGROUP(49, EAST, rgb_data_b2, pwm_led17, blsp_spi_cs_n_b1, _, qdss_tracedata_b, _, wlan2_adc0, _, _),
154022eb8301SAvaneesh Kumar Dwivedi 	[50] = PINGROUP(50, EAST, rgb_data_b3, pwm_led18, blsp_spi_clk_b1, qdss_tracedata_b, _, _, _, _, _),
154122eb8301SAvaneesh Kumar Dwivedi 	[51] = PINGROUP(51, EAST, rgb_data_b4, pwm_led19, ext_mclk1_b, qdss_traceclk_a, _, _, _, _, _),
154222eb8301SAvaneesh Kumar Dwivedi 	[52] = PINGROUP(52, EAST, rgb_data_b5, pwm_led20, atest_char3, i2s_3_sck_b, ldo_update, bimc_dte0, _, _, _),
154322eb8301SAvaneesh Kumar Dwivedi 	[53] = PINGROUP(53, EAST, rgb_hsync, pwm_led21, i2s_3_ws_b, dbg_out, _, _, _, _, _),
154422eb8301SAvaneesh Kumar Dwivedi 	[54] = PINGROUP(54, EAST, rgb_vsync, i2s_3_data0_b, ldo_en, bimc_dte0, _, hdmi_dtest, _, _, _),
154522eb8301SAvaneesh Kumar Dwivedi 	[55] = PINGROUP(55, EAST, rgb_de, i2s_3_data1_b, _, qdss_tracedata_b, _, hdmi_lbk9, _, _, _),
154622eb8301SAvaneesh Kumar Dwivedi 	[56] = PINGROUP(56, EAST, rgb_clk, atest_char1, i2s_3_data2_b, ebi_cdc, _, hdmi_lbk8, _, _, _),
154722eb8301SAvaneesh Kumar Dwivedi 	[57] = PINGROUP(57, EAST, rgb_mdp, atest_char0, i2s_3_data3_b, _, hdmi_lbk7, _, _, _, _),
154822eb8301SAvaneesh Kumar Dwivedi 	[58] = PINGROUP(58, EAST, rgb_data_b6, _, ebi_cdc, _, _, _, _, _, _),
154922eb8301SAvaneesh Kumar Dwivedi 	[59] = PINGROUP(59, EAST, rgb_data_b7, _, hdmi_lbk6, _, _, _, _, _, _),
155022eb8301SAvaneesh Kumar Dwivedi 	[60] = PINGROUP(60, NORTH, _, _, _, _, _, _, _, _, _),
155122eb8301SAvaneesh Kumar Dwivedi 	[61] = PINGROUP(61, NORTH, rgmii_int, cri_trng1, qdss_tracedata_b, _, _, _, _, _, _),
155222eb8301SAvaneesh Kumar Dwivedi 	[62] = PINGROUP(62, NORTH, rgmii_wol, cri_trng0, qdss_tracedata_b, gcc_tlmm, _, _, _, _, _),
155322eb8301SAvaneesh Kumar Dwivedi 	[63] = PINGROUP(63, NORTH, rgmii_ck, _, _, _, _, _, _, _, _),
155422eb8301SAvaneesh Kumar Dwivedi 	[64] = PINGROUP(64, NORTH, rgmii_tx, _, hdmi_lbk5, _, _, _, _, _, _),
155522eb8301SAvaneesh Kumar Dwivedi 	[65] = PINGROUP(65, NORTH, rgmii_tx, _, hdmi_pixel, _, _, _, _, _, _),
155622eb8301SAvaneesh Kumar Dwivedi 	[66] = PINGROUP(66, NORTH, rgmii_tx, _, hdmi_rcv, _, _, _, _, _, _),
155722eb8301SAvaneesh Kumar Dwivedi 	[67] = PINGROUP(67, NORTH, rgmii_tx, _, hdmi_lbk4, _, _, _, _, _, _),
155822eb8301SAvaneesh Kumar Dwivedi 	[68] = PINGROUP(68, NORTH, rgmii_ctl, _, _, _, _, _, _, _, _),
155922eb8301SAvaneesh Kumar Dwivedi 	[69] = PINGROUP(69, NORTH, rgmii_ck, ext_lpass, _, _, _, _, _, _, _),
156022eb8301SAvaneesh Kumar Dwivedi 	[70] = PINGROUP(70, NORTH, rgmii_rx, cri_trng, _, _, _, _, _, _, _),
156122eb8301SAvaneesh Kumar Dwivedi 	[71] = PINGROUP(71, NORTH, rgmii_rx, _, hdmi_lbk3, _, _, _, _, _, _),
156222eb8301SAvaneesh Kumar Dwivedi 	[72] = PINGROUP(72, NORTH, rgmii_rx, _, hdmi_lbk2, _, _, _, _, _, _),
156322eb8301SAvaneesh Kumar Dwivedi 	[73] = PINGROUP(73, NORTH, rgmii_rx, _, _, _, _, qdss_cti_trig_out_b1, _, _, _),
156422eb8301SAvaneesh Kumar Dwivedi 	[74] = PINGROUP(74, NORTH, rgmii_ctl, _, _, _, _, _, _, _, _),
156522eb8301SAvaneesh Kumar Dwivedi 	[75] = PINGROUP(75, NORTH, rgmii_mdio, _, hdmi_lbk1, _, _, _, _, _, _),
156622eb8301SAvaneesh Kumar Dwivedi 	[76] = PINGROUP(76, NORTH, rgmii_mdc, _, _, _, _, _, hdmi_lbk0, _, _),
156722eb8301SAvaneesh Kumar Dwivedi 	[77] = PINGROUP(77, NORTH, ir_in, wsa_en, _, _, _, _, _, _, _),
156822eb8301SAvaneesh Kumar Dwivedi 	[78] = PINGROUP(78, EAST, rgb_data6, _, _, _, _, _, _, _, _),
156922eb8301SAvaneesh Kumar Dwivedi 	[79] = PINGROUP(79, EAST, rgb_data7, _, _, _, _, _, _, _, _),
157022eb8301SAvaneesh Kumar Dwivedi 	[80] = PINGROUP(80, EAST, rgb_data6, atest_char2, _, _, _, _, _, _, _),
157122eb8301SAvaneesh Kumar Dwivedi 	[81] = PINGROUP(81, EAST, rgb_data7, ebi_ch0, _, _, _, _, _, _, _),
157222eb8301SAvaneesh Kumar Dwivedi 	[82] = PINGROUP(82, NORTH, blsp_uart3, blsp_spi3, sd_write, _, _, _, _, _, qdss_tracedata_a),
157322eb8301SAvaneesh Kumar Dwivedi 	[83] = PINGROUP(83, NORTH, blsp_uart3, blsp_spi3, _, _, _, _, qdss_tracedata_a, _, _),
157422eb8301SAvaneesh Kumar Dwivedi 	[84] = PINGROUP(84, NORTH, blsp_uart3, blsp_i2c3, blsp_spi3, gcc_gp1_clk_a, qdss_cti_trig_in_b1, _, _, _, _),
157522eb8301SAvaneesh Kumar Dwivedi 	[85] = PINGROUP(85, NORTH, blsp_uart3, blsp_i2c3, blsp_spi3, gcc_gp2_clk_a, qdss_tracedata_b, _, _, _, _),
157622eb8301SAvaneesh Kumar Dwivedi 	[86] = PINGROUP(86, EAST, ext_mclk0, mclk_in1, _, _, _, _, _, _, _),
157722eb8301SAvaneesh Kumar Dwivedi 	[87] = PINGROUP(87, EAST, i2s_1, dsd_clk_a, _, _, _, _, _, _, _),
157822eb8301SAvaneesh Kumar Dwivedi 	[88] = PINGROUP(88, EAST, i2s_1, i2s_1, _, _, _, _, _, _, _),
157922eb8301SAvaneesh Kumar Dwivedi 	[89] = PINGROUP(89, EAST, i2s_1, i2s_1, _, _, _, _, _, _, qdss_tracedata_b),
158022eb8301SAvaneesh Kumar Dwivedi 	[90] = PINGROUP(90, EAST, i2s_1, i2s_1, _, _, _, _, _, _, _),
158122eb8301SAvaneesh Kumar Dwivedi 	[91] = PINGROUP(91, EAST, i2s_1, i2s_1, _, _, _, _, _, _, _),
158222eb8301SAvaneesh Kumar Dwivedi 	[92] = PINGROUP(92, EAST, i2s_1, i2s_1, _, _, _, _, _, qdss_cti_trig_in_a1, _),
158322eb8301SAvaneesh Kumar Dwivedi 	[93] = PINGROUP(93, EAST, i2s_1, pwm_led22, i2s_1, _, _, _, _, _, qdss_tracedata_b),
158422eb8301SAvaneesh Kumar Dwivedi 	[94] = PINGROUP(94, EAST, i2s_1, pwm_led23, i2s_1, _, qdss_cti_trig_out_a0, _, rgmi_dll2, _, _),
158522eb8301SAvaneesh Kumar Dwivedi 	[95] = PINGROUP(95, EAST, i2s_1, pwm_led1, i2s_1, _, qdss_cti_trig_out_a1, _, _, _, _),
158622eb8301SAvaneesh Kumar Dwivedi 	[96] = PINGROUP(96, EAST, i2s_1, pwm_led2, _, _, _, _, _, _, _),
158722eb8301SAvaneesh Kumar Dwivedi 	[97] = PINGROUP(97, EAST, i2s_2, _, _, _, _, _, _, _, _),
158822eb8301SAvaneesh Kumar Dwivedi 	[98] = PINGROUP(98, EAST, i2s_2, _, _, _, _, _, _, _, _),
158922eb8301SAvaneesh Kumar Dwivedi 	[99] = PINGROUP(99, EAST, i2s_2, _, _, _, _, _, _, _, _),
159022eb8301SAvaneesh Kumar Dwivedi 	[100] = PINGROUP(100, EAST, i2s_2, pll_bist, _, _, _, _, _, _, _),
159122eb8301SAvaneesh Kumar Dwivedi 	[101] = PINGROUP(101, EAST, i2s_2, _, _, _, _, _, _, _, _),
159222eb8301SAvaneesh Kumar Dwivedi 	[102] = PINGROUP(102, EAST, i2s_2, _, _, _, _, _, _, _, _),
159322eb8301SAvaneesh Kumar Dwivedi 	[103] = PINGROUP(103, EAST, ext_mclk1_a, mclk_in2, bimc_dte1, _, _, _, _, _, _),
159422eb8301SAvaneesh Kumar Dwivedi 	[104] = PINGROUP(104, EAST, i2s_3_sck_a, _, _, _, _, _, _, _, _),
159522eb8301SAvaneesh Kumar Dwivedi 	[105] = PINGROUP(105, EAST, i2s_3_ws_a, _, _, _, _, _, _, _, _),
159622eb8301SAvaneesh Kumar Dwivedi 	[106] = PINGROUP(106, EAST, i2s_3_data0_a, ebi2_lcd, _, _, ebi_cdc, _, _, _, _),
159722eb8301SAvaneesh Kumar Dwivedi 	[107] = PINGROUP(107, EAST, i2s_3_data1_a, ebi2_lcd, _, _, ebi_cdc, _, _, _, _),
159822eb8301SAvaneesh Kumar Dwivedi 	[108] = PINGROUP(108, EAST, i2s_3_data2_a, ebi2_lcd, atest_char, pwm_led3, ebi_cdc, _, _, _, _),
159922eb8301SAvaneesh Kumar Dwivedi 	[109] = PINGROUP(109, EAST, i2s_3_data3_a, ebi2_lcd, pwm_led4, bimc_dte1, _, _, _, _, _),
160022eb8301SAvaneesh Kumar Dwivedi 	[110] = PINGROUP(110, EAST, i2s_4, ebi2_a, dsd_clk_b, pwm_led5, _, _, _, _, _),
160122eb8301SAvaneesh Kumar Dwivedi 	[111] = PINGROUP(111, EAST, i2s_4, i2s_4, pwm_led6, ebi_cdc, _, _, _, _, _),
160222eb8301SAvaneesh Kumar Dwivedi 	[112] = PINGROUP(112, EAST, i2s_4, i2s_4, pwm_led7, _, _, _, _, _, _),
160322eb8301SAvaneesh Kumar Dwivedi 	[113] = PINGROUP(113, EAST, i2s_4, i2s_4, pwm_led8, _, _, _, _, _, _),
160422eb8301SAvaneesh Kumar Dwivedi 	[114] = PINGROUP(114, EAST, i2s_4, i2s_4, pwm_led24, _, _, _, _, _, _),
160522eb8301SAvaneesh Kumar Dwivedi 	[115] = PINGROUP(115, EAST, i2s_4, i2s_4, _, _, _, _, _, _, _),
160622eb8301SAvaneesh Kumar Dwivedi 	[116] = PINGROUP(116, EAST, i2s_4, spkr_dac0, _, _, _, _, _, _, _),
160722eb8301SAvaneesh Kumar Dwivedi 	[117] = PINGROUP(117, NORTH, blsp_i2c4, blsp_spi4, pwm_led9, _, _, _, _, _, _),
160822eb8301SAvaneesh Kumar Dwivedi 	[118] = PINGROUP(118, NORTH, blsp_i2c4, blsp_spi4, pwm_led10, _, _, _, _, _, _),
160922eb8301SAvaneesh Kumar Dwivedi 	[119] = PINGROUP(119, EAST, spdifrx_opt, _, _, _, _, _, _, _, _),
161022eb8301SAvaneesh Kumar Dwivedi 	[120] = SDC_QDSD_PINGROUP(sdc1_rclk, 0xc2000, 15, 0),
161122eb8301SAvaneesh Kumar Dwivedi 	[121] = SDC_QDSD_PINGROUP(sdc1_clk, 0xc2000, 13, 6),
161222eb8301SAvaneesh Kumar Dwivedi 	[122] = SDC_QDSD_PINGROUP(sdc1_cmd, 0xc2000, 11, 3),
161322eb8301SAvaneesh Kumar Dwivedi 	[123] = SDC_QDSD_PINGROUP(sdc1_data, 0xc2000, 9, 0),
161422eb8301SAvaneesh Kumar Dwivedi 	[124] = SDC_QDSD_PINGROUP(sdc2_clk, 0xc3000, 14, 6),
161522eb8301SAvaneesh Kumar Dwivedi 	[125] = SDC_QDSD_PINGROUP(sdc2_cmd, 0xc3000, 11, 3),
161622eb8301SAvaneesh Kumar Dwivedi 	[126] = SDC_QDSD_PINGROUP(sdc2_data, 0xc3000, 9, 0),
161722eb8301SAvaneesh Kumar Dwivedi };
161822eb8301SAvaneesh Kumar Dwivedi 
161922eb8301SAvaneesh Kumar Dwivedi static const struct msm_pinctrl_soc_data qcs404_pinctrl = {
162022eb8301SAvaneesh Kumar Dwivedi 	.pins = qcs404_pins,
162122eb8301SAvaneesh Kumar Dwivedi 	.npins = ARRAY_SIZE(qcs404_pins),
162222eb8301SAvaneesh Kumar Dwivedi 	.functions = qcs404_functions,
162322eb8301SAvaneesh Kumar Dwivedi 	.nfunctions = ARRAY_SIZE(qcs404_functions),
162422eb8301SAvaneesh Kumar Dwivedi 	.groups = qcs404_groups,
162522eb8301SAvaneesh Kumar Dwivedi 	.ngroups = ARRAY_SIZE(qcs404_groups),
162622eb8301SAvaneesh Kumar Dwivedi 	.ngpios = 120,
162722eb8301SAvaneesh Kumar Dwivedi 	.tiles = qcs404_tiles,
162822eb8301SAvaneesh Kumar Dwivedi 	.ntiles = ARRAY_SIZE(qcs404_tiles),
162922eb8301SAvaneesh Kumar Dwivedi };
163022eb8301SAvaneesh Kumar Dwivedi 
qcs404_pinctrl_probe(struct platform_device * pdev)163122eb8301SAvaneesh Kumar Dwivedi static int qcs404_pinctrl_probe(struct platform_device *pdev)
163222eb8301SAvaneesh Kumar Dwivedi {
163322eb8301SAvaneesh Kumar Dwivedi 	return msm_pinctrl_probe(pdev, &qcs404_pinctrl);
163422eb8301SAvaneesh Kumar Dwivedi }
163522eb8301SAvaneesh Kumar Dwivedi 
163622eb8301SAvaneesh Kumar Dwivedi static const struct of_device_id qcs404_pinctrl_of_match[] = {
163722eb8301SAvaneesh Kumar Dwivedi 	{ .compatible = "qcom,qcs404-pinctrl", },
163822eb8301SAvaneesh Kumar Dwivedi 	{ },
163922eb8301SAvaneesh Kumar Dwivedi };
164022eb8301SAvaneesh Kumar Dwivedi 
164122eb8301SAvaneesh Kumar Dwivedi static struct platform_driver qcs404_pinctrl_driver = {
164222eb8301SAvaneesh Kumar Dwivedi 	.driver = {
164322eb8301SAvaneesh Kumar Dwivedi 		.name = "qcs404-pinctrl",
164422eb8301SAvaneesh Kumar Dwivedi 		.of_match_table = qcs404_pinctrl_of_match,
164522eb8301SAvaneesh Kumar Dwivedi 	},
164622eb8301SAvaneesh Kumar Dwivedi 	.probe = qcs404_pinctrl_probe,
1647*22ee670aSUwe Kleine-König 	.remove_new = msm_pinctrl_remove,
164822eb8301SAvaneesh Kumar Dwivedi };
164922eb8301SAvaneesh Kumar Dwivedi 
qcs404_pinctrl_init(void)165022eb8301SAvaneesh Kumar Dwivedi static int __init qcs404_pinctrl_init(void)
165122eb8301SAvaneesh Kumar Dwivedi {
165222eb8301SAvaneesh Kumar Dwivedi 	return platform_driver_register(&qcs404_pinctrl_driver);
165322eb8301SAvaneesh Kumar Dwivedi }
165422eb8301SAvaneesh Kumar Dwivedi arch_initcall(qcs404_pinctrl_init);
165522eb8301SAvaneesh Kumar Dwivedi 
qcs404_pinctrl_exit(void)165622eb8301SAvaneesh Kumar Dwivedi static void __exit qcs404_pinctrl_exit(void)
165722eb8301SAvaneesh Kumar Dwivedi {
165822eb8301SAvaneesh Kumar Dwivedi 	platform_driver_unregister(&qcs404_pinctrl_driver);
165922eb8301SAvaneesh Kumar Dwivedi }
166022eb8301SAvaneesh Kumar Dwivedi module_exit(qcs404_pinctrl_exit);
166122eb8301SAvaneesh Kumar Dwivedi 
166222eb8301SAvaneesh Kumar Dwivedi MODULE_DESCRIPTION("Qualcomm QCS404 pinctrl driver");
166322eb8301SAvaneesh Kumar Dwivedi MODULE_LICENSE("GPL v2");
166422eb8301SAvaneesh Kumar Dwivedi MODULE_DEVICE_TABLE(of, qcs404_pinctrl_of_match);
1665