Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: interrupt-controller: Add macros for NMI and IRQ0-7 interrupts present on RZ/G2L SoC

Add macros for NMI and IRQ0-7 interrupts which map to SPI0-8 present on
RZ/G2L (and alike) SoC's so that these can be used in the first cell of
interrupt specifiers.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Acked-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220722151155.21100-2-prabhakar.mahadev-lad.rj@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>

authored by

Lad Prabhakar and committed by
Geert Uytterhoeven
80c4ece6 ee8898fd

+25
+25
include/dt-bindings/interrupt-controller/irqc-rzg2l.h
··· 1 + /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ 2 + /* 3 + * This header provides constants for Renesas RZ/G2L family IRQC bindings. 4 + * 5 + * Copyright (C) 2022 Renesas Electronics Corp. 6 + * 7 + */ 8 + 9 + #ifndef __DT_BINDINGS_IRQC_RZG2L_H 10 + #define __DT_BINDINGS_IRQC_RZG2L_H 11 + 12 + /* NMI maps to SPI0 */ 13 + #define RZG2L_NMI 0 14 + 15 + /* IRQ0-7 map to SPI1-8 */ 16 + #define RZG2L_IRQ0 1 17 + #define RZG2L_IRQ1 2 18 + #define RZG2L_IRQ2 3 19 + #define RZG2L_IRQ3 4 20 + #define RZG2L_IRQ4 5 21 + #define RZG2L_IRQ5 6 22 + #define RZG2L_IRQ6 7 23 + #define RZG2L_IRQ7 8 24 + 25 + #endif /* __DT_BINDINGS_IRQC_RZG2L_H */