IPA v5.2 support for Milos and Fairphone (Gen. 6)
v2 cover IPA v5.2 support for Milos and Fairphone (Gen. 6)
Add support for IPA v5.2 which can be found in the Milos SoC. And finally enable it on Fairphone (Gen. 6) so that mobile data (4G/5G/..) starts working.
Depends on:
* IPA v5.2 support
https://lore.kernel.org/linux-arm-msm/[email protected]/T/
* Describe IMEM on Milos
https://lore.kernel.org/linux-arm-msm/[email protected]/T/
I'd like to have specified these as b4 deps but somehow b4's behaving quite weird with this series, adding many thousands of prerequisite-patch-id, so I guess manually will need to be enough.
---
Changes in v2:
- Split net patches into a separate series
- Pick up tags
- Link to v1: https://patch.msgid.link/[email protected]
---
Luca Weiss (2):
arm64: dts: qcom: milos: Add IPA node
arm64: dts: qcom: milos-fairphone-fp6: Enable IPA
arch/arm64/boot/dts/qcom/milos-fairphone-fp6.dts | 9 +++++ arch/arm64/boot/dts/qcom/milos.dtsi | 44 ++++++++++++++++++++++++ 2 files changed, 53 insertions(+)
---
base-commit: 0190c2c6dae368aeb9bf59a449ebe23f24bfa059
change-id: 20260403-milos-ipa-e5705aa87245
Best regards,
Signature · 1 line
Luca Weiss <[email protected]>
PATCH v2 1/2 arm64: dts: qcom: milos: Add IPA node
Add the description of the IPA block in the Milos SoC.
--- arch/arm64/boot/dts/qcom/milos.dtsi | 44 +++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+)
arch/arm64/boot/dts/qcom/milos.dtsi +44 -0
@@ -1599,6 +1599,50 @@ adreno_smmu: iommu@3da0000 { dma-coherent; }; + ipa: ipa@3f40000 { + compatible = "qcom,milos-ipa"; + + reg = <0x0 0x03f40000 0x0 0x10000>, + <0x0 0x03f50000 0x0 0x5000>, + <0x0 0x03e04000 0x0 0xfc000>; + reg-names = "ipa-reg", + "ipa-shared", + "gsi"; + + interrupts-extended = <&intc GIC_SPI 654 IRQ_TYPE_EDGE_RISING 0>, + <&intc GIC_SPI 432 IRQ_TYPE_LEVEL_HIGH 0>, + <&smp2p_ipa_in 0 IRQ_TYPE_EDGE_RISING>, + <&smp2p_ipa_in 1 IRQ_TYPE_EDGE_RISING>; + interrupt-names = "ipa", + "gsi", + "ipa-clock-query", + "ipa-setup-ready"; + + clocks = <&rpmhcc RPMH_IPA_CLK>; + clock-names = "core"; + + interconnects = <&aggre2_noc MASTER_IPA QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY + &cnoc_main SLAVE_IPA_CFG QCOM_ICC_TAG_ACTIVE_ONLY>; + interconnect-names = "memory", + "config"; + + iommus = <&apps_smmu 0x4a0 0x0>, + <&apps_smmu 0x4a2 0x0>; + + qcom,qmp = <&aoss_qmp>; + + qcom,smem-states = <&smp2p_ipa_out 0>, + <&smp2p_ipa_out 1>; + qcom,smem-state-names = "ipa-clock-enabled-valid", + "ipa-clock-enabled"; + + sram = <&ipa_modem_tables>; + + status = "disabled"; + }; + remoteproc_mpss: remoteproc@4080000 { compatible = "qcom,milos-mpss-pas"; reg = <0x0 0x04080000 0x0 0x10000>;
Signature · 1 line
2.53.0
PATCH v2 2/2 arm64: dts: qcom: milos-fairphone-fp6: Enable IPA
In reply to Luca WeissConfigure and enable the node for IPA which enables mobile data on this device.
--- arch/arm64/boot/dts/qcom/milos-fairphone-fp6.dts | 9 +++++++++ 1 file changed, 9 insertions(+)
arch/arm64/boot/dts/qcom/milos-fairphone-fp6.dts +9 -0
@@ -690,6 +690,15 @@ vreg_l7p: ldo7 { /* AW86938FCR vibrator @ 0x5a */ }; +&ipa { + firmware-name = "qcom/milos/fairphone/fp6/ipa_fws.mbn"; + memory-region = <&ipa_fw_mem>; + + qcom,gsi-loader = "self"; + + status = "okay"; +}; + &pm8550vs_c { status = "okay"; };
Signature · 1 line
2.53.0
Re: [PATCH v2 2/2] arm64: dts: qcom: milos-fairphone-fp6: Enable IPA
Quoted 5 lines · Luca Weiss
Configure and enable the node for IPA which enables mobile data on this device.
Signed-off-by Luca Weiss <[email protected]>---
Konrad
Quoted 11 lines · Luca Weiss
Add support for IPA v5.2 which can be found in the Milos SoC. And finally enable it on Fairphone (Gen. 6) so that mobile data (4G/5G/..) starts working.
Depends on:
* IPA v5.2 support
https://lore.kernel.org/linux-arm-msm/[email protected]/T/
* Describe IMEM on Milos
https://lore.kernel.org/linux-arm-msm/[email protected]/T/[...]
Applied, thanks!
[1/2] arm64: dts: qcom: milos: Add IPA node
commit: 5b372595d4b4cd471f49901498a920c983310c47
[2/2] arm64: dts: qcom: milos-fairphone-fp6: Enable IPA
commit: 47dd81735741b60b53dc2ccd4a48b0ec74c9adc7Best regards,
Signature · 1 line
Bjorn Andersson <[email protected]>