[PATCH] dt-bindings: remoteproc: pru: Add Interrupt property

Conor Dooley conor at kernel.org
Mon Aug 7 07:39:22 PDT 2023


On Mon, Aug 07, 2023 at 04:38:36PM +0530, MD Danish Anwar wrote:
> Add interrupts and interrupt-names protperties for PRU and RTU cores.
> 
> Signed-off-by: MD Danish Anwar <danishanwar at ti.com>
> ---
>  .../bindings/remoteproc/ti,pru-rproc.yaml     | 22 +++++++++++++++++++
>  1 file changed, 22 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/remoteproc/ti,pru-rproc.yaml b/Documentation/devicetree/bindings/remoteproc/ti,pru-rproc.yaml
> index cd55d80137f7..6970316943bb 100644
> --- a/Documentation/devicetree/bindings/remoteproc/ti,pru-rproc.yaml
> +++ b/Documentation/devicetree/bindings/remoteproc/ti,pru-rproc.yaml
> @@ -66,6 +66,16 @@ 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.
> +
> +  interrupt-names:
> +    items:
> +      - const: vring
> +
>  if:
>    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?

>  
>        rtu0_0: rtu at 4000 {
> @@ -180,6 +193,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 at a000 {
> @@ -198,6 +214,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 at 6000 {
> @@ -207,6 +226,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 at c000 {
> -- 
> 2.34.1
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20230807/95150654/attachment-0001.sig>


More information about the linux-arm-kernel mailing list