mbox series

[v4,0/6] Add a PRU remoteproc driver

Message ID 20201208141002.17777-1-grzegorz.jaszczyk@linaro.org (mailing list archive)
Headers show
Series Add a PRU remoteproc driver | expand

Message

Grzegorz Jaszczyk Dec. 8, 2020, 2:09 p.m. UTC
Hi All,

The Programmable Real-Time Unit and Industrial Communication Subsystem
(PRU-ICSS or simply PRUSS) on various TI SoCs consists of dual 32-bit
RISC cores (Programmable Real-Time Units, or PRUs) for program execution.

The K3 AM65x and J721E SoCs have the next generation of the PRU-ICSS IP,
commonly called ICSSG. The ICSSG IP on AM65x SoCs has two PRU cores,
two auxiliary custom PRU cores called Real Time Units (RTUs). The K3
AM65x SR2.0 and J721E SoCs have a revised version of the ICSSG IP, and
include two additional custom auxiliary PRU cores called Transmit PRUs
(Tx_PRUs).

This series contains the PRUSS remoteproc driver together with relevant
dt-binding. This is the 3rd foundation component for PRUSS subsystem, the
previous two were already merged and can be found under:
1) drivers/soc/ti/pruss.c
   Documentation/devicetree/bindings/soc/ti/ti,pruss.yaml
2) drivers/irqchip/irq-pruss-intc.c
   Documentation/devicetree/bindings/interrupt-controller/ti,pruss-intc.yaml

The following is a v4 version of the series. There is only one change
from v3 [1]:
- Use sizeof(unsigned int) instead of sizeof(int) for kcalloc in
pru_handle_intrmap() in patch #3.

[1] https://patchwork.kernel.org/project/linux-arm-kernel/cover/20201204201807.14716-1-grzegorz.jaszczyk@linaro.org/

Best regards,
Grzegorz

Grzegorz Jaszczyk (1):
  remoteproc: pru: Add support for PRU specific interrupt configuration

Suman Anna (5):
  dt-bindings: remoteproc: Add binding doc for PRU cores in the PRU-ICSS
  remoteproc: pru: Add a PRU remoteproc driver
  remoteproc: pru: Add pru-specific debugfs support
  remoteproc: pru: Add support for various PRU cores on K3 AM65x SoCs
  remoteproc: pru: Add support for various PRU cores on K3 J721E SoCs

 .../bindings/remoteproc/ti,pru-rproc.yaml     | 214 +++++
 drivers/remoteproc/Kconfig                    |  12 +
 drivers/remoteproc/Makefile                   |   1 +
 drivers/remoteproc/pru_rproc.c                | 875 ++++++++++++++++++
 drivers/remoteproc/pru_rproc.h                |  46 +
 5 files changed, 1148 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/remoteproc/ti,pru-rproc.yaml
 create mode 100644 drivers/remoteproc/pru_rproc.c
 create mode 100644 drivers/remoteproc/pru_rproc.h

Comments

Suman Anna Dec. 10, 2020, 3:30 p.m. UTC | #1
Hi Bjorn,

On 12/8/20 8:09 AM, Grzegorz Jaszczyk wrote:
> Hi All,
> 
> The Programmable Real-Time Unit and Industrial Communication Subsystem
> (PRU-ICSS or simply PRUSS) on various TI SoCs consists of dual 32-bit
> RISC cores (Programmable Real-Time Units, or PRUs) for program execution.
> 
> The K3 AM65x and J721E SoCs have the next generation of the PRU-ICSS IP,
> commonly called ICSSG. The ICSSG IP on AM65x SoCs has two PRU cores,
> two auxiliary custom PRU cores called Real Time Units (RTUs). The K3
> AM65x SR2.0 and J721E SoCs have a revised version of the ICSSG IP, and
> include two additional custom auxiliary PRU cores called Transmit PRUs
> (Tx_PRUs).
> 
> This series contains the PRUSS remoteproc driver together with relevant
> dt-binding. This is the 3rd foundation component for PRUSS subsystem, the
> previous two were already merged and can be found under:
> 1) drivers/soc/ti/pruss.c
>    Documentation/devicetree/bindings/soc/ti/ti,pruss.yaml
> 2) drivers/irqchip/irq-pruss-intc.c
>    Documentation/devicetree/bindings/interrupt-controller/ti,pruss-intc.yaml
> 
> The following is a v4 version of the series. There is only one change
> from v3 [1]:
> - Use sizeof(unsigned int) instead of sizeof(int) for kcalloc in
> pru_handle_intrmap() in patch #3.
> 
> [1] https://patchwork.kernel.org/project/linux-arm-kernel/cover/20201204201807.14716-1-grzegorz.jaszczyk@linaro.org/
> 
> Best regards,
> Grzegorz
> 
> Grzegorz Jaszczyk (1):
>   remoteproc: pru: Add support for PRU specific interrupt configuration
> 
> Suman Anna (5):
>   dt-bindings: remoteproc: Add binding doc for PRU cores in the PRU-ICSS
>   remoteproc: pru: Add a PRU remoteproc driver
>   remoteproc: pru: Add pru-specific debugfs support
>   remoteproc: pru: Add support for various PRU cores on K3 AM65x SoCs
>   remoteproc: pru: Add support for various PRU cores on K3 J721E SoCs

All patches in this series are Reviewed now and we have got the binding ack as
well. Can you please pick this series up for 5.11 if it is not too late?

Thank you,
Suman

> 
>  .../bindings/remoteproc/ti,pru-rproc.yaml     | 214 +++++
>  drivers/remoteproc/Kconfig                    |  12 +
>  drivers/remoteproc/Makefile                   |   1 +
>  drivers/remoteproc/pru_rproc.c                | 875 ++++++++++++++++++
>  drivers/remoteproc/pru_rproc.h                |  46 +
>  5 files changed, 1148 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/remoteproc/ti,pru-rproc.yaml
>  create mode 100644 drivers/remoteproc/pru_rproc.c
>  create mode 100644 drivers/remoteproc/pru_rproc.h
>
patchwork-bot+linux-remoteproc@kernel.org Dec. 10, 2020, 10:30 p.m. UTC | #2
Hello:

This series was applied to andersson/remoteproc.git (refs/heads/for-next):

On Tue,  8 Dec 2020 15:09:56 +0100 you wrote:
> Hi All,
> 
> The Programmable Real-Time Unit and Industrial Communication Subsystem
> (PRU-ICSS or simply PRUSS) on various TI SoCs consists of dual 32-bit
> RISC cores (Programmable Real-Time Units, or PRUs) for program execution.
> 
> The K3 AM65x and J721E SoCs have the next generation of the PRU-ICSS IP,
> commonly called ICSSG. The ICSSG IP on AM65x SoCs has two PRU cores,
> two auxiliary custom PRU cores called Real Time Units (RTUs). The K3
> AM65x SR2.0 and J721E SoCs have a revised version of the ICSSG IP, and
> include two additional custom auxiliary PRU cores called Transmit PRUs
> (Tx_PRUs).
> 
> [...]

Here is the summary with links:
  - [v4,1/6] dt-bindings: remoteproc: Add binding doc for PRU cores in the PRU-ICSS
    https://git.kernel.org/andersson/remoteproc/c/d570d05ea92d
  - [v4,2/6] remoteproc: pru: Add a PRU remoteproc driver
    https://git.kernel.org/andersson/remoteproc/c/d4ce2de7e4af
  - [v4,3/6] remoteproc: pru: Add support for PRU specific interrupt configuration
    https://git.kernel.org/andersson/remoteproc/c/c75c9fdac66e
  - [v4,4/6] remoteproc: pru: Add pru-specific debugfs support
    https://git.kernel.org/andersson/remoteproc/c/20ad1de0f14f
  - [v4,5/6] remoteproc: pru: Add support for various PRU cores on K3 AM65x SoCs
    https://git.kernel.org/andersson/remoteproc/c/1d39f4d19921
  - [v4,6/6] remoteproc: pru: Add support for various PRU cores on K3 J721E SoCs
    https://git.kernel.org/andersson/remoteproc/c/b44786c9bdc4

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html