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.
Change-Id: I356eb237af349587f4ebec7f932c473940827598
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
diff --git a/recipes-phosphor/settings/phosphor-settings-defaults/defaults.yaml b/recipes-phosphor/settings/phosphor-settings-defaults/defaults.yaml
index de00b8e..0903760 100644
--- a/recipes-phosphor/settings/phosphor-settings-defaults/defaults.yaml
+++ b/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: