wspoon: Update fan control to latest level
Use the latest level of fan control without enabling service monitoring
functionality to pick up all changes that allow enabling fan control on
air cooled Witherspoons.
Since no events are defined to use the service monitoring functionality,
this should not impact active fan control.
Change-Id: I51c3f8ed3cb8f0db6daa5385f410bce0d6ffd2b5
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
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 7a71d16..be1a2f0 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
@@ -133,6 +133,76 @@
members:
- /temperature/pcie
+matches:
+ - name: propertiesChanged
+ description: >
+ A property changed match
+ parameters:
+ - object
+ - interface
+ signal: propertySignal
+ - name: interfacesAdded
+ description: >
+ An interfaces added match
+ parameters:
+ - object
+ signal: objectSignal
+ - name: interfacesRemoved
+ description: >
+ An interfaces removed match
+ parameters:
+ - object
+ signal: objectSignal
+ - name: nameOwnerChanged
+ description: >
+ A name owner changed match
+ parameters:
+ - object
+ - interface
+ signal: ownerSignal
+
+signals:
+ - name: propertySignal
+ description: >
+ Handle property signals
+ parameters:
+ - type
+ - object
+ - interface
+ - property
+ handler: setProperty
+ - name: objectSignal
+ description: >
+ Handle object signals
+ parameters:
+ - type
+ - object
+ - interface
+ - property
+ handler: setProperty
+ - name: ownerSignal
+ description: >
+ Handle owner signals
+ parameters:
+ - object
+ - interface
+ handler: setService
+
+handlers:
+ - name: setProperty
+ description: >
+ Sets a value for the given object/interface/property
+ parameters:
+ - type
+ - object
+ - interface
+ - property
+ - name: setService
+ description: >
+ Sets the service name(s) for the given group
+ parameters:
+ - group
+
preconditions:
- name: property_states_match
description: >
@@ -142,6 +212,22 @@
- groups
actions:
+ - name: call_actions_based_on_timer
+ description: >
+ Sets up a list of actions to be invoked when the defined timer
+ expires (or for each expiration of a repeating timer)
+ parameters:
+ - timer
+ - actions
+ - name: default_floor_on_missing_owner
+ description: >
+ Set the fan floor to the default floor
+ - name: set_speed_on_missing_owner
+ description: >
+ Set fans to the given speed when any service within the group
+ no longer exists
+ parameters:
+ - speed
- name: set_request_speed_base_with_max
description: >
Set the base request speed of a zone to the max value of a group for
@@ -190,6 +276,8 @@
property:
name: Present
type: bool
+ matches:
+ - name: propertiesChanged
actions:
- name: count_state_before_speed
count: 1
@@ -207,6 +295,8 @@
property:
name: Functional
type: bool
+ matches:
+ - name: propertiesChanged
actions:
- name: count_state_before_speed
count: 1
@@ -224,6 +314,8 @@
property:
name: Present
type: bool
+ matches:
+ - name: propertiesChanged
actions:
- name: count_state_before_speed
count: 1
@@ -241,6 +333,8 @@
property:
name: Functional
type: bool
+ matches:
+ - name: propertiesChanged
actions:
- name: count_state_before_speed
count: 1
@@ -258,6 +352,8 @@
property:
name: Value
type: int64_t
+ matches:
+ - name: propertiesChanged
actions:
- name: set_floor_from_average_sensor_value
map:
@@ -283,6 +379,8 @@
property:
name: Value
type: int64_t
+ matches:
+ - name: propertiesChanged
actions:
- name: set_floor_from_average_sensor_value
map:
@@ -311,6 +409,9 @@
property:
name: Value
type: int64_t
+ matches:
+ - name: interfacesAdded
+ - name: propertiesChanged
actions:
- name: set_net_increase_speed
property: 85000
@@ -343,6 +444,9 @@
property:
name: Value
type: int64_t
+ matches:
+ - name: interfacesAdded
+ - name: propertiesChanged
actions:
- name: set_net_increase_speed
property: 55000
@@ -378,6 +482,9 @@
name: OccActive
type: bool
value: true
+ matches:
+ - name: interfacesAdded
+ - name: propertiesChanged
events:
- name: speed_changes_based_on_core_temps
zone_conditions:
@@ -389,6 +496,9 @@
property:
name: Value
type: int64_t
+ matches:
+ - name: interfacesAdded
+ - name: propertiesChanged
actions:
- name: set_net_increase_speed
property: 73000
@@ -421,6 +531,9 @@
property:
name: Value
type: int64_t
+ matches:
+ - name: interfacesAdded
+ - name: propertiesChanged
actions:
- name: set_net_increase_speed
property: 64000
@@ -450,6 +563,9 @@
property:
name: Value
type: int64_t
+ matches:
+ - name: interfacesAdded
+ - name: propertiesChanged
actions:
- name: set_net_increase_speed
property: 78000
@@ -479,6 +595,9 @@
property:
name: Value
type: int64_t
+ matches:
+ - name: interfacesAdded
+ - name: propertiesChanged
actions:
- name: set_net_increase_speed
property: 80000
diff --git a/meta-phosphor/common/recipes-phosphor/fans/phosphor-fan.inc b/meta-phosphor/common/recipes-phosphor/fans/phosphor-fan.inc
index 5a25714..d53b8e0 100644
--- a/meta-phosphor/common/recipes-phosphor/fans/phosphor-fan.inc
+++ b/meta-phosphor/common/recipes-phosphor/fans/phosphor-fan.inc
@@ -2,4 +2,4 @@
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e"
SRC_URI += "git://github.com/openbmc/phosphor-fan-presence"
-SRCREV = "e3bab01d16c1b2b126b37295b13911bf17bfb0bd"
+SRCREV = "e65f617c6a79eb92c122310f35ddb8a496e729fd"