diff options
author | Ben Pai <Ben_Pai@wistron.com> | 2020-06-18 05:36:04 +0300 |
---|---|---|
committer | Andrew Geissler <geissonator@yahoo.com> | 2020-07-15 18:47:05 +0300 |
commit | b84a24178479cacdbac9903eee91206392652e9c (patch) | |
tree | 456c68e8662443b692679b7067a79e26f490aa38 /meta-ibm/recipes-phosphor/fans/phosphor-fan-control-events-config | |
parent | af47c85e5355c84882c733f26db1749d764dcf48 (diff) | |
download | openbmc-b84a24178479cacdbac9903eee91206392652e9c.tar.xz |
meta-ibm: Mihawk fan control support 250 soc thermal sensor
Fan control must support 250 soc thermal sensor.
Tested: Fan speed is automatically controlled when using 250 soc
(From meta-ibm rev: 05540e77d337f466bc339715153704edff3f6b88)
Change-Id: Ic17854a8556b5878bf506bfafd64762315390c39
Signed-off-by: Ben Pai <Ben_Pai@wistron.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Diffstat (limited to 'meta-ibm/recipes-phosphor/fans/phosphor-fan-control-events-config')
-rw-r--r-- | meta-ibm/recipes-phosphor/fans/phosphor-fan-control-events-config/mihawk/events.yaml | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/meta-ibm/recipes-phosphor/fans/phosphor-fan-control-events-config/mihawk/events.yaml b/meta-ibm/recipes-phosphor/fans/phosphor-fan-control-events-config/mihawk/events.yaml index 2efbb0c7d0..721e99acaa 100644 --- a/meta-ibm/recipes-phosphor/fans/phosphor-fan-control-events-config/mihawk/events.yaml +++ b/meta-ibm/recipes-phosphor/fans/phosphor-fan-control-events-config/mihawk/events.yaml @@ -174,6 +174,18 @@ groups: - /temperature/nvme21 - /temperature/nvme22 - /temperature/nvme23 + - name: zone0_250soc + description: Group of nvme temperature sensors for zone 0 + type: /xyz/openbmc_project/sensors + members: + - /temperature/250_soc0 + - /temperature/250_soc1 + - /temperature/250_soc2 + - /temperature/250_soc3 + - /temperature/250_soc4 + - /temperature/250_soc5 + - /temperature/250_soc6 + - /temperature/250_soc7 matches: - name: propertiesChanged parameters: @@ -582,6 +594,11 @@ events: property: name: Value type: int64_t + - name: zone0_250soc + interface: xyz.openbmc_project.Sensor.Value + property: + name: Value + type: int64_t triggers: - name: init method: getProperties @@ -838,3 +855,36 @@ events: delta: value: 5 type: uint64_t + # Speed changes based on 250soc temps + - name: set_net_increase_speed + groups: + - name: zone0_250soc + interface: xyz.openbmc_project.Sensor.Value + property: + name: Value + type: int64_t + property: + value: 80000 + type: int64_t + factor: + value: 1000 + type: int64_t + delta: + value: 13 + type: uint64_t + - name: set_net_decrease_speed + groups: + - name: zone0_250soc + interface: xyz.openbmc_project.Sensor.Value + property: + name: Value + type: int64_t + property: + value: 77000 + type: int64_t + factor: + value: 3000 + type: int64_t + delta: + value: 5 + type: uint64_t |