mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-14 21:46:44 +07:00
a68a63cb4d
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>
12 lines
233 B
C
12 lines
233 B
C
#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__ */
|