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

Commit 507b9f1c authored by Raghavendra Kakarla's avatar Raghavendra Kakarla Committed by Gerrit - the friendly Code Review server
Browse files

drivers: irqchip: mpm: Add mpm pin data for scuba



Add mpm pin mapping to wakeup capable gic interrupts to wakeup
APSS for deep sleep.

Change-Id: I7fa622b59b663cacddd9cc2a0d849b21458b3d7c
Signed-off-by: default avatarRaghavendra Kakarla <rkakarla@codeaurora.org>
parent 04ac388e
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
obj-$(CONFIG_QCOM_MPM)			+= qcom-mpm.o qcom-mpm-bengal.o qcom-mpm-scuba.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) 2020, The Linux Foundation. All rights reserved.
 */

#include <soc/qcom/mpm.h>

const struct mpm_pin mpm_scuba_gic_chip_data[] = {
	{2, 222},
	{5, 328}, /* lpass_irq_out_sdc */
	{12, 454}, /* b3_lfps_rxterm_irq */
	{24, 111}, /* bi_px_lpi_1_aoss_mx */
	{86, 215}, /* mpm_wake,spmi_m */
	{90, 292}, /* eud_p0_dpse_int_mx */
	{91, 292}, /* eud_p0_dmse_int_mx */
	{-1},
};
+5 −1
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (c) 2010-2019, The Linux Foundation. All rights reserved.
 * Copyright (c) 2010-2020, The Linux Foundation. All rights reserved.
 */

#include <linux/delay.h>
@@ -588,6 +588,10 @@ static const struct of_device_id mpm_gic_chip_data_table[] = {
		.compatible = "qcom,mpm-gic-bengal",
		.data = mpm_bengal_gic_chip_data,
	},
	{
		.compatible = "qcom,mpm-gic-scuba",
		.data = mpm_scuba_gic_chip_data,
	},
	{}
};
MODULE_DEVICE_TABLE(of, mpm_gic_chip_data_table);
+2 −1
Original line number Diff line number Diff line
/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
 * Copyright (c) 2018-2020, The Linux Foundation. All rights reserved.
 */

#ifndef __QCOM_MPM_H__
@@ -15,4 +15,5 @@ struct mpm_pin {
};

extern const struct mpm_pin mpm_bengal_gic_chip_data[];
extern const struct mpm_pin mpm_scuba_gic_chip_data[];
#endif /* __QCOM_MPM_H__ */