Re: [PATCH V1 1/2] leds: leds-qti-rgb: Add LED driver for QTI TRI_LED module

From: Pavel Machek
Date: Wed May 31 2017 - 03:55:54 EST


Hi!

> +- qcom,support-blink:
> + Usage: optional
> + Value type: <prop-encoded-array>
> + Definition: An array of integer values to indicate if "blue", "green", "red"
> + LEDs support blink control. The values are listed as the fixed
> + order for "blue", "green", "red" LEDs.

Normal order is RGB, and no need for the "s.

> +- qcom,on-ms:
> + Usage: optional
> + Value type: <prop-encoded-array>
> + Definition: An array of time values (milli-seconds) to represent the
> + on duration for "blue", "green", "red" LEDs. The values are
> + listed as the fixed order for "blue", "green", "red" LEDs.
> + This property has to be defined if "qcom,support-blink" is
> + present.
> +
> +- qcom,off-ms:
> + Usage: optional
> + Value type: <prop-encoded-array>
> + Definition: An array of time values (milli-seconds) to represent the
> + off duration for "blue", "green", "red" LEDs. The values are
> + listed as the fixed order for "blue", "green", "red" LEDs.
> + This property has to be defined if "qcom,support-blink" is
> + present.

I don't get it; why is this needed?

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

Attachment: signature.asc
Description: Digital signature