# Winbond W83627EHF configuration contributed by Dmitry Pechnikov
# This is for an MSI 945P Neo2-F aka MS-7176.
chip "w83627ehf-*" "w83627dhg-*"

    label in0 "VCore"
    label in1 "+12V"
    label in2 "AVCC"
    label in3 "3VCC"
    label in6 "+5V"
    label in7 "VSB"
    label in8 "VBAT"

# +12V is in1 and +5V is in6 as recommended by datasheet
    compute in1 @*(1+(56/10)),  @/(1+(56/10))
    compute in6 @*(1+(22/10)),  @/(1+(22/10))
     
    set in1_min   12.0*0.9
    set in1_max   12.0*1.1
    set in6_min   5.0*0.9
    set in6_max   5.0*1.1

    set in2_min   3.3*0.9
    set in2_max   3.3*1.1
    set in3_min   3.3*0.9
    set in3_max   3.3*1.1
    set in7_min   3.3*0.9
    set in7_max   3.3*1.1
    set in8_min   3.3*0.9
    set in8_max   3.3*1.1

    ignore in4
    ignore in5
    ignore in9

# Fans
    label fan1      "Case Fan"
    label fan2      "CPU Fan"
    label fan3      "Aux Fan"
   
    ignore fan1
    ignore fan3
    ignore fan5
#   set fan1_min    1200
    set fan2_min    1000

# Temperatures
    label temp1     "Sys Temp"
    label temp2     "CPU Temp"
    label temp3     "AUX Temp"

    set temp1_max       55
    set temp1_max_hyst  48
    set temp2_max       55
    set temp2_max_hyst  47
    set temp3_max       55
    set temp3_max_hyst  50
