arm64: dts: qcom: sdm845-xiaomi-beryllium: Enable SLPI
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]>
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
@@ -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
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.
Signed-off-by Robert Eckelmann <[email protected]>Signed-off-by David Heidelberg <[email protected]>--- arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi | 6 ++++++ 1 file changed, 6 insertions(+)
Signature · 2 lines
With best wishes Dmitry
PATCH v3 2/3 arm64: dts: qcom: sdm845-xiaomi-beryllium: Adjust firmware paths
In reply to Robert EckelmannFirmware 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
@@ -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
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"
Signed-off-by Robert Eckelmann <[email protected]>--- .../arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-)
Signature · 2 lines
With best wishes Dmitry
PATCH v3 3/3 arm64: dts: qcom: sdm845-xiaomi-beryllium: Add placeholders and sort
In reply to Robert EckelmannWe 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
@@ -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
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.
Reviewed-by David Heidelberg <[email protected]>Signed-off-by Robert Eckelmann <[email protected]>--- .../dts/qcom/sdm845-xiaomi-beryllium-common.dtsi | 29 ++++++++++++++++------ 1 file changed, 22 insertions(+), 7 deletions(-)
Signature · 2 lines
With best wishes Dmitry
Re: [PATCH v3 3/3] arm64: dts: qcom: sdm845-xiaomi-beryllium: Add placeholders and sort
In reply to Robert EckelmannQuoted 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.
Reviewed-by David Heidelberg <[email protected]>Signed-off-by Robert Eckelmann <[email protected]>--- .../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
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 */ +}; +
[...]
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: 5bde31dc7b17b668a02857c30359ac86c23c9e55Best regards,
Signature · 1 line
Bjorn Andersson <[email protected]>