remoteproc: stm32: Allow hold boot management by the SCMI reset controller
authorArnaud Pouliquen <arnaud.pouliquen@foss.st.com>
Fri, 12 May 2023 09:39:24 +0000 (11:39 +0200)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Mon, 15 May 2023 17:21:45 +0000 (11:21 -0600)
commitde598695a2adc2affe7ce2e8787b5c01ce3aa661
tree31b7710ccbe76f6819ce881b1f7078f60f1900c4
parentef7129db96cb1ecf627ca82677f34ac3b37edab2
remoteproc: stm32: Allow hold boot management by the SCMI reset controller

The hold boot can be managed by the SCMI controller as a reset.
If the "hold_boot" reset is defined in the device tree, use it.
Else use the syscon controller directly to access to the register.
The support of the SMC call is deprecated but kept for legacy support.

Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>
Link: https://lore.kernel.org/r/20230512093926.661509-3-arnaud.pouliquen@foss.st.com
drivers/remoteproc/stm32_rproc.c