control:p10bmc:ibm,rainier-4u: Add decrease actions for OCC temps
Add the initial target decrease actions for each of the OCC provided
temperature groups. The core and ioring temperatures use a managed
parameter to determine their state at which target decreases should be
calculated and requested. The events to set those managed parameters is:
https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-fan-presence/+/49237
Each of the other dimm temperatures and the vrm temperatures use a
static state to determine at which target decreases should be calculated
and requested.
All groups are given an initial delta which is multiplied by the number
of degrees each sensor is below their respective state values (whether
set statically or by a managed parameter), and that is the amount to
decrease the target of the zone's fans by.
Change-Id: Ifb3c9046ef2e99bed5b58e4571e310258edc3e8f
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
1 file changed