diff options
author | Adriana Kobylak <anoo@us.ibm.com> | 2018-08-20 14:11:36 -0500 |
---|---|---|
committer | Adriana Kobylak <anoo@us.ibm.com> | 2018-09-06 09:05:39 -0500 |
commit | 02254dfeea5617c407f041069d8453969fb49248 (patch) | |
tree | 76023086e60137657482e2d6bb2ba78b925db971 /xyz/openbmc_project | |
parent | e0e9aed2be16f2189759c36e63dbdef8819f12c9 (diff) | |
download | phosphor-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.yaml | 10 |
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. |