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>
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 de00b8e..0903760 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: