Skip to content

Commit c881687

Browse files
committed
hw-mgmt: thermal: Update TC data for SN5640
Update TC data for SN5640 Signed-off-by: Oleksandr Shamray <[email protected]>
1 parent 3060c60 commit c881687

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

usr/etc/hw-management-thermal/tc_config_sn5640.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@
3636
"dev_parameters" : {
3737
"asic\\d*": {"pwm_min": 30, "pwm_max" : 100, "val_min":"!70000", "val_max":"!105000", "poll_time": 3, "sensor_read_error":100},
3838
"(cpu_pack|cpu_core\\d+)": {"pwm_min": 30, "pwm_max" : 100, "val_min": "!70000", "val_max": "!100000", "poll_time": 3, "sensor_read_error":100},
39-
"module\\d+": {"pwm_min": 30, "pwm_max" : 100, "val_min":60000, "val_max":80000, "poll_time": 20},
39+
"module\\d+": {"pwm_min": 30, "pwm_max" : 71, "val_min":60000, "val_max":80000, "val_min_offset": -10000, "val_max_offset": 0, "poll_time": 20,
40+
"reg_extra_param": {"increase_step" : 5, "decrease_step": 0.1, "Iterm_down_trh": -10,
41+
"val_up_trh" : 1, "val_down_trh": 3, "range": 3}},
4042
"sensor_amb": {"pwm_min": 30, "pwm_max" : 50, "val_min": 30000, "val_max": 55000, "poll_time": 30},
4143
"voltmon\\d+_temp": {"pwm_min": 30, "pwm_max": 100, "val_min": "!85000", "val_max": "!125000", "poll_time": 60},
4244
"sodimm\\d_temp" :{"pwm_min": 30, "pwm_max" : 70, "val_min": "!70000", "val_max": 95000, "poll_time": 60},

usr/usr/bin/hw-management-start-post.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ service_file_path=$(systemctl status hw-management-tc.service | grep hw-manageme
108108
if [ -f $service_file_path ]; then
109109
md5sum_orig=$(md5sum $service_file_path | awk '{print $1}')
110110
case $sku in
111-
HI172) # Systems allowed to use new hw-management-tc
111+
HI172|HI171) # Systems allowed to use new hw-management-tc
112112
tc_version="2.5"
113113
tc_executable="hw_management_thermal_control_2_5.py"
114114
;;

0 commit comments

Comments
 (0)