December 1, 2025 at 12:38 PM, "Konrad Dybcio" <[email protected] 
mailto:[email protected]?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
```

Reply via email to