On Fri, Jan 9, 2015 at 9:22 AM, Jacek Anaszewski
<[email protected]> wrote:
> Add a property for defining the device outputs the LED
> represented by the DT child node is connected to.
>
> Signed-off-by: Jacek Anaszewski <[email protected]>
> Acked-by: Kyungmin Park <[email protected]>
> Cc: Bryan Wu <[email protected]>
> Cc: Richard Purdie <[email protected]>
> Cc: Rob Herring <[email protected]>
> Cc: Pawel Moll <[email protected]>
> Cc: Mark Rutland <[email protected]>
> Cc: Ian Campbell <[email protected]>
> Cc: Kumar Gala <[email protected]>
> ---
> Documentation/devicetree/bindings/leds/common.txt | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/leds/common.txt
> b/Documentation/devicetree/bindings/leds/common.txt
> index a2c3f7a..29295bf 100644
> --- a/Documentation/devicetree/bindings/leds/common.txt
> +++ b/Documentation/devicetree/bindings/leds/common.txt
> @@ -1,6 +1,10 @@
> Common leds properties.
>
> Optional properties for child nodes:
> +- led-sources : Array of bits signifying the LED current regulator outputs
> the
> + LED represented by the child node is connected to (1 - the LED
> + is connected to the output, 0 - the LED isn't connected to the
> + output).
Sorry, I just don't understand this.
Rob
> - label : The label for this LED. If omitted, the label is
> taken from the node name (excluding the unit address).
>
> @@ -33,6 +37,7 @@ system-status {
>
> camera-flash {
> label = "Flash";
> + led-sources = <1 0>;
> max-microamp = <50000>;
> flash-max-microamp = <320000>;
> flash-timeout-us = <500000>;
> --
> 1.7.9.5
>
--
To unsubscribe from this list: send the line "unsubscribe linux-leds" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html