diff options
author | Nicolas Cavallari <nicolas.cavallari@green-communications.fr> | 2023-06-05 11:04:42 +0200 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2023-06-09 16:18:11 +0200 |
commit | c79d80960349c4ec5918f581168a263e88e6190a (patch) | |
tree | 0111e3d4c346f41bef21b3c116fc1501b8bcad16 /arch/arm64/boot/dts/freescale/imx8mm-venice-gw7903.dts | |
parent | arm64: dts: imx8mp: Add coresight trace components (diff) | |
download | linux-c79d80960349c4ec5918f581168a263e88e6190a.tar.xz linux-c79d80960349c4ec5918f581168a263e88e6190a.zip |
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 <nicolas.cavallari@green-communications.fr>
Acked-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm64/boot/dts/freescale/imx8mm-venice-gw7903.dts')
-rw-r--r-- | arch/arm64/boot/dts/freescale/imx8mm-venice-gw7903.dts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx8mm-venice-gw7903.dts b/arch/arm64/boot/dts/freescale/imx8mm-venice-gw7903.dts index 363020a08c9b..6f26914602c8 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-venice-gw7903.dts +++ b/arch/arm64/boot/dts/freescale/imx8mm-venice-gw7903.dts @@ -293,7 +293,7 @@ }; channel@8 { - gw,mode = <1>; + gw,mode = <3>; reg = <0x08>; label = "vdd_bat"; }; |