remoteproc: Add Renesas rcar driver
authorJulien Massot <julien.massot@iot.bzh>
Tue, 7 Dec 2021 16:58:29 +0000 (17:58 +0100)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Mon, 13 Dec 2021 18:30:55 +0000 (11:30 -0700)
commit285892a74f1370a12249f765c6a4e3b16194852e
treed40344c96ec701f79df0b029ec62dff2755a37ed
parentd3c76a42ecc7c41ddcba1455f4f6631648812df0
remoteproc: Add Renesas rcar driver

Renesas Gen3 platform includes a Cortex-r7 processor.

Both: the application cores (A5x) and the realtime core (CR7)
share access to the RAM and devices with the same address map,
so device addresses are equal to the Linux physical addresses.

In order to initialize this remote processor we need to:
- power on the realtime core
- put the firmware in a RAM area
- set the boot address for this firmware (reset vector)
- Deassert the reset

This initial driver allows to start and stop the Cortex R7
processor.

Signed-off-by: Julien Massot <julien.massot@iot.bzh>
Link: https://lore.kernel.org/r/20211207165829.195537-3-julien.massot@iot.bzh
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
drivers/remoteproc/Kconfig
drivers/remoteproc/Makefile
drivers/remoteproc/rcar_rproc.c [new file with mode: 0644]