mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 01:10:04 +00:00
![Thomas Petazzoni](/assets/img/avatar_default.png)
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>
11 lines
233 B
C
11 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__ */
|