commit | b42c250ced3003e17498a9bbd1207417c5059409 | [log] [tgz] |
---|---|---|
author | Lei YU <mine260309@gmail.com> | Wed Jul 19 17:27:59 2017 +0800 |
committer | Patrick Williams <patrick@stwcx.xyz> | Tue Aug 01 13:53:39 2017 +0000 |
tree | dbe0ec6f2e9f4b79966445465aa75638123d0daf | |
parent | e922ca60d7497a59c3700c89e1ca33d4664c0d15 [diff] |
meta-palmetto: Fix occ hwmon 1. Add openpower-occ-control into build to bind/unbind occ-hwmon driver; 2. Modify hwmon config to use the updated occ-hwmon device. Change-Id: I5ad0f2b7b95b41ff216381e6689926201930d097 Signed-off-by: Lei YU <mine260309@gmail.com>
diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-palmetto/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bbappend b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-palmetto/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bbappend new file mode 100644 index 0000000..e5b837a --- /dev/null +++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-palmetto/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bbappend
@@ -0,0 +1 @@ +RDEPENDS_${PN}-inventory += "openpower-occ-control"
diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-palmetto/recipes-phosphor/sensors/phosphor-hwmon%.bbappend b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-palmetto/recipes-phosphor/sensors/phosphor-hwmon%.bbappend index 745f697..e904dc0 100644 --- a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-palmetto/recipes-phosphor/sensors/phosphor-hwmon%.bbappend +++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-palmetto/recipes-phosphor/sensors/phosphor-hwmon%.bbappend
@@ -1,6 +1,10 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" -NAMES = "i2c@1e78a000/i2c-bus@40/rtc@68 i2c@1e78a000/i2c-bus@c0/tmp423@4c i2c@1e78a000/i2c-bus@100/occ@50" +NAMES = " \ + i2c@1e78a000/i2c-bus@40/rtc@68 \ + i2c@1e78a000/i2c-bus@c0/tmp423@4c \ + i2c@1e78a000/i2c-bus@100/occ-hwmon@50 \ + " ITEMSFMT = "ahb/apb/{0}.conf" ITEMS = "${@compose_list(d, 'ITEMSFMT', 'NAMES')}"
diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-palmetto/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@100/occ@50.conf b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-palmetto/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@100/occ-hwmon@50.conf similarity index 100% rename from meta-openbmc-machines/meta-openpower/meta-ibm/meta-palmetto/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@100/occ@50.conf rename to meta-openbmc-machines/meta-openpower/meta-ibm/meta-palmetto/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@100/occ-hwmon@50.conf