diff options
author | George Hung <george.hung@quantatw.com> | 2020-09-03 09:23:39 +0300 |
---|---|---|
committer | Andrew Geissler <geissonator@yahoo.com> | 2020-09-04 18:48:22 +0300 |
commit | 05b628c46e40112382ce268517387c02070a08e8 (patch) | |
tree | 6c53d140fd1d0567ef29db3231516e695b7a20fd /meta-quanta/meta-gbs/recipes-phosphor/sensors | |
parent | 0d7b79cd35c7d9f89649f06fa53a638741f36d87 (diff) | |
download | openbmc-05b628c46e40112382ce268517387c02070a08e8.tar.xz |
meta-gbs: update some sensors m value/threshold/GAIN/sensor type
1. update max31725 temperature threshold
2. add adm1272 power GAIN
3. update vddcr_cpu_in/out current threshold
4. update pwrgd_pvpp/pwrgd_pvddio/pwrgd_cpuvr voltage threshold
5. update p12v_fan_in/out current threshold
6. add p12v_mobo_in/p12v_fan_in current GAIN
7. update p1v8_stby voltage m value
8. update vddcr_cpu_in current m value
9. update hotswap_iout current m value
10.nvme pwr_dis/en sensor type 0x00 -> 0xC0
(From meta-quanta rev: 444a37116b4902b0efffc1c013fc5f6ebf60aa69)
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: Iac993f356a7b3fa8647973479477e5a5ce82655f
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Diffstat (limited to 'meta-quanta/meta-gbs/recipes-phosphor/sensors')
8 files changed, 32 insertions, 24 deletions
diff --git a/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@85000/i2c-switch@71/i2c@0/max31725@54.conf b/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@85000/i2c-switch@71/i2c@0/max31725@54.conf index 839a7c610f..b8ba115d16 100644 --- a/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@85000/i2c-switch@71/i2c@0/max31725@54.conf +++ b/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@85000/i2c-switch@71/i2c@0/max31725@54.conf @@ -1,8 +1,8 @@ LABEL_temp1 = "i2cool_0" -CRITHI_temp1 = "35000" -CRITLO_temp1 = "0" -WARNHI_temp1 = "35000" -WARNLO_temp1 = "0" +CRITHI_temp1 = "70000" +CRITLO_temp1 = "5000" +WARNHI_temp1 = "70000" +WARNLO_temp1 = "5000" MINVALUE_temp1 = "-128" MAXVALUE_temp1 = "127" ASYNC_READ_TIMEOUT_temp1 = "500" diff --git a/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@85000/i2c-switch@71/i2c@1/max31725@55.conf b/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@85000/i2c-switch@71/i2c@1/max31725@55.conf index 174c62b98d..a798fc9bcd 100644 --- a/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@85000/i2c-switch@71/i2c@1/max31725@55.conf +++ b/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@85000/i2c-switch@71/i2c@1/max31725@55.conf @@ -1,8 +1,8 @@ LABEL_temp1 = "i2cool_1" CRITHI_temp1 = "70000" -CRITLO_temp1 = "0" +CRITLO_temp1 = "5000" WARNHI_temp1 = "70000" -WARNLO_temp1 = "0" +WARNLO_temp1 = "5000" MINVALUE_temp1 = "-128" MAXVALUE_temp1 = "127" ASYNC_READ_TIMEOUT_temp1 = "500" diff --git a/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@85000/i2c-switch@71/i2c@2/max31725@5d.conf b/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@85000/i2c-switch@71/i2c@2/max31725@5d.conf index 3fb0ceeebc..a510438762 100644 --- a/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@85000/i2c-switch@71/i2c@2/max31725@5d.conf +++ b/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@85000/i2c-switch@71/i2c@2/max31725@5d.conf @@ -1,8 +1,8 @@ LABEL_temp1 = "i2cool_2" CRITHI_temp1 = "70000" -CRITLO_temp1 = "0" +CRITLO_temp1 = "5000" WARNHI_temp1 = "70000" -WARNLO_temp1 = "0" +WARNLO_temp1 = "5000" MINVALUE_temp1 = "-128" MAXVALUE_temp1 = "127" ASYNC_READ_TIMEOUT_temp1 = "500" diff --git a/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@88000/adm1272@10.conf b/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@88000/adm1272@10.conf index 3a83519bf4..25172e08bd 100644 --- a/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@88000/adm1272@10.conf +++ b/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@88000/adm1272@10.conf @@ -21,6 +21,8 @@ WARNHI_curr1= "40000" WARNLO_curr1= "0" MINVALUE_curr1 = "0" MAXVALUE_curr1 = "55" +# READ_Iout is direct value*0.98 +GAIN_curr1 = "0.98" LABEL_power1= "hotswap_pout" CRITHI_power1= "1920000000" @@ -29,3 +31,5 @@ WARNHI_power1= "1920000000" WARNLO_power1= "0" MINVALUE_power1 = "0" MAXVALUE_power1 = "2200" +# READ_Pout is direct value*0.98 +GAIN_power1 = "0.98" diff --git a/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@89000/i2c-switch@71/i2c@0/vrm@60.conf b/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@89000/i2c-switch@71/i2c@0/vrm@60.conf index 09cdfaf576..cc77194eeb 100644 --- a/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@89000/i2c-switch@71/i2c@0/vrm@60.conf +++ b/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@89000/i2c-switch@71/i2c@0/vrm@60.conf @@ -19,19 +19,19 @@ MAXVALUE_in2 = "2" PWRONMON_in2 = "ON" LABEL_curr1 = "vddcr_cpu_in" -CRITHI_curr1 = "16700" +CRITHI_curr1 = "21250" CRITLO_curr1 = "0" -WARNHI_curr1 = "16700" +WARNHI_curr1 = "21250" WARNLO_curr1 = "0" MINVALUE_curr1 = "0" -MAXVALUE_curr1 = "20" +MAXVALUE_curr1 = "22" PWRONMON_curr1 = "ON" LABEL_curr2 = "vddcr_cpu_out" -CRITHI_curr2 = "200000" +CRITHI_curr2 = "255000" CRITLO_curr2 = "0" -WARNHI_curr2 = "200000" +WARNHI_curr2 = "255000" WARNLO_curr2 = "0" MINVALUE_curr2 = "0" -MAXVALUE_curr2 = "250" +MAXVALUE_curr2 = "256" PWRONMON_curr2 = "ON" diff --git a/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@8c000/max34451@4e.conf b/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@8c000/max34451@4e.conf index eda5341ebb..5adb40c688 100644 --- a/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@8c000/max34451@4e.conf +++ b/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@8c000/max34451@4e.conf @@ -63,27 +63,27 @@ PWRONMON_in7 = "ON" LABEL_in8 = "pwrgd_pvpp" CRITHI_in8 = "3600" -CRITLO_in8 = "2600" +CRITLO_in8 = "1000" WARNHI_in8 = "3600" -WARNLO_in8 = "2600" +WARNLO_in8 = "1000" MINVALUE_in8 = "0" MAXVALUE_in8 = "4" PWRONMON_in8 = "ON" LABEL_in9 = "pwrgd_pvddio" CRITHI_in9 = "3600" -CRITLO_in9 = "2600" +CRITLO_in9 = "1000" WARNHI_in9 = "3600" -WARNLO_in9 = "2600" +WARNLO_in9 = "1000" MINVALUE_in9 = "0" MAXVALUE_in9 = "4" PWRONMON_in9 = "ON" LABEL_in10 = "pwrgd_cpuvr" CRITHI_in10 = "3600" -CRITLO_in10 = "2600" +CRITLO_in10 = "1000" WARNHI_in10 = "3600" -WARNLO_in10 = "2600" +WARNLO_in10 = "1000" MINVALUE_in10 = "0" MAXVALUE_in10 = "4" PWRONMON_in10 = "ON" diff --git a/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@8c000/vrm@5d.conf b/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@8c000/vrm@5d.conf index c5f694af6a..2cd0ad6fc0 100644 --- a/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@8c000/vrm@5d.conf +++ b/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@8c000/vrm@5d.conf @@ -21,18 +21,20 @@ GAIN_in2 = "5.02" PWRONMON_in2 = "ON" LABEL_curr1 = "p12v_fan_in" -CRITHI_curr1 = "22000" +CRITHI_curr1 = "30000" CRITLO_curr1 = "0" -WARNHI_curr1 = "22000" +WARNHI_curr1 = "30000" WARNLO_curr1 = "0" MINVALUE_curr1 = "0" MAXVALUE_curr1 = "35" +# READ_Iin is direct value*0.5 +GAIN_curr1 = "0.5" PWRONMON_curr1 = "ON" LABEL_curr2 = "p12v_fan_out" -CRITHI_curr2 = "88000" +CRITHI_curr2 = "100000" CRITLO_curr2 = "0" -WARNHI_curr2 = "88000" +WARNHI_curr2 = "100000" WARNLO_curr2 = "0" MINVALUE_curr2 = "0" MAXVALUE_curr2 = "150" diff --git a/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@8c000/vrm@5e.conf b/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@8c000/vrm@5e.conf index a8e92ef757..81d056d2f2 100644 --- a/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@8c000/vrm@5e.conf +++ b/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@8c000/vrm@5e.conf @@ -27,6 +27,8 @@ WARNHI_curr1 = "30000" WARNLO_curr1 = "0" MINVALUE_curr1 = "0" MAXVALUE_curr1 = "35" +# READ_Iin is direct value*0.5 +GAIN_curr1 = "0.5" PWRONMON_curr1 = "ON" LABEL_curr2 = "p12v_mobo_out" |