From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
To: Dzmitry Sankouski <dsankouski@gmail.com>,
Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Cc: cros-qcom-dts-watchers@chromium.org,
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>,
linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v6 03/12] arm64: dts: qcom: sdm845-starqltechn: fix usb regulator mistake
Date: Mon, 2 Dec 2024 16:09:46 +0100 [thread overview]
Message-ID: <df3e3989-f588-4e53-b6f3-bf8c36330911@oss.qualcomm.com> (raw)
In-Reply-To: <CABTCjFCTggnU7UvqcKYq53iRLACBxWE7C1TKRi7dr42o-=0Mqg@mail.gmail.com>
On 2.12.2024 2:41 PM, Dzmitry Sankouski wrote:
> сб, 26 окт. 2024 г. в 13:41, Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>:
>>
>> On 8.10.2024 6:51 PM, Dzmitry Sankouski wrote:
>>> Usb regulator was wrongly pointed to vreg_l1a_0p875.
>>> However, on starqltechn it's powered from vreg_l5a_0p8.
>>>
>>> Fixes: d711b22eee55 ("arm64: dts: qcom: starqltechn: add initial device tree for starqltechn")
>>> Signed-off-by: Dzmitry Sankouski <dsankouski@gmail.com>
>>>
>>> ---
>>
>> I really really doubt that the supplies for on-SoC PHYs were altered,
>> given these regulators are assigned based on their specific characteristics
>>
>
> From rooted android system from klabit87 on starqltechn:
>
> ```
> starqltechn:/ # cat /proc/cpuinfo | grep Hardware
> Hardware : Qualcomm Technologies, Inc SDM845
> starqltechn:/ # uname -a
> Linux localhost 4.9.186-klabitV6.5 #1 SMP PREEMPT Thu Dec 10 19:42:53
> CST 2020 aarch64
> starqltechn:/ # cat
> /sys/kernel/debug/regulator/soc:rpmh-regulator-ldoa1-pm8998_l1/consumers
> Device-Supply EN Min_uV Max_uV load_uA
> ae90000.qcom,dp_display-vdda-0p9 N 880000 880000 0
> 1d87000.ufsphy_mem-vdda-phy Y 880000 880000 62900
> ae96400.qcom,mdss_dsi_phy0-vdda-0p9 N 0 0 0
> ae94400.qcom,mdss_dsi_phy0-vdda-0p9 Y 880000 880000 36000
> 1c00000.qcom,pcie-vreg-0.9 Y 880000 880000 24000
> pm8998_l1 N 0 0 0
> starqltechn:/ # cat
> /sys/kernel/debug/regulator/soc:rpmh-regulator-ldoa5-pm8998_l5/consumers
> Device-Supply EN Min_uV Max_uV load_uA
> ae90000.qcom,dp_display-vdda-usb1-ss-core N 0 0 0
> 88e2000.qusb-vdd Y 800000 800000 0
> 88e8000.ssphy-vdd Y 800000 800000 0
> pm8998_l5 N 0 0 0
> ```
>
> I also downloaded kernel source from Samsung, to check its dts,
> and it also powers qusb@88e2000 and ssphy@88e8000 from 'pm8998_l5' regulator.
Interesting.. could you try to forcefully shut down L5A (I doubt you'll
be able to do so with L1A given it powers so much digital logic), or
set its regulator-min&max-microvolt to a way-too-low voltage (vmin
seems to be 312000)?
You should then be able to tell fairly easily, depending on whether usb2
still works after a replug
Konrad
next prev parent reply other threads:[~2024-12-02 15:09 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-08 16:51 [PATCH v6 00/12] This is continued work on Samsung S9(SM-9600) starqltechn Dzmitry Sankouski
2024-10-08 16:51 ` [PATCH v6 01/12] arm64: dts: qcom: sdm845: enable gmu Dzmitry Sankouski
2024-10-26 10:20 ` Konrad Dybcio
2024-10-08 16:51 ` [PATCH v6 02/12] arm64: dts: qcom: sdm845-starqltechn: remove wifi Dzmitry Sankouski
2024-10-08 16:51 ` [PATCH v6 03/12] arm64: dts: qcom: sdm845-starqltechn: fix usb regulator mistake Dzmitry Sankouski
2024-10-26 10:41 ` Konrad Dybcio
2024-12-02 13:41 ` Dzmitry Sankouski
2024-12-02 15:09 ` Konrad Dybcio [this message]
2024-12-02 20:10 ` Dzmitry Sankouski
2024-12-05 16:41 ` Konrad Dybcio
2024-10-08 16:51 ` [PATCH v6 04/12] arm64: dts: qcom: sdm845-starqltechn: refactor node order Dzmitry Sankouski
2024-10-08 16:51 ` [PATCH v6 05/12] arm64: dts: qcom: sdm845-starqltechn: remove excess reserved gpios Dzmitry Sankouski
2024-10-26 10:21 ` Konrad Dybcio
2024-10-08 16:51 ` [PATCH v6 06/12] arm64: dts: qcom: sdm845-starqltechn: add gpio keys Dzmitry Sankouski
2024-10-26 10:38 ` Konrad Dybcio
2024-12-02 10:58 ` Dzmitry Sankouski
2024-10-08 16:51 ` [PATCH v6 07/12] arm64: dts: qcom: sdm845-starqltechn: add max77705 PMIC Dzmitry Sankouski
2024-10-26 10:36 ` Konrad Dybcio
2024-12-02 10:45 ` Dzmitry Sankouski
2024-10-08 16:51 ` [PATCH v6 08/12] arm64: dts: qcom: sdm845-starqltechn: add display PMIC Dzmitry Sankouski
2024-11-04 14:15 ` Konrad Dybcio
2024-12-02 13:18 ` Dzmitry Sankouski
2024-12-02 15:01 ` Konrad Dybcio
2024-12-02 13:25 ` Dzmitry Sankouski
2024-10-08 16:51 ` [PATCH v6 09/12] arm64: dts: qcom: sdm845-starqltechn: add touchscreen support Dzmitry Sankouski
2024-10-08 16:51 ` [PATCH v6 10/12] arm64: dts: qcom: sdm845-starqltechn: add initial sound support Dzmitry Sankouski
2024-10-26 10:32 ` Konrad Dybcio
2024-12-02 11:43 ` Dzmitry Sankouski
2024-10-08 16:51 ` [PATCH v6 11/12] arm64: dts: qcom: sdm845-starqltechn: add graphics support Dzmitry Sankouski
2024-10-08 16:51 ` [PATCH v6 12/12] arm64: dts: qcom: sdm845-starqltechn: add modem support Dzmitry Sankouski
2024-10-26 10:29 ` Konrad Dybcio
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=df3e3989-f588-4e53-b6f3-bf8c36330911@oss.qualcomm.com \
--to=konrad.dybcio@oss.qualcomm.com \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=cros-qcom-dts-watchers@chromium.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®