[PATCH] arm64: dts: imx8mm-venice: Fix GSC vdd_bat data size.

Shawn Guo shawnguo at kernel.org
Fri Jun 9 07:18:40 PDT 2023


On Mon, Jun 05, 2023 at 11:04:42AM +0200, Nicolas Cavallari wrote:
> 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 <nicolas.cavallari at green-communications.fr>

Applied, thanks!



More information about the linux-arm-kernel mailing list