* [PATCH v2 0/2] arm64: dts: qcom: sdm845-starqltechn: add support for slpi
@ 2025-09-12 18:56 Dzmitry Sankouski
2025-09-12 18:56 ` [PATCH v2 1/2] arm64: dts: qcom: sdm845-starqltechn: fix slpi reserved mem Dzmitry Sankouski
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Dzmitry Sankouski @ 2025-09-12 18:56 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: linux-arm-msm, devicetree, linux-kernel, Dzmitry Sankouski
This series add support for Qualcomm sensor low power island for Galaxy
S9 (starqltechn).
Signed-off-by: Dzmitry Sankouski <dsankouski@gmail.com>
---
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/20250911-starqltechn_slpi-v1-0-93ebf951a932@gmail.com
---
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,
--
Dzmitry Sankouski <dsankouski@gmail.com>
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH v2 1/2] arm64: dts: qcom: sdm845-starqltechn: fix slpi reserved mem
2025-09-12 18:56 [PATCH v2 0/2] arm64: dts: qcom: sdm845-starqltechn: add support for slpi Dzmitry Sankouski
@ 2025-09-12 18:56 ` Dzmitry Sankouski
2025-09-15 7:34 ` Konrad Dybcio
2025-09-12 18:56 ` [PATCH v2 2/2] arm64: dts: qcom: sdm845-starqltechn: add slpi support Dzmitry Sankouski
2025-09-16 16:58 ` [PATCH v2 0/2] arm64: dts: qcom: sdm845-starqltechn: add support for slpi Bjorn Andersson
2 siblings, 1 reply; 5+ messages in thread
From: Dzmitry Sankouski @ 2025-09-12 18:56 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: linux-arm-msm, devicetree, linux-kernel, 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:
`[ 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")
Signed-off-by: Dzmitry Sankouski <dsankouski@gmail.com>
---
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(-)
diff --git a/arch/arm64/boot/dts/qcom/sdm845-samsung-starqltechn.dts b/arch/arm64/boot/dts/qcom/sdm845-samsung-starqltechn.dts
index 9eeb4b807465..32ce666fc57e 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-samsung-starqltechn.dts
+++ b/arch/arm64/boot/dts/qcom/sdm845-samsung-starqltechn.dts
@@ -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;
};
--
2.39.5
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH v2 2/2] arm64: dts: qcom: sdm845-starqltechn: add slpi support
2025-09-12 18:56 [PATCH v2 0/2] arm64: dts: qcom: sdm845-starqltechn: add support for slpi Dzmitry Sankouski
2025-09-12 18:56 ` [PATCH v2 1/2] arm64: dts: qcom: sdm845-starqltechn: fix slpi reserved mem Dzmitry Sankouski
@ 2025-09-12 18:56 ` Dzmitry Sankouski
2025-09-16 16:58 ` [PATCH v2 0/2] arm64: dts: qcom: sdm845-starqltechn: add support for slpi Bjorn Andersson
2 siblings, 0 replies; 5+ messages in thread
From: Dzmitry Sankouski @ 2025-09-12 18:56 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: linux-arm-msm, devicetree, linux-kernel, Dzmitry Sankouski
Add support for Qualcomm sensor low power island.
Signed-off-by: Dzmitry Sankouski <dsankouski@gmail.com>
---
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(+)
diff --git a/arch/arm64/boot/dts/qcom/sdm845-samsung-starqltechn.dts b/arch/arm64/boot/dts/qcom/sdm845-samsung-starqltechn.dts
index 32ce666fc57e..75a53f0bbebd 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-samsung-starqltechn.dts
+++ b/arch/arm64/boot/dts/qcom/sdm845-samsung-starqltechn.dts
@@ -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";
--
2.39.5
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v2 1/2] arm64: dts: qcom: sdm845-starqltechn: fix slpi reserved mem
2025-09-12 18:56 ` [PATCH v2 1/2] arm64: dts: qcom: sdm845-starqltechn: fix slpi reserved mem Dzmitry Sankouski
@ 2025-09-15 7:34 ` Konrad Dybcio
0 siblings, 0 replies; 5+ messages in thread
From: Konrad Dybcio @ 2025-09-15 7:34 UTC (permalink / raw)
To: Dzmitry Sankouski, Bjorn Andersson, Konrad Dybcio, Rob Herring,
Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-msm, devicetree, linux-kernel
On 9/12/25 8:56 PM, Dzmitry Sankouski wrote:
> 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")
> Signed-off-by: Dzmitry Sankouski <dsankouski@gmail.com>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Konrad
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v2 0/2] arm64: dts: qcom: sdm845-starqltechn: add support for slpi
2025-09-12 18:56 [PATCH v2 0/2] arm64: dts: qcom: sdm845-starqltechn: add support for slpi Dzmitry Sankouski
2025-09-12 18:56 ` [PATCH v2 1/2] arm64: dts: qcom: sdm845-starqltechn: fix slpi reserved mem Dzmitry Sankouski
2025-09-12 18:56 ` [PATCH v2 2/2] arm64: dts: qcom: sdm845-starqltechn: add slpi support Dzmitry Sankouski
@ 2025-09-16 16:58 ` Bjorn Andersson
2 siblings, 0 replies; 5+ messages in thread
From: Bjorn Andersson @ 2025-09-16 16:58 UTC (permalink / raw)
To: Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Dzmitry Sankouski
Cc: linux-arm-msm, devicetree, linux-kernel
On Fri, 12 Sep 2025 21:56:34 +0300, Dzmitry Sankouski wrote:
> 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,
--
Bjorn Andersson <andersson@kernel.org>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2025-09-16 16:58 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-09-12 18:56 [PATCH v2 0/2] arm64: dts: qcom: sdm845-starqltechn: add support for slpi Dzmitry Sankouski
2025-09-12 18:56 ` [PATCH v2 1/2] arm64: dts: qcom: sdm845-starqltechn: fix slpi reserved mem Dzmitry Sankouski
2025-09-15 7:34 ` Konrad Dybcio
2025-09-12 18:56 ` [PATCH v2 2/2] arm64: dts: qcom: sdm845-starqltechn: add slpi support Dzmitry Sankouski
2025-09-16 16:58 ` [PATCH v2 0/2] arm64: dts: qcom: sdm845-starqltechn: add support for slpi Bjorn Andersson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®