commit | 3ab9a38c6fc1bddf30381d173a7ed5f840e1c508 | [log] [tgz] |
---|---|---|
author | Chris Cain <cjcain@us.ibm.com> | Tue Mar 22 18:29:09 2022 -0500 |
committer | Andrew Geissler <andrew@geissonator.com> | Thu Mar 24 14:54:04 2022 +0000 |
tree | 18d19752150ad6de1e8a2209f6d7b031c8c95450 | |
parent | ba38d484f653ef338bc7ef11a41b892d013252fd [diff] |
meta-ibm: Remove Power.Cap hardcoded range The powercap range is currently hardcoded by mrw-override-settings.yaml This commit will remove the hardcoded range and allow the full range of values to be set. The actual limits are available via dbus which can be used to validate the user power cap. Change-Id: I71e6009d5bc288c0d8480db26ce9e6782bdbd167 Signed-off-by: Chris Cain <cjcain@us.ibm.com>
diff --git a/meta-ibm/recipes-phosphor/settings/phosphor-settings-manager/ibm_settings.override.yml b/meta-ibm/recipes-phosphor/settings/phosphor-settings-manager/ibm_settings.override.yml index 8dae59e..123d985 100644 --- a/meta-ibm/recipes-phosphor/settings/phosphor-settings-manager/ibm_settings.override.yml +++ b/meta-ibm/recipes-phosphor/settings/phosphor-settings-manager/ibm_settings.override.yml
@@ -15,3 +15,11 @@ Properties: Enabled: Default: 'true' + +/xyz/openbmc_project/control/host0/power_cap: + - Interface: xyz.openbmc_project.Control.Power.Cap + Properties: + PowerCap: + Default: 0 + PowerCapEnable: + Default: 'false'