lkml.org 
[lkml]   [2014]   [Jul]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH/RFC v4 11/21] DT: leds: Add flash led devices related properties
    Date
    Addition of a LED Flash Class extension entails the need for flash led
    specific device tree properties. The properties being added are:
    iout-torch, iout-flash, iout-indicator and flash-timeout.

    Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
    Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
    Cc: Stephen Warren <swarren@nvidia.com>
    Cc: Grant Likely <grant.likely@secretlab.ca>
    Cc: Rob Herring <robh+dt@kernel.org>
    Cc: Pawel Moll <pawel.moll@arm.com>
    Cc: Mark Rutland <mark.rutland@arm.com>
    Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
    Cc: Kumar Gala <galak@codeaurora.org>
    ---
    Documentation/devicetree/bindings/leds/common.txt | 16 ++++++++++++++++
    1 file changed, 16 insertions(+)

    diff --git a/Documentation/devicetree/bindings/leds/common.txt b/Documentation/devicetree/bindings/leds/common.txt
    index 2d88816..40f4b9a 100644
    --- a/Documentation/devicetree/bindings/leds/common.txt
    +++ b/Documentation/devicetree/bindings/leds/common.txt
    @@ -3,6 +3,17 @@ Common leds properties.
    Optional properties for child nodes:
    - label : The label for this LED. If omitted, the label is
    taken from the node name (excluding the unit address).
    +- iout-torch : Array of maximum intensities in microamperes of the torch
    + led currents in order from sub-led 0 to N-1, where N is the number
    + of torch sub-leds exposed by the device
    +- iout-flash : Array of maximum intensities in microamperes of the flash
    + led currents in order from sub-led 0 to N-1, where N is the number
    + of flash sub-leds exposed by the device
    +- iout-indicator : Array of maximum intensities in microamperes of
    + the indicator led currents in order from sub-led 0 to N-1,
    + where N is the number of indicator sub-leds exposed by the device
    +- flash-timeout : timeout in microseconds after which flash led
    + is turned off

    - linux,default-trigger : This parameter, if present, is a
    string defining the trigger assigned to the LED. Current triggers are:
    @@ -19,5 +30,10 @@ Examples:
    system-status {
    label = "Status";
    linux,default-trigger = "heartbeat";
    + iout-torch = <500 500>;
    + iout-flash = <1000 1000>;
    + iout-indicator = <100 100>;
    + flash-timeout = <1000>;
    +
    ...
    };
    --
    1.7.9.5


    \
     
     \ /
      Last update: 2014-07-12 12:21    [W:3.157 / U:0.012 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site