summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/net
diff options
context:
space:
mode:
authorAlex Elder <elder@linaro.org>2022-11-10 13:56:17 -0600
committerJakub Kicinski <kuba@kernel.org>2022-11-11 21:23:19 -0800
commit9d26628a4ce2d0ba42d0632e345c8bfd45b26127 (patch)
tree4142f6d6fd63e14d2b23c81639d22174c5d30b92 /Documentation/devicetree/bindings/net
parent45f22f2fdc19b78bf8397fb9e535f8f9e90fbaf2 (diff)
downloadlwn-9d26628a4ce2d0ba42d0632e345c8bfd45b26127.tar.gz
lwn-9d26628a4ce2d0ba42d0632e345c8bfd45b26127.zip
dt-bindings: net: qcom,ipa: remove an unnecessary restriction
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>
Diffstat (limited to 'Documentation/devicetree/bindings/net')
-rw-r--r--Documentation/devicetree/bindings/net/qcom,ipa.yaml10
1 files changed, 0 insertions, 10 deletions
diff --git a/Documentation/devicetree/bindings/net/qcom,ipa.yaml b/Documentation/devicetree/bindings/net/qcom,ipa.yaml
index dd4bb2e74880..2d253ef48818 100644
--- a/Documentation/devicetree/bindings/net/qcom,ipa.yaml
+++ b/Documentation/devicetree/bindings/net/qcom,ipa.yaml
@@ -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: