From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
To: Md Danish Anwar <a0501179@ti.com>,
Conor Dooley <conor@kernel.org>,
MD Danish Anwar <danishanwar@ti.com>
Cc: Suman Anna <s-anna@ti.com>, Conor Dooley <conor+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Rob Herring <robh+dt@kernel.org>,
Mathieu Poirier <mathieu.poirier@linaro.org>,
Bjorn Andersson <andersson@kernel.org>,
linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
linux-remoteproc@vger.kernel.org, linux-omap@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, vigneshr@ti.com,
srk@ti.com, nm@ti.com
Subject: Re: [PATCH] dt-bindings: remoteproc: pru: Add Interrupt property
Date: Tue, 8 Aug 2023 16:53:51 +0200 [thread overview]
Message-ID: <8e7cf088-e206-746d-0360-16479b1a33c3@linaro.org> (raw)
In-Reply-To: <5ca41ad1-4f42-f71a-4b5f-f2b6def42cb1@ti.com>
On 08/08/2023 12:57, Md Danish Anwar wrote:
> On 08/08/23 3:48 pm, Krzysztof Kozlowski wrote:
>> On 08/08/2023 11:44, Md Danish Anwar wrote:
>>>>> properties:
>>>>> compatible:
>>>>> @@ -171,6 +181,9 @@ examples:
>>>>> <0x22400 0x100>;
>>>>> reg-names = "iram", "control", "debug";
>>>>> firmware-name = "am65x-pru0_0-fw";
>>>>> + interrupt-parent = <&icssg0_intc>;
>>>>> + interrupts = <16 2 2>;
>>>>> + interrupt-names = "vring";
>>>>> };
>>>>
>>>> These examples would probably be more helpful if they used the
>>>> appropriate defines, no?
>>>>
>>>
>>> PRUSS Interrupt controller doesn't have any appropriate defines. This doesn't
>>> use GIC so defines from arm-gic.h can not be used here. These are specific to
>>> PRUSS INTC.
>>>
>>> I think these example are OK. Please let me know if this is OK to you.
>>
>> But isn't "2" type of the interrupt?
>>
>> Best regards,
>> Krzysztof
>>
>
> As per the description of interrupts property in ti,pruss-intc.yaml [1]
>
> Cell 1 is PRU System event number, cell 2 is PRU channel and cell 3 is PRU
> host_event (target). None of them is type of interrupt. So that's why they all
> are hardcoded. I don't think we can use IRQ_TYPE macros here.
OK, thanks for clarifying this.
Best regards,
Krzysztof
next prev parent reply other threads:[~2023-08-08 17:01 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-07 11:08 [PATCH] dt-bindings: remoteproc: pru: Add Interrupt property MD Danish Anwar
2023-08-07 14:39 ` Conor Dooley
2023-08-08 9:44 ` Md Danish Anwar
2023-08-08 10:18 ` Krzysztof Kozlowski
2023-08-08 10:57 ` Md Danish Anwar
2023-08-08 14:53 ` Krzysztof Kozlowski [this message]
2023-08-08 10:48 ` Conor Dooley
2023-08-08 11:00 ` Md Danish Anwar
2023-08-08 11:28 ` Conor Dooley
2023-08-08 12:52 ` Md Danish Anwar
2023-08-11 11:18 ` Md Danish Anwar
2023-08-11 15:21 ` Conor Dooley
2023-08-14 5:13 ` Md Danish Anwar
2023-08-14 6:59 ` Conor Dooley
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8e7cf088-e206-746d-0360-16479b1a33c3@linaro.org \
--to=krzysztof.kozlowski@linaro.org \
--cc=a0501179@ti.com \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=conor@kernel.org \
--cc=danishanwar@ti.com \
--cc=devicetree@vger.kernel.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=linux-remoteproc@vger.kernel.org \
--cc=mathieu.poirier@linaro.org \
--cc=nm@ti.com \
--cc=robh+dt@kernel.org \
--cc=s-anna@ti.com \
--cc=srk@ti.com \
--cc=vigneshr@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox