devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/6] Introduce PRU remoteproc consumer API
@ 2022-06-03 12:15 Puranjay Mohan
  2022-06-03 12:15 ` [PATCH v4 1/6] dt-bindings: remoteproc: Add PRU consumer bindings Puranjay Mohan
                   ` (6 more replies)
  0 siblings, 7 replies; 11+ messages in thread
From: Puranjay Mohan @ 2022-06-03 12:15 UTC (permalink / raw)
  To: linux-kernel
  Cc: bjorn.andersson, mathieu.poirier, krzysztof.kozlowski+dt,
	linux-remoteproc, devicetree, nm, ssantosh, s-anna, p-mohan,
	linux-arm-kernel, rogerq, grygorii.strashko, vigneshr, kishon,
	robh

This is the v4 of the patch series [1]. The v3 had some comments
on the DT patch that have been addressed here. The 6th patch in this
series was missed in the previous versions, so, it has been added now.

I have posted two more patch series that depend on this series, one to
the soc tree and another to the networking tree. I had sent all the 3
series, including this one as RFC [2] to get comments and to explain the
dependencies.

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.

There are 3 foundation components for PRUSS subsystem: the PRUSS platform
driver, the PRUSS INTC driver and the PRUSS remoteproc driver. All 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
3) drivers/remoteproc/pru_rproc.c
   Documentation/devicetree/bindings/remoteproc/ti,pru-rproc.yaml

The programmable nature of the PRUs provide flexibility to implement custom
peripheral interfaces, fast real-time responses, or specialized data handling.
Example of a PRU consumer drivers will be:
  - Software UART over PRUSS
  - PRU-ICSS Ethernet EMAC

In order to make usage of common PRU resources and allow the consumer drivers to
configure the PRU hardware for specific usage the PRU API is introduced.

[1] https://patchwork.kernel.org/project/linux-remoteproc/cover/20220418104118.12878-1-p-mohan@ti.com/
[2] https://patchwork.kernel.org/project/linux-remoteproc/cover/20220406094358.7895-1-p-mohan@ti.com/

Thanks and Regards,
Puranjay Mohan

Roger Quadros (1):
  remoteproc: pru: Add pru_rproc_set_ctable() function

Suman Anna (2):
  dt-bindings: remoteproc: Add PRU consumer bindings
  remoteproc: pru: Make sysfs entries read-only for PRU client driven
    boots

Tero Kristo (3):
  remoteproc: pru: Add APIs to get and put the PRU cores
  remoteproc: pru: Configure firmware based on client setup
  remoteproc: pru: add support for configuring GPMUX based on client
    setup

 .../bindings/remoteproc/ti,pru-consumer.yaml  |  69 +++++
 drivers/remoteproc/pru_rproc.c                | 254 +++++++++++++++++-
 include/linux/pruss.h                         |  78 ++++++
 3 files changed, 396 insertions(+), 5 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/remoteproc/ti,pru-consumer.yaml
 create mode 100644 include/linux/pruss.h

-- 
2.17.1


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2022-06-07  5:04 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-03 12:15 [PATCH v4 0/6] Introduce PRU remoteproc consumer API Puranjay Mohan
2022-06-03 12:15 ` [PATCH v4 1/6] dt-bindings: remoteproc: Add PRU consumer bindings Puranjay Mohan
2022-06-05 22:48   ` Rob Herring
2022-06-03 12:15 ` [PATCH v4 2/6] remoteproc: pru: Add APIs to get and put the PRU cores Puranjay Mohan
2022-06-03 12:15 ` [PATCH v4 3/6] remoteproc: pru: Make sysfs entries read-only for PRU client driven boots Puranjay Mohan
2022-06-03 12:15 ` [PATCH v4 4/6] remoteproc: pru: Add pru_rproc_set_ctable() function Puranjay Mohan
2022-06-03 12:15 ` [PATCH v4 5/6] remoteproc: pru: Configure firmware based on client setup Puranjay Mohan
2022-06-03 12:15 ` [PATCH v4 6/6] remoteproc: pru: add support for configuring GPMUX " Puranjay Mohan
2022-06-06 15:56 ` [PATCH v4 0/6] Introduce PRU remoteproc consumer API Mathieu Poirier
2022-06-06 16:15   ` Mathieu Poirier
2022-06-07  5:03     ` Puranjay Mohan

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).