]> git.itanic.dy.fi Git - linux-stable/commit
net: ipa: introduce "qcom,gsi-loader" property
authorAlex Elder <elder@linaro.org>
Wed, 16 Nov 2022 07:32:54 +0000 (01:32 -0600)
committerJakub Kicinski <kuba@kernel.org>
Fri, 18 Nov 2022 05:46:54 +0000 (21:46 -0800)
commit07f2f8e1b7478ff1e1b3186563199305af2cd86a
tree2e612830bf5dffc4ec64a83e6816d73d84fd6064
parent50f803d4aa7173d05a8d5106704dd1b2c68a4cb4
net: ipa: introduce "qcom,gsi-loader" property

Introduce a new way of specifying how the GSI firmware gets loaded
for IPA.  Currently, this is indicated by the presence or absence of
the Boolean "modem-init" Device Tree property.  The new property
must have a value--either "self" or "modem"--which indicates whether
the AP or modem is the GSI firmware loader, respectively.

For legacy systems, the new property will not exist, and the
"modem-init" property will be used.  For newer systems, the
"qcom,gsi-loader" property *must* exist, and must have one of the
two prescribed values.  It is an error to have both properties
defined, and it is an error for the new property to have an
unrecognized value.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ipa/ipa_main.c