diff options
author | Brandon Wyman <bjwyman@gmail.com> | 2017-05-22 17:35:07 -0500 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2017-06-07 14:11:25 +0000 |
commit | 31f77bc6c927aa721df31f96bc46a48ac97525fd (patch) | |
tree | 9a9124a0ef727806201e9ab086991ee2f33e097e /meta-openbmc-machines/meta-openpower/meta-ibm | |
parent | fd4d3cc662f7126e31ffdb074fb1f6d531af88e6 (diff) | |
download | talos-openbmc-31f77bc6c927aa721df31f96bc46a48ac97525fd.tar.gz talos-openbmc-31f77bc6c927aa721df31f96bc46a48ac97525fd.zip |
Create configuration file for BMP280 ambient
Change-Id: If5137be315dd7b8f087b79f75a9e5e1f2f112113
Signed-off-by: Brandon Wyman <bjwyman@gmail.com>
Diffstat (limited to 'meta-openbmc-machines/meta-openpower/meta-ibm')
2 files changed, 10 insertions, 0 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 new file mode 100644 index 000000000..0a2ba9e9b --- /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 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/bmp280@77.conf @@ -0,0 +1 @@ +LABEL_temp1 = "ambient" |