diff options
author | Matthew Barth <msbarth@us.ibm.com> | 2019-06-01 00:27:24 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2019-06-05 16:34:12 +0300 |
commit | 466193732b3fe99986982f5ca444fb221d0b970d (patch) | |
tree | 14c7d828225397369bd10ea9c9935c7ad898a85a /meta-ibm/meta-witherspoon | |
parent | 6052e32ec45ff3f32ae2d96c4dfd89b1e7d5bb3c (diff) | |
download | openbmc-466193732b3fe99986982f5ca444fb221d0b970d.tar.xz |
swift: Add CP0 ir35219 and ir35221 sensors
On processor 0 in Swift, an IR35219 is used for the VDD vrm and
IR35221s are used for the VDN & VCS vrms and VIO vrm.. Initially the
same warn/crit configuration values as Witherspoon will be used.
Tested:
Built image that contained the config files
(From meta-ibm rev: e21e2d20610744cfbf1d96345e0781ae3a47159d)
Change-Id: I94b687e77f988442e9b6a7f5583608be01a793c8
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-ibm/meta-witherspoon')
4 files changed, 96 insertions, 0 deletions
diff --git a/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon/swift/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@380/ir35219@70.conf b/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon/swift/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@380/ir35219@70.conf new file mode 100644 index 0000000000..7d2f2ef2aa --- /dev/null +++ b/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon/swift/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@380/ir35219@70.conf @@ -0,0 +1,23 @@ +qLABEL_temp1 = "p0_vdd_temp" +WARNHI_temp1 = "80000" +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" diff --git a/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon/swift/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@380/ir35221@71.conf b/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon/swift/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@380/ir35221@71.conf new file mode 100644 index 0000000000..ca77937227 --- /dev/null +++ b/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon/swift/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@380/ir35221@71.conf @@ -0,0 +1,47 @@ +LABEL_temp1 = "p0_vdn_temp" +WARNHI_temp1 = "80000" +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_vcs_temp" +WARNHI_temp2 = "80000" +WARNLO_temp2 = "0" +CRITHI_temp2 = "85000" +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" diff --git a/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon/swift/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@380/ir35221@72.conf b/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon/swift/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@380/ir35221@72.conf new file mode 100644 index 0000000000..7b6b356a44 --- /dev/null +++ b/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon/swift/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@380/ir35221@72.conf @@ -0,0 +1,23 @@ +LABEL_temp1 = "p0_vio_temp" +WARNHI_temp1 = "80000" +WARNLO_temp1 = "0" +CRITHI_temp1 = "85000" +CRITLO_temp1 = "0" + +LABEL_curr2 = "p0_vio_current" +WARNLO_curr2 = "0" +CRITLO_curr2 = "0" +WARNHI_curr2 = "80000" +CRITHI_curr2 = "110000" + +LABEL_in2 = "p0_vio_voltage" +WARNLO_in2 = "0" +CRITLO_in2 = "0" +WARNHI_in2 = "1100" +CRITHI_in2 = "1300" + +LABEL_power2 = "p0_vio_power" +WARNLO_power2 = "0" +CRITLO_power2 = "0" +WARNHI_power2 = "88000000" +CRITHI_power2 = "121000000" diff --git a/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend b/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend index dfd992b60f..b54acff071 100644 --- a/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend +++ b/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend @@ -27,6 +27,9 @@ CHIPS_append_swift = " \ bus@1e78a000/i2c-bus@300/tmp275@48 \ bus@1e78a000/i2c-bus@300/dps310@76 \ bus@1e78a000/i2c-bus@300/si7021a20@20 \ + bus@1e78a000/i2c-bus@380/ir35219@70 \ + bus@1e78a000/i2c-bus@380/ir35221@71 \ + bus@1e78a000/i2c-bus@380/ir35221@72 \ " ITEMSFMT = "ahb/apb/{0}.conf" |