Skip to content

Commit 86ab168

Browse files
rexutjanaszewski
authored andcommitted
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>
1 parent eb25cb9 commit 86ab168

4 files changed

Lines changed: 7 additions & 5 deletions

File tree

‎Documentation/devicetree/bindings/leds/common.txt‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ Optional properties for child nodes:
2626
"default-on" - LED will turn on (but for leds-gpio see "default-state"
2727
property in Documentation/devicetree/bindings/gpio/led.txt)
2828
"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"
3032
"timer" - LED flashes at a fixed, configurable rate
3133

3234
- led-max-microamp : Maximum LED supply current in microamperes. This property

‎Documentation/devicetree/bindings/leds/leds-gpio.txt‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ Examples:
3333
leds {
3434
compatible = "gpio-leds";
3535
hdd {
36-
label = "IDE Activity";
36+
label = "Disk Activity";
3737
gpios = <&mcu_pio 0 GPIO_ACTIVE_LOW>;
38-
linux,default-trigger = "ide-disk";
38+
linux,default-trigger = "disk-activity";
3939
};
4040

4141
fault {

‎Documentation/laptops/asus-laptop.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ LEDs
7272
echo 1 > /sys/class/leds/asus::mail/brightness
7373
will switch the mail LED on.
7474
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.
7676

7777
Backlight
7878
---------

‎Documentation/leds/leds-class.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ brightness support so will just be turned on for non-zero brightness settings.
1111
The class also introduces the optional concept of an LED trigger. A trigger
1212
is a kernel based source of led events. Triggers can either be simple or
1313
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,
1515
nand-disk and sharpsl-charge triggers. With led triggers disabled, the code
1616
optimises away.
1717

0 commit comments

Comments
 (0)