Nico Huber | a53266b | 2013-05-02 15:26:08 +0200 | [diff] [blame] | 1 | /* |
| 2 | * This file is part of the coreboot project. |
| 3 | * |
| 4 | * Copyright (C) 2013 secunet Security Networks AG |
| 5 | * |
| 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 |
| 9 | * the License. |
| 10 | * |
| 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. |
Nico Huber | a53266b | 2013-05-02 15:26:08 +0200 | [diff] [blame] | 15 | */ |
| 16 | |
| 17 | #ifndef EC_KONTRON_IT8516E_CHIP_H |
| 18 | #define EC_KONTRON_IT8516E_CHIP_H |
| 19 | |
| 20 | #include "ec.h" |
| 21 | |
| 22 | struct ec_kontron_it8516e_config { |
| 23 | /* |
Nico Huber | 6d6a2ac | 2013-07-12 14:35:00 +0200 | [diff] [blame] | 24 | * Fan settings (fan1: CPU; fan2: System) |
| 25 | * Can be overwritten by |
| 26 | * systemp_type, |
| 27 | * fan1_mode, fan2_mode, |
Nico Huber | 9ce71b3 | 2013-07-12 14:43:11 +0200 | [diff] [blame] | 28 | * fan1_target, fan2_target, |
| 29 | * fan1_min, fan2_min, fan1_max, and fan2_max |
Nico Huber | 6d6a2ac | 2013-07-12 14:35:00 +0200 | [diff] [blame] | 30 | * nvram options. |
Nico Huber | a53266b | 2013-05-02 15:26:08 +0200 | [diff] [blame] | 31 | */ |
Nico Huber | 6d6a2ac | 2013-07-12 14:35:00 +0200 | [diff] [blame] | 32 | enum it8516e_systemp_types default_systemp; |
Nico Huber | a53266b | 2013-05-02 15:26:08 +0200 | [diff] [blame] | 33 | enum it8516e_fan_modes default_fan_mode[2]; |
Nico Huber | 9ce71b3 | 2013-07-12 14:43:11 +0200 | [diff] [blame] | 34 | u16 default_fan_target[2]; /* PWM: % / Speed: RPM / Thermal: degree C */ |
| 35 | u8 default_fan_min[2]; /* min PWM in % */ |
| 36 | u8 default_fan_max[2]; /* max PWM in % */ |
Nico Huber | a53266b | 2013-05-02 15:26:08 +0200 | [diff] [blame] | 37 | }; |
| 38 | |
| 39 | #endif /* EC_KONTRON_IT8516E_CHIP_H */ |