summaryrefslogtreecommitdiff
path: root/meta-ibm/recipes-phosphor/settings
diff options
context:
space:
mode:
authorChris Cain <cjcain@us.ibm.com>2022-03-23 02:29:09 +0300
committerAndrew Geissler <andrew@geissonator.com>2022-03-24 17:54:04 +0300
commit3ab9a38c6fc1bddf30381d173a7ed5f840e1c508 (patch)
tree18d19752150ad6de1e8a2209f6d7b031c8c95450 /meta-ibm/recipes-phosphor/settings
parentba38d484f653ef338bc7ef11a41b892d013252fd (diff)
downloadopenbmc-3ab9a38c6fc1bddf30381d173a7ed5f840e1c508.tar.xz
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>
Diffstat (limited to 'meta-ibm/recipes-phosphor/settings')
-rw-r--r--meta-ibm/recipes-phosphor/settings/phosphor-settings-manager/ibm_settings.override.yml8
1 files changed, 8 insertions, 0 deletions
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 8dae59e4b8..123d985e73 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'