summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Geissler <andrewg@us.ibm.com>2017-05-23 15:48:33 -0500
committerPatrick Williams <patrick@stwcx.xyz>2017-06-12 14:01:54 +0000
commit6792b4b988e8fa392774286a1791255f19b1a11a (patch)
treeb4b2d7c1852f029dfd45b5b21b4fcb3df29a619e
parent295ae3bf0cf92349cdea0f4ffb96bb61a7513fbd (diff)
downloadtalos-openbmc-6792b4b988e8fa392774286a1791255f19b1a11a.tar.gz
talos-openbmc-6792b4b988e8fa392774286a1791255f19b1a11a.zip
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>
-rw-r--r--meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon%.bbappend6
-rw-r--r--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.conf1
2 files changed, 6 insertions, 1 deletions
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 0a2ba9e9b..4796f2ded 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 000000000..883d5ca1b
--- /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"
OpenPOWER on IntegriCloud