From 3813806960bf0b15cc9a710a1a410cb6200d5391 Mon Sep 17 00:00:00 2001 From: Yagami Jiang Date: Tue, 4 Jul 2023 02:40:16 +0000 Subject: [PATCH] update the config --- .../x86_64-cel_silverstone_v2-r0/pddf/pd-plugin.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/device/celestica/x86_64-cel_silverstone_v2-r0/pddf/pd-plugin.json b/device/celestica/x86_64-cel_silverstone_v2-r0/pddf/pd-plugin.json index 40d71a296652..91019c175052 100644 --- a/device/celestica/x86_64-cel_silverstone_v2-r0/pddf/pd-plugin.json +++ b/device/celestica/x86_64-cel_silverstone_v2-r0/pddf/pd-plugin.json @@ -94,7 +94,8 @@ "0": {"Front": "32000", "Rear": "30200"}, "1": {"Front": "32000", "Rear": "28000"} }, - "pwm_to_duty_cycle": "lambda pwm: ((pwm*100)/255)" + "pwm_to_duty_cycle": "lambda pwm: ((pwm*100)/255)", + "duty_cycle_to_pwm": "lambda dc: ((dc*255)/100)" }, "THERMAL": @@ -103,7 +104,8 @@ { "temp1_high_threshold": { - "PSU_TEMP": {"B2F": "116", "F2B": "116"}, + "PSU1_TEMP1": {"B2F": "116", "F2B": "116"}, + "PSU2_TEMP1": {"B2F": "116", "F2B": "116"}, "TEMP_FB_U17": {"B2F": "56", "F2B": "N/A"}, "TEMP_SW_U16": {"B2F": "N/A", "F2B": "59"}, "XP0R8V_Temp": {"B2F": "125", "F2B": "125"},