mbox series

[0/2] Add AM64x SoC support to PRU remoteproc driver

Message ID 20210623173243.7862-1-s-anna@ti.com
Headers show
Series Add AM64x SoC support to PRU remoteproc driver | expand

Message

Suman Anna June 23, 2021, 5:32 p.m. UTC
Hi All,

The following series updates the PRU remoteproc driver to support the
PRU, RTU and Tx_PRU cores present within the ICSSG IP on AM64x SoCs.
Patches are on top of latest rproc-next branch based on v5.13-rc1,
commit 30da589dba53 ("dt-bindings: remoteproc: qcom: pas: Fix indentation
warnings").

There are some minor differences around the PRU cores like different
Broadside RAM (BSRAM) sizes, but otherwise behave functionally the same
as the PRU cores on previous SoCs.

regards,
Suman

Suman Anna (2):
  dt-bindings: remoteproc: pru: Update bindings for K3 AM64x SoCs
  remoteproc: pru: Add support for various PRU cores on K3 AM64x SoCs

 .../devicetree/bindings/remoteproc/ti,pru-rproc.yaml         | 5 +++++
 drivers/remoteproc/pru_rproc.c                               | 3 +++
 2 files changed, 8 insertions(+)

Comments

Grygorii Strashko June 23, 2021, 6:21 p.m. UTC | #1
On 23/06/2021 20:32, Suman Anna wrote:
> The K3 AM64x SoCs have an ICSSG IP that is similar to the IP revisions
> used on K3 AM65x SR2.0 and J721E SoCs. The ICSSG IP on K3 AM64x SoCs
> have the same set of two PRU cores, two RTU cores and two auxiliary PRU
> cores called Transmit PRUs (Tx_PRUs). There are some minor differences
> surrounding the PRU cores like different Broadside RAM (BSRAM) sizes
> w.r.t AM65x SR1.0 SoCs.
> 
> Update the PRU remoteproc bindings for these PRU cores on AM64x SoCs.
> 
> Signed-off-by: Suman Anna <s-anna@ti.com>
> ---
>   .../devicetree/bindings/remoteproc/ti,pru-rproc.yaml         | 5 +++++
>   1 file changed, 5 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/remoteproc/ti,pru-rproc.yaml b/Documentation/devicetree/bindings/remoteproc/ti,pru-rproc.yaml
> index 63071eef1632..4f8435d49a62 100644
> --- a/Documentation/devicetree/bindings/remoteproc/ti,pru-rproc.yaml
> +++ b/Documentation/devicetree/bindings/remoteproc/ti,pru-rproc.yaml
> @@ -44,6 +44,9 @@ properties:
>         - ti,j721e-pru    # for PRUs in K3 J721E SoC family
>         - ti,j721e-rtu    # for RTUs in K3 J721E SoC family
>         - ti,j721e-tx-pru # for Tx_PRUs in K3 J721E SoC family
> +      - ti,am642-pru    # for PRUs in K3 AM64x SoC family
> +      - ti,am642-rtu    # for RTUs in K3 AM64x SoC family
> +      - ti,am642-tx-pru # for Tx_PRUs in K3 AM64x SoC family
>   
>     reg:
>       items:
> @@ -68,6 +71,7 @@ if:
>         enum:
>           - ti,am654-rtu
>           - ti,j721e-rtu
> +        - ti,am642-rtu
>   then:
>     properties:
>       $nodename:
> @@ -79,6 +83,7 @@ else:
>           enum:
>             - ti,am654-tx-pru
>             - ti,j721e-tx-pru
> +          - ti,am642-tx-pru
>     then:
>       properties:
>         $nodename:
> 

Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com>