[PATCH v3 0/2] remoteproc: mediatek: allow different SCP firmware names

Allen-KH Cheng
2022-04-19T13:34:06Z

The SCP needs firmware which differs between platforms and SoCs. Add a new
property "firmware-name" to allow the DT to specify the platform/board specific
path to this firmware file.

The firmware-name property is optional and the code falls back to the
old filename if the property isn't present.

Base on remoteproc/linux.git, rproc-next (58b7c856519f)

changes since v2:$
- use rproc_of_parse_firmware instead of of_property_read_string
changes since v1:
- fix a misspelled word in commit title

Allen-KH Cheng (2):
dt-bindings: remoteproc: mediatek: add firmware-name property
remoteproc: mediatek: allow reading firmware-name from DT

Documentation/devicetree/bindings/remoteproc/mtk,scp.yaml | 7 +++++++
drivers/remoteproc/mtk_scp.c | 6 +++++-
2 files changed, 12 insertions(+), 1 deletion(-)

--
2.18.0