Message ID | 20220419123331.14377-1-allen-kh.cheng@mediatek.com |
---|---|
Headers | show |
Series | remoteproc: mediatek: allow different SCP firmware names | expand |
On Tue, 2022-04-19 at 20:33 +0800, Allen-KH Cheng wrote: > The SCP firmware blob differs between platforms and SoCs. We add > support in the SCP driver for reading the path of firmware file from > DT in order to allow these files to live in a generic file system > (or linux-firmware). > > The firmware-name property is optional and the code falls back to the > old filename if the property isn't present. > > Signed-off-by: Allen-KH Cheng <allen-kh.cheng@mediatek.com> > --- Reviewed-by: Rex-BC Chen <rex-bc.chen@mediatek.com>
Il 19/04/22 14:33, Allen-KH Cheng ha scritto: > The SCP firmware blob differs between platforms and SoCs. We add > support in the SCP driver for reading the path of firmware file from > DT in order to allow these files to live in a generic file system > (or linux-firmware). > > The firmware-name property is optional and the code falls back to the > old filename if the property isn't present. > > Signed-off-by: Allen-KH Cheng <allen-kh.cheng@mediatek.com> > Reviewed-by: Rex-BC Chen <rex-bc.chen@mediatek.com> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
On Tue, Apr 19, 2022 at 08:33:29PM +0800, Allen-KH Cheng wrote: > 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) I'm good with this patchset but I'll wait before applying to give Rob the time to review it. Thanks, Mathieu > > 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 >
On Tue, Apr 19, 2022 at 08:33:29PM +0800, Allen-KH Cheng wrote: > 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 +++++- I have applied this set. Thanks, Mathieu > 2 files changed, 12 insertions(+), 1 deletion(-) > > -- > 2.18.0 >