Fabian Kunkel | f75c3b4 | 2015-05-25 17:04:28 +0200 | [diff] [blame] | 1 | /* |
| 2 | * This file is part of the coreboot project. |
| 3 | * |
| 4 | * Copyright (C) 2014 Edward O'Callaghan <eocallaghan@alterapraxis.com> |
| 5 | * Copyright (C) 2015 BAP - Bruhnspace Advanced Projects |
| 6 | * (Written by Fabian Kunkel <fabi@adv.bruhnspace.com> for BAP) |
| 7 | * |
| 8 | * This program is free software; you can redistribute it and/or modify |
| 9 | * it under the terms of the GNU General Public License as published by |
| 10 | * the Free Software Foundation; either version 2 of the License, or |
| 11 | * (at your option) any later version. |
| 12 | * |
| 13 | * This program is distributed in the hope that it will be useful, |
| 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 16 | * GNU General Public License for more details. |
Fabian Kunkel | f75c3b4 | 2015-05-25 17:04:28 +0200 | [diff] [blame] | 17 | */ |
| 18 | |
| 19 | #ifndef SUPERIO_FINTEK_F81866D_CHIP_H |
| 20 | #define SUPERIO_FINTEK_F81866D_CHIP_H |
| 21 | |
| 22 | #include <stdint.h> |
| 23 | |
| 24 | struct superio_fintek_f81866d_config { |
| 25 | |
| 26 | /* AMD TSI */ |
| 27 | uint8_t hwm_amd_tsi_addr; |
| 28 | uint8_t hwm_amd_tsi_control; |
| 29 | |
| 30 | /* Fan control */ |
| 31 | uint8_t hwm_fan_select; |
| 32 | uint8_t hwm_fan_mode; |
| 33 | uint8_t hwm_fan3_control; |
| 34 | uint8_t hwm_fan2_temp_map_select; |
| 35 | |
| 36 | uint8_t hwm_fan2_bound1; |
| 37 | uint8_t hwm_fan2_bound2; |
| 38 | uint8_t hwm_fan2_bound3; |
| 39 | uint8_t hwm_fan2_bound4; |
| 40 | uint8_t hwm_fan2_seg1_speed; |
| 41 | uint8_t hwm_fan2_seg2_speed; |
| 42 | uint8_t hwm_fan2_seg3_speed; |
| 43 | uint8_t hwm_fan2_seg4_speed; |
| 44 | uint8_t hwm_fan2_seg5_speed; |
| 45 | |
| 46 | /* Temp sensor type */ |
| 47 | uint8_t hwm_temp_sens_type; |
| 48 | }; |
| 49 | |
| 50 | #endif /* SUPERIO_FINTEK_F81866D_CHIP_H */ |