Re: [PATCH 21/22] ARM: dt: GIC: add extended SPI specifier
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: Re: [PATCH 21/22] ARM: dt: GIC: add extended SPI specifier
- From: Nikunj Kela <quic_nkela@xxxxxxxxxxx>
- Date: Thu, 29 Aug 2024 12:01:50 -0700
- Cc: <andersson@xxxxxxxxxx>, <konradybcio@xxxxxxxxxx>, <krzk+dt@xxxxxxxxxx>, <conor+dt@xxxxxxxxxx>, <rafael@xxxxxxxxxx>, <viresh.kumar@xxxxxxxxxx>, <herbert@xxxxxxxxxxxxxxxxxxx>, <davem@xxxxxxxxxxxxx>, <sudeep.holla@xxxxxxx>, <andi.shyti@xxxxxxxxxx>, <tglx@xxxxxxxxxxxxx>, <will@xxxxxxxxxx>, <joro@xxxxxxxxxx>, <jassisinghbrar@xxxxxxxxx>, <lee@xxxxxxxxxx>, <linus.walleij@xxxxxxxxxx>, <amitk@xxxxxxxxxx>, <thara.gopinath@xxxxxxxxx>, <broonie@xxxxxxxxxx>, <wim@xxxxxxxxxxxxxxxxxx>, <linux@xxxxxxxxxxxx>, <robin.murphy@xxxxxxx>, <cristian.marussi@xxxxxxx>, <rui.zhang@xxxxxxxxx>, <lukasz.luba@xxxxxxx>, <vkoul@xxxxxxxxxx>, <quic_gurus@xxxxxxxxxxx>, <agross@xxxxxxxxxx>, <bartosz.golaszewski@xxxxxxxxxx>, <quic_rjendra@xxxxxxxxxxx>, <robimarko@xxxxxxxxx>, <linux-arm-msm@xxxxxxxxxxxxxxx>, <devicetree@xxxxxxxxxxxxxxx>, <linux-kernel@xxxxxxxxxxxxxxx>, <linux-pm@xxxxxxxxxxxxxxx>, <linux-crypto@xxxxxxxxxxxxxxx>, <arm-scmi@xxxxxxxxxxxxxxx>, <linux-arm-kernel@xxxxxxxxxxxxxxxxxxx>, <linux-i2c@xxxxxxxxxxxxxxx>, <iommu@xxxxxxxxxxxxxxx>, <linux-gpio@xxxxxxxxxxxxxxx>, <linux-serial@xxxxxxxxxxxxxxx>, <linux-spi@xxxxxxxxxxxxxxx>, <linux-watchdog@xxxxxxxxxxxxxxx>, <kernel@xxxxxxxxxxx>, <quic_psodagud@xxxxxxxxxxx>, <quic_tsoni@xxxxxxxxxxx>, <quic_shazhuss@xxxxxxxxxxx>
- In-reply-to: <20240829185240.GA914553-robh@kernel.org>
- References: <20240828203721.2751904-1-quic_nkela@quicinc.com> <20240828203721.2751904-22-quic_nkela@quicinc.com> <20240829185240.GA914553-robh@kernel.org>
- User-agent: Mozilla Thunderbird
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@xxxxxxxxxxx>
>> ---
>> 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
>>
[Index of Archives]
[Linux Kernel]
[Linux ARM (vger)]
[Linux ARM MSM]
[Linux Omap]
[Linux Arm]
[Linux Tegra]
[Fedora ARM]
[Linux for Samsung SOC]
[eCos]
[Linux Fastboot]
[Gcc Help]
[Git]
[DCCP]
[IETF Announce]
[Security]
[Linux MIPS]
[Yosemite Campsites]
|