2 * This file is part of the coreboot project.
4 * Copyright (C) 2013 secunet Security Networks AG
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License as
8 * published by the Free Software Foundation; version 2 of
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
21 #ifndef EC_KONTRON_IT8516E_CHIP_H
22 #define EC_KONTRON_IT8516E_CHIP_H
26 struct ec_kontron_it8516e_config
{
28 * Fan settings (fan1: CPU; fan2: System)
29 * Can be overwritten by
31 * fan1_mode, fan2_mode,
32 * fan1_target, fan2_target,
33 * fan1_min, fan2_min, fan1_max, and fan2_max
36 enum it8516e_systemp_types default_systemp
;
37 enum it8516e_fan_modes default_fan_mode
[2];
38 u16 default_fan_target
[2]; /* PWM: % / Speed: RPM / Thermal: degree C */
39 u8 default_fan_min
[2]; /* min PWM in % */
40 u8 default_fan_max
[2]; /* max PWM in % */
43 #endif /* EC_KONTRON_IT8516E_CHIP_H */