diff options
author | Matthew Barth <msbarth@us.ibm.com> | 2019-05-31 21:30:53 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2019-06-05 16:34:11 +0300 |
commit | 275b604ffd65b5c7622dc974067ab0cfc5b73c35 (patch) | |
tree | 1d4a01c51276d75d298663a5937462f4c62956b8 /meta-ibm/meta-witherspoon | |
parent | 31ea32d3953358fa63c97b5e5e0d22cf5dd23cfb (diff) | |
download | openbmc-275b604ffd65b5c7622dc974067ab0cfc5b73c35.tar.xz |
swift: Add tmp275 ambient sensor
Swift has 3 ambient temperature sensors, the tmp275 will be labeled as
`ambient0` and initially use the same warn/crit temperature
configurations as Witherspoon.
Tested:
Built image that contained the config file
(From meta-ibm rev: 51daebff52005f4cf40fa5a4bf8c5f779bb6c997)
Change-Id: Iebb780c517a41ec64e5ad99ebf41c401faab90e9
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-ibm/meta-witherspoon')
2 files changed, 6 insertions, 0 deletions
diff --git a/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon/swift/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@300/tmp275@48.conf b/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon/swift/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@300/tmp275@48.conf new file mode 100644 index 0000000000..ef2b46d537 --- /dev/null +++ b/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon/swift/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@300/tmp275@48.conf @@ -0,0 +1,5 @@ +LABEL_temp1 = "ambient0" +WARNHI_temp1 = "25000" +WARNLO_temp1 = "0" +CRITHI_temp1 = "35000" +CRITLO_temp1 = "0" 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 75e7655afe..8ebf37eb05 100644 --- a/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend +++ b/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend @@ -24,6 +24,7 @@ CHIPS_append_witherspoon = " \ CHIPS_append_swift = " \ bus@1e78a000/i2c-bus@440/tmp275@4a \ bus@1e78a000/i2c-bus@440/tmp275@48 \ + bus@1e78a000/i2c-bus@300/tmp275@48 \ " ITEMSFMT = "ahb/apb/{0}.conf" |