commit | 31f77bc6c927aa721df31f96bc46a48ac97525fd | [log] [tgz] |
---|---|---|
author | Brandon Wyman <bjwyman@gmail.com> | Mon May 22 17:35:07 2017 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Wed Jun 07 14:11:25 2017 +0000 |
tree | 9a9124a0ef727806201e9ab086991ee2f33e097e | |
parent | fd4d3cc662f7126e31ffdb074fb1f6d531af88e6 [diff] |
Create configuration file for BMP280 ambient Change-Id: If5137be315dd7b8f087b79f75a9e5e1f2f112113 Signed-off-by: Brandon Wyman <bjwyman@gmail.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 new file mode 100644 index 0000000..0a2ba9e --- /dev/null +++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon%.bbappend
@@ -0,0 +1,9 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" + +WSPOON_CHIPS = "i2c@1e78a000/i2c-bus@100/bmp280@77" +WSPOON_ITEMSFMT = "ahb/apb/{0}.conf" + +WSPOON_ITEMS = "${@compose_list(d, 'WSPOON_ITEMSFMT', 'WSPOON_CHIPS')}" + +ENVS = "obmc/hwmon/{0}" +SYSTEMD_ENVIRONMENT_FILE_${PN} += "${@compose_list(d, 'ENVS', 'WSPOON_ITEMS')}"
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/bmp280@77.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/bmp280@77.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/bmp280@77.conf
@@ -0,0 +1 @@ +LABEL_temp1 = "ambient"