commit | 30077452725fb3d5a5bab4c69d8679e6ce06b4e7 | [log] [tgz] |
---|---|---|
author | Andrew Geissler <andrewg@us.ibm.com> | Tue May 23 15:48:33 2017 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Mon Jun 12 14:01:54 2017 +0000 |
tree | aec40c6f4e275588544acf58a6c9a4ea148cfa83 | |
parent | 23db01fef8c44e19cc5fe1300d6da72018ca24ea [diff] |
Add in DPS310 hwmon config file The DPS310 is a new chip coming soon to provide ambient temperature to the openbmc. The config file may need a few tweaks when the chip arrives but this at least provides a base that will not hurt anything. Change-Id: Id5264ddcab7245f9ec9b3dbb5898f76ccf45e82b Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
diff --git a/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon%.bbappend b/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon%.bbappend index 0a2ba9e..4796f2d 100644 --- a/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon%.bbappend +++ b/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon%.bbappend
@@ -1,6 +1,10 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" -WSPOON_CHIPS = "i2c@1e78a000/i2c-bus@100/bmp280@77" +WSPOON_CHIPS = " \ + i2c@1e78a000/i2c-bus@100/bmp280@77 \ + i2c@1e78a000/i2c-bus@100/dps310@76 \ + " + WSPOON_ITEMSFMT = "ahb/apb/{0}.conf" WSPOON_ITEMS = "${@compose_list(d, 'WSPOON_ITEMSFMT', 'WSPOON_CHIPS')}"
diff --git a/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@100/dps310@76.conf b/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@100/dps310@76.conf new file mode 100644 index 0000000..883d5ca --- /dev/null +++ b/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@100/dps310@76.conf
@@ -0,0 +1 @@ +LABEL_temp1 = "ambient"