mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 12:43:29 +02:00
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>
This commit is contained in:
@@ -17,12 +17,6 @@ set a timer to hold a state, however when user space application crashes or
|
|||||||
goes away without deactivating the timer, the hardware will be left in that
|
goes away without deactivating the timer, the hardware will be left in that
|
||||||
state permanently.
|
state permanently.
|
||||||
|
|
||||||
As a specific example of this use-case, let's look at vibrate feature on
|
|
||||||
phones. Vibrate function on phones is implemented using PWM pins on SoC or
|
|
||||||
PMIC. There is a need to activate one shot timer to control the vibrate
|
|
||||||
feature, to prevent user space crashes leaving the phone in vibrate mode
|
|
||||||
permanently causing the battery to drain.
|
|
||||||
|
|
||||||
Transient trigger addresses the need for one shot timer activation. The
|
Transient trigger addresses the need for one shot timer activation. The
|
||||||
transient trigger can be enabled and disabled just like the other leds
|
transient trigger can be enabled and disabled just like the other leds
|
||||||
triggers.
|
triggers.
|
||||||
@@ -159,7 +153,6 @@ repeat the following step as needed::
|
|||||||
|
|
||||||
This trigger is intended to be used for the following example use cases:
|
This trigger is intended to be used for the following example use cases:
|
||||||
|
|
||||||
- Control of vibrate (phones, tablets etc.) hardware by user space app.
|
|
||||||
- Use of LED by user space app as activity indicator.
|
- Use of LED by user space app as activity indicator.
|
||||||
- Use of LED by user space app as a kind of watchdog indicator -- as
|
- Use of LED by user space app as a kind of watchdog indicator -- as
|
||||||
long as the app is alive, it can keep the LED illuminated, if it dies
|
long as the app is alive, it can keep the LED illuminated, if it dies
|
||||||
|
Reference in New Issue
Block a user