mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 05:39:54 -04:00
pinctrl: qcom: Add GPIO to PDC wakeirq map for sm6150
Add GPIO to PDC wakeirq map and update the direct connect list. Change-Id: I12f368d840d22fc2e45a70a3abfc45a00cb3848b Signed-off-by: Maulik Shah <mkshah@codeaurora.org>
This commit is contained in:
parent
b7cbe3beb1
commit
bf22486306
1 changed files with 19 additions and 67 deletions
|
|
@ -1569,74 +1569,24 @@ static const struct msm_pingroup sm6150_groups[] = {
|
|||
[130] = UFS_RESET(ufs_reset, 0x59f000),
|
||||
};
|
||||
|
||||
static const struct msm_gpio_wakeirq_map sm6150_pdc_map[] = {
|
||||
{ 1, 45 }, { 3, 31 }, { 7, 55 }, { 9, 110 }, { 11, 34 },
|
||||
{ 13, 33 }, { 14, 35 }, { 17, 46 }, { 19, 48 }, { 21, 83 },
|
||||
{ 22, 36 }, { 26, 38 }, { 35, 37 }, { 39, 118 }, { 41, 47 },
|
||||
{ 47, 49 }, { 48, 51 }, { 50, 52 }, { 51, 116 }, { 55, 56 },
|
||||
{ 56, 57 }, { 57, 58 }, { 60, 60 }, { 71, 54 }, { 80, 73 },
|
||||
{ 81, 64 }, { 82, 50 }, { 83, 65 }, { 84, 92 }, { 85, 99 },
|
||||
{ 86, 67 }, { 87, 84 }, { 88, 117 }, { 89, 115 }, { 90, 69 },
|
||||
{ 92, 88}, { 93, 75 }, { 94, 91 }, { 95, 72 }, { 96, 82 },
|
||||
{ 97, 74 }, { 98, 95 }, { 99, 94 }, { 100, 100 }, { 101, 40 },
|
||||
{ 102, 93 }, { 103, 77 }, { 104, 78 }, { 105, 96 }, { 107, 97 },
|
||||
{ 108, 111 }, { 112, 112 }, { 113, 113 }, { 117, 85 }, { 118, 102},
|
||||
{ 119, 87 }, { 120, 114}, { 121, 89 }, { 122, 90},
|
||||
};
|
||||
|
||||
static struct msm_dir_conn sm6150_dir_conn[] = {
|
||||
{1, 525},
|
||||
{3, 511},
|
||||
{7, 535},
|
||||
{9, 625},
|
||||
{11, 514},
|
||||
{13, 513},
|
||||
{14, 515},
|
||||
{17, 526},
|
||||
{19, 528},
|
||||
{21, 563},
|
||||
{22, 516},
|
||||
{26, 518},
|
||||
{35, 517},
|
||||
{39, 633}, /* GPIO 39 mapped to SPI 640 as well */
|
||||
{41, 527},
|
||||
{47, 529},
|
||||
{48, 531},
|
||||
{50, 532},
|
||||
{51, 631}, /* GPIO 51 mapped to SPI 638 as well */
|
||||
{55, 536},
|
||||
{56, 537},
|
||||
{57, 538},
|
||||
{60, 540},
|
||||
{71, 534},
|
||||
{80, 553},
|
||||
{81, 544},
|
||||
{82, 530},
|
||||
{83, 545},
|
||||
{84, 572},
|
||||
{85, 614},
|
||||
{86, 547},
|
||||
{87, 564},
|
||||
{88, 632}, /* GPIO 88 mapped to SPI 639 as well */
|
||||
{89, 630}, /* GPIO 89 mapped to SPI 637 as well */
|
||||
{90, 549},
|
||||
{92, 568},
|
||||
{93, 555},
|
||||
{94, 571},
|
||||
{95, 552},
|
||||
{96, 562},
|
||||
{97, 554},
|
||||
{98, 610},
|
||||
{99, 609},
|
||||
{100, 615},
|
||||
{101, 520},
|
||||
{102, 573},
|
||||
{103, 557},
|
||||
{104, 558},
|
||||
{105, 611},
|
||||
{107, 612},
|
||||
{108, 626},
|
||||
{112, 627},
|
||||
{113, 628},
|
||||
{117, 565},
|
||||
{118, 617},
|
||||
{119, 567},
|
||||
{120, 629},
|
||||
{121, 569},
|
||||
{122, 570},
|
||||
{-1, 216},
|
||||
{-1, 215},
|
||||
{-1, 214},
|
||||
{-1, 213},
|
||||
{-1, 212},
|
||||
{-1, 211},
|
||||
{-1, 210},
|
||||
{-1, 209},
|
||||
{-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0},
|
||||
{-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}
|
||||
};
|
||||
|
||||
#ifdef CONFIG_HIBERNATION
|
||||
|
|
@ -1655,6 +1605,8 @@ static struct msm_pinctrl_soc_data sm6150_pinctrl = {
|
|||
.groups = sm6150_groups,
|
||||
.ngroups = ARRAY_SIZE(sm6150_groups),
|
||||
.ngpios = 123,
|
||||
.wakeirq_map = sm6150_pdc_map,
|
||||
.nwakeirq_map = ARRAY_SIZE(sm6150_pdc_map),
|
||||
.dir_conn = sm6150_dir_conn,
|
||||
#ifdef CONFIG_HIBERNATION
|
||||
.dir_conn_addr = tile_dir_conn_addr,
|
||||
|
|
|
|||
Loading…
Reference in a new issue