On 10/3/25 11:55 PM, Dmitry Baryshkov wrote: > On Thu, Oct 02, 2025 at 04:55:44AM +0000, Paul Sajna wrote: >> October 1, 2025 at 9:09 AM, "Konrad Dybcio" <[email protected] >> mailto:[email protected]?to=%22Konrad%20Dybcio%22%20%3Ckonrad.dybcio%40oss.qualcomm.com%3E >> > wrote: >> >> >>> >>> On 9/29/25 7:05 AM, Paul Sajna wrote: >>> >>>> >>> This patch will allow any values between 4.6 V and 6.0 V to >>> be set on your phone, with the kernel defaulting to 4.6 V at >>> boot and staying there until (if?) any driver requests that to >>> change. >>> >>> Your panel probably expects a *very* specific pair of voltages >>> and any deviation may cause unpredictable consequences, including >>> magic smoke if you happen to go over a certain limit. >>> >>> You should most likely hardcode that specific expected voltage here >> >> These are the values used in downstream android dts >> https://github.com/LineageOS/android_kernel_lge_sdm845/blob/efa8458f79dffeb380d43b38b9403407f87d9f05/arch/arm64/boot/dts/qcom/pmi8998.dtsi#L484-L485 > > Downstream frequently further constraints the regulators. Could you > please check the boards's dts file and the drivers (SDE)?
Or you can read back the values at runtime.. presumably even /sys/kernel/debug/regulator/foo should have the up-to-date info Konrad

