Files
mi8-platina-linux/ports/candidate/linux-postmarketos-qcom-sdm660/0042-arm64-dts-sdm660-add-ipa-v2-node.patch
T
shenlei 530a3690da
Offline project checks / check (push) Canceled after 0s
feat: add WCN3990 Wi-Fi bringup service, battery protection, and bringup automation
- Add phone-dsp.openrc to initialize Hexagon DSP, rmtfs, pd-mapper, and ath10k_snoc
- Update phone-battery-guard threshold to 80% with power supply node fallbacks
- Enhance phone-cellular-setup with battery gate checks, RF locks, and unit tests
- Include bringup, flashing, and inspection automation scripts for platina
- Update candidate IPA v2.6 patches and package locks
2026-11-12 14:54:23 +09:00

42 lines
1.2 KiB
Diff

From: Platina Linux contributors
Subject: [PATCH] arm64: dts: qcom: sdm660: add ipa v2 node and enable on platina
Add the IPA hardware node to sdm660.dtsi with BAM DMA and register ranges,
RPM SMD core clock, interrupts, and SMMU context bank. Enable the IPA
device on Xiaomi Mi 8 Lite (Platina).
--- a/arch/arm64/boot/dts/qcom/sdm660.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm660.dtsi
@@ -435,6 +435,21 @@
};
};
};
+ ipa: ipa@14780000 {
+ compatible = "qcom,sdm660-ipa", "qcom,ipa-v2.6";
+ reg = <0x14780000 0x4000>,
+ <0x14784000 0x4000>;
+ reg-names = "ipa-reg",
+ "ipa-shared";
+ interrupts-extended = <&intc GIC_SPI 333 IRQ_TYPE_EDGE_RISING>,
+ <&intc GIC_SPI 432 IRQ_TYPE_EDGE_RISING>;
+ interrupt-names = "ipa",
+ "bam";
+ clocks = <&rpmcc RPM_SMD_IPA_CLK>;
+ clock-names = "core";
+ qcom,gsi-loader = "skip";
+ status = "disabled";
+ };
};
&tlmm {
--- a/arch/arm64/boot/dts/qcom/sdm660-xiaomi-platina.dts
+++ b/arch/arm64/boot/dts/qcom/sdm660-xiaomi-platina.dts
@@ -1230,3 +1230,7 @@
opp-2150400000 { opp-hz = /bits/ 64 <2150400000>; };
opp-2208000000 { opp-hz = /bits/ 64 <2208000000>; };
};
+
+&ipa {
+ status = "okay";
+};