summaryrefslogtreecommitdiffstats
path: root/meta-openbmc-machines
diff options
context:
space:
mode:
authorMatthew Barth <msbarth@us.ibm.com>2017-09-15 14:53:01 -0500
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2017-10-02 13:35:23 +0000
commiteee14d77f2ae711624f118894d13d6c31e9f13ed (patch)
tree7d5bb34c1991ff62c87b7da59127f9c02e59dbe2 /meta-openbmc-machines
parente2561fbbfbb1c01c8ea428b148d3e4159c878aae (diff)
downloadtalos-openbmc-eee14d77f2ae711624f118894d13d6c31e9f13ed.tar.gz
talos-openbmc-eee14d77f2ae711624f118894d13d6c31e9f13ed.zip
witherspoon - Request speed based on tach feedback
Use the highest tach feedback from all the rotor feedbacks to base the increase and decrease requested speed changes on. Resolves openbmc/openbmc#2305 Change-Id: Ia1a71e53def045b021c3c798da3e8b07ae0a7c89 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
Diffstat (limited to 'meta-openbmc-machines')
-rw-r--r--meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/fans/phosphor-fan-control-events-config-native/events.yaml31
1 files changed, 31 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 ebc92e133..e2966d6ea 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
@@ -19,6 +19,18 @@ groups:
type: /xyz/openbmc_project/sensors
members:
- /temperature/ambient
+ - name: zone0_fan_tachs
+ description: Group of fan tach feedback speed inputs for zone 0
+ type: /xyz/openbmc_project/sensors
+ members:
+ - /fan_tach/fan0_0
+ - /fan_tach/fan0_1
+ - /fan_tach/fan1_0
+ - /fan_tach/fan1_1
+ - /fan_tach/fan2_0
+ - /fan_tach/fan2_1
+ - /fan_tach/fan3_0
+ - /fan_tach/fan3_1
- name: occ0_object
description: Dbus object containing OCC0 properties
type: /org/open_power/control
@@ -137,6 +149,10 @@ preconditions:
- groups
actions:
+ - name: set_request_speed_base_with_max
+ description: >
+ Set the base request speed of a zone to the max value of a group for
+ calculating a new target speed
- name: count_state_before_speed
description: Set the speed when a number of properties at a state
parameters:
@@ -289,6 +305,21 @@ events:
- 25000: 10500
- 27000: 10500
type: std::map<int64_t, uint64_t>
+ - name: set_base_request_speed_to_max_tach_feedback
+ zone_conditions:
+ - name: air_cooled_chassis
+ zones:
+ - 0
+ - name: water_and_air_cooled_chassis
+ zones:
+ - 0
+ group: zone0_fan_tachs
+ interface: xyz.openbmc_project.Sensor.Value
+ property:
+ name: Value
+ type: int64_t
+ actions:
+ - name: set_request_speed_base_with_max
- name: speed_changes_based_on_regulator_temps
zone_conditions:
- name: air_cooled_chassis
OpenPOWER on IntegriCloud