diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-06-21 16:29:14 +0300 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2017-06-23 11:14:57 +0300 |
commit | a68a63cb4dfc30e8a79b444aabc7747bb7621acf (patch) | |
tree | 845ab02ff38dd581ee50810af7142bcbed2141c8 /drivers/irqchip/irq-mvebu-gicp.h | |
parent | f39a29bb5ca3f1c54fa677d9de17a09079b7e898 (diff) | |
download | linux-a68a63cb4dfc30e8a79b444aabc7747bb7621acf.tar.xz |
irqchip/irq-mvebu-gicp: Add new driver for Marvell GICP
This commit adds a simple driver for the Marvell GICP, a hardware unit
that converts memory writes into GIC SPI interrupts. The driver provides
a number of functions to the ICU driver to allocate GICP interrupts, and
get the physical addresses that the ICUs should write to to set/clear
interrupts.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'drivers/irqchip/irq-mvebu-gicp.h')
-rw-r--r-- | drivers/irqchip/irq-mvebu-gicp.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/irqchip/irq-mvebu-gicp.h b/drivers/irqchip/irq-mvebu-gicp.h new file mode 100644 index 000000000000..98535e886ea5 --- /dev/null +++ b/drivers/irqchip/irq-mvebu-gicp.h @@ -0,0 +1,11 @@ +#ifndef __MVEBU_GICP_H__ +#define __MVEBU_GICP_H__ + +#include <linux/types.h> + +struct device_node; + +int mvebu_gicp_get_doorbells(struct device_node *dn, phys_addr_t *setspi, + phys_addr_t *clrspi); + +#endif /* __MVEBU_GICP_H__ */ |