]> git.itanic.dy.fi Git - linux-stable/commitdiff
dt-bindings: net: qcom,ipa: remove an unnecessary restriction
authorAlex Elder <elder@linaro.org>
Thu, 10 Nov 2022 19:56:17 +0000 (13:56 -0600)
committerJakub Kicinski <kuba@kernel.org>
Sat, 12 Nov 2022 05:23:19 +0000 (21:23 -0800)
Commit d8604b209e9b3 ("dt-bindings: net: qcom,ipa: add firmware-name
property") added a requirement for a "firmware-name" property that
is more restrictive than necessary.

If the AP loads GSI firmware, the name of the firmware file to use
may optionally be provided via a "firmware-name" property.  If the
*modem* loads GSI firmware, "firmware-name" doesn't need to be
supplied--but it's harmless to do so (it will simply be ignored).

Remove the unnecessary restriction, and allow "firware-name" to be
supplied even if it's not needed.

Signed-off-by: Alex Elder <elder@linaro.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/devicetree/bindings/net/qcom,ipa.yaml

index dd4bb2e748800997d3a11b9128e5bf905c229450..2d253ef48818876d6021f85113c8ca46818458e5 100644 (file)
@@ -162,16 +162,6 @@ oneOf:
   - 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:
-  required:
-    - modem-init
-then:
-  not:
-    required:
-      - firmware-name
-
 additionalProperties: false
 
 examples: