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 <vishwa@linux.vnet.ibm.com>
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 @@
description: >
Color that the LED can emit.
+ - name: Period
+ type: uint16
+ default: 1000
+ description: >
+ LED blink period expressed as milliseconds per on/off cycle.
+
enumerations:
- name: Action
description: >