[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <de0c40c2-3627-4c63-9112-4eb13cf75c0a@quicinc.com>
Date: Thu, 29 Aug 2024 12:01:50 -0700
From: Nikunj Kela <quic_nkela@...cinc.com>
To: Rob Herring <robh@...nel.org>
CC: <andersson@...nel.org>, <konradybcio@...nel.org>, <krzk+dt@...nel.org>,
<conor+dt@...nel.org>, <rafael@...nel.org>, <viresh.kumar@...aro.org>,
<herbert@...dor.apana.org.au>, <davem@...emloft.net>,
<sudeep.holla@....com>, <andi.shyti@...nel.org>, <tglx@...utronix.de>,
<will@...nel.org>, <joro@...tes.org>, <jassisinghbrar@...il.com>,
<lee@...nel.org>, <linus.walleij@...aro.org>, <amitk@...nel.org>,
<thara.gopinath@...il.com>, <broonie@...nel.org>,
<wim@...ux-watchdog.org>, <linux@...ck-us.net>, <robin.murphy@....com>,
<cristian.marussi@....com>, <rui.zhang@...el.com>,
<lukasz.luba@....com>, <vkoul@...nel.org>, <quic_gurus@...cinc.com>,
<agross@...nel.org>, <bartosz.golaszewski@...aro.org>,
<quic_rjendra@...cinc.com>, <robimarko@...il.com>,
<linux-arm-msm@...r.kernel.org>, <devicetree@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, <linux-pm@...r.kernel.org>,
<linux-crypto@...r.kernel.org>, <arm-scmi@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>, <linux-i2c@...r.kernel.org>,
<iommu@...ts.linux.dev>, <linux-gpio@...r.kernel.org>,
<linux-serial@...r.kernel.org>, <linux-spi@...r.kernel.org>,
<linux-watchdog@...r.kernel.org>, <kernel@...cinc.com>,
<quic_psodagud@...cinc.com>, <quic_tsoni@...cinc.com>,
<quic_shazhuss@...cinc.com>
Subject: Re: [PATCH 21/22] ARM: dt: GIC: add extended SPI specifier
On 8/29/2024 11:52 AM, Rob Herring wrote:
> On Wed, Aug 28, 2024 at 01:37:20PM -0700, Nikunj Kela wrote:
>> 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]."
>> Qualcomm SA8255p platform uses extended SPI for SCMI 'a2p' doorbells.
>>
>> Signed-off-by: Nikunj Kela <quic_nkela@...cinc.com>
>> ---
>> include/dt-bindings/interrupt-controller/arm-gic.h | 1 +
>> 1 file changed, 1 insertion(+)
>>
>> diff --git a/include/dt-bindings/interrupt-controller/arm-gic.h b/include/dt-bindings/interrupt-controller/arm-gic.h
>> index 35b6f69b7db6..9c06248446b7 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_ESPI 2
>>
>> /*
>> * Interrupt specifier cell 2.
>> --
>> 2.34.1
>>
Powered by blists - more mailing lists