commit | 44d15151813b30aeb9f93cf4afb2818be2ed0b70 | [log] [tgz] |
---|---|---|
author | Matthew Barth <msbarth@us.ibm.com> | Fri May 31 13:44:13 2019 -0500 |
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | Wed Jun 05 13:29:57 2019 +0000 |
tree | 08256c764450fdc597bd15433bf94cf314158f22 | |
parent | b86d99ad97152a5932f0e53a3a80a422e421437b [diff] |
swift: Add si7021a20 ambient sensor Swift has 3 ambient temperature sensors, the si7021a20 will be labeled as `ambient2` and initially use the same warn/crit temperature configurations as Witherspoon. Tested: Built image that contained the config file Change-Id: I6c5e9924c2204113e1caa6109b48142321f449c7 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
diff --git a/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon/swift/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@300/si7021a20@20.conf b/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon/swift/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@300/si7021a20@20.conf new file mode 100644 index 0000000..c8a7290 --- /dev/null +++ b/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon/swift/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@300/si7021a20@20.conf
@@ -0,0 +1,5 @@ +LABEL_temp1 = "ambient2" +WARNHI_temp1 = "25000" +WARNLO_temp1 = "0" +CRITHI_temp1 = "35000" +CRITLO_temp1 = "0"
diff --git a/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend b/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend index c5d75a7..dfd992b 100644 --- a/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend +++ b/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend
@@ -26,6 +26,7 @@ bus@1e78a000/i2c-bus@440/tmp275@48 \ bus@1e78a000/i2c-bus@300/tmp275@48 \ bus@1e78a000/i2c-bus@300/dps310@76 \ + bus@1e78a000/i2c-bus@300/si7021a20@20 \ " ITEMSFMT = "ahb/apb/{0}.conf"