diff options
author | Matthew Barth <msbarth@us.ibm.com> | 2017-08-16 12:43:07 -0500 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2017-08-25 12:27:44 +0000 |
commit | f87fa72f04442689610fb47fffc4b0b5e96a45ee (patch) | |
tree | 60ff0bdf33d3211a4fdde2bc8a35bd8f4bf1c7f0 /meta-openbmc-machines/meta-openpower | |
parent | 37481d6cb9481488eea80b2f0535447ad5369446 (diff) | |
download | talos-openbmc-f87fa72f04442689610fb47fffc4b0b5e96a45ee.tar.gz talos-openbmc-f87fa72f04442689610fb47fffc4b0b5e96a45ee.zip |
witherspoon: Add fan speed inc/dec control based on reg temps
Created an event to increase or decrease fan speeds based on regulator
temperatures
Change-Id: If194953743756ae8de5949f1f4a6827d1796c46e
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
Diffstat (limited to 'meta-openbmc-machines/meta-openpower')
-rw-r--r-- | meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/fans/phosphor-fan-control-events-config-native/events.yaml | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/fans/phosphor-fan-control-events-config-native/events.yaml b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/fans/phosphor-fan-control-events-config-native/events.yaml index f4c6fa3bf..d87c19713 100644 --- a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/fans/phosphor-fan-control-events-config-native/events.yaml +++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/fans/phosphor-fan-control-events-config-native/events.yaml @@ -81,6 +81,12 @@ groups: - /temperature/p1_core21_temp - /temperature/p1_core22_temp - /temperature/p1_core23_temp + - name: zone0_regulators + description: Group of regulator temperature sensors for zone 0 + type: /xyz/openbmc_project/sensors + members: + - /temperature/p0_vdd_temp + - /temperature/p1_vdd_temp preconditions: - name: property_states_match @@ -327,3 +333,49 @@ events: type: uint64_t timer: interval: 15 + - name: speed_increase_changes_based_on_regulator_temps + zone_conditions: + - name: air_cooled_chassis + zones: + - 0 + - name: water_and_air_cooled_chassis + zones: + - 0 + group: zone0_regulators + interface: xyz.openbmc_project.Sensor.Value + property: + name: Value + type: int64_t + action: + name: set_net_increase_speed + property: 85000 + factor: + value: 1000 + type: int64_t + delta: + value: 400 + type: uint64_t + - name: speed_decrease_changes_based_on_regulator_temps + zone_conditions: + - name: air_cooled_chassis + zones: + - 0 + - name: water_and_air_cooled_chassis + zones: + - 0 + group: zone0_regulators + interface: xyz.openbmc_project.Sensor.Value + property: + name: Value + type: int64_t + action: + name: set_net_decrease_speed + property: 82000 + factor: + value: 1000 + type: int64_t + delta: + value: 10 + type: uint64_t + timer: + interval: 15 |