Merge "irqchip: mpm: Add mpm mapping for Khaje"

This commit is contained in:
qctecmdr 2021-08-26 15:09:53 -07:00 committed by Gerrit - the friendly Code Review server
commit 561d9e90c7
4 changed files with 23 additions and 1 deletions

View file

@ -88,5 +88,5 @@ obj-$(CONFIG_MESON_IRQ_GPIO) += irq-meson-gpio.o
obj-$(CONFIG_GOLDFISH_PIC) += irq-goldfish-pic.o
obj-$(CONFIG_NDS32) += irq-ativic32.o
obj-$(CONFIG_QCOM_PDC) += qcom-pdc.o
obj-$(CONFIG_QCOM_MPM) += qcom-mpm.o qcom-mpm-bengal.o qcom-mpm-scuba.o qcom-mpm-sdm660.o qcom-mpm-msm8937.o qcom-mpm-msm8953.o
obj-$(CONFIG_QCOM_MPM) += qcom-mpm.o qcom-mpm-bengal.o qcom-mpm-scuba.o qcom-mpm-sdm660.o qcom-mpm-msm8937.o qcom-mpm-msm8953.o qcom-mpm-khaje.o
obj-$(CONFIG_SIFIVE_PLIC) += irq-sifive-plic.o

View file

@ -0,0 +1,17 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright (c) 2021, The Linux Foundation. All rights reserved.
*/
#include <soc/qcom/mpm.h>
const struct mpm_pin mpm_khaje_gic_chip_data[] = {
{2, 222},
{12, 454}, /* b3_lfps_rxterm_irq */
{86, 215}, /* mpm_wake,spmi_m */
{91, 216}, /* eud_p0_dpse_int_mx */
{90, 220}, /* eud_p0_dmse_int_mx */
{5, 328}, /* lpass_irq_out_sdc */
{24, 111}, /* bi_px_lpi_1_aoss_mx */
{-1},
};

View file

@ -604,6 +604,10 @@ static const struct of_device_id mpm_gic_chip_data_table[] = {
.compatible = "qcom,mpm-gic-msm8953",
.data = mpm_msm8953_gic_chip_data,
},
{
.compatible = "qcom,mpm-gic-khaje",
.data = mpm_khaje_gic_chip_data,
},
{}
};
MODULE_DEVICE_TABLE(of, mpm_gic_chip_data_table);

View file

@ -19,5 +19,6 @@ extern const struct mpm_pin mpm_scuba_gic_chip_data[];
extern const struct mpm_pin mpm_sdm660_gic_chip_data[];
extern const struct mpm_pin mpm_msm8937_gic_chip_data[];
extern const struct mpm_pin mpm_msm8953_gic_chip_data[];
extern const struct mpm_pin mpm_khaje_gic_chip_data[];
#endif /* __QCOM_MPM_H__ */