From 4f6abb2b0a3aaa6e57eed6d9599f15780e46312a Mon Sep 17 00:00:00 2001 From: Zick Wei Date: Tue, 13 Sep 2022 14:43:00 +0800 Subject: yaviks: update thermistor naming BUG=b:241964549 BRANCH=none TEST="ectool temps all" thermistor name is intended. Signed-off-by: Zick Wei Change-Id: I97206424eb6ed9db913d4e78a1f91e01e4994242 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3893689 Reviewed-by: Andrew McRae Commit-Queue: Andrew McRae Reviewed-by: Peter Marheine --- zephyr/projects/nissa/yaviks/overlay.dts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/zephyr/projects/nissa/yaviks/overlay.dts b/zephyr/projects/nissa/yaviks/overlay.dts index 3c5a8ff7b5..d425049c80 100644 --- a/zephyr/projects/nissa/yaviks/overlay.dts +++ b/zephyr/projects/nissa/yaviks/overlay.dts @@ -137,11 +137,11 @@ }; named-temp-sensors { - memory { + cpu { compatible = "cros-ec,temp-sensor-thermistor", "cros-ec,temp-sensor"; thermistor = <&thermistor_3V3_51K1_47K_4050B>; - enum-name = "TEMP_SENSOR_1"; + enum-name = "TEMP_SENSOR_CPU"; temp_fan_off = <35>; temp_fan_max = <60>; temp_host_high = <85>; @@ -150,11 +150,11 @@ adc = <&adc_temp_sensor_1>; power-good-pin = <&gpio_ec_soc_dsw_pwrok>; }; - charger { + 5v_regulator { compatible = "cros-ec,temp-sensor-thermistor", "cros-ec,temp-sensor"; thermistor = <&thermistor_3V3_51K1_47K_4050B>; - enum-name = "TEMP_SENSOR_CHARGER"; + enum-name = "TEMP_SENSOR_PP5000_REGULATOR"; temp_fan_off = <35>; temp_fan_max = <60>; temp_host_high = <85>; @@ -163,11 +163,11 @@ adc = <&adc_temp_sensor_2>; power-good-pin = <&gpio_ec_soc_dsw_pwrok>; }; - ambient { + charger { compatible = "cros-ec,temp-sensor-thermistor", "cros-ec,temp-sensor"; thermistor = <&thermistor_3V3_51K1_47K_4050B>; - enum-name = "TEMP_SENSOR_AMB"; + enum-name = "TEMP_SENSOR_CHARGER"; temp_fan_off = <35>; temp_fan_max = <60>; temp_host_high = <85>; -- cgit v1.2.1