aboutsummaryrefslogtreecommitdiff
path: root/src/superio/fintek/f71869ad/chip.h
diff options
context:
space:
mode:
authorEdward O'Callaghan <eocallaghan@alterapraxis.com>2014-04-26 15:21:45 +1000
committerKyösti Mälkki <kyosti.malkki@gmail.com>2014-05-08 12:10:55 +0200
commit63f28c00aa32662c432565fc417e1f9d1fde6122 (patch)
tree32c73c02ec562d62ee5e656e3051887936ea7f4b /src/superio/fintek/f71869ad/chip.h
parentdd2e8c35fb368316b51d969d046696a017f09d25 (diff)
superio/fintek/f71869ad: Make hwm devicetree configurable
Provision the configuration of the Fintek F71869AD Hardware Monitor's configuration by way of devicetree.cb. Make use of this in the jetway/nf81-t56n-lf board to properly control fan's. Change-Id: Ic25b29d1b7a9145e0e209b490b25a2cbc46cb75c Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Reviewed-on: http://review.coreboot.org/5580 Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/superio/fintek/f71869ad/chip.h')
-rw-r--r--src/superio/fintek/f71869ad/chip.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/superio/fintek/f71869ad/chip.h b/src/superio/fintek/f71869ad/chip.h
index 5011383d99..ddad589847 100644
--- a/src/superio/fintek/f71869ad/chip.h
+++ b/src/superio/fintek/f71869ad/chip.h
@@ -33,6 +33,17 @@ struct superio_fintek_f71869ad_config {
uint8_t multi_function_register_3;
uint8_t multi_function_register_4;
uint8_t multi_function_register_5;
+ /* HWM configuration registers */
+ uint8_t hwm_smbus_address;
+ uint8_t hwm_smbus_control_reg;
+ uint8_t hwm_fan_type_sel_reg;
+ uint8_t hwm_fan1_temp_adj_rate_reg;
+ uint8_t hwm_fan_mode_sel_reg;
+ uint8_t hwm_fan1_idx_rpm_mode;
+ uint8_t hwm_fan1_seg1_speed_count;
+ uint8_t hwm_fan1_seg2_speed_count;
+ uint8_t hwm_fan1_seg3_speed_count;
+ uint8_t hwm_fan1_temp_map_sel;
};
#endif /* SUPERIO_FINTEK_F71869AD_CHIP_H */