Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 561d9e90 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

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

parents 2e616bbb 62742bbb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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
+17 −0
Original line number Diff line number Diff line
// 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},
};
+4 −0
Original line number Diff line number Diff line
@@ -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);
+1 −0
Original line number Diff line number Diff line
@@ -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__ */