Commit ed4b641
fwk: hx20: fix temps read
because TGL still use common f75303 read
it's based on C to K, so add config switch between k and mk.
(this effect is made by commit 4ecf7a2)
fail temps
local_f75397@4c 0 K (= -273 C) 0% (313 K and 328 K)
cpu_f75303@4d 0 K (= -273 C) 0% (323 K and 341 K)
battery_temp@b 296 K (= 23 C) 0% (313 K and 323 K)
ddr_f75303@4d 0 K (= -273 C) 0% (313 K and 342 K)
use this commit
local_f75397@4c 298 K (= 25 C) 0% (313 K and 328 K)
cpu_f75303@4d 304 K (= 31 C) 0% (323 K and 341 K)
battery_temp@b 296 K (= 23 C) 0% (313 K and 323 K)
ddr_f75303@4d 296 K (= 23 C) 0% (313 K and 342 K)
BRANCH=fwk-hx20-hx30-4410
BUG=None
TEST=test on TGL, boot to system type temps on ec console
check temps have return current value
Signed-off-by: LeoCX_Tsai <LeoCX_Tsai@compal.com>1 parent f8203c2 commit ed4b641
2 files changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
103 | 106 | | |
| 107 | + | |
104 | 108 | | |
105 | 109 | | |
106 | 110 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
93 | 96 | | |
| 97 | + | |
94 | 98 | | |
95 | 99 | | |
96 | 100 | | |
| |||
0 commit comments