mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 21:22:09 -04:00
drivers: pinctrl: Add gpio to mpm mapping for Monaco
Add gpio to mpm mapping for the wakeup capable gpio interrupts Change-Id: If366a57efdb33b68b3283a7d81760ab62eb634d3 Signed-off-by: Srinivas Rao L <lsrao@codeaurora.org>
This commit is contained in:
parent
618e2b8131
commit
598e0e2ea2
1 changed files with 57 additions and 0 deletions
|
|
@ -1594,6 +1594,61 @@ static struct pinctrl_qup monaco_qup_regs[] = {
|
|||
QUP_I3C(6, QUP_I3C_6_MODE_OFFSET),
|
||||
};
|
||||
|
||||
static const struct msm_gpio_wakeirq_map monaco_mpm_map[] = {
|
||||
{0, 84},
|
||||
{3, 13},
|
||||
{4, 14},
|
||||
{6, 16},
|
||||
{7, 17},
|
||||
{8, 18},
|
||||
{9, 19},
|
||||
{10, 20},
|
||||
{13, 21},
|
||||
{14, 23},
|
||||
{16, 24},
|
||||
{17, 25},
|
||||
{18, 26},
|
||||
{19, 27},
|
||||
{20, 28},
|
||||
{23, 29},
|
||||
{24, 30},
|
||||
{25, 31},
|
||||
{26, 32},
|
||||
{29, 33},
|
||||
{31, 34},
|
||||
{33, 37},
|
||||
{34, 38},
|
||||
{36, 39},
|
||||
{39, 40},
|
||||
{40, 41},
|
||||
{41, 42},
|
||||
{42, 43},
|
||||
{45, 44},
|
||||
{47, 45},
|
||||
{48, 46},
|
||||
{49, 47},
|
||||
{52, 48},
|
||||
{55, 49},
|
||||
{56, 50},
|
||||
{61, 51},
|
||||
{62, 52},
|
||||
{63, 53},
|
||||
{64, 54},
|
||||
{66, 55},
|
||||
{67, 56},
|
||||
{68, 57},
|
||||
{72, 58},
|
||||
{73, 59},
|
||||
{74, 81},
|
||||
{76, 82},
|
||||
{78, 60},
|
||||
{79, 61},
|
||||
{80, 62},
|
||||
{82, 63},
|
||||
{83, 64},
|
||||
{84, 65},
|
||||
};
|
||||
|
||||
static const struct msm_pinctrl_soc_data monaco_pinctrl = {
|
||||
.pins = monaco_pins,
|
||||
.npins = ARRAY_SIZE(monaco_pins),
|
||||
|
|
@ -1604,6 +1659,8 @@ static const struct msm_pinctrl_soc_data monaco_pinctrl = {
|
|||
.ngpios = 112,
|
||||
.qup_regs = monaco_qup_regs,
|
||||
.nqup_regs = ARRAY_SIZE(monaco_qup_regs),
|
||||
.wakeirq_map = monaco_mpm_map,
|
||||
.nwakeirq_map = ARRAY_SIZE(monaco_mpm_map),
|
||||
};
|
||||
|
||||
static int monaco_pinctrl_probe(struct platform_device *pdev)
|
||||
|
|
|
|||
Loading…
Reference in a new issue