Loading drivers/pinctrl/qcom/pinctrl-sdmshrike.c +23 −0 Original line number Diff line number Diff line Loading @@ -2237,6 +2237,26 @@ static const struct msm_pingroup sdmshrike_groups[] = { [194] = SDC_QDSD_PINGROUP(sdc2_data, 0x9b2000, 9, 0), }; static const struct msm_gpio_wakeirq_map sdmshrike_pdc_map[] = { { 3, 31 }, { 5, 32 }, { 8, 33 }, { 9, 34 }, { 10, 100 }, { 24, 37 }, { 26, 38 }, { 27, 41 }, { 28, 42 }, { 30, 39 }, { 37, 44 }, { 38, 30 }, { 39, 118 }, { 41, 47 }, { 42, 48 }, { 47, 49 }, { 48, 51 }, { 49, 53 }, { 50, 52 }, { 51, 116 }, { 54, 55 }, { 55, 56 }, { 56, 57 }, { 58, 58 }, { 60, 60 }, { 68, 62 }, { 70, 63 }, { 76, 71 }, { 77, 66 }, { 81, 64 }, { 86, 67 }, { 87, 84 }, { 88, 117 }, { 90, 69 }, { 91, 70 }, { 95, 72 }, { 96, 73 }, { 97, 74 }, { 101, 40 }, { 103, 77 }, { 108, 79 }, { 112, 80 }, { 113, 81 }, { 114, 82 }, { 117, 85 }, { 119, 87 }, { 120, 88 }, { 121, 89 }, { 122, 90 }, { 123, 91 }, { 125, 93 }, { 129, 94 }, { 132, 105 }, { 133, 83 }, { 134, 36 }, { 142, 103 }, { 144, 115 }, { 147, 102 }, { 150, 107 }, { 152, 108 }, }; static struct msm_dir_conn sdmshrike_dir_conn[] = { {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0} }; static struct msm_pinctrl_soc_data sdmshrike_pinctrl = { .pins = sdmshrike_pins, .npins = ARRAY_SIZE(sdmshrike_pins), Loading @@ -2245,6 +2265,9 @@ static struct msm_pinctrl_soc_data sdmshrike_pinctrl = { .groups = sdmshrike_groups, .ngroups = ARRAY_SIZE(sdmshrike_groups), .ngpios = 192, .wakeirq_map = sdmshrike_pdc_map, .nwakeirq_map = ARRAY_SIZE(sdmshrike_pdc_map), .dir_conn = sdmshrike_dir_conn, }; static int sdmshrike_pinctrl_probe(struct platform_device *pdev) Loading Loading
drivers/pinctrl/qcom/pinctrl-sdmshrike.c +23 −0 Original line number Diff line number Diff line Loading @@ -2237,6 +2237,26 @@ static const struct msm_pingroup sdmshrike_groups[] = { [194] = SDC_QDSD_PINGROUP(sdc2_data, 0x9b2000, 9, 0), }; static const struct msm_gpio_wakeirq_map sdmshrike_pdc_map[] = { { 3, 31 }, { 5, 32 }, { 8, 33 }, { 9, 34 }, { 10, 100 }, { 24, 37 }, { 26, 38 }, { 27, 41 }, { 28, 42 }, { 30, 39 }, { 37, 44 }, { 38, 30 }, { 39, 118 }, { 41, 47 }, { 42, 48 }, { 47, 49 }, { 48, 51 }, { 49, 53 }, { 50, 52 }, { 51, 116 }, { 54, 55 }, { 55, 56 }, { 56, 57 }, { 58, 58 }, { 60, 60 }, { 68, 62 }, { 70, 63 }, { 76, 71 }, { 77, 66 }, { 81, 64 }, { 86, 67 }, { 87, 84 }, { 88, 117 }, { 90, 69 }, { 91, 70 }, { 95, 72 }, { 96, 73 }, { 97, 74 }, { 101, 40 }, { 103, 77 }, { 108, 79 }, { 112, 80 }, { 113, 81 }, { 114, 82 }, { 117, 85 }, { 119, 87 }, { 120, 88 }, { 121, 89 }, { 122, 90 }, { 123, 91 }, { 125, 93 }, { 129, 94 }, { 132, 105 }, { 133, 83 }, { 134, 36 }, { 142, 103 }, { 144, 115 }, { 147, 102 }, { 150, 107 }, { 152, 108 }, }; static struct msm_dir_conn sdmshrike_dir_conn[] = { {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0} }; static struct msm_pinctrl_soc_data sdmshrike_pinctrl = { .pins = sdmshrike_pins, .npins = ARRAY_SIZE(sdmshrike_pins), Loading @@ -2245,6 +2265,9 @@ static struct msm_pinctrl_soc_data sdmshrike_pinctrl = { .groups = sdmshrike_groups, .ngroups = ARRAY_SIZE(sdmshrike_groups), .ngpios = 192, .wakeirq_map = sdmshrike_pdc_map, .nwakeirq_map = ARRAY_SIZE(sdmshrike_pdc_map), .dir_conn = sdmshrike_dir_conn, }; static int sdmshrike_pinctrl_probe(struct platform_device *pdev) Loading