Skip to contentSkip to conversation

arm64: dts: qcom: sdm845-starqltechn: add support for slpi

PATCH Applied Dzmitry Sankouski 3 participants 5 messages Sep 12, 2025 – Sep 16, 2025

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

v2 cover arm64: dts: qcom: sdm845-starqltechn: add support for slpi

This series add support for Qualcomm sensor low power island for Galaxy S9 (starqltechn).

---
Changes in v2:
- fix commit messages to be more clear
- use fixed regulator with gpio to enable slpi power
- formatting fixes
- Link to v1: https://lore.kernel.org/r/[email protected]

---
Dzmitry Sankouski (2):
arm64: dts: qcom: sdm845-starqltechn: fix slpi reserved mem
arm64: dts: qcom: sdm845-starqltechn: add slpi support

 .../boot/dts/qcom/sdm845-samsung-starqltechn.dts   | 31 +++++++++++++++++++++-
 1 file changed, 30 insertions(+), 1 deletion(-)

---
base-commit: be5d4872e528796df9d7425f2bd9b3893eb3a42c
change-id: 20250911-starqltechn_slpi-677008f4e06f

Best regards,

Signature · 1 line
Dzmitry Sankouski <[email protected]>
#1 lore raw

PATCH v2 1/2 arm64: dts: qcom: sdm845-starqltechn: fix slpi reserved mem

When adding adsp reserved mem, slpi reserved memory was shrunk according to vendor kernel log:

Removed memory: created DMA memory pool at 0x0000000096700000, size 15 M

However, kernel failed to load firmware with 15MiB reserved region:

[ 14.885885] qcom_q6v5_pas 5c00000.remoteproc: segment outside memory range

Increase slpi reserved region to 16MiB.

Fixes 58782c229e3e ("arm64: dts: qcom: sdm845-starqltechn: add initial sound support")

---
Changes in v2:
- fix commit message to be more clear

---
 arch/arm64/boot/dts/qcom/sdm845-samsung-starqltechn.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/qcom/sdm845-samsung-starqltechn.dts +1 -1
index 9eeb4b807465..32ce666fc57e 100644
@@ -118,7 +118,7 @@ removed_region: removed-region@88f00000 {
 		};
 
 		slpi_mem: slpi@96700000 {
-			reg = <0 0x96700000 0 0xf00000>;
+			reg = <0 0x96700000 0 0x1000000>;
 			no-map;
 		};
 
Signature · 1 line
2.39.5
Reviewed-by on v2 1/2
#2 lore raw

Re: [PATCH v2 1/2] arm64: dts: qcom: sdm845-starqltechn: fix slpi reserved mem

Quoted 7 lines · Dzmitry Sankouski

When adding adsp reserved mem, slpi reserved memory was shrunk according to vendor kernel log:

Removed memory: created DMA memory pool at 0x0000000096700000, size 15 M

However, kernel failed to load firmware with 15MiB reserved region:

Quoted 7 lines

[ 14.885885] qcom_q6v5_pas 5c00000.remoteproc: segment outside memory range

Increase slpi reserved region to 16MiB.

Fixes 58782c229e3e ("arm64: dts: qcom: sdm845-starqltechn: add initial sound support")

---

Konrad

#3 lore raw

PATCH v2 2/2 arm64: dts: qcom: sdm845-starqltechn: add slpi support

In reply to Dzmitry Sankouski

Add support for Qualcomm sensor low power island.

---
Changes in v2:
- pinctrl replaced with fixed regulator
- add space before 'status' node

---
 .../boot/dts/qcom/sdm845-samsung-starqltechn.dts   | 29 ++++++++++++++++++++++
 1 file changed, 29 insertions(+)
arch/arm64/boot/dts/qcom/sdm845-samsung-starqltechn.dts +29 -0
index 32ce666fc57e..75a53f0bbebd 100644
@@ -56,6 +56,21 @@ framebuffer: framebuffer@9d400000 {
 		};
 	};
 
+	slpi_regulator: slpi-regulator {
+		compatible = "regulator-fixed";
+		pinctrl-0 = <&slpi_ldo_active_state>;
+		pinctrl-names = "default";
+
+		regulator-always-on;
+		regulator-boot-on;
+		regulator-min-microvolt = <1800000>;
+		regulator-max-microvolt = <1800000>;
+		regulator-name = "slpi";
+
+		enable-active-high;
+		gpio = <&tlmm 8 GPIO_ACTIVE_HIGH>;
+	};
+
 	vib_regulator: gpio-regulator {
 		compatible = "regulator-fixed";
 
@@ -902,6 +917,13 @@ &ipa {
 	status = "okay";
 };
 
+&slpi_pas {
+	firmware-name = "qcom/sdm845/starqltechn/slpi.mbn";
+	cx-supply = <&slpi_regulator>;
+
+	status = "okay";
+};
+
 &usb_1 {
 	status = "okay";
 };
@@ -1028,6 +1050,13 @@ sd_card_det_n_state: sd-card-det-n-state {
 		bias-pull-up;
 	};
 
+	slpi_ldo_active_state: slpi-ldo-active-state {
+		pins = "gpio8";
+		function = "gpio";
+		drive-strength = <2>;
+		bias-disable;
+	};
+
 	touch_irq_state: touch-irq-state {
 		pins = "gpio120";
 		function = "gpio";
Signature · 1 line
2.39.5
maintainer Applied
#4 lore raw
In reply to Dzmitry Sankouski
Quoted 4 lines · Dzmitry Sankouski

This series add support for Qualcomm sensor low power island for Galaxy S9 (starqltechn).

Applied, thanks!

[1/2] arm64: dts: qcom: sdm845-starqltechn: fix slpi reserved mem

      commit: 171e12ff755812dcf98b3ed98f15f54bf264fae3
[2/2] arm64: dts: qcom: sdm845-starqltechn: add slpi support
      commit: 50ced16fe5bfe76cf1cb7f0ff5371b0c141ea6c3

Best regards,

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