From d942f8dba8f76045215208f1b508af2f7598b888 Mon Sep 17 00:00:00 2001 From: Ben Pai Date: Tue, 10 Dec 2019 16:30:56 +0800 Subject: meta-ibm: Fix fanx can't get the correct pwm Although 6 fanx_1 pwm targets are deleted, but fan0_1 fan1_1 and fan2_1 will have a default value that causes the issue to remain unresolved. In this way, two Fans control the same pwm, but I think that our current fan control event is controlled at the same time, so it does not affect the fan control. (From meta-ibm rev: c4ec0f10a091fe74f075d2033fe055b5bbd7d498) Change-Id: I42647c92ffe5e20430cee28de6fd26e2716153d9 Signed-off-by: Ben Pai Signed-off-by: Brad Bishop --- .../mihawk/obmc/hwmon/ahb/apb/pwm-tacho-controller@1e786000.conf | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon/mihawk/obmc/hwmon/ahb/apb') diff --git a/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon/mihawk/obmc/hwmon/ahb/apb/pwm-tacho-controller@1e786000.conf b/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon/mihawk/obmc/hwmon/ahb/apb/pwm-tacho-controller@1e786000.conf index bb569f70a..066ebf6c2 100644 --- a/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon/mihawk/obmc/hwmon/ahb/apb/pwm-tacho-controller@1e786000.conf +++ b/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon/mihawk/obmc/hwmon/ahb/apb/pwm-tacho-controller@1e786000.conf @@ -12,8 +12,14 @@ LABEL_fan11 = "fan5_0" LABEL_fan12 = "fan5_1" PWM_TARGET_fan1 = "1" +PWM_TARGET_fan2 = "1" PWM_TARGET_fan3 = "2" +PWM_TARGET_fan4 = "2" PWM_TARGET_fan5 = "3" +PWM_TARGET_fan6 = "3" PWM_TARGET_fan7 = "4" +PWM_TARGET_fan8 = "4" PWM_TARGET_fan9 = "5" +PWM_TARGET_fan10 = "5" PWM_TARGET_fan11 = "6" +PWM_TARGET_fan12 = "6" -- cgit v1.2.3