diff options
author | Matt Spinler <spinler@us.ibm.com> | 2018-10-08 18:27:30 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-10-09 06:13:03 +0300 |
commit | c3966252f9945108d27845e12b7732a825a9ca4e (patch) | |
tree | accdfd595d3ffdf130701374b0b838b782ae18e8 /meta-ibm/meta-witherspoon | |
parent | 4cdfde1e48c6ba33868c6d795ea76584422cbc79 (diff) | |
download | openbmc-c3966252f9945108d27845e12b7732a825a9ca4e.tar.xz |
wspoon: Add IR35221 hwmon I/V/P monitoring
Add the current, voltage, and power hwmon config file
entries for the 4 IR35221 voltage regulator instances.
(From meta-ibm rev: 1ee607b82cca6d6d065ffa1106a34ed60dfd3e20)
Change-Id: Ibe4fa374efc925390ed8e47dc7b646c0b0fa6526
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-ibm/meta-witherspoon')
4 files changed, 148 insertions, 4 deletions
diff --git a/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@140/ir35221@70.conf b/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@140/ir35221@70.conf index 6f15a5d36..9ae1f1ef1 100644 --- a/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@140/ir35221@70.conf +++ b/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@140/ir35221@70.conf @@ -4,8 +4,44 @@ WARNLO_temp1 = "0" CRITHI_temp1 = "85000" CRITLO_temp1 = "0" +LABEL_curr2 = "p0_vdd_current" +WARNLO_curr2 = "0" +CRITLO_curr2 = "0" +WARNHI_curr2 = "320000" +CRITHI_curr2 = "360000" + +LABEL_in2 = "p0_vdd_voltage" +WARNLO_in2 = "0" +CRITLO_in2 = "0" +WARNHI_in2 = "1150" +CRITHI_in2 = "1300" + +LABEL_power2 = "p0_vdd_power" +WARNLO_power2 = "0" +CRITLO_power2 = "0" +WARNHI_power2 = "270000000" +CRITHI_power2 = "290000000" + LABEL_temp2 = "p0_vcs_temp" WARNHI_temp2 = "80000" WARNLO_temp2 = "0" CRITHI_temp2 = "85000" -CRITLO_temp2 = "0"
\ No newline at end of file +CRITLO_temp2 = "0" + +LABEL_curr3 = "p0_vcs_current" +WARNLO_curr3 = "0" +CRITLO_curr3 = "0" +WARNHI_curr3 = "20000" +CRITHI_curr3 = "25000" + +LABEL_in3 = "p0_vcs_voltage" +WARNLO_in3 = "0" +CRITLO_in3 = "0" +WARNHI_in3 = "1150" +CRITHI_in3 = "1300" + +LABEL_power3 = "p0_vcs_power" +WARNLO_power3 = "0" +CRITLO_power3 = "0" +WARNHI_power3 = "20000000" +CRITHI_power3 = "25000000"
\ No newline at end of file diff --git a/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@140/ir35221@71.conf b/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@140/ir35221@71.conf index eee7d51bb..723a68d66 100644 --- a/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@140/ir35221@71.conf +++ b/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@140/ir35221@71.conf @@ -4,8 +4,44 @@ WARNLO_temp1 = "0" CRITHI_temp1 = "85000" CRITLO_temp1 = "0" +LABEL_curr2 = "p0_vdn_current" +WARNLO_curr2 = "0" +CRITLO_curr2 = "0" +WARNHI_curr2 = "80000" +CRITHI_curr2 = "110000" + +LABEL_in2 = "p0_vdn_voltage" +WARNLO_in2 = "0" +CRITLO_in2 = "0" +WARNHI_in2 = "1100" +CRITHI_in2 = "1300" + +LABEL_power2 = "p0_vdn_power" +WARNLO_power2 = "0" +CRITLO_power2 = "0" +WARNHI_power2 = "88000000" +CRITHI_power2 = "121000000" + LABEL_temp2 = "p0_vddr_temp" WARNHI_temp2 = "80000" WARNLO_temp2 = "0" CRITHI_temp2 = "85000" -CRITLO_temp2 = "0"
\ No newline at end of file +CRITLO_temp2 = "0" + +LABEL_curr3 = "p0_vddr_current" +WARNLO_curr3 = "0" +CRITLO_curr3 = "0" +WARNHI_curr3 = "115000" +CRITHI_curr3 = "130000" + +LABEL_in3 = "p0_vddr_voltage" +WARNLO_in3 = "0" +CRITLO_in3 = "0" +WARNHI_in3 = "1280" +CRITHI_in3 = "1350" + +LABEL_power3 = "p0_vddr_power" +WARNLO_power3 = "0" +CRITLO_power3 = "0" +WARNHI_power3 = "139150000" +CRITHI_power3 = "159900000"
\ No newline at end of file diff --git a/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@180/ir35221@70.conf b/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@180/ir35221@70.conf index 0a7bce056..1fa7b5a5c 100644 --- a/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@180/ir35221@70.conf +++ b/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@180/ir35221@70.conf @@ -4,8 +4,44 @@ WARNLO_temp1 = "0" CRITHI_temp1 = "85000" CRITLO_temp1 = "0" +LABEL_curr2 = "p1_vdd_current" +WARNLO_curr2 = "0" +CRITLO_curr2 = "0" +WARNHI_curr2 = "320000" +CRITHI_curr2 = "360000" + +LABEL_in2 = "p1_vdd_voltage" +WARNLO_in2 = "0" +CRITLO_in2 = "0" +WARNHI_in2 = "1150" +CRITHI_in2 = "1300" + +LABEL_power2 = "p1_vdd_power" +WARNLO_power2 = "0" +CRITLO_power2 = "0" +WARNHI_power2 = "270000000" +CRITHI_power2 = "290000000" + LABEL_temp2 = "p1_vcs_temp" WARNHI_temp2 = "80000" WARNLO_temp2 = "0" CRITHI_temp2 = "85000" -CRITLO_temp2 = "0"
\ No newline at end of file +CRITLO_temp2 = "0" + +LABEL_curr3 = "p1_vcs_current" +WARNLO_curr3 = "0" +CRITLO_curr3 = "0" +WARNHI_curr3 = "20000" +CRITHI_curr3 = "25000" + +LABEL_in3 = "p1_vcs_voltage" +WARNLO_in3 = "0" +CRITLO_in3 = "0" +WARNHI_in3 = "1150" +CRITHI_in3 = "1300" + +LABEL_power3 = "p1_vcs_power" +WARNLO_power3 = "0" +CRITLO_power3 = "0" +WARNHI_power3 = "20000000" +CRITHI_power3 = "25000000"
\ No newline at end of file diff --git a/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@180/ir35221@71.conf b/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@180/ir35221@71.conf index 433cd677c..d4e9326b2 100644 --- a/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@180/ir35221@71.conf +++ b/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@180/ir35221@71.conf @@ -4,8 +4,44 @@ WARNLO_temp1 = "0" CRITHI_temp1 = "85000" CRITLO_temp1 = "0" +LABEL_curr2 = "p1_vdn_current" +WARNLO_curr2 = "0" +CRITLO_curr2 = "0" +WARNHI_curr2 = "80000" +CRITHI_curr2 = "110000" + +LABEL_in2 = "p1_vdn_voltage" +WARNLO_in2 = "0" +CRITLO_in2 = "0" +WARNHI_in2 = "1100" +CRITHI_in2 = "1300" + +LABEL_power2 = "p1_vdn_power" +WARNLO_power2 = "0" +CRITLO_power2 = "0" +WARNHI_power2 = "88000000" +CRITHI_power2 = "121000000" + LABEL_temp2 = "p1_vddr_temp" WARNHI_temp2 = "80000" WARNLO_temp2 = "0" CRITHI_temp2 = "85000" -CRITLO_temp2 = "0"
\ No newline at end of file +CRITLO_temp2 = "0" + +LABEL_curr3 = "p1_vddr_current" +WARNLO_curr3 = "0" +CRITLO_curr3 = "0" +WARNHI_curr3 = "115000" +CRITHI_curr3 = "130000" + +LABEL_in3 = "p1_vddr_voltage" +WARNLO_in3 = "0" +CRITLO_in3 = "0" +WARNHI_in3 = "1280" +CRITHI_in3 = "1350" + +LABEL_power3 = "p1_vddr_power" +WARNLO_power3 = "0" +CRITLO_power3 = "0" +WARNHI_power3 = "139150000" +CRITHI_power3 = "159900000"
\ No newline at end of file |