mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-26 16:55:08 +07:00
afc98d9088
This adds the irqchip driver for Cirrus Logic CLPS711X series SoCs. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
22 lines
583 B
C
22 lines
583 B
C
/*
|
|
* linux/arch/arm/mach-clps711x/common.h
|
|
*
|
|
* Common bits.
|
|
*/
|
|
|
|
#include <linux/reboot.h>
|
|
|
|
#define CLPS711X_NR_IRQS (33)
|
|
#define CLPS711X_NR_GPIO (4 * 8 + 3)
|
|
#define CLPS711X_GPIO(prt, bit) ((prt) * 8 + (bit))
|
|
|
|
extern void clps711x_map_io(void);
|
|
extern void clps711x_init_irq(void);
|
|
extern void clps711x_timer_init(void);
|
|
extern void clps711x_handle_irq(struct pt_regs *regs);
|
|
extern void clps711x_restart(enum reboot_mode mode, const char *cmd);
|
|
extern void clps711x_init_early(void);
|
|
|
|
/* drivers/irqchip/irq-clps711x.c */
|
|
void clps711x_intc_init(phys_addr_t, resource_size_t);
|