aboutsummaryrefslogtreecommitdiff
path: root/src/superio/ite/common/env_ctrl_chip.h
diff options
context:
space:
mode:
authorMatt DeVillier <matt.devillier@gmail.com>2020-08-12 10:29:11 -0500
committerFelix Held <felix-coreboot@felixheld.de>2020-08-14 00:51:23 +0000
commit67f80fb8f56a1ff393306fac0d2930a41e3d2a19 (patch)
tree775f05ac05d23e42c6344f0d24ac1ee220ad4a20 /src/superio/ite/common/env_ctrl_chip.h
parentdeb80ea8071d38a15fa9c06be0e069be55672b25 (diff)
superio/ite/common: Add support for closed-loop mode
Add support for tachometer closed loop mode, and programming of initial RPM vs initial PWM value. Change-Id: Idff29331c979f8518021103b6f8d19e75e657e3a Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/44418 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/superio/ite/common/env_ctrl_chip.h')
-rw-r--r--src/superio/ite/common/env_ctrl_chip.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/superio/ite/common/env_ctrl_chip.h b/src/superio/ite/common/env_ctrl_chip.h
index fa896e4074..2bb0780c53 100644
--- a/src/superio/ite/common/env_ctrl_chip.h
+++ b/src/superio/ite/common/env_ctrl_chip.h
@@ -60,6 +60,8 @@ struct ite_ec_fan_smartconfig {
u8 smoothing; /* enable smoothing */
u8 pwm_start; /* start at this duty cycle (%) */
u8 slope; /* increase duty cycle by `slope`%/°C */
+ u8 clsd_loop; /* tachometer closed-loop mode enable */
+ u16 rpm_start; /* start at this RPM (clsd_loop = 1) */
};
struct ite_ec_fan_config {