Commit 7a6ca44c authored by Alex Elder's avatar Alex Elder Committed by Jakub Kicinski
Browse files

dt-bindings: net: qcom,ipa: restate a requirement



Either the AP or modem loads GSI firmware.  If the modem-init
property is present, the modem loads it.  Otherwise, the AP loads
it, and in that case the memory-region property must be defined.

Currently this requirement is expressed as one or the other of the
modem-init or the memory-region property being required.  But it's
harmless for the memory-region to be present if the modem is loading
firmware (it'll just be ignored).

Restate the requirement so that the memory-region property is
required only if modem-init is not present.

Signed-off-by: default avatarAlex Elder <elder@linaro.org>
Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 9d26628a
Loading
Loading
Loading
Loading
+8 −5
Original line number Diff line number Diff line
@@ -155,11 +155,14 @@ required:
  - interconnects
  - qcom,smem-states

# Either modem-init is present, or memory-region must be present.
oneOf:
  - required:
# If modem-init is not present, the AP loads GSI firmware, and
# memory-region must be specified
if:
  not:
    required:
      - modem-init
  - required:
then:
  required:
    - memory-region

additionalProperties: false