dt-bindings: remoteproc: mediatek: Add firmware-name property
authorAllen-KH Cheng <allen-kh.cheng@mediatek.com>
Tue, 19 Apr 2022 12:33:30 +0000 (20:33 +0800)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Tue, 26 Apr 2022 16:21:08 +0000 (10:21 -0600)
The SCP needs firmware which differs between other platforms and SoCs.
Add a new property "firmware-name" to allow the DT to specify the
platform/board specific path to this firmware file.

Signed-off-by: Allen-KH Cheng <allen-kh.cheng@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Acked-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220419123331.14377-2-allen-kh.cheng@mediatek.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Documentation/devicetree/bindings/remoteproc/mtk,scp.yaml

index 823a236..abc11ac 100644 (file)
@@ -45,6 +45,13 @@ properties:
   interrupts:
     maxItems: 1
 
+  firmware-name:
+    $ref: /schemas/types.yaml#/definitions/string
+    description:
+      If present, name (or relative path) of the file within the
+      firmware search path containing the firmware image used when
+      initializing SCP.
+
 required:
   - compatible
   - reg