From 91cb95d60ed4b7f52bf3e197eeb58ec5d570d662 Mon Sep 17 00:00:00 2001 From: Adriana Kobylak Date: Mon, 20 Aug 2018 14:39:30 -0500 Subject: 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 Signed-off-by: Brad Bishop --- .../settings/phosphor-settings-defaults/defaults.yaml | 6 ++++++ 1 file changed, 6 insertions(+) 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 de00b8e68..0903760a1 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: -- cgit v1.2.3