Merge "irqchip: mpm: Update the mpm to gic irq mapping"

This commit is contained in:
qctecmdr 2020-08-16 22:30:48 -07:00 • committed by Gerrit - the friendly Code Review server
commit 22abee5132
2 changed files with 8 additions and 7 deletions

View file

@ -6,12 +6,12 @@
#include <soc/qcom/mpm.h>
const struct mpm_pin mpm_holi_gic_chip_data[] = {
{5, 328}, /* lpass_irq_out_sdc */
{12, 454}, /* qmp_usb3_lfps_rxterm_irq_cx */
{86, 215}, /* mpm_wake,spmi_m */
{89, 346}, /* tsens0_tsens_0C_int */
{90, 347}, /* tsens1_tsens_0C_int */
{93, 292}, /* eud_p0_dpse_int_mx */
{94, 292}, /* eud_p0_dmse_int_mx */
{5, 296}, /* lpass_irq_out_sdc */
{12, 422}, /* qmp_usb3_lfps_rxterm_irq_cx */
{86, 183}, /* mpm_wake,spmi_m */
{89, 314}, /* tsens0_tsens_0C_int */
{90, 315}, /* tsens1_tsens_0C_int */
{93, 260}, /* eud_p0_dpse_int_mx */
{94, 260}, /* eud_p0_dmse_int_mx */
{-1},
};

View file

@ -400,6 +400,7 @@ static int msm_mpm_gic_chip_alloc(struct irq_domain *domain,
parent_fwspec.param_count = 3;
parent_fwspec.param[0] = 0;
parent_fwspec.param[1] = parent_hwirq;
parent_fwspec.param[2] = type;
return irq_domain_alloc_irqs_parent(domain, virq, nr_irqs,
&parent_fwspec);