aboutsummaryrefslogtreecommitdiff
path: root/src/superio/ite/common/env_ctrl_chip.h
diff options
context:
space:
mode:
authorVagiz Trakhanov <rakkin@autistici.org>2017-10-23 13:17:44 +0000
committerPatrick Georgi <pgeorgi@google.com>2018-05-04 10:28:30 +0000
commit41aa5ec2d672f84c9e1651654ecd289c9d2b24b2 (patch)
tree6351cf6dde01a0e7be88238000a4c22980a65a82 /src/superio/ite/common/env_ctrl_chip.h
parent8f6ea30597615ecfe12e71b359fe674e25007361 (diff)
superio/ite/common: Add options to enable beeps
Add device tree options to enable beeps when exceeding temperature, voltage, and fan limits. As of this commit, setting voltage and fan limits is not implemented. Change-Id: I57ce622ee4498b75f00e678c2e6d72e499925bce Signed-off-by: Vagiz Trakhanov <rakkin@autistici.org> Reviewed-on: https://review.coreboot.org/22141 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/superio/ite/common/env_ctrl_chip.h')
-rw-r--r--src/superio/ite/common/env_ctrl_chip.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/superio/ite/common/env_ctrl_chip.h b/src/superio/ite/common/env_ctrl_chip.h
index a3c6ae4b33..f8f2e1ef0e 100644
--- a/src/superio/ite/common/env_ctrl_chip.h
+++ b/src/superio/ite/common/env_ctrl_chip.h
@@ -92,7 +92,9 @@ struct ite_ec_config {
*/
struct ite_ec_fan_config fan[ITE_EC_FAN_CNT];
- /* FIXME: enable beep when exceeding TMPIN, VIN, FAN limits */
+ bool tmpin_beep;
+ bool fan_beep;
+ bool vin_beep;
};
/* Some shorthands for device trees */