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

leds: documentation: 'ide-disk' to 'disk-activity'

Signed-off-by: Stephan Linz <linz@li-pro.net>
Cc: Joseph Jezak <josejx@gentoo.org>
Cc: Jörg Sommer <joerg@alea.gnuu.de>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>

authored by

Stephan Linz and committed by
Jacek Anaszewski
86ab1686 eb25cb99

+7 -5
+3 -1
Documentation/devicetree/bindings/leds/common.txt
··· 26 26 "default-on" - LED will turn on (but for leds-gpio see "default-state" 27 27 property in Documentation/devicetree/bindings/gpio/led.txt) 28 28 "heartbeat" - LED "double" flashes at a load average based rate 29 - "ide-disk" - LED indicates disk activity 29 + "disk-activity" - LED indicates disk activity 30 + "ide-disk" - LED indicates IDE disk activity (deprecated), 31 + in new implementations use "disk-activity" 30 32 "timer" - LED flashes at a fixed, configurable rate 31 33 32 34 - led-max-microamp : Maximum LED supply current in microamperes. This property
+2 -2
Documentation/devicetree/bindings/leds/leds-gpio.txt
··· 33 33 leds { 34 34 compatible = "gpio-leds"; 35 35 hdd { 36 - label = "IDE Activity"; 36 + label = "Disk Activity"; 37 37 gpios = <&mcu_pio 0 GPIO_ACTIVE_LOW>; 38 - linux,default-trigger = "ide-disk"; 38 + linux,default-trigger = "disk-activity"; 39 39 }; 40 40 41 41 fault {
+1 -1
Documentation/laptops/asus-laptop.txt
··· 72 72 echo 1 > /sys/class/leds/asus::mail/brightness 73 73 will switch the mail LED on. 74 74 You can also know if they are on/off by reading their content and use 75 - kernel triggers like ide-disk or heartbeat. 75 + kernel triggers like disk-activity or heartbeat. 76 76 77 77 Backlight 78 78 ---------
+1 -1
Documentation/leds/leds-class.txt
··· 11 11 The class also introduces the optional concept of an LED trigger. A trigger 12 12 is a kernel based source of led events. Triggers can either be simple or 13 13 complex. A simple trigger isn't configurable and is designed to slot into 14 - existing subsystems with minimal additional code. Examples are the ide-disk, 14 + existing subsystems with minimal additional code. Examples are the disk-activity, 15 15 nand-disk and sharpsl-charge triggers. With led triggers disabled, the code 16 16 optimises away. 17 17