diff options
author | George Hung <george.hung@quantatw.com> | 2020-05-19 10:52:33 +0300 |
---|---|---|
committer | Andrew Geissler <geissonator@yahoo.com> | 2020-07-10 02:52:59 +0300 |
commit | 712a27e4078956ba5d57cbbb677d46f7eadc50b7 (patch) | |
tree | e2165b2fc070920993a248f593b5b23924473568 /meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@8c000 | |
parent | b6e8442376ac4c5b22f680f81c5ca8bc8f4f1dca (diff) | |
download | openbmc-712a27e4078956ba5d57cbbb677d46f7eadc50b7.tar.xz |
meta-quanta: gbs: add hwmon sensors
Define the configuration files of the related sensors
and test pass
0001-lev-add-poweron-monitor-feature.patch
In-Review: https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-hwmon/+/28181
0002-lev-add-sensors-slow-readings.patch
In-Review: https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-hwmon/+/24337
(From meta-quanta rev: a66f2b941cede5fc15fe0d6d56ca2ac9352fdf77)
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: If7f767cbd952cde593e03d30c45572a21cc7c960
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Diffstat (limited to 'meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@8c000')
3 files changed, 190 insertions, 0 deletions
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 new file mode 100644 index 000000000..eda5341eb --- /dev/null +++ b/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@8c000/max34451@4e.conf @@ -0,0 +1,116 @@ +LABEL_in1 = "p1v8_stby" +CRITHI_in1 = "1890" +CRITLO_in1 = "1710" +WARNHI_in1 = "1890" +WARNLO_in1 = "1710" +MINVALUE_in1 = "0" +MAXVALUE_in1 = "2" +PWRONMON_in1 = "ON" + +LABEL_in2 = "vddcr_soc_stby" +CRITHI_in2 = "945" +CRITLO_in2 = "855" +WARNHI_in2 = "945" +WARNLO_in2 = "855" +MINVALUE_in2 = "0" +MAXVALUE_in2 = "1" +PWRONMON_in2 = "ON" + +LABEL_in3 = "p2v5_stby" +CRITHI_in3 = "2625" +CRITLO_in3 = "2375" +WARNHI_in3 = "2625" +WARNLO_in3 = "2375" +MINVALUE_in3 = "0" +MAXVALUE_in3 = "3" +PWRONMON_in3 = "ON" + +LABEL_in4 = "p1v2_stby" +CRITHI_in4 = "1260" +CRITLO_in4 = "1140" +WARNHI_in4 = "1260" +WARNLO_in4 = "1140" +MINVALUE_in4 = "0" +MAXVALUE_in4 = "2" +PWRONMON_in4 = "ON" + +LABEL_in5 = "p1v175_stby" +CRITHI_in5 = "1234" +CRITLO_in5 = "1116" +WARNHI_in5 = "1234" +WARNLO_in5 = "1116" +MINVALUE_in5 = "0" +MAXVALUE_in5 = "2" +PWRONMON_in5 = "ON" + +LABEL_in6 = "p1v8" +CRITHI_in6 = "1890" +CRITLO_in6 = "1710" +WARNHI_in6 = "1890" +WARNLO_in6 = "1710" +MINVALUE_in6 = "0" +MAXVALUE_in6 = "2" +PWRONMON_in6 = "ON" + +LABEL_in7 = "p3v3" +CRITHI_in7 = "3465" +CRITLO_in7 = "3135" +WARNHI_in7 = "3465" +WARNLO_in7 = "3135" +MINVALUE_in7 = "0" +MAXVALUE_in7 = "4" +PWRONMON_in7 = "ON" + +LABEL_in8 = "pwrgd_pvpp" +CRITHI_in8 = "3600" +CRITLO_in8 = "2600" +WARNHI_in8 = "3600" +WARNLO_in8 = "2600" +MINVALUE_in8 = "0" +MAXVALUE_in8 = "4" +PWRONMON_in8 = "ON" + +LABEL_in9 = "pwrgd_pvddio" +CRITHI_in9 = "3600" +CRITLO_in9 = "2600" +WARNHI_in9 = "3600" +WARNLO_in9 = "2600" +MINVALUE_in9 = "0" +MAXVALUE_in9 = "4" +PWRONMON_in9 = "ON" + +LABEL_in10 = "pwrgd_cpuvr" +CRITHI_in10 = "3600" +CRITLO_in10 = "2600" +WARNHI_in10 = "3600" +WARNLO_in10 = "2600" +MINVALUE_in10 = "0" +MAXVALUE_in10 = "4" +PWRONMON_in10 = "ON" + +LABEL_in11 = "p3v3_stby" +CRITHI_in11 = "3465" +CRITLO_in11 = "3135" +WARNHI_in11 = "3465" +WARNLO_in11 = "3135" +MINVALUE_in11 = "0" +MAXVALUE_in11 = "4" +PWRONMON_in11 = "ON" + +LABEL_in12 = "p5v_stby" +CRITHI_in12 = "5250" +CRITLO_in12 = "4750" +WARNHI_in12 = "5250" +WARNLO_in12 = "4750" +MINVALUE_in12 = "0" +MAXVALUE_in12 = "6" +PWRONMON_in12 = "ON" + +LABEL_temp1 = "powerseq_temp" +CRITHI_temp1 = "85000" +CRITLO_temp1 = "5000" +WARNHI_temp1 = "85000" +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@8c000/vrm@5d.conf b/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@8c000/vrm@5d.conf new file mode 100644 index 000000000..9ccd60219 --- /dev/null +++ b/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@8c000/vrm@5d.conf @@ -0,0 +1,37 @@ +LABEL_in1 = "p12v_2_in" +CRITHI_in1 = "60000" +CRITLO_in1 = "40000" +WARNHI_in1 = "60000" +WARNLO_in1 = "40000" +MINVALUE_in1 = "0" +MAXVALUE_in1 = "65" +# READ_VIN is direct value *10 +GAIN_in1 = "10.0" +PWRONMON_in1 = "ON" + +LABEL_in2 = "p12v_2_out" +CRITHI_in2 = "12600" +CRITLO_in2 = "11400" +WARNHI_in2 = "12600" +WARNLO_in2 = "11400" +MINVALUE_in2 = "0" +MAXVALUE_in2 = "14" +PWRONMON_in2 = "ON" + +LABEL_curr1 = "p12v_2_in" +CRITHI_curr1 = "22000" +CRITLO_curr1 = "0" +WARNHI_curr1 = "22000" +WARNLO_curr1 = "0" +MINVALUE_curr1 = "0" +MAXVALUE_curr1 = "35" +PWRONMON_curr1 = "ON" + +LABEL_curr2 = "p12v_2_out" +CRITHI_curr2 = "88000" +CRITLO_curr2 = "0" +WARNHI_curr2 = "88000" +WARNLO_curr2 = "0" +MINVALUE_curr2 = "0" +MAXVALUE_curr2 = "150" +PWRONMON_curr2 = "ON" 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 new file mode 100644 index 000000000..aac47ac1a --- /dev/null +++ b/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@8c000/vrm@5e.conf @@ -0,0 +1,37 @@ +LABEL_in1 = "p12v_1_in" +CRITHI_in1 = "60000" +CRITLO_in1 = "40000" +WARNHI_in1 = "60000" +WARNLO_in1 = "40000" +MINVALUE_in1 = "0" +MAXVALUE_in1 = "65" +# READ_VIN is direct value *10 +GAIN_in1 = "10.0" +PWRONMON_in1 = "ON" + +LABEL_in2 = "p12v_1_out" +CRITHI_in2 = "12600" +CRITLO_in2 = "11400" +WARNHI_in2 = "12600" +WARNLO_in2 = "11400" +MINVALUE_in2 = "0" +MAXVALUE_in2 = "14" +PWRONMON_in2 = "ON" + +LABEL_curr1 = "p12v_1_in" +CRITHI_curr1 = "30000" +CRITLO_curr1 = "0" +WARNHI_curr1 = "30000" +WARNLO_curr1 = "0" +MINVALUE_curr1 = "0" +MAXVALUE_curr1 = "35" +PWRONMON_curr1 = "ON" + +LABEL_curr2 = "p12v_1_out" +CRITHI_curr2 = "10000" +CRITLO_curr2 = "0" +WARNHI_curr2 = "10000" +WARNLO_curr2 = "0" +MINVALUE_curr2 = "0" +MAXVALUE_curr2 = "150" +PWRONMON_curr2 = "ON" |