author | Loic Pallardy <loic.pallardy@st.com> | |
Thu, 1 Mar 2018 16:23:55 +0000 (17:23 +0100) | ||
committer | Suman Anna <s-anna@ti.com> | |
Wed, 27 Feb 2019 20:35:17 +0000 (14:35 -0600) | ||
commit | 06267958ccefe18fd445a94986ecd7b173f0bb09 | |
tree | 06c576055048aea42ece68cc0481087e908b5043 | tree | snapshot (tar.xz tar.gz zip) |
parent | bbaab7f0a9a8ee94a0df046dfcccef3a7abad7ea | commit | diff |
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>
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 | diff | blob | history | |
include/linux/remoteproc.h | diff | blob | history |