linux-postmarketos-qcom-sdm670: backport the qcom-spmi-adc-tm5 scaling fix
The thermal monitor measures an NTC thermistor which decreases voltage when the temperature increases.
When fixing the scaling for the first time, a wrong division by 20 was removed. The voltage code was still high by a factor of 28900/16384, enough that the thermal monitor constantly signalled/interrupted at a low voltage/high temperature trip point. The thermal monitor still reports the correct temperature so the kernel keeps the wrong trip points and lets the thermal monitor keep interrupting 1000 times/sec. Fix the other scaling amount so the thermal monitor sends interrupts at the right temperature (with some imprecision).
Reported by @foxlet:matrix.org
via Matrix. Also unfortunately marks the second regression this release.
anyways, tried the new 6.13.3 kernel! yay faster charging on the Pixel 3a!
unfortunately though battery life kinda dropped alongside with it
system's running at 2.2-2.8w rather than the 1.8-2w that it was before (playing a video in mpv on a loop)
Merge request reports
Activity
added 1 commit
- 2a949c85 - linux-postmarketos-qcom-sdm670: backport the qcom-spmi-adc-tm5 scaling fix
- Resolved by Alexey Minnekhanov
The thermal monitor on PM660 isn't upstreamed yet, but should work on SDM660 with downstream patches. I can move it to the SDM670 staging queue although that wouldn't give it any timeline of being upstreamed.
added 26 commits
-
2a949c85...d1bbf43a - 25 commits from branch
postmarketOS:master
- 7080a062 - linux-postmarketos-qcom-sdm670: backport the qcom-spmi-adc-tm5 scaling fix (MR 6298)
-
2a949c85...d1bbf43a - 25 commits from branch
enabled an automatic merge when all merge checks for 7080a062 pass