[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <69b430b2-42a8-4c5a-0a6c-a05f2416fa0b@ti.com>
Date: Fri, 22 Feb 2019 12:10:13 +0200
From: Peter Ujfalusi <peter.ujfalusi@...com>
To: Tony Lindgren <tony@...mide.com>, Lokesh Vutla <lokeshvutla@...com>
CC: <marc.zyngier@....com>, Nishanth Menon <nm@...com>,
Santosh Shilimkar <ssantosh@...nel.org>,
Rob Herring <robh+dt@...nel.org>, <tglx@...utronix.de>,
<jason@...edaemon.net>,
Linux ARM Mailing List <linux-arm-kernel@...ts.infradead.org>,
<linux-kernel@...r.kernel.org>,
Device Tree Mailing List <devicetree@...r.kernel.org>,
Sekhar Nori <nsekhar@...com>, Tero Kristo <t-kristo@...com>
Subject: Re: [PATCH v5 05/10] dt-bindings: irqchip: Introduce TISCI Interrupt
router bindings
On 18/02/2019 16.35, Tony Lindgren wrote:
> * Lokesh Vutla <lokeshvutla@...com> [190216 03:30]:
>> On 2/12/2019 1:12 PM, Lokesh Vutla wrote:
>>> +TISCI Interrupt Router Node:
>>> +----------------------------
>>> +- compatible: Must be "ti,sci-intr".
>>> +- interrupt-controller: Identifies the node as an interrupt controller
>>> +- #interrupt-cells: Specifies the number of cells needed to encode an
>>> + interrupt source. The value should be 4.
>>> + First cell should contain the TISCI device ID of source
>>> + Second cell should contain the interrupt source offset
>>> + within the device
>>> + Third cell specifies the trigger type as defined
>>> + in interrupts.txt in this directory.
>>> + Fourth cell should be 1 if the irq is coming from
>>> + interrupt aggregator else 0.
>>> +- ti,sci: Phandle to TI-SCI compatible System controller node.
>>> +- ti,sci-dst-id: TISCI device ID of the destination IRQ controller.
>>
>> Please help me here. As said this is the TISCI device id for the host
>> interrupt controller. While sending message to the system co-processor
>> this ID needs to be specified so that the irq route gets discovered and
>> configured. Atleast with the current design device Ids are not
>> discoverable. Can you mention what can be improved here? Is there any
>> such example where a firmware supports querying the deivce ids?
>>
>> Also do you have any further comments on this patch?
>
> No reg property above. So if the interrupt router is not accessible
> by Linux like you're saying, you should not set up a dts node for
> it at all.
It is accessible via tisci but no direct register access.
>
> Regards,
>
> Tony
>
- Péter
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
Powered by blists - more mailing lists