diff options
author | Jakub Kicinski <kuba@kernel.org> | 2022-11-11 21:23:23 -0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-11-11 21:23:23 -0800 |
commit | d77be49309dddadee7cd0e581449baef1ded5ebe (patch) | |
tree | 513012d8fecec52c6908b7f381e6bb771a4dca2c | |
parent | 45f22f2fdc19b78bf8397fb9e535f8f9e90fbaf2 (diff) | |
parent | 7a6ca44c1e6156ac49274ce44f67bdc4d86187cb (diff) |
Merge branch 'dt-bindings-net-qcom-ipa-relax-some-restrictions'
Alex Elder says:
====================
dt-bindings: net: qcom,ipa: relax some restrictions
The first patch in this series simply removes an unnecessary
requirement in the IPA binding. Previously, if the modem was doing
GSI firmware loading, the firmware name property was required to
*not* be present. There is no harm in having the firmware name be
specified, so this restriction isn't needed.
The second patch restates a requirement on the "memory-region"
property more accurately.
These binding changes have no impact on existing code or DTS files.
These aren't really bug fixes, so no need to back-port.
====================
Link: https://lore.kernel.org/r/20221110195619.1276302-1-elder@linaro.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
-rw-r--r-- | Documentation/devicetree/bindings/net/qcom,ipa.yaml | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/Documentation/devicetree/bindings/net/qcom,ipa.yaml b/Documentation/devicetree/bindings/net/qcom,ipa.yaml index dd4bb2e74880..e752b76192df 100644 --- a/Documentation/devicetree/bindings/net/qcom,ipa.yaml +++ b/Documentation/devicetree/bindings/net/qcom,ipa.yaml @@ -155,22 +155,15 @@ required: - interconnects - qcom,smem-states -# Either modem-init is present, or memory-region must be present. -oneOf: - - required: - - modem-init - - required: - - 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 modem-init is not present, the AP loads GSI firmware, and +# memory-region must be specified if: - required: - - modem-init -then: not: required: - - firmware-name + - modem-init +then: + required: + - memory-region additionalProperties: false |