Edward O'Callaghan | 962b6c0 | 2014-01-23 22:12:25 +1100 | [diff] [blame] | 1 | /* |
| 2 | * This file is part of the coreboot project. |
| 3 | * |
| 4 | * Copyright (C) 2014 Edward O'Callaghan <eocallaghan@alterapraxis.com> |
| 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 |
| 18 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
| 19 | */ |
| 20 | |
| 21 | #ifndef SUPERIO_FINTEK_F71869AD_CHIP_H |
| 22 | #define SUPERIO_FINTEK_F71869AD_CHIP_H |
| 23 | |
Edward O'Callaghan | dd2e8c3 | 2014-04-24 02:58:11 +1000 | [diff] [blame] | 24 | #include <stdint.h> |
Edward O'Callaghan | 962b6c0 | 2014-01-23 22:12:25 +1100 | [diff] [blame] | 25 | |
| 26 | struct superio_fintek_f71869ad_config { |
Edward O'Callaghan | dd2e8c3 | 2014-04-24 02:58:11 +1000 | [diff] [blame] | 27 | /* Member variables are defined in devicetree.cb. */ |
| 28 | uint8_t multi_function_register_1; |
| 29 | uint8_t multi_function_register_2; |
| 30 | uint8_t multi_function_register_3; |
| 31 | uint8_t multi_function_register_4; |
| 32 | uint8_t multi_function_register_5; |
Edward O'Callaghan | 63f28c0 | 2014-04-26 15:21:45 +1000 | [diff] [blame] | 33 | /* HWM configuration registers */ |
| 34 | uint8_t hwm_smbus_address; |
| 35 | uint8_t hwm_smbus_control_reg; |
| 36 | uint8_t hwm_fan_type_sel_reg; |
| 37 | uint8_t hwm_fan1_temp_adj_rate_reg; |
| 38 | uint8_t hwm_fan_mode_sel_reg; |
| 39 | uint8_t hwm_fan1_idx_rpm_mode; |
| 40 | uint8_t hwm_fan1_seg1_speed_count; |
| 41 | uint8_t hwm_fan1_seg2_speed_count; |
| 42 | uint8_t hwm_fan1_seg3_speed_count; |
| 43 | uint8_t hwm_fan1_temp_map_sel; |
Edward O'Callaghan | 962b6c0 | 2014-01-23 22:12:25 +1100 | [diff] [blame] | 44 | }; |
| 45 | |
| 46 | #endif /* SUPERIO_FINTEK_F71869AD_CHIP_H */ |