]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - rpmsg/rpmsg.git/commit
remoteproc: add prepare and unprepare ops
authorLoic Pallardy <loic.pallardy@st.com>
Thu, 1 Mar 2018 16:23:55 +0000 (17:23 +0100)
committerSuman Anna <s-anna@ti.com>
Wed, 27 Feb 2019 20:35:17 +0000 (14:35 -0600)
commit06267958ccefe18fd445a94986ecd7b173f0bb09
tree06c576055048aea42ece68cc0481087e908b5043
parentbbaab7f0a9a8ee94a0df046dfcccef3a7abad7ea
remoteproc: add prepare and unprepare ops

On some SoC architecture, it is needed to enable HW like
clock, bus, regulator, memory region... before loading
co-processor firmware.

This patch introduces prepare and unprepare ops to execute
platform specific function before firmware loading and after
stop execution.

Signed-off-by: Loic Pallardy <loic.pallardy@st.com>
[s-anna@ti.com: cherry-pick linux-remoteproc patchwork id '10251897']
Signed-off-by: Suman Anna <s-anna@ti.com>
drivers/remoteproc/remoteproc_core.c
include/linux/remoteproc.h