From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
To: Dzmitry Sankouski <dsankouski@gmail.com>,
Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konradybcio@kernel.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>
Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/2] arm64: dts: qcom: sdm845-starqltechn: add slpi support
Date: Fri, 12 Sep 2025 14:24:19 +0200 [thread overview]
Message-ID: <f00cb00d-1e0b-4968-9f5a-df3ce0d8c8db@oss.qualcomm.com> (raw)
In-Reply-To: <20250911-starqltechn_slpi-v1-2-93ebf951a932@gmail.com>
On 9/11/25 10:56 PM, Dzmitry Sankouski wrote:
> Add support for Qualcomm sensor low power island.
>
> Signed-off-by: Dzmitry Sankouski <dsankouski@gmail.com>
> ---
> .../boot/dts/qcom/sdm845-samsung-starqltechn.dts | 24 ++++++++++++++++++++++
> 1 file changed, 24 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..2c1157ee7b2d 100644
> --- a/arch/arm64/boot/dts/qcom/sdm845-samsung-starqltechn.dts
> +++ b/arch/arm64/boot/dts/qcom/sdm845-samsung-starqltechn.dts
> @@ -902,6 +902,14 @@ &ipa {
> status = "okay";
> };
>
> +&slpi_pas {
> + firmware-name = "qcom/sdm845/starqltechn/slpi.mbn";
> + pinctrl-0 = <&slpi_ldo_active_state>;
> + pinctrl-1 = <&slpi_ldo_sleep_state>;
It would perhaps make sense to model it as a GPIO regulator..
I found a downstream kernel for this device and it seems like
this is indeed a Samsung addition
The vendor kernel gates the regulator when the SLPI is shut
off, but I think it would be reasonable to keep it always-on
given you don't really want that to happen, and if you need
to restart the subsystem, not pulsing the regulator should
also likely work
> + pinctrl-names = "default", "sleep";
> + status = "okay";
a newline before status is customary
> +};
> +
> &usb_1 {
> status = "okay";
> };
> @@ -1028,6 +1036,22 @@ 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;
> + output-high;
Modeling the gpio-regulator will let you get rid of output-
properties here, which are discouraged in favor of gpiod_ APIs
in drivers
Konrad
> + };
> +
> + slpi_ldo_sleep_state: slpi-ldo-sleep-state {
> + pins = "gpio8";
> + function = "gpio";
> + drive-strength = <2>;
> + bias-disable;
> + output-low;
> + };
> +
> touch_irq_state: touch-irq-state {
> pins = "gpio120";
> function = "gpio";
>
prev parent reply other threads:[~2025-09-12 12:24 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-11 20:56 [PATCH 0/2] arm64: dts: qcom: sdm845-starqltechn: add support for slpi Dzmitry Sankouski
2025-09-11 20:56 ` [PATCH 1/2] arm64: dts: qcom: sdm845-starqltechn: fix slpi reserved mem Dzmitry Sankouski
2025-09-12 10:58 ` Konrad Dybcio
2025-09-12 18:07 ` Dzmitry Sankouski
2025-09-11 20:56 ` [PATCH 2/2] arm64: dts: qcom: sdm845-starqltechn: add slpi support Dzmitry Sankouski
2025-09-12 12:24 ` Konrad Dybcio [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f00cb00d-1e0b-4968-9f5a-df3ce0d8c8db@oss.qualcomm.com \
--to=konrad.dybcio@oss.qualcomm.com \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dsankouski@gmail.com \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®