diff options
author | Puthikorn Voravootivat <puthik@google.com> | 2020-06-05 16:46:30 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-06-16 03:35:06 +0000 |
commit | 4a4150f727169249ee87577c3375eee787b1cdce (patch) | |
tree | 92da9cbab9839391c67eb21ba0e5a9ed9881e813 /driver/temp_sensor | |
parent | 2f70d1a6675f060202a12df6fdcc4f6752112dbf (diff) | |
download | chrome-ec-4a4150f727169249ee87577c3375eee787b1cdce.tar.gz |
mushu: Bring up F75303 temp sensor
BRANCH=None
BUG=b:158676970
TEST=Force fan off/run heavy workload
Use temps command in ec console, see temp
> temps
CHARGER : 318 K = 45 C 64%
5V : 316 K = 43 C 61%
GPU : 343 K = 70 C 100%
F75303_Local : 331 K = 58 C
F75303_GPU : 340 K = 67 C
F75303_GPU_Power : 332 K = 59 C
Change-Id: I0af47849cc606eb03eee652bb261fce11896e2ab
Signed-off-by: Puthikorn Voravootivat <puthik@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2240512
Reviewed-by: Bob Moragues <moragues@chromium.org>
Reviewed-by: Shelley Chen <shchen@chromium.org>
Diffstat (limited to 'driver/temp_sensor')
-rw-r--r-- | driver/temp_sensor/f75303.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/driver/temp_sensor/f75303.h b/driver/temp_sensor/f75303.h index a4bdcbf872..bdfd2624f0 100644 --- a/driver/temp_sensor/f75303.h +++ b/driver/temp_sensor/f75303.h @@ -8,7 +8,11 @@ #ifndef __CROS_EC_F75303_H #define __CROS_EC_F75303_H +#ifdef BOARD_MUSHU +#define F75303_I2C_ADDR_FLAGS 0x4D +#else #define F75303_I2C_ADDR_FLAGS 0x4C +#endif enum f75303_index { F75303_IDX_LOCAL = 0, |