]> git.itanic.dy.fi Git - linux-stable/commit
dt-bindings: net: qcom,ipa: deprecate modem-init
authorAlex Elder <elder@linaro.org>
Wed, 16 Nov 2022 07:32:52 +0000 (01:32 -0600)
committerJakub Kicinski <kuba@kernel.org>
Fri, 18 Nov 2022 05:46:53 +0000 (21:46 -0800)
commit4ca0c6474f71cb136acf103aa963715e1bd2939a
tree2be04ce864ffa68ef5dfa599228a420f8f28b6ea
parent647541ea06a7bbbcf941e501c726b3e26328c102
dt-bindings: net: qcom,ipa: deprecate modem-init

GSI firmware for IPA must be loaded during initialization, either by
the AP or by the modem.  The loader is currently specified based on
whether the Boolean modem-init property is present.

Instead, use a new property with an enumerated value to indicate
explicitly how GSI firmware gets loaded.  With this in place, a
third approach can be added in an upcoming patch.

The new qcom,gsi-loader property has two defined values:
  - self:   The AP loads GSI firmware
  - modem:  The modem loads GSI firmware
The modem-init property must still be supported, but is now marked
deprecated.

Update the example so it represents the SC7180 SoC, and provide
examples for the qcom,gsi-loader, memory-region, and firmware-name
properties.

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