]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2359890cc4dd9f1effd780af4cb7714328861586
treed40344c96ec701f79df0b029ec62dff2755a37ed
parent8ba45355bd05a38d4a4fef3ed19ecef3fceff09c
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]