xref: /aosp_15_r20/external/coreboot/src/ec/kontron/it8516e/chip.h (revision b9411a12aaaa7e1e6a6fb7c5e057f44ee179a49c)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #ifndef EC_KONTRON_IT8516E_CHIP_H
4 #define EC_KONTRON_IT8516E_CHIP_H
5 
6 #include "ec.h"
7 
8 struct ec_kontron_it8516e_config {
9 	/*
10 	 * Fan settings (fan1: CPU; fan2: System)
11 	 * Can be overwritten by
12 	 *   systemp_type,
13 	 *   fan1_mode, fan2_mode,
14 	 *   fan1_target, fan2_target,
15 	 *   fan1_min, fan2_min, fan1_max, and fan2_max
16 	 * nvram options.
17 	 */
18 	enum it8516e_systemp_types default_systemp;
19 	enum it8516e_fan_modes default_fan_mode[2];
20 	u16 default_fan_target[2]; /* PWM: % / Speed: RPM / Thermal: degree C */
21 	u8 default_fan_min[2]; /* min PWM in % */
22 	u8 default_fan_max[2]; /* max PWM in % */
23 };
24 
25 #endif /* EC_KONTRON_IT8516E_CHIP_H */
26