• Home
  • Raw
  • Download

Lines Matching +full:led +full:- +full:1

2 LED Transient Trigger
8 to be off. The delay_on value specifies the time period an LED should stay
9 in on state, followed by a delay_off value that specifies how long the LED
24 When an led class device driver registers itself, it can specify all leds
26 routine for the default trigger gets called. During registration of an led
27 class device, the LED state does not change.
30 trigger will be called, and LED state is changed to LED_OFF.
32 Driver suspend changes the LED state to LED_OFF and resume doesn't change
34 suspend and resume actions and the currently enabled trigger. LED state
37 being able to actually change the LED state. Once driver is resumed, triggers
40 LED state changes are controlled using brightness which is a common led
45 trigger registration, for each led class device that specifies this trigger
47 registration, the LED state does not change, unless there is another trigger
48 active, in which case LED state changes to LED_OFF.
50 During trigger unregistration, LED state gets changed to LED_OFF.
52 Transient trigger activation routine doesn't change the LED state. It
55 up and removes the properties it created. It will restore the LED state to
56 non-transient state. When driver gets suspended, irrespective of the transient
57 state, the LED state changes to LED_OFF.
59 Transient trigger can be enabled and disabled from user space on led class
71 - duration allows setting timer value in msecs. The initial value is 0.
72 - activate allows activating and deactivating the timer specified by
75 - state allows user to specify a transient state to be held for the specified
79 - one shot timer activate mechanism.
80 1 when activated, 0 when deactivated.
90 - one shot timer value. When activate is set, duration value
96 - transient state to be held. It has two values 0 or 1. 0 maps
97 to LED_OFF and 1 maps to LED_FULL. The specified state is
99 state gets changed to the non-transient state which is the
105 Please note that current LED state is not checked prior to
108 default states it defines for the LED in its brightness_set()
109 interface which is called from the led brightness_set()
110 interfaces to control the LED state.
116 non-transient state which is the inverse of the transient state:
119 echo 1 > activate starts timer = duration when duration is not 0.
127 echo 1 > state stores desired transient state LED_FULL to be
136 - Timer activation is one shot and extending and/or shortening the timer
142 use-case 1::
146 echo 1 > state
150 echo 1 > activate - start timer = duration to run once
151 echo 1 > activate - start timer = duration to run once
156 - Use of LED by user space app as activity indicator.
157 - Use of LED by user space app as a kind of watchdog indicator -- as
158 long as the app is alive, it can keep the LED illuminated, if it dies
159 the LED will be extinguished automatically.
160 - Use by any user space app that needs a transient GPIO output.