Stefan Reinauer | b0dd1d9 | 2012-03-30 15:04:07 -0700 | [diff] [blame] | 1 | /* |
| 2 | * This file is part of the coreboot project. |
| 3 | * |
| 4 | * Copyright (C) 2011 The ChromiumOS Authors. All rights reserved. |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or modify |
| 7 | * it under the terms of the GNU General Public License as published by |
| 8 | * the Free Software Foundation; either version 2 of the License, or |
| 9 | * (at your option) any later version. |
| 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. |
| 15 | * |
| 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 |
Patrick Georgi | b890a12 | 2015-03-26 15:17:45 +0100 | [diff] [blame] | 18 | * Foundation, Inc. |
Stefan Reinauer | b0dd1d9 | 2012-03-30 15:04:07 -0700 | [diff] [blame] | 19 | */ |
| 20 | |
| 21 | #ifndef SUPERIO_ITE_IT8772F_CHIP_H |
| 22 | #define SUPERIO_ITE_IT8772F_CHIP_H |
| 23 | |
| 24 | #include <device/device.h> |
Stefan Reinauer | b0dd1d9 | 2012-03-30 15:04:07 -0700 | [diff] [blame] | 25 | |
Stefan Reinauer | b0dd1d9 | 2012-03-30 15:04:07 -0700 | [diff] [blame] | 26 | struct superio_ite_it8772f_config { |
Stefan Reinauer | b0dd1d9 | 2012-03-30 15:04:07 -0700 | [diff] [blame] | 27 | /* GPIO SimpleIO register values via devicetree.cb */ |
| 28 | u8 gpio_set1; |
| 29 | u8 gpio_set2; |
| 30 | u8 gpio_set3; |
| 31 | u8 gpio_set4; |
| 32 | u8 gpio_set5; |
| 33 | u8 gpio_set6; |
| 34 | |
| 35 | u8 skip_keyboard; |
| 36 | |
| 37 | /* |
| 38 | * Enable external temperature sensor to use PECI GetTemp() |
| 39 | * command and store in register TMPIN 1, 2, or 3. |
| 40 | */ |
| 41 | u8 peci_tmpin; |
| 42 | |
| 43 | /* |
| 44 | * Enable a FAN for sofware control. |
| 45 | */ |
| 46 | u8 fan1_enable; |
| 47 | u8 fan2_enable; |
| 48 | u8 fan3_enable; |
| 49 | }; |
| 50 | |
Edward O'Callaghan | 0403c863 | 2014-04-30 17:17:03 +1000 | [diff] [blame] | 51 | #endif /* SUPERIO_ITE_IT8772F_CHIP_H */ |