From 6735272ca4574848bba7489591a18c29fa8001d1 Mon Sep 17 00:00:00 2001 From: Prasadarao Durvasula Date: Wed, 25 Oct 2023 18:41:09 +0530 Subject: [PATCH] irqchip: add mpm to GIC mapping for mdm9607 This change adds mpm pin to gic mapping. Change-Id: I89d094cd7ba956aa8ac37f682f54a87221cb9b36 Signed-off-by: Prasadarao Durvasula Signed-off-by: Sai Kannan --- drivers/irqchip/qcom-mpm.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/drivers/irqchip/qcom-mpm.c b/drivers/irqchip/qcom-mpm.c index ad0386938047..c535ced0540b 100644 --- a/drivers/irqchip/qcom-mpm.c +++ b/drivers/irqchip/qcom-mpm.c @@ -622,6 +622,16 @@ const struct mpm_pin mpm_holi_gic_chip_data[] = { {-1}, }; +const struct mpm_pin mpm_mdm9607_gic_chip_data[] = { + {2, 184}, /* tsens_upper_lower_int */ + {49, 140}, /* usb1_hs_async_wakeup_irq */ + {51, 142}, /* usb2_hs_async_wakeup_irq */ + {53, 72}, /* mdss_irq */ + {58, 134}, /* usb_hs_irq */ + {62, 190}, /* ee0_apps_hlos_spmi_periph_irq */ + {-1}, +}; + static const struct of_device_id mpm_gic_chip_data_table[] = { { .compatible = "qcom,mpm-blair", @@ -635,6 +645,10 @@ static const struct of_device_id mpm_gic_chip_data_table[] = { .compatible = "qcom,mpm-pitti", .data = mpm_pitti_gic_chip_data, }, + { + .compatible = "qcom,mpm-gic-mdm9607", + .data = mpm_mdm9607_gic_chip_data, + }, {} }; MODULE_DEVICE_TABLE(of, mpm_gic_chip_data_table);