mbox series

[RFC,0/1] Add support for setting Cortex R7 boot address

Message ID 20210914094650.15235-1-julien.massot@iot.bzh (mailing list archive)
Headers show
Series Add support for setting Cortex R7 boot address | expand

Message

Julien Massot Sept. 14, 2021, 9:46 a.m. UTC
Hi,
I plan to submit a small driver to remoteproc subsystem in order
to manage the Cortex R7 found on various SoCs of the R-Car Gen3
SoC series.

Enabling this processor from the remoteproc subsystem requires to:
- loading a firmware to a RAM area.
- setting the boot address thanks to CR7BAR register
- enable power domains
- deassert CR7 reset

The goal here is to export a function from rcar-rst.c to allow a
a remoteproc driver to set this boot address.

I'm not so much used to manipulate init data so don't hesitate to
comment.

Thanks !

Julien Massot (1):
  soc: renesas: rcar-rst: Add support to set rproc boot address

 drivers/soc/renesas/rcar-rst.c       | 28 +++++++++++++++++++++++++++-
 include/linux/soc/renesas/rcar-rst.h |  2 ++
 2 files changed, 29 insertions(+), 1 deletion(-)