summaryrefslogtreecommitdiff
path: root/board/mushu/board.h
diff options
context:
space:
mode:
authorPuthikorn Voravootivat <puthik@google.com>2020-06-05 16:46:30 -0700
committerCommit Bot <commit-bot@chromium.org>2020-06-16 03:35:06 +0000
commit4a4150f727169249ee87577c3375eee787b1cdce (patch)
tree92da9cbab9839391c67eb21ba0e5a9ed9881e813 /board/mushu/board.h
parent2f70d1a6675f060202a12df6fdcc4f6752112dbf (diff)
downloadchrome-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 'board/mushu/board.h')
-rw-r--r--board/mushu/board.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/board/mushu/board.h b/board/mushu/board.h
index d026ad598d..40c4046350 100644
--- a/board/mushu/board.h
+++ b/board/mushu/board.h
@@ -24,7 +24,6 @@
/* Keyboard features */
#define CONFIG_PWM_KBLIGHT
-#define CONFIG_TEMP_SENSOR_AMD_R19ME4070
/* Sensors */
/* BMI160 Base accel/gyro */
@@ -47,6 +46,14 @@
#define CONFIG_ALS_TCS3400_INT_EVENT \
TASK_EVENT_MOTION_SENSOR_INTERRUPT(CLEAR_ALS)
#define I2C_PORT_ALS I2C_PORT_SENSOR
+#define CONFIG_TEMP_SENSOR
+/* AMD SMBUS Temp sensors */
+#define CONFIG_TEMP_SENSOR_AMD_R19ME4070
+/* F75303 on I2C bus */
+#define CONFIG_TEMP_SENSOR_F75303
+/* Temp sensor is on port 4 on baseboard but on port 0 on Mushu */
+#undef I2C_PORT_THERMAL
+#define I2C_PORT_THERMAL I2C_PORT_SENSOR
/* GPU features */
#define I2C_PORT_GPU NPCX_I2C_PORT4_1
@@ -182,6 +189,9 @@ enum temp_sensor_id {
TEMP_CHARGER,
TEMP_5V,
TEMP_GPU,
+ TEMP_F75303_LOCAL,
+ TEMP_F75303_GPU,
+ TEMP_F75303_GPU_POWER,
TEMP_SENSOR_COUNT
};