diff options
author | Matt Spinler <spinler@us.ibm.com> | 2023-03-03 19:22:18 +0300 |
---|---|---|
committer | Matt Spinler <spinler@us.ibm.com> | 2023-03-09 17:55:28 +0300 |
commit | 93e6bbee156d2ba3232cc54ea9623119c4b0e749 (patch) | |
tree | 1d1c869242e84bc869a36639054e542e66247670 /meta-ibm/recipes-phosphor/sensors | |
parent | da67d43367c00e4566dbbbd2193a3f3554967f02 (diff) | |
download | openbmc-93e6bbee156d2ba3232cc54ea9623119c4b0e749.tar.xz |
meta-ibm: Add max31785 hwmon config for Bonnell
While the max31785 is at the same I2C bus and address as on Rainier, it
only has two fans so it needs a unique hwmon conf file, which it has
because the name is different in the device tree.
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: Ia2c77e4149f02fe0a9d335cdd0551fb4ddd75108
Diffstat (limited to 'meta-ibm/recipes-phosphor/sensors')
-rw-r--r-- | meta-ibm/recipes-phosphor/sensors/phosphor-hwmon/p10bmc/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@400/max31785b@52.conf | 9 | ||||
-rw-r--r-- | meta-ibm/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend | 1 |
2 files changed, 10 insertions, 0 deletions
diff --git a/meta-ibm/recipes-phosphor/sensors/phosphor-hwmon/p10bmc/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@400/max31785b@52.conf b/meta-ibm/recipes-phosphor/sensors/phosphor-hwmon/p10bmc/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@400/max31785b@52.conf new file mode 100644 index 0000000000..5046f075d4 --- /dev/null +++ b/meta-ibm/recipes-phosphor/sensors/phosphor-hwmon/p10bmc/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@400/max31785b@52.conf @@ -0,0 +1,9 @@ +LABEL_fan1 = "fan0_0" + +LABEL_fan2 = "fan1_0" + +LABEL_fan3 = "fan0_1" + +LABEL_fan4 = "fan1_1" + +TARGET_MODE = "RPM" diff --git a/meta-ibm/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend b/meta-ibm/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend index 652fe4ffed..006bab1994 100644 --- a/meta-ibm/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend +++ b/meta-ibm/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend @@ -53,6 +53,7 @@ CHIPS:p10bmc = " \ bus@1e78a000/i2c-bus@200/power-supply@6d \ bus@1e78a000/i2c-bus@200/power-supply@6b \ bus@1e78a000/i2c-bus@400/max31785@52 \ + bus@1e78a000/i2c-bus@400/max31785b@52 \ bus@1e78a000/i2c-bus@780/i2c-switch@70/i2c@3/max31785@52 \ " |