diff options
author | Matthew Barth <msbarth@us.ibm.com> | 2019-02-15 00:31:05 +0300 |
---|---|---|
committer | Andrew Geissler <geissonator@yahoo.com> | 2019-02-20 05:06:15 +0300 |
commit | b43cf56ccef3a5de25dec0c3ee5ad10b884ed740 (patch) | |
tree | c3841f7759308e0c9a8db57b39dec34fdfbdb88a /meta-ibm/meta-witherspoon/recipes-phosphor/fans | |
parent | 36bcc1461d6254bd35f62b066c8d99ed4c1d8277 (diff) | |
download | openbmc-b43cf56ccef3a5de25dec0c3ee5ad10b884ed740.tar.xz |
wspoon: Configure zone thermal mode properties
Populate the properties on the Control.ThermalMode interface with the
list of supported modes along with setting the default value of the
current mode.
With setting these modes to uppercase, the events must also be updated
to match to effectively load process the event using this property.
Tested:
Introspected the zone object and verified the values of each
property when fan control initializes the zone.
Requires:
https://gerrit.openbmc-project.xyz/18474
(From meta-ibm rev: 8e08d602f92301db11e36ededcdd180b703a82b1)
Change-Id: I06cd35957640568d4719489ef17aff7f3d13cd7f
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Diffstat (limited to 'meta-ibm/meta-witherspoon/recipes-phosphor/fans')
2 files changed, 42 insertions, 1 deletions
diff --git a/meta-ibm/meta-witherspoon/recipes-phosphor/fans/phosphor-fan-control-events-config-native/events.yaml b/meta-ibm/meta-witherspoon/recipes-phosphor/fans/phosphor-fan-control-events-config-native/events.yaml index e726f90f22..5f6a094bac 100644 --- a/meta-ibm/meta-witherspoon/recipes-phosphor/fans/phosphor-fan-control-events-config-native/events.yaml +++ b/meta-ibm/meta-witherspoon/recipes-phosphor/fans/phosphor-fan-control-events-config-native/events.yaml @@ -455,7 +455,7 @@ events: actions: - name: use_alternate_events_on_state property: - value: Custom + value: CUSTOM type: std::string defevents: - name: default_floor_boundary diff --git a/meta-ibm/meta-witherspoon/recipes-phosphor/fans/phosphor-fan-control-zone-config-native/zones.yaml b/meta-ibm/meta-witherspoon/recipes-phosphor/fans/phosphor-fan-control-zone-config-native/zones.yaml index 29dd2c79e7..d31b304450 100644 --- a/meta-ibm/meta-witherspoon/recipes-phosphor/fans/phosphor-fan-control-zone-config-native/zones.yaml +++ b/meta-ibm/meta-witherspoon/recipes-phosphor/fans/phosphor-fan-control-zone-config-native/zones.yaml @@ -16,6 +16,30 @@ zone_configuration: default_floor: 8000 increase_delay: 5 decrease_interval: 30 + interfaces: + - name: xyz.openbmc_project.Control.ThermalMode + properties: + - name: Supported + type: array[string] + values: + - value: DEFAULT + description: > + Default thermal control mode + - value: CUSTOM + description: > + Custom thermal control mode for handling the use of + optical cables located behind the GPU exhaust that + could produce overtemp warnings without this mode + enabled. + - name: Current + type: string + persist: true + values: + - value: DEFAULT + description: > + Set current thermal control mode to the + default which will be replaced on startup if + another selected mode was persisted. #Water cooled zones - zone_conditions: @@ -30,3 +54,20 @@ zone_configuration: default_floor: 8000 increase_delay: 5 decrease_interval: 30 + interfaces: + - name: xyz.openbmc_project.Control.ThermalMode + properties: + - name: Supported + type: array[string] + values: + - value: DEFAULT + description: > + Default thermal control mode + - name: Current + type: string + persist: true + values: + - value: DEFAULT + description: > + Set current thermal control mode to the + default. No other modes are supported. |