summaryrefslogtreecommitdiffstats
path: root/xyz/openbmc_project
diff options
context:
space:
mode:
authorAdriana Kobylak <anoo@us.ibm.com>2018-08-20 14:11:36 -0500
committerAdriana Kobylak <anoo@us.ibm.com>2018-09-06 09:05:39 -0500
commit02254dfeea5617c407f041069d8453969fb49248 (patch)
tree76023086e60137657482e2d6bb2ba78b925db971 /xyz/openbmc_project
parente0e9aed2be16f2189759c36e63dbdef8819f12c9 (diff)
downloadphosphor-dbus-interfaces-02254dfeea5617c407f041069d8453969fb49248.tar.gz
phosphor-dbus-interfaces-02254dfeea5617c407f041069d8453969fb49248.zip
Add PowerSupplyAttributes interface
Create a PowerSupply interface to host characteristics for an individual power supply and add the Derating Factor as a property. The derating factor is intended as a read-only value. Tested: Compiled the changes and verified the generated code. Change-Id: I5f8cdc19239a9a17b0a4ad8383c679b530f1a6b5 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
Diffstat (limited to 'xyz/openbmc_project')
-rw-r--r--xyz/openbmc_project/Control/PowerSupplyAttributes.interface.yaml10
1 files changed, 10 insertions, 0 deletions
diff --git a/xyz/openbmc_project/Control/PowerSupplyAttributes.interface.yaml b/xyz/openbmc_project/Control/PowerSupplyAttributes.interface.yaml
new file mode 100644
index 0000000..1e8f1b3
--- /dev/null
+++ b/xyz/openbmc_project/Control/PowerSupplyAttributes.interface.yaml
@@ -0,0 +1,10 @@
+description: >
+ An interface to set control characteristics for an individual power supply.
+properties:
+ - name: DeratingFactor
+ type: uint32
+ flags:
+ - const
+ description: >
+ The power supply derating factor, which is the percentage to multiply
+ the input power by to get the output power.
OpenPOWER on IntegriCloud