diff options
author | Matthew Barth <msbarth@us.ibm.com> | 2020-11-24 03:10:30 +0300 |
---|---|---|
committer | Andrew Geissler <geissonator@yahoo.com> | 2020-12-15 21:53:47 +0300 |
commit | 804181475cde63d58837d67f13a59bc605573e75 (patch) | |
tree | 67cb7f15df01302d053a9392016cc75c95345e95 /meta-ibm/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend | |
parent | 63cbaa990b70fa379408b9b9764c706f5be6bb52 (diff) | |
download | openbmc-804181475cde63d58837d67f13a59bc605573e75.tar.xz |
sensors:rainier: Add max31785 hwmon config
Add the max31785 fan controller device to hwmon.
(From meta-ibm rev: 71404ba4966e32bb4ed9a120062d669ed642d851)
Change-Id: I4b2cd1c5379e76ccf40f52dc6ceca6a98f931f40
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Diffstat (limited to 'meta-ibm/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend')
-rw-r--r-- | meta-ibm/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta-ibm/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend b/meta-ibm/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend index 3eaa70eee7..5742840372 100644 --- a/meta-ibm/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend +++ b/meta-ibm/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend @@ -73,6 +73,11 @@ CHIPS_witherspoon-tacoma = " \ bus@1e78a000/i2c-bus@300/ir35221@71 \ bus@1e78a000/i2c-bus@500/tmp275@4a \ " + +CHIPS_rainier = " \ + bus@1e78a000/i2c-bus@400/max31785@52 \ + " + ITEMSFMT = "ahb/apb/{0}.conf" ITEMS = "${@compose_list(d, 'ITEMSFMT', 'CHIPS')}" ITEMS_append_mihawk += " iio-hwmon-vdd0.conf" @@ -104,6 +109,7 @@ SYSTEMD_ENVIRONMENT_FILE_${PN}_append_ibm-ac-server = " ${@compose_list(d, 'ENVS SYSTEMD_ENVIRONMENT_FILE_${PN}_append_ibm-ac-server = " ${@compose_list(d, 'ENVS', 'OCCITEMS')}" SYSTEMD_ENVIRONMENT_FILE_${PN}_append_mihawk = " ${@compose_list(d, 'ENVS', 'ITEMS')}" SYSTEMD_ENVIRONMENT_FILE_${PN}_append_mihawk = " ${@compose_list(d, 'ENVS', 'OCCITEMS')}" +SYSTEMD_ENVIRONMENT_FILE_${PN}_append_rainier = " ${@compose_list(d, 'ENVS', 'ITEMS')}" # Enable and install the max31785-msl package PACKAGECONFIG_append_ibm-ac-server = " max31785-msl" |