blob: 583010d8b0b7c733daa799c792ccc7f9177238f3 [file] [log] [blame]
Stefan Reinauerb0dd1d92012-03-30 15:04:07 -07001/*
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 Georgib890a122015-03-26 15:17:45 +010018 * Foundation, Inc.
Stefan Reinauerb0dd1d92012-03-30 15:04:07 -070019 */
20
21#ifndef SUPERIO_ITE_IT8772F_CHIP_H
22#define SUPERIO_ITE_IT8772F_CHIP_H
23
24#include <device/device.h>
Stefan Reinauerb0dd1d92012-03-30 15:04:07 -070025
Stefan Reinauerb0dd1d92012-03-30 15:04:07 -070026struct superio_ite_it8772f_config {
Stefan Reinauerb0dd1d92012-03-30 15:04:07 -070027 /* 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'Callaghan0403c8632014-04-30 17:17:03 +100051#endif /* SUPERIO_ITE_IT8772F_CHIP_H */