Skip to contentSkip to conversation

arm64: dts: qcom: sdm845-xiaomi-beryllium: Enable SLPI

PATCH Applied Robert Eckelmann 2 participants 6 messages Jan 5

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

v4 cover arm64: dts: qcom: sdm845-xiaomi-beryllium: Enable SLPI

Enable the SLPI dsp on the Xiaomi Pocophone F1 with Qualcom SDM845 SoC.

---
Changes in v4:
- remove not needed status change
- Link to v3: https://lore.kernel.org/r/[email protected]

Changes in v3:
- remove stray newline at end of file
- Link to v2: https://lore.kernel.org/r/[email protected]

Changes in v2:
- adjusted firmware paths
- enabled i2c busses
- Link to v1: https://lore.kernel.org/r/[email protected]

---
Robert Eckelmann (3):
arm64: dts: qcom: sdm845-xiaomi-beryllium: Enable SLPI
arm64: dts: qcom: sdm845-xiaomi-beryllium: Adjust firmware paths
arm64: dts: qcom: sdm845-xiaomi-beryllium: Add placeholders and sort

 .../dts/qcom/sdm845-xiaomi-beryllium-common.dtsi   | 44 ++++++++++++++++------
 1 file changed, 32 insertions(+), 12 deletions(-)

---
base-commit: 6987d58a9cbc5bd57c983baa514474a86c945d56
change-id: 20251126-slpi-c616e3a391ce

Best regards,

Signature · 1 line
Robert Eckelmann <[email protected]>
#1 lore raw

PATCH v4 1/3 arm64: dts: qcom: sdm845-xiaomi-beryllium: Enable SLPI

Enable the SLPI dsp on the Xiaomi Pocophone F1 with Qualcom SDM845 SoC.

---
 arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)
arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi +6 -0
index 785006a15e97..57af560e35ce 100644
@@ -425,6 +425,12 @@ &sdhc_2 {
 	cd-gpios = <&tlmm 126 GPIO_ACTIVE_HIGH>;
 };
 
+&slpi_pas {
+	firmware-name = "qcom/sdm845/Xiaomi/beryllium/slpi.mbn";
+
+	status = "okay";
+};
+
 &sound {
 	compatible = "qcom,db845c-sndcard", "qcom,sdm845-sndcard";
 	pinctrl-0 = <&quat_mi2s_active
Signature · 1 line
2.52.0
#2 lore raw

PATCH v4 2/3 arm64: dts: qcom: sdm845-xiaomi-beryllium: Adjust firmware paths

In reply to Robert Eckelmann

Firmware patht adjusted to include device maker "Xiaomi"

---
 .../arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)
arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi +7 -6
index 57af560e35ce..ab450d44b3f6 100644
@@ -136,7 +136,7 @@ vreg_s4a_1p8: vreg-s4a-1p8 {
 
 &adsp_pas {
 	status = "okay";
-	firmware-name = "qcom/sdm845/beryllium/adsp.mbn";
+	firmware-name = "qcom/sdm845/Xiaomi/beryllium/adsp.mbn";
 };
 
 &apps_rsc {
@@ -229,7 +229,7 @@ vreg_l26a_1p2: ldo26 {
 
 &cdsp_pas {
 	status = "okay";
-	firmware-name = "qcom/sdm845/beryllium/cdsp.mbn";
+	firmware-name = "qcom/sdm845/Xiaomi/beryllium/cdsp.mbn";
 };
 
 &gcc {
@@ -249,7 +249,7 @@ &gpu {
 };
 
 &gpu_zap_shader {
-	firmware-name = "qcom/sdm845/beryllium/a630_zap.mbn";
+	firmware-name = "qcom/sdm845/Xiaomi/beryllium/a630_zap.mbn";
 };
 
 &ibb {
@@ -308,13 +308,14 @@ &mdss_dsi0_phy {
 
 &mss_pil {
 	status = "okay";
-	firmware-name = "qcom/sdm845/beryllium/mba.mbn", "qcom/sdm845/beryllium/modem.mbn";
+	firmware-name = "qcom/sdm845/Xiaomi/beryllium/mba.mbn",
+	"qcom/sdm845/Xiaomi/beryllium/modem.mbn";
 };
 
 &ipa {
 	qcom,gsi-loader = "self";
 	memory-region = <&ipa_fw_mem>;
-	firmware-name = "qcom/sdm845/beryllium/ipa_fws.mbn";
+	firmware-name = "qcom/sdm845/Xiaomi/beryllium/ipa_fws.mbn";
 	status = "okay";
 };
 
@@ -618,7 +619,7 @@ &usb_1_qmpphy {
 
 &venus {
 	status = "okay";
-	firmware-name = "qcom/sdm845/beryllium/venus.mbn";
+	firmware-name = "qcom/sdm845/Xiaomi/beryllium/venus.mbn";
 };
 
 &wcd9340 {
Signature · 1 line
2.52.0
#3 lore raw

PATCH v4 3/3 arm64: dts: qcom: sdm845-xiaomi-beryllium: Add placeholders and sort

In reply to Robert Eckelmann

We know these devices are present, most of them are supported by downstream and close to the mainline kernels.

This is very handy when rebasing the integration tree with the support.

No functional changes.

---
 .../dts/qcom/sdm845-xiaomi-beryllium-common.dtsi   | 27 ++++++++++++++++------
 1 file changed, 20 insertions(+), 7 deletions(-)
arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi +20 -7
index ab450d44b3f6..6f1bff7a37cd 100644
@@ -227,6 +227,10 @@ vreg_l26a_1p2: ldo26 {
 	};
 };
 
+&cci_i2c0 {
+	/* IMX363 @ 10 */
+};
+
 &cdsp_pas {
 	status = "okay";
 	firmware-name = "qcom/sdm845/Xiaomi/beryllium/cdsp.mbn";
@@ -261,6 +265,22 @@ &ibb {
 	qcom,discharge-resistor-kohms = <300>;
 };
 
+&ipa {
+	qcom,gsi-loader = "self";
+	memory-region = <&ipa_fw_mem>;
+	firmware-name = "qcom/sdm845/beryllium/ipa_fws.mbn";
+
+	status = "okay";
+};
+
+&i2c5 {
+	clock-frequency = <400000>;
+
+	status = "okay";
+
+	/* TAS2559 @ 4C */
+};
+
 &lab {
 	regulator-min-microvolt = <4600000>;
 	regulator-max-microvolt = <6000000>;
@@ -312,13 +332,6 @@ &mss_pil {
 	"qcom/sdm845/Xiaomi/beryllium/modem.mbn";
 };
 
-&ipa {
-	qcom,gsi-loader = "self";
-	memory-region = <&ipa_fw_mem>;
-	firmware-name = "qcom/sdm845/Xiaomi/beryllium/ipa_fws.mbn";
-	status = "okay";
-};
-
 &pm8998_gpios {
 	vol_up_pin_a: vol-up-active-state {
 		pins = "gpio6";
Signature · 1 line
2.52.0
maintainer
#4 lore raw
In reply to Robert Eckelmann
Quoted 2 lines · On Mon, Jan 05, 2026 at 10:31:50PM +0900, Robert Eckelmann via B4 Relay wrote:

Enable the SLPI dsp on the Xiaomi Pocophone F1 with Qualcom SDM845 SoC.

Thank you for your patches, Robert. I've already applied v3, please check the result in linux-next and send any incremental patches on top of that if necessary.

Thank you,
Bjorn

Quoted 32 lines

---
Changes in v4:
- remove not needed status change
- Link to v3: https://lore.kernel.org/r/[email protected]

Changes in v3:
- remove stray newline at end of file
- Link to v2: https://lore.kernel.org/r/[email protected]

Changes in v2:
- adjusted firmware paths
- enabled i2c busses
- Link to v1: https://lore.kernel.org/r/[email protected]

---
Robert Eckelmann (3):
arm64: dts: qcom: sdm845-xiaomi-beryllium: Enable SLPI
arm64: dts: qcom: sdm845-xiaomi-beryllium: Adjust firmware paths
arm64: dts: qcom: sdm845-xiaomi-beryllium: Add placeholders and sort

 .../dts/qcom/sdm845-xiaomi-beryllium-common.dtsi   | 44 ++++++++++++++++------
 1 file changed, 32 insertions(+), 12 deletions(-)

---
base-commit: 6987d58a9cbc5bd57c983baa514474a86c945d56
change-id: 20251126-slpi-c616e3a391ce

Best regards,

Signature · 1 line
Robert Eckelmann <[email protected]>
maintainer Applied
#5 lore raw
In reply to Robert Eckelmann
Quoted 3 lines · Robert Eckelmann

Enable the SLPI dsp on the Xiaomi Pocophone F1 with Qualcom SDM845 SoC.

Applied, thanks!

[1/3] arm64: dts: qcom: sdm845-xiaomi-beryllium: Enable SLPI

      commit: 2a7dac907be27bd0b86a6f2df3f5feedcb538263
[2/3] arm64: dts: qcom: sdm845-xiaomi-beryllium: Adjust firmware paths
      commit: f4e6e3f827a0c53f38b3186335069d855ea9e9ff
[3/3] arm64: dts: qcom: sdm845-xiaomi-beryllium: Add placeholders and sort
      commit: 5bde31dc7b17b668a02857c30359ac86c23c9e55

Best regards,

Signature · 1 line
Bjorn Andersson <[email protected]>