Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

-7
-7
Documentation/leds/ledtrig-transient.rst
··· 17 17 goes away without deactivating the timer, the hardware will be left in that 18 18 state permanently. 19 19 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 - 26 20 Transient trigger addresses the need for one shot timer activation. The 27 21 transient trigger can be enabled and disabled just like the other leds 28 22 triggers. ··· 153 159 154 160 This trigger is intended to be used for the following example use cases: 155 161 156 - - Control of vibrate (phones, tablets etc.) hardware by user space app. 157 162 - Use of LED by user space app as activity indicator. 158 163 - Use of LED by user space app as a kind of watchdog indicator -- as 159 164 long as the app is alive, it can keep the LED illuminated, if it dies