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>
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 75e7655..8ebf37e 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_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"