author | Suman Anna <s-anna@ti.com> | |
Tue, 21 Jul 2020 22:36:13 +0000 (17:36 -0500) | ||
committer | Suman Anna <s-anna@ti.com> | |
Tue, 4 Aug 2020 16:56:56 +0000 (11:56 -0500) | ||
commit | dc67dfcc77bd5b2942a0373dd8725d7df6fb4044 | |
tree | c96ba5cd574f457b7c28c581e59a48c4202c9055 | tree | snapshot (tar.xz tar.gz zip) |
parent | e1f83f62dc4c58ebf5e263eebf8670eed2254971 | commit | diff |
remoteproc: Introduce rproc_of_parse_firmware() helper
[ Upstream commit a8aa5ee100df45f4988975822f5af7c2b67ee9e6 ]
Add a new helper function rproc_of_parse_firmware() to the remoteproc
core that can be used by various remoteproc drivers to look up the
the "firmware-name" property from a rproc device node. This property
is already being used by multiple drivers, so this helper can avoid
repeating equivalent code in remoteproc drivers.
Signed-off-by: Suman Anna <s-anna@ti.com>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Reviewed-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Link: https://lore.kernel.org/r/20200721223617.20312-3-s-anna@ti.com
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
[s-anna@ti.com: cherry-pick commit 'a8aa5ee100df' from v5.9]
[ Upstream commit a8aa5ee100df45f4988975822f5af7c2b67ee9e6 ]
Add a new helper function rproc_of_parse_firmware() to the remoteproc
core that can be used by various remoteproc drivers to look up the
the "firmware-name" property from a rproc device node. This property
is already being used by multiple drivers, so this helper can avoid
repeating equivalent code in remoteproc drivers.
Signed-off-by: Suman Anna <s-anna@ti.com>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Reviewed-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Link: https://lore.kernel.org/r/20200721223617.20312-3-s-anna@ti.com
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
[s-anna@ti.com: cherry-pick commit 'a8aa5ee100df' from v5.9]
drivers/remoteproc/remoteproc_core.c | diff | blob | history | |
drivers/remoteproc/remoteproc_internal.h | diff | blob | history |