Skip to content

Commit a2f8e2b

Browse files
committed
leds: we don't want people to use LED subsystem for vibrations
Remove notes about vibrations, as that is better done using input subsystem. Signed-off-by: Pavel Machek <pavel@ucw.cz>
1 parent fa31311 commit a2f8e2b

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

‎Documentation/leds/ledtrig-transient.rst‎

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,6 @@ set a timer to hold a state, however when user space application crashes or
1717
goes away without deactivating the timer, the hardware will be left in that
1818
state permanently.
1919

20-
As a specific example of this use-case, let's look at vibrate feature on
21-
phones. Vibrate function on phones is implemented using PWM pins on SoC or
22-
PMIC. There is a need to activate one shot timer to control the vibrate
23-
feature, to prevent user space crashes leaving the phone in vibrate mode
24-
permanently causing the battery to drain.
25-
2620
Transient trigger addresses the need for one shot timer activation. The
2721
transient trigger can be enabled and disabled just like the other leds
2822
triggers.
@@ -159,7 +153,6 @@ repeat the following step as needed::
159153

160154
This trigger is intended to be used for the following example use cases:
161155

162-
- Control of vibrate (phones, tablets etc.) hardware by user space app.
163156
- Use of LED by user space app as activity indicator.
164157
- Use of LED by user space app as a kind of watchdog indicator -- as
165158
long as the app is alive, it can keep the LED illuminated, if it dies

0 commit comments

Comments
 (0)