In preparation for allowing drivers to use SGIs, define a new value for the first ARM GIC interrupt controller cell to take a new value to specifically designate a SGI interrupt. Signed-off-by: Florian Fainelli <f.fainelli@xxxxxxxxx> --- .../devicetree/bindings/interrupt-controller/arm,gic.yaml | 2 +- include/dt-bindings/interrupt-controller/arm-gic.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/interrupt-controller/arm,gic.yaml b/Documentation/devicetree/bindings/interrupt-controller/arm,gic.yaml index 9a47820ef346..2d0bfcbe4933 100644 --- a/Documentation/devicetree/bindings/interrupt-controller/arm,gic.yaml +++ b/Documentation/devicetree/bindings/interrupt-controller/arm,gic.yaml @@ -58,7 +58,7 @@ properties: const: 3 description: | The 1st cell is the interrupt type; 0 for SPI interrupts, 1 for PPI - interrupts. + interrupts and 2 for SGI interrupts. The 2nd cell contains the interrupt number for the interrupt type. SPI interrupts are in the range [0-987]. PPI interrupts are in the diff --git a/include/dt-bindings/interrupt-controller/arm-gic.h b/include/dt-bindings/interrupt-controller/arm-gic.h index 35b6f69b7db6..2dcc394b7b6b 100644 --- a/include/dt-bindings/interrupt-controller/arm-gic.h +++ b/include/dt-bindings/interrupt-controller/arm-gic.h @@ -12,6 +12,7 @@ #define GIC_SPI 0 #define GIC_PPI 1 +#define GIC_SGI 2 /* * Interrupt specifier cell 2. -- 2.17.1