* [PATCH v2] dt-bindings: remoteproc: pru: Add Interrupt property
@ 2023-08-14 9:51 MD Danish Anwar
2023-08-14 15:47 ` Conor Dooley
2023-09-20 17:02 ` Bjorn Andersson
0 siblings, 2 replies; 3+ messages in thread
From: MD Danish Anwar @ 2023-08-14 9:51 UTC (permalink / raw)
To: Suman Anna, Conor Dooley, Krzysztof Kozlowski, Rob Herring,
Mathieu Poirier, Bjorn Andersson
Cc: linux-kernel, devicetree, linux-remoteproc, linux-omap,
linux-arm-kernel, vigneshr, srk, nm
Add interrupts and interrupt-names protperties for PRU and RTU cores.
Signed-off-by: MD Danish Anwar <danishanwar@ti.com>
---
Changes from v1 to v2:
*) Added reference of ti,pruss-intc.yaml schema in the description of
interrupts property as suggested by Conor.
*) Rebased on latest next-20230809 linux-next.
v1: https://lore.kernel.org/all/20230807110836.2612730-1-danishanwar@ti.com/
.../bindings/remoteproc/ti,pru-rproc.yaml | 23 +++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/Documentation/devicetree/bindings/remoteproc/ti,pru-rproc.yaml b/Documentation/devicetree/bindings/remoteproc/ti,pru-rproc.yaml
index cd55d80137f7..fc81ba2ad2da 100644
--- a/Documentation/devicetree/bindings/remoteproc/ti,pru-rproc.yaml
+++ b/Documentation/devicetree/bindings/remoteproc/ti,pru-rproc.yaml
@@ -66,6 +66,17 @@ properties:
Should contain the name of the default firmware image
file located on the firmware search path.
+ interrupts:
+ maxItems: 1
+ description:
+ Interrupt specifiers enable the virtio/rpmsg communication between MPU
+ and the PRU/RTU cores. For the values of the interrupt cells please refer
+ to interrupt-controller/ti,pruss-intc.yaml schema.
+
+ interrupt-names:
+ items:
+ - const: vring
+
if:
properties:
compatible:
@@ -171,6 +182,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";
};
rtu0_0: rtu@4000 {
@@ -180,6 +194,9 @@ examples:
<0x23400 0x100>;
reg-names = "iram", "control", "debug";
firmware-name = "am65x-rtu0_0-fw";
+ interrupt-parent = <&icssg0_intc>;
+ interrupts = <20 4 4>;
+ interrupt-names = "vring";
};
tx_pru0_0: txpru@a000 {
@@ -198,6 +215,9 @@ examples:
<0x24400 0x100>;
reg-names = "iram", "control", "debug";
firmware-name = "am65x-pru0_1-fw";
+ interrupt-parent = <&icssg0_intc>;
+ interrupts = <18 3 3>;
+ interrupt-names = "vring";
};
rtu0_1: rtu@6000 {
@@ -207,6 +227,9 @@ examples:
<0x23c00 0x100>;
reg-names = "iram", "control", "debug";
firmware-name = "am65x-rtu0_1-fw";
+ interrupt-parent = <&icssg0_intc>;
+ interrupts = <22 5 5>;
+ interrupt-names = "vring";
};
tx_pru0_1: txpru@c000 {
--
2.34.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH v2] dt-bindings: remoteproc: pru: Add Interrupt property
2023-08-14 9:51 [PATCH v2] dt-bindings: remoteproc: pru: Add Interrupt property MD Danish Anwar
@ 2023-08-14 15:47 ` Conor Dooley
2023-09-20 17:02 ` Bjorn Andersson
1 sibling, 0 replies; 3+ messages in thread
From: Conor Dooley @ 2023-08-14 15:47 UTC (permalink / raw)
To: MD Danish Anwar
Cc: Suman Anna, Conor Dooley, Krzysztof Kozlowski, Rob Herring,
Mathieu Poirier, Bjorn Andersson, linux-kernel, devicetree,
linux-remoteproc, linux-omap, linux-arm-kernel, vigneshr, srk, nm
[-- Attachment #1: Type: text/plain, Size: 275 bytes --]
On Mon, Aug 14, 2023 at 03:21:41PM +0530, MD Danish Anwar wrote:
> Add interrupts and interrupt-names protperties for PRU and RTU cores.
>
> Signed-off-by: MD Danish Anwar <danishanwar@ti.com>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Thanks,
Conor.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v2] dt-bindings: remoteproc: pru: Add Interrupt property
2023-08-14 9:51 [PATCH v2] dt-bindings: remoteproc: pru: Add Interrupt property MD Danish Anwar
2023-08-14 15:47 ` Conor Dooley
@ 2023-09-20 17:02 ` Bjorn Andersson
1 sibling, 0 replies; 3+ messages in thread
From: Bjorn Andersson @ 2023-09-20 17:02 UTC (permalink / raw)
To: Suman Anna, Conor Dooley, Krzysztof Kozlowski, Rob Herring,
Mathieu Poirier, MD Danish Anwar
Cc: linux-kernel, devicetree, linux-remoteproc, linux-omap,
linux-arm-kernel, vigneshr, srk, nm
On Mon, 14 Aug 2023 15:21:41 +0530, MD Danish Anwar wrote:
> Add interrupts and interrupt-names protperties for PRU and RTU cores.
>
>
Applied, thanks!
[1/1] dt-bindings: remoteproc: pru: Add Interrupt property
commit: d93f191b95bec3c913978eb18c6297e797915993
Best regards,
--
Bjorn Andersson <andersson@kernel.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-09-20 16:58 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-14 9:51 [PATCH v2] dt-bindings: remoteproc: pru: Add Interrupt property MD Danish Anwar
2023-08-14 15:47 ` Conor Dooley
2023-09-20 17:02 ` Bjorn Andersson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).