Raghavendra Kakarla d3e6e6547c drivers: irqchip: qcom: Add mpm pin data for sdm429
Add mpm pin data for gic and gpio interrupts.

Change-Id: I06231dd72ff1d006dcfca032e7d637b32a806007
Signed-off-by: Raghavendra Kakarla <rkakarla@codeaurora.org>
2020-06-04 00:11:41 -07:00

41 lines
1.4 KiB
C

/* Copyright (c) 2018-2020, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
*/
#ifndef __QCOM_MPM_H__
#define __QCOM_MPM_H__
#include <linux/irq.h>
#include <linux/device.h>
struct mpm_pin {
int pin;
irq_hw_number_t hwirq;
};
extern const struct mpm_pin mpm_msm8937_gic_chip_data[];
extern const struct mpm_pin mpm_msm8937_gpio_chip_data[];
extern const struct mpm_pin mpm_qcs405_gic_chip_data[];
extern const struct mpm_pin mpm_qcs405_gpio_chip_data[];
extern const struct mpm_pin mpm_trinket_gic_chip_data[];
extern const struct mpm_pin mpm_trinket_gpio_chip_data[];
extern const struct mpm_pin mpm_mdm9607_gic_chip_data[];
extern const struct mpm_pin mpm_mdm9607_gpio_chip_data[];
extern const struct mpm_pin mpm_sdm660_gic_chip_data[];
extern const struct mpm_pin mpm_sdm660_gpio_chip_data[];
extern const struct mpm_pin mpm_sdm429_gic_chip_data[];
extern const struct mpm_pin mpm_sdm429_gpio_chip_data[];
#endif /* __QCOM_MPM_H__ */