diff options
author | Ben Pai <Ben_Pai@wistron.com> | 2020-02-27 08:02:36 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2020-02-28 16:52:49 +0300 |
commit | f1f81800b6d80008e67e0ef8902f7e76f1a08644 (patch) | |
tree | f8898440073d3290cf997484817f180aa38c9a84 /meta-ibm | |
parent | 6befe13f267b05a8e7873e07737610c172fd1ae9 (diff) | |
download | openbmc-f1f81800b6d80008e67e0ef8902f7e76f1a08644.tar.xz |
meta-ibm: Mihawk fan control support NVMe thermal sensor
Fan control must support NVMe SSD thermal sensor.
Tested: Fan speed is automatically controlled when using NVMe SSD
(From meta-ibm rev: 4dc75c91139e71ee5f42ba27ddacf46815c8aa8b)
Change-Id: Idb156ebe12d98b26faa7781b462e11b38af5ae7c
Signed-off-by: Ben Pai <Ben_Pai@wistron.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-ibm')
-rw-r--r-- | meta-ibm/meta-witherspoon/recipes-phosphor/fans/phosphor-fan-control-events-config/mihawk/events.yaml | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/meta-ibm/meta-witherspoon/recipes-phosphor/fans/phosphor-fan-control-events-config/mihawk/events.yaml b/meta-ibm/meta-witherspoon/recipes-phosphor/fans/phosphor-fan-control-events-config/mihawk/events.yaml index 386f4b7c7c..2efbb0c7d0 100644 --- a/meta-ibm/meta-witherspoon/recipes-phosphor/fans/phosphor-fan-control-events-config/mihawk/events.yaml +++ b/meta-ibm/meta-witherspoon/recipes-phosphor/fans/phosphor-fan-control-events-config/mihawk/events.yaml @@ -146,6 +146,34 @@ groups: - /temperature/gpu5 - /temperature/gpu6 - /temperature/gpu7 + - name: zone0_nvme + description: Group of nvme temperature sensors for zone 0 + type: /xyz/openbmc_project/sensors + members: + - /temperature/nvme0 + - /temperature/nvme1 + - /temperature/nvme2 + - /temperature/nvme3 + - /temperature/nvme4 + - /temperature/nvme5 + - /temperature/nvme6 + - /temperature/nvme7 + - /temperature/nvme8 + - /temperature/nvme9 + - /temperature/nvme10 + - /temperature/nvme11 + - /temperature/nvme12 + - /temperature/nvme13 + - /temperature/nvme14 + - /temperature/nvme15 + - /temperature/nvme16 + - /temperature/nvme17 + - /temperature/nvme18 + - /temperature/nvme19 + - /temperature/nvme20 + - /temperature/nvme21 + - /temperature/nvme22 + - /temperature/nvme23 matches: - name: propertiesChanged parameters: @@ -549,6 +577,11 @@ events: property: name: Value type: int64_t + - name: zone0_nvme + interface: xyz.openbmc_project.Sensor.Value + property: + name: Value + type: int64_t triggers: - name: init method: getProperties @@ -772,3 +805,36 @@ events: delta: value: 5 type: uint64_t + # Speed changes based on nvme temps + - name: set_net_increase_speed + groups: + - name: zone0_nvme + interface: xyz.openbmc_project.Sensor.Value + property: + name: Value + type: int64_t + property: + value: 55 + type: int64_t + factor: + value: 1 + type: int64_t + delta: + value: 13 + type: uint64_t + - name: set_net_decrease_speed + groups: + - name: zone0_nvme + interface: xyz.openbmc_project.Sensor.Value + property: + name: Value + type: int64_t + property: + value: 52 + type: int64_t + factor: + value: 3 + type: int64_t + delta: + value: 5 + type: uint64_t |