drivers: remoteproc: Add Xilinx r5 remoteproc driver
authorTanmay Shah <tanmay.shah@amd.com>
Mon, 14 Nov 2022 23:39:40 +0000 (15:39 -0800)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Fri, 25 Nov 2022 16:12:05 +0000 (09:12 -0700)
commit6b291e8020a8bd90e94ee13d61f251040425c90d
tree44d0efceacc3fa6f839bcee7a70965e418d541bd
parenta5e56980cfb7ecaeb9a207c74e2e90ec544f0bc0
drivers: remoteproc: Add Xilinx r5 remoteproc driver

This driver enables r5f dual core Real time Processing Unit subsystem
available on Xilinx Zynq Ultrascale MPSoC Platform. RPU subsystem
(cluster) can be configured in different modes e.g. split mode in which
two r5f cores work independent of each other and lock-step mode in which
both r5f cores execute same code clock-for-clock and notify if the
result is different.

The Xilinx r5 Remoteproc Driver boots the RPU cores via calls to the Xilinx
Platform Management Unit that handles the R5 configuration, memory access
and R5 lifecycle management. The interface to this manager is done in this
driver via zynqmp_pm_* function calls.

Signed-off-by: Ben Levinsky <ben.levinsky@amd.com>
Signed-off-by: Tanmay Shah <tanmay.shah@amd.com>
Reported-by: kernel test robot <lkp@intel.com>
Link: https://lore.kernel.org/r/20221114233940.2096237-7-tanmay.shah@amd.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
drivers/remoteproc/Kconfig
drivers/remoteproc/Makefile
drivers/remoteproc/xlnx_r5_remoteproc.c [new file with mode: 0644]