mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-05 18:14:07 +08:00
74703b13f9
Advertise the two pseudo-interrupts that tied to the two PMU flavours present in the Apple M1 SoC. We choose the expose two different pseudo-interrupts to the OS as the e-core PMU is obviously different from the p-core one, effectively presenting two different devices. Acked-by: Rob Herring <robh@kernel.org> Reviewed-by: Hector Martin <marcan@marcan.st> Signed-off-by: Marc Zyngier <maz@kernel.org>
18 lines
414 B
C
18 lines
414 B
C
/* SPDX-License-Identifier: GPL-2.0+ OR MIT */
|
|
#ifndef _DT_BINDINGS_INTERRUPT_CONTROLLER_APPLE_AIC_H
|
|
#define _DT_BINDINGS_INTERRUPT_CONTROLLER_APPLE_AIC_H
|
|
|
|
#include <dt-bindings/interrupt-controller/irq.h>
|
|
|
|
#define AIC_IRQ 0
|
|
#define AIC_FIQ 1
|
|
|
|
#define AIC_TMR_HV_PHYS 0
|
|
#define AIC_TMR_HV_VIRT 1
|
|
#define AIC_TMR_GUEST_PHYS 2
|
|
#define AIC_TMR_GUEST_VIRT 3
|
|
#define AIC_CPU_PMU_E 4
|
|
#define AIC_CPU_PMU_P 5
|
|
|
|
#endif
|