blob: 09b2e44592e1e8daf41218453074998d7eda89a1 [file] [log] [blame]
Nico Hubera53266b2013-05-02 15:26:08 +02001/*
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 Hubera53266b2013-05-02 15:26:08 +020015 */
16
17#ifndef EC_KONTRON_IT8516E_CHIP_H
18#define EC_KONTRON_IT8516E_CHIP_H
19
20#include "ec.h"
21
22struct ec_kontron_it8516e_config {
23 /*
Nico Huber6d6a2ac2013-07-12 14:35:00 +020024 * Fan settings (fan1: CPU; fan2: System)
25 * Can be overwritten by
26 * systemp_type,
27 * fan1_mode, fan2_mode,
Nico Huber9ce71b32013-07-12 14:43:11 +020028 * fan1_target, fan2_target,
29 * fan1_min, fan2_min, fan1_max, and fan2_max
Nico Huber6d6a2ac2013-07-12 14:35:00 +020030 * nvram options.
Nico Hubera53266b2013-05-02 15:26:08 +020031 */
Nico Huber6d6a2ac2013-07-12 14:35:00 +020032 enum it8516e_systemp_types default_systemp;
Nico Hubera53266b2013-05-02 15:26:08 +020033 enum it8516e_fan_modes default_fan_mode[2];
Nico Huber9ce71b32013-07-12 14:43:11 +020034 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 Hubera53266b2013-05-02 15:26:08 +020037};
38
39#endif /* EC_KONTRON_IT8516E_CHIP_H */