mbox series

[0/6] Add Xilinx RPU subsystem support

Message ID 20211122053856.1342859-1-tanmay.shah@xilinx.com (mailing list archive)
Headers show
Series Add Xilinx RPU subsystem support | expand

Message

Tanmay Shah Nov. 22, 2021, 5:38 a.m. UTC
This patch series adds bindings document for RPU subsystem found on Xilinx
ZynqMP platforms. It also adds device nodes and driver to enable RPU subsytem
in split mode and lockstep mode.

Xilinx ZynqMP platform contains Remote Processing Unit(RPU). RPU subsystem
contains two arm cortex r5f cores. RPU subsystem can be configured in
split mode, locsktep mode and single-cpu mode.

RPU subsystem also contains 4 Tightly Coupled Memory(TCM) banks. In lockstep
mode, all 4 banks are combined and total of 256KB memory is made available to
r5 core0. In split mode, both cores can access two TCM banks i.e. 128 KB.

RPU can also fetch data and execute instructions from DDR memory along with
TCM memory.

Ben Levinsky (3):
  firmware: xilinx: Add ZynqMP firmware ioctl enums for RPU
    configuration.
  firmware: xilinx: Add shutdown/wakeup APIs
  firmware: xilinx: Add RPU configuration APIs

Tanmay Shah (3):
  dt-bindings: remoteproc: Add Xilinx RPU subsystem bindings
  arm64: dts: xilinx: zynqmp: Add RPU subsystem device node
  drivers: remoteproc: Add Xilinx r5 remoteproc driver

 .../bindings/remoteproc/xlnx,r5f-rproc.yaml   | 139 +++
 arch/arm64/boot/dts/xilinx/zynqmp.dtsi        |  17 +
 drivers/firmware/xilinx/zynqmp.c              |  96 ++
 drivers/remoteproc/Kconfig                    |  12 +
 drivers/remoteproc/Makefile                   |   1 +
 drivers/remoteproc/xlnx_r5_remoteproc.c       | 959 ++++++++++++++++++
 include/dt-bindings/power/xlnx-zynqmp-power.h |   6 +
 include/linux/firmware/xlnx-zynqmp.h          |  60 ++
 8 files changed, 1290 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/remoteproc/xlnx,r5f-rproc.yaml
 create mode 100644 drivers/remoteproc/xlnx_r5_remoteproc.c


base-commit: c1fe10d238c0256a77dbc4bf6493b9782b2a218d
--
2.25.1

This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.

Comments

Tanmay Shah Nov. 22, 2021, 6:41 a.m. UTC | #1
On 11/22/21 11:08 AM, Tanmay Shah wrote:
> This patch series adds bindings document for RPU subsystem found on Xilinx
> ZynqMP platforms. It also adds device nodes and driver to enable RPU subsytem
> in split mode and lockstep mode.
>
> Xilinx ZynqMP platform contains Remote Processing Unit(RPU). RPU subsystem
> contains two arm cortex r5f cores. RPU subsystem can be configured in
> split mode, locsktep mode and single-cpu mode.
>
> RPU subsystem also contains 4 Tightly Coupled Memory(TCM) banks. In lockstep
> mode, all 4 banks are combined and total of 256KB memory is made available to
> r5 core0. In split mode, both cores can access two TCM banks i.e. 128 KB.
>
> RPU can also fetch data and execute instructions from DDR memory along with
> TCM memory.
>
> Ben Levinsky (3):
>    firmware: xilinx: Add ZynqMP firmware ioctl enums for RPU
>      configuration.
>    firmware: xilinx: Add shutdown/wakeup APIs
>    firmware: xilinx: Add RPU configuration APIs
>
> Tanmay Shah (3):
>    dt-bindings: remoteproc: Add Xilinx RPU subsystem bindings
>    arm64: dts: xilinx: zynqmp: Add RPU subsystem device node
>    drivers: remoteproc: Add Xilinx r5 remoteproc driver
>
>   .../bindings/remoteproc/xlnx,r5f-rproc.yaml   | 139 +++
>   arch/arm64/boot/dts/xilinx/zynqmp.dtsi        |  17 +
>   drivers/firmware/xilinx/zynqmp.c              |  96 ++
>   drivers/remoteproc/Kconfig                    |  12 +
>   drivers/remoteproc/Makefile                   |   1 +
>   drivers/remoteproc/xlnx_r5_remoteproc.c       | 959 ++++++++++++++++++
>   include/dt-bindings/power/xlnx-zynqmp-power.h |   6 +
>   include/linux/firmware/xlnx-zynqmp.h          |  60 ++
>   8 files changed, 1290 insertions(+)
>   create mode 100644 Documentation/devicetree/bindings/remoteproc/xlnx,r5f-rproc.yaml
>   create mode 100644 drivers/remoteproc/xlnx_r5_remoteproc.c
>
>
> base-commit: c1fe10d238c0256a77dbc4bf6493b9782b2a218d
> --
> 2.25.1
>
> This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.


Hi all, above footer (with proprietary copyrights) was appended 
automatically out of my knowledge after using git send-email command.

I will work on this and send v2 which does not contain this footer. 
Please ignore this patch series for now.

Thanks,

Tanmay