From 47af1f709d14780e30817411da66dfe9423e55dd Mon Sep 17 00:00:00 2001 From: Vishwanatha Subbanna Date: Tue, 13 Dec 2016 21:33:05 +0530 Subject: 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 --- xyz/openbmc_project/Led/Physical.interface.yaml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'xyz') 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. + enumerations: - name: Action description: > -- cgit v1.2.1