From: Konrad Dybcio <konrad.dybcio@linaro.org>
To: Marijn Suijten <marijn.suijten@somainline.org>,
phone-devel@vger.kernel.org,
Bjorn Andersson <andersson@kernel.org>
Cc: ~postmarketos/upstreaming@lists.sr.ht,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@somainline.org>,
Martin Botka <martin.botka@somainline.org>,
Jami Kettunen <jami.kettunen@somainline.org>,
Andy Gross <agross@kernel.org>, Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 3/5] arm64: dts: qcom: sm6125-seine: Provide regulators to SDHCI 1
Date: Fri, 23 Dec 2022 13:00:18 +0100 [thread overview]
Message-ID: <abd83b0c-ae33-98f7-a1e7-49f227246ebd@linaro.org> (raw)
In-Reply-To: <20221222203636.250190-4-marijn.suijten@somainline.org>
On 22.12.2022 21:36, Marijn Suijten wrote:
> While SDHCI 1 appears to work out of the box, we cannot rely on the
> bootloader-enabled regulators nor expect them to remain enabled (e.g.
> when finally dropping pd_ignore_unused).
Unrelated, unused-yet-enabled (as far as Linux is concerned, anyway,
it doesn't know the state of smd rpm regulators unless you add
regulator-boot-on) regulators get swept by "regulator cleanup".
Provide it the necessary l24
> and l11 regulators now that PM6125 regulators have been made available
> on this board.
>
> As usual regulator voltages are decreased to the maximum voted by the
> downstream driver for safety. No other hardware feeds off of these
> regulators anyway (except UFS, which isn't used on the seine board in
> favour of a DV6DMB eMMC card connected to SDHCI 1).
>
> Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Konrad
> .../boot/dts/qcom/sm6125-sony-xperia-seine-pdx201.dts | 8 ++++++--
> 1 file changed, 6 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/qcom/sm6125-sony-xperia-seine-pdx201.dts b/arch/arm64/boot/dts/qcom/sm6125-sony-xperia-seine-pdx201.dts
> index 15b43cff210b..eaddbe522695 100644
> --- a/arch/arm64/boot/dts/qcom/sm6125-sony-xperia-seine-pdx201.dts
> +++ b/arch/arm64/boot/dts/qcom/sm6125-sony-xperia-seine-pdx201.dts
> @@ -348,7 +348,8 @@ pm6125_l10: l10 {
>
> pm6125_l11: l11 {
> regulator-min-microvolt = <1800000>;
> - regulator-max-microvolt = <1952000>;
> + regulator-max-microvolt = <1800000>;
> + regulator-allow-set-load;
> };
>
> pm6125_l12: l12 {
> @@ -413,7 +414,8 @@ pm6125_l23: l23 {
>
> pm6125_l24: l24 {
> regulator-min-microvolt = <2944000>;
> - regulator-max-microvolt = <3304000>;
> + regulator-max-microvolt = <2950000>;
> + regulator-allow-set-load;
> };
> };
> };
> @@ -437,6 +439,8 @@ sd-cd-pins {
> };
>
> &sdhc_1 {
> + vmmc-supply = <&pm6125_l24>;
> + vqmmc-supply = <&pm6125_l11>;
> status = "okay";
> };
>
next prev parent reply other threads:[~2022-12-23 12:01 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-22 20:36 [PATCH 0/5] arm64: dts: qcom: sm6125-seine: Configure regulators and enable SD Card Marijn Suijten
2022-12-22 20:36 ` [PATCH 1/5] arm64: dts: qcom: sm6125-seine: Configure PM6125 regulators Marijn Suijten
2022-12-23 11:57 ` Konrad Dybcio
2022-12-22 20:36 ` [PATCH 2/5] arm64: dts: qcom: sm6125-seine: Provide regulators to HS USB2 PHY Marijn Suijten
2022-12-23 11:58 ` Konrad Dybcio
2022-12-22 20:36 ` [PATCH 3/5] arm64: dts: qcom: sm6125-seine: Provide regulators to SDHCI 1 Marijn Suijten
2022-12-23 12:00 ` Konrad Dybcio [this message]
2022-12-23 13:08 ` Marijn Suijten
2022-12-23 13:20 ` Konrad Dybcio
2022-12-22 20:36 ` [PATCH 4/5] arm64: dts: qcom: sm6125-seine: Configure SD Card slot on SDHCI 2 Marijn Suijten
2022-12-23 12:00 ` Konrad Dybcio
2022-12-22 20:36 ` [PATCH 5/5] arm64: dts: qcom: sm6125-seine: Lock eMMC and SD Card IDs via aliases Marijn Suijten
2022-12-29 17:23 ` [PATCH 0/5] arm64: dts: qcom: sm6125-seine: Configure regulators and enable SD Card Bjorn Andersson
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=abd83b0c-ae33-98f7-a1e7-49f227246ebd@linaro.org \
--to=konrad.dybcio@linaro.org \
--cc=agross@kernel.org \
--cc=andersson@kernel.org \
--cc=angelogioacchino.delregno@somainline.org \
--cc=devicetree@vger.kernel.org \
--cc=jami.kettunen@somainline.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=marijn.suijten@somainline.org \
--cc=martin.botka@somainline.org \
--cc=phone-devel@vger.kernel.org \
--cc=robh+dt@kernel.org \
--cc=~postmarketos/upstreaming@lists.sr.ht \
/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®