diff options
author | Adriana Kobylak <anoo@us.ibm.com> | 2018-08-20 22:39:30 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-09-12 04:33:52 +0300 |
commit | 91cb95d60ed4b7f52bf3e197eeb58ec5d570d662 (patch) | |
tree | d5aa17dd1541a9e251a5044725604bbcdcfa9be6 /meta-phosphor/recipes-phosphor/settings | |
parent | 2ee96f54765655f3a7b850c2b9fb4db27a2411de (diff) | |
download | openbmc-91cb95d60ed4b7f52bf3e197eeb58ec5d570d662.tar.xz |
settings-default: Add Power Supply Derating Factor
Add the power supply derating factor property to the settings
interface with a default value of 90 (reference the variable
POWER_SUPPLY_DERATING_FACTOR in openbmc/openbmc).
This setting will be used by IPMI to get the derating factor
value when the Host requests it via a get sensor command.
Tested: Verified the new property was created with its default value.
(From meta-phosphor rev: 5dce67a520d2096ea91eb55734de6ba0e9a718f7)
Change-Id: Ia1e2ce66014bf4d7d4bf1ac9780d0ab11a60988f
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-phosphor/recipes-phosphor/settings')
-rw-r--r-- | meta-phosphor/recipes-phosphor/settings/phosphor-settings-defaults/defaults.yaml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta-phosphor/recipes-phosphor/settings/phosphor-settings-defaults/defaults.yaml b/meta-phosphor/recipes-phosphor/settings/phosphor-settings-defaults/defaults.yaml index de00b8e68d..0903760a11 100644 --- a/meta-phosphor/recipes-phosphor/settings/phosphor-settings-defaults/defaults.yaml +++ b/meta-phosphor/recipes-phosphor/settings/phosphor-settings-defaults/defaults.yaml @@ -104,6 +104,12 @@ TPMEnable: Default: 'false' +/xyz/openbmc_project/control/power_supply_attributes: + - Interface: xyz.openbmc_project.Control.PowerSupplyAttributes + Properties: + DeratingFactor: + Default: 90 + /xyz/openbmc_project/control/power_supply_redundancy: - Interface: xyz.openbmc_project.Control.PowerSupplyRedundancy Properties: |