aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorNicolas Cavallari <[email protected]>2023-06-05 11:04:42 +0200
committerShawn Guo <[email protected]>2023-06-09 22:18:11 +0800
commitc79d80960349c4ec5918f581168a263e88e6190a (patch)
tree0111e3d4c346f41bef21b3c116fc1501b8bcad16 /lib/mpi/mpiutil.c
parent71c2ac9a2a3da9ba986d3f9e6aa1ffdb04bc5b25 (diff)
arm64: dts: imx8mm-venice: Fix GSC vdd_bat data size.
On these boards, vdd_bat is 16bit, not 24bit. Reading them as 24bit values yield garbage values because of the additional byte, which is a configurable fan trippoint[1]. So set their mode to mode_voltage_16bit = 3 instead of mode_voltage_24bit = 1. [1]: http://trac.gateworks.com/wiki/gsc#SystemTemperatureandVoltageMonitor Only tested on GW7100. Signed-off-by: Nicolas Cavallari <[email protected]> Acked-by: Tim Harvey <[email protected]> Signed-off-by: Shawn Guo <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions