[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <cb37445326732dc1c17e80d245c8a29ba3f5aee6@postmarketos.org>
Date: Tue, 02 Dec 2025 04:21:40 +0000
From: "Paul Sajna" <sajattack@...tmarketos.org>
To: "Konrad Dybcio" <konrad.dybcio@....qualcomm.com>, "Bjorn Andersson"
<andersson@...nel.org>, "Konrad Dybcio" <konradybcio@...nel.org>, "Rob
Herring" <robh@...nel.org>, "Krzysztof Kozlowski" <krzk+dt@...nel.org>,
"Conor Dooley" <conor+dt@...nel.org>, "David Heidelberg" <david@...t.cz>
Cc: linux-arm-msm@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, phone-devel@...r.kernel.org, "Amir Dahan"
<system64fumo@...tonmail.com>, "Christopher Brown"
<crispybrown@...il.com>
Subject: Re: [PATCH v4 10/12] arm64: dts: qcom: sdm845-lg-judyln: Add lab/ibb
December 1, 2025 at 12:38 PM, "Konrad Dybcio" <konrad.dybcio@....qualcomm.com mailto:konrad.dybcio@....qualcomm.com?to=%22Konrad%20Dybcio%22%20%3Ckonrad.dybcio%40oss.qualcomm.com%3E > wrote:
> Sorry for not responding earlier, you can retrieve the actual volt
> numbers from the hardware by reading
>
> PMI8998_IBB_REG_BASE + REG_LABIBB_VOLTAGE = 0xdc41
>
> ibb_uV = 1.4 + .1 * val
>
> PMI8998_LAB_REG_BASE + REG_LABIBB_VOLTAGE = 0xde41
>
> lab_uV = 4.6 + .1 * val
>
> Konrad
>
I found it in sysfs along the lines of your previous suggestion instead.
```
1|judyln:/ # cat /sys/kernel/debug/regulator/c440000.qcom,spmi:qcom,pmi8998@3:qpnp-labibb-regulator-ibb_reg/voltage
5500000
judyln:/ # cat /sys/kernel/debug/regulator/c440000.qcom,spmi:qcom,pmi8998@3:qpnp-labibb-regulator-lab_reg/voltage
5500000
```
Powered by blists - more mailing lists