summaryrefslogtreecommitdiff
path: root/src/superio/ite/it8772f/chip.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/superio/ite/it8772f/chip.h')
-rw-r--r--src/superio/ite/it8772f/chip.h32
1 files changed, 3 insertions, 29 deletions
diff --git a/src/superio/ite/it8772f/chip.h b/src/superio/ite/it8772f/chip.h
index eb3ccd2a97..1169b4ba5d 100644
--- a/src/superio/ite/it8772f/chip.h
+++ b/src/superio/ite/it8772f/chip.h
@@ -3,12 +3,11 @@
#ifndef SUPERIO_ITE_IT8772F_CHIP_H
#define SUPERIO_ITE_IT8772F_CHIP_H
-#include <device/device.h>
-#include <types.h>
-
-#include "it8772f.h"
+#include <superio/ite/common/env_ctrl_chip.h>
struct superio_ite_it8772f_config {
+ struct ite_ec_config ec;
+
/* GPIO SimpleIO register values via devicetree.cb */
u8 gpio_set1;
u8 gpio_set2;
@@ -18,31 +17,6 @@ struct superio_ite_it8772f_config {
u8 gpio_set6;
bool skip_keyboard;
-
- /*
- * Enable external temperature sensor to use PECI GetTemp()
- * command and store in register TMPIN 1, 2, or 3.
- */
- u8 peci_tmpin;
-
- /*
- * Enable thermal mode on tmpinx.
- */
- enum thermal_mode tmpin1_mode;
- enum thermal_mode tmpin2_mode;
-
- /*
- * Enable a FAN for software control.
- */
- bool fan1_enable;
- bool fan2_enable;
- bool fan3_enable;
-
- /*
- * Default FAN speed
- */
- u8 fan2_speed;
- u8 fan3_speed;
};
#endif /* SUPERIO_ITE_IT8772F_CHIP_H */