Thread (147 messages) 147 messages, 10 authors, 2024-09-09

Re: [PATCH 21/22] ARM: dt: GIC: add extended SPI specifier

From: Rob Herring <robh@kernel.org>
Date: 2024-08-30 14:44:56
Also in: arm-scmi, linux-arm-kernel, linux-arm-msm, linux-crypto, linux-gpio, linux-i2c, linux-iommu, linux-pm, linux-serial, linux-spi, linux-watchdog, lkml

On Thu, Aug 29, 2024 at 2:02 PM Nikunj Kela [off-list ref] wrote:

On 8/29/2024 11:52 AM, Rob Herring wrote:
quoted
On Wed, Aug 28, 2024 at 01:37:20PM -0700, Nikunj Kela wrote:
quoted
Add interrupt specifier for extended SPI interrupts.
What's an "extended SPI"? Is this a GIC spec thing? If so, what version?
Extended SPI is an extended range of SPI interrupts supported by GIC.

Excerpt below from
Documentation/devicetree/bindings/interrupt-controller/arm,gic-v3.yaml

"The 1st cell is the interrupt type; 0 for SPI interrupts, 1 for PPI
interrupts, 2 for interrupts in the Extended SPI range, 3 for the
Extended PPI range. Other values are reserved for future use."

"The 2nd cell contains the interrupt number for the interrupt type. SPI
interrupts are in the range [0-987]. PPI interrupts are in the range
[0-15]. Extented SPI interrupts are in the range [0-1023]. Extended PPI
interrupts are in the range [0-127]."
Looks like you should add EPPI define too while you're here.

Rob
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help