path: root/xyz
diff options
authorVishwanatha Subbanna <>2016-12-13 21:33:05 +0530
committerVishwanatha Subbanna <>2016-12-19 11:39:58 +0530
commit47af1f709d14780e30817411da66dfe9423e55dd (patch)
treeafa5ebc02e5e641dc57ef9641441d613f98bad1b /xyz
parent9f6133c1f41e56609c8ad6b30610094531c077bd (diff)
Add Frequency to Physical LED interface
LED blink operation is governed by the frequency and the duty cycle. A frequency of 1hz was assumed until now and this changes makes it user configurable. If the value is exceeding the capability of the controller, driver will assume a default value of 1hz. Change-Id: I082b0ba3742184c0279bae41d3a5acb4b11379c0 Signed-off-by: Vishwanatha Subbanna <>
Diffstat (limited to 'xyz')
1 files changed, 6 insertions, 0 deletions
diff --git a/xyz/openbmc_project/Led/Physical.interface.yaml b/xyz/openbmc_project/Led/Physical.interface.yaml
index c0ca00e..f4f9784 100644
--- a/xyz/openbmc_project/Led/Physical.interface.yaml
+++ b/xyz/openbmc_project/Led/Physical.interface.yaml
@@ -20,6 +20,12 @@ properties:
description: >
Color that the LED can emit.
+ - name: Period
+ type: uint16
+ default: 1000
+ description: >
+ LED blink period expressed as milliseconds per on/off cycle.
- name: Action
description: >
OpenPOWER on IntegriCloud