Commit d8604b20 authored by Alex Elder's avatar Alex Elder Committed by David S. Miller

dt-bindings: net: qcom,ipa: add firmware-name property

Add a new optional firmware-name property to the IPA DT node.  It
is used only if the modem is not doing early initialization (i.e.,
if the modem-init property is not present).  Its value is the name
of the firmware file to use; if it's not specified, a default name
("ipa_fws.mdt") is used.
Signed-off-by: default avatarAlex Elder <elder@linaro.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent fb32856b
...@@ -125,6 +125,14 @@ properties: ...@@ -125,6 +125,14 @@ properties:
the firmware passed to Trust Zone for authentication. Required the firmware passed to Trust Zone for authentication. Required
when Trust Zone (not the modem) performs early initialization. when Trust Zone (not the modem) performs early initialization.
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 IPA hardware. Optional, and only used when
Trust Zone performs early initialization.
required: required:
- compatible - compatible
- iommus - iommus
...@@ -134,12 +142,23 @@ required: ...@@ -134,12 +142,23 @@ required:
- interconnects - interconnects
- qcom,smem-states - qcom,smem-states
# Either modem-init is present, or memory-region must be present.
oneOf: oneOf:
- required: - required:
- modem-init - modem-init
- required: - required:
- memory-region - memory-region
# If memory-region is present, firmware-name may optionally be present.
# But if modem-init is present, firmware-name must not be present.
if:
required:
- modem-init
then:
not:
required:
- firmware-name
additionalProperties: false additionalProperties: false
examples: examples:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment