commit | 6792b4b988e8fa392774286a1791255f19b1a11a | [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 | b4b2d7c1852f029dfd45b5b21b4fcb3df29a619e | |
parent | 295ae3bf0cf92349cdea0f4ffb96bb61a7513fbd [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-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon%.bbappend b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon%.bbappend index 0a2ba9e..4796f2d 100644 --- a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon%.bbappend +++ b/meta-openbmc-machines/meta-openpower/meta-ibm/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-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@100/dps310@76.conf b/meta-openbmc-machines/meta-openpower/meta-ibm/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-openbmc-machines/meta-openpower/meta-ibm/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"