]> git.itanic.dy.fi Git - linux-stable/commit
dt-bindings: net: qcom,ipa: restate a requirement
authorAlex Elder <elder@linaro.org>
Thu, 10 Nov 2022 19:56:18 +0000 (13:56 -0600)
committerJakub Kicinski <kuba@kernel.org>
Sat, 12 Nov 2022 05:23:20 +0000 (21:23 -0800)
commit7a6ca44c1e6156ac49274ce44f67bdc4d86187cb
tree513012d8fecec52c6908b7f381e6bb771a4dca2c
parent9d26628a4ce2d0ba42d0632e345c8bfd45b26127
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: 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