Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

arm64: dts: qcom: use qcom,gsi-loader for IPA

Depending on the platform, either the modem or the AP must load GSI
firmware for IPA before it can be used. To date, this has been
indicated by the presence or absence of a "modem-init" property.

That mechanism has been deprecated. Instead, we indicate how GSI
firmware should be loaded by the value of the "qcom,gsi-loader"
property.

Update all arm64 platforms that use IPA to use the "qcom,gsi-loader"
property to specify how the GSI firmware is loaded.

Update the affected nodes so the status property is last.

Signed-off-by: Alex Elder <elder@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
[bjorn: Moved sc7280 change herobrine-lte-sku]
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221231002716.2367375-3-elder@linaro.org

authored by

Alex Elder and committed by
Bjorn Andersson
a9a9e857 bf37b5bc

+24 -19
+2 -3
arch/arm64/boot/dts/qcom/sc7180-trogdor-lte-sku.dtsi
··· 19 19 }; 20 20 21 21 &ipa { 22 - status = "okay"; 23 - 24 22 /* 25 23 * Trogdor doesn't have QHEE (Qualcomm's EL2 blob), so the 26 24 * modem needs to cover certain init steps (GSI init), and 27 25 * the AP needs to wait for it. 28 26 */ 29 - modem-init; 27 + qcom,gsi-loader = "modem"; 28 + status = "okay"; 30 29 };
+1 -1
arch/arm64/boot/dts/qcom/sc7280-herobrine-lte-sku.dtsi
··· 21 21 }; 22 22 23 23 &ipa { 24 - modem-init; 24 + qcom,gsi-loader = "modem"; 25 25 status = "okay"; 26 26 }; 27 27
+1 -1
arch/arm64/boot/dts/qcom/sdm845-cheza.dtsi
··· 756 756 }; 757 757 758 758 &ipa { 759 + qcom,gsi-loader = "modem"; 759 760 status = "okay"; 760 - modem-init; 761 761 }; 762 762 763 763 &lpasscc {
+1 -1
arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
··· 474 474 }; 475 475 476 476 &ipa { 477 + qcom,gsi-loader = "modem"; 477 478 status = "okay"; 478 - modem-init; 479 479 }; 480 480 481 481 &mss_pil {
+2 -1
arch/arm64/boot/dts/qcom/sdm845-mtp.dts
··· 518 518 }; 519 519 520 520 &ipa { 521 - status = "okay"; 521 + qcom,gsi-loader = "self"; 522 522 memory-region = <&ipa_fw_mem>; 523 + status = "okay"; 523 524 }; 524 525 525 526 &mdss {
+2 -2
arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi
··· 424 424 }; 425 425 426 426 &ipa { 427 - status = "okay"; 428 - 427 + qcom,gsi-loader = "self"; 429 428 memory-region = <&ipa_fw_mem>; 430 429 firmware-name = "qcom/sdm845/oneplus6/ipa_fws.mbn"; 430 + status = "okay"; 431 431 }; 432 432 433 433 &mdss {
+2 -2
arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dts
··· 495 495 }; 496 496 497 497 &ipa { 498 - status = "okay"; 499 - 498 + qcom,gsi-loader = "self"; 500 499 memory-region = <&ipa_fw_mem>; 501 500 firmware-name = "qcom/sdm845/axolotl/ipa_fws.mbn"; 501 + status = "okay"; 502 502 }; 503 503 504 504 &mdss {
+2 -1
arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi
··· 299 299 }; 300 300 301 301 &ipa { 302 - status = "okay"; 302 + qcom,gsi-loader = "self"; 303 303 memory-region = <&ipa_fw_mem>; 304 304 firmware-name = "qcom/sdm845/beryllium/ipa_fws.mbn"; 305 + status = "okay"; 305 306 }; 306 307 307 308 &pm8998_gpios {
+1
arch/arm64/boot/dts/qcom/sdm845-xiaomi-polaris.dts
··· 449 449 }; 450 450 451 451 &ipa { 452 + qcom,gsi-loader = "self"; 452 453 memory-region = <&ipa_fw_mem>; 453 454 firmware-name = "qcom/sdm845/polaris/ipa_fws.mbn"; 454 455 status = "okay";
+2 -1
arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts
··· 465 465 }; 466 466 467 467 &ipa { 468 - status = "okay"; 468 + qcom,gsi-loader = "self"; 469 469 memory-region = <&ipa_fw_mem>; 470 + status = "okay"; 470 471 }; 471 472 472 473 &mdss {
+2 -1
arch/arm64/boot/dts/qcom/sdm850-samsung-w737.dts
··· 383 383 }; 384 384 385 385 &ipa { 386 - status = "okay"; 386 + qcom,gsi-loader = "self"; 387 387 memory-region = <&ipa_fw_mem>; 388 388 firmware-name = "qcom/sdm850/samsung/w737/ipa_fws.elf"; 389 + status = "okay"; 389 390 }; 390 391 391 392 /* No idea why it causes an SError when enabled */
+2 -2
arch/arm64/boot/dts/qcom/sm8350-microsoft-surface-duo2.dts
··· 290 290 }; 291 291 292 292 &ipa { 293 - status = "okay"; 294 - 293 + qcom,gsi-loader = "self"; 295 294 memory-region = <&pil_ipa_fw_mem>; 295 + status = "okay"; 296 296 }; 297 297 298 298 &mpss {
+2 -2
arch/arm64/boot/dts/qcom/sm8350-mtp.dts
··· 376 376 }; 377 377 378 378 &ipa { 379 - status = "okay"; 380 - 379 + qcom,gsi-loader = "self"; 381 380 memory-region = <&pil_ipa_fw_mem>; 381 + status = "okay"; 382 382 };
+2 -1
arch/arm64/boot/dts/qcom/sm8350-sony-xperia-sagami.dtsi
··· 553 553 }; 554 554 555 555 &ipa { 556 - status = "okay"; 556 + qcom,gsi-loader = "self"; 557 557 memory-region = <&pil_ipa_fw_mem>; 558 558 firmware-name = "qcom/sm8350/Sony/sagami/ipa_fws.mbn"; 559 + status = "okay"; 559 560 }; 560 561 561 562 &mpss {