Skip to contentSkip to conversation

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

PATCH Applied Robert Eckelmann 4 participants 9 messages Dec 5, 2025 – Jan 5

Subsystems (3)

v3 of 4 Applied Latest is v4 →

lore
Share & tools
lore
#0 lore raw

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

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

---
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   | 46 ++++++++++++++++------
 1 file changed, 34 insertions(+), 12 deletions(-)

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

Best regards,

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

PATCH v3 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
Reviewed-by on v3 1/3
#2 lore raw
Quoted 10 lines · On Fri, Dec 05, 2025 at 10:58:59PM +0900, Robert Eckelmann via B4 Relay wrote:

From: Robert Eckelmann <[email protected]>

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(+)
Signature · 2 lines
With best wishes
Dmitry
#3 lore raw

PATCH v3 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
Reviewed-by on v3 2/3
#4 lore raw

Re: [PATCH v3 2/3] arm64: dts: qcom: sdm845-xiaomi-beryllium: Adjust firmware paths

Quoted 9 lines · On Fri, Dec 05, 2025 at 10:59:00PM +0900, Robert Eckelmann via B4 Relay wrote:

From: Robert Eckelmann <[email protected]>

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(-)
Signature · 2 lines
With best wishes
Dmitry
#5 lore raw

PATCH v3 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   | 29 ++++++++++++++++------
 1 file changed, 22 insertions(+), 7 deletions(-)
arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi +22 -7
index ab450d44b3f6..3444908b4a6b 100644
@@ -227,6 +227,12 @@ vreg_l26a_1p2: ldo26 {
 	};
 };
 
+&cci_i2c0 {
+	status = "okay";
+
+	/* IMX363 @ 10 */
+};
+
 &cdsp_pas {
 	status = "okay";
 	firmware-name = "qcom/sdm845/Xiaomi/beryllium/cdsp.mbn";
@@ -261,6 +267,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 +334,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
Reviewed-by on v3 3/3
#6 lore raw

Re: [PATCH v3 3/3] arm64: dts: qcom: sdm845-xiaomi-beryllium: Add placeholders and sort

Quoted 7 lines · On Fri, Dec 05, 2025 at 10:59:01PM +0900, Robert Eckelmann via B4 Relay wrote:

From: Robert Eckelmann <[email protected]>

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.

Quoted 8 lines

No functional changes.

---
 .../dts/qcom/sdm845-xiaomi-beryllium-common.dtsi   | 29 ++++++++++++++++------
 1 file changed, 22 insertions(+), 7 deletions(-)
Signature · 2 lines
With best wishes
Dmitry
#7 lore raw

Re: [PATCH v3 3/3] arm64: dts: qcom: sdm845-xiaomi-beryllium: Add placeholders and sort

In reply to Robert Eckelmann
Quoted 20 lines · On 05/12/2025 14:59, Robert Eckelmann via B4 Relay wrote:

From: Robert Eckelmann <[email protected]>

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   | 29 ++++++++++++++++------
  1 file changed, 22 insertions(+), 7 deletions(-)
arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi +0 -0
index ab450d44b3f6..3444908b4a6b 100644

arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi vreg_l26a_1p2: ldo26 { · line 231

Quoted 5 lines
arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi +2 -0
@@ -227,6 +227,12 @@ vreg_l26a_1p2: ldo26 {
  	};
  };
 
+&cci_i2c0 {
+	status = "okay";

I must overlooked, but the cci_i2c0 was never disabled, so you can drop the status = "okay"; from here.

David

Quoted 4 lines
arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi +4 -0
+
+	/* IMX363 @ 10 */
+};
+

[...]

maintainer Applied
#8 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]>