Skip to content
Commit c79d8096 authored by Nicolas Cavallari's avatar Nicolas Cavallari Committed by Shawn Guo
Browse files

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: default avatarNicolas Cavallari <nicolas.cavallari@green-communications.fr>
Acked-by: default avatarTim Harvey <tharvey@gateworks.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 71c2ac9a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment