blob: 5aeb128e579e17a39f57ea8bc86ca681d9b91fc1 [file] [log] [blame]
Felix Held3f3eca92020-01-23 17:12:32 +01001/* SPDX-License-Identifier: GPL-2.0-or-later */
2/* This file is part of the coreboot project. */
Edward O'Callaghan962b6c02014-01-23 22:12:25 +11003
4#ifndef SUPERIO_FINTEK_F71869AD_CHIP_H
5#define SUPERIO_FINTEK_F71869AD_CHIP_H
6
Edward O'Callaghandd2e8c32014-04-24 02:58:11 +10007#include <stdint.h>
Edward O'Callaghan962b6c02014-01-23 22:12:25 +11008
9struct superio_fintek_f71869ad_config {
Edward O'Callaghandd2e8c32014-04-24 02:58:11 +100010 /* Member variables are defined in devicetree.cb. */
11 uint8_t multi_function_register_1;
12 uint8_t multi_function_register_2;
13 uint8_t multi_function_register_3;
14 uint8_t multi_function_register_4;
15 uint8_t multi_function_register_5;
Edward O'Callaghan63f28c02014-04-26 15:21:45 +100016 /* HWM configuration registers */
17 uint8_t hwm_smbus_address;
18 uint8_t hwm_smbus_control_reg;
19 uint8_t hwm_fan_type_sel_reg;
20 uint8_t hwm_fan1_temp_adj_rate_reg;
21 uint8_t hwm_fan_mode_sel_reg;
22 uint8_t hwm_fan1_idx_rpm_mode;
23 uint8_t hwm_fan1_seg1_speed_count;
24 uint8_t hwm_fan1_seg2_speed_count;
25 uint8_t hwm_fan1_seg3_speed_count;
26 uint8_t hwm_fan1_temp_map_sel;
Renze Nicolai0766d2c2017-12-18 20:28:47 +010027 uint8_t hwm_temp_sensor_type;
Edward O'Callaghan962b6c02014-01-23 22:12:25 +110028};
29
30#endif /* SUPERIO_FINTEK_F71869AD_CHIP_H */