leds: documentation: 'ide-disk' to 'disk-activity'
authorStephan Linz <linz@li-pro.net>
Fri, 24 Jun 2016 17:16:53 +0000 (19:16 +0200)
committerJacek Anaszewski <j.anaszewski@samsung.com>
Mon, 27 Jun 2016 06:58:35 +0000 (08:58 +0200)
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>
Documentation/devicetree/bindings/leds/common.txt
Documentation/devicetree/bindings/leds/leds-gpio.txt
Documentation/laptops/asus-laptop.txt
Documentation/leds/leds-class.txt

index af10678ea2f651a8b0c47881ab389685af180ece..93ef6e6e43b5cb08c7d586dd76a22eb2a35e9c35 100644 (file)
@@ -26,7 +26,9 @@ Optional properties for child nodes:
      "default-on" - LED will turn on (but for leds-gpio see "default-state"
                    property in Documentation/devicetree/bindings/gpio/led.txt)
      "heartbeat" - LED "double" flashes at a load average based rate
-     "ide-disk" - LED indicates disk activity
+     "disk-activity" - LED indicates disk activity
+     "ide-disk" - LED indicates IDE disk activity (deprecated),
+                  in new implementations use "disk-activity"
      "timer" - LED flashes at a fixed, configurable rate
 
 - led-max-microamp : Maximum LED supply current in microamperes. This property
index cbbeb1850910ed602e883b64e61254c91ad7ceda..5b1b43a64265372445b8e181e45f981262aa562c 100644 (file)
@@ -33,9 +33,9 @@ Examples:
 leds {
        compatible = "gpio-leds";
        hdd {
-               label = "IDE Activity";
+               label = "Disk Activity";
                gpios = <&mcu_pio 0 GPIO_ACTIVE_LOW>;
-               linux,default-trigger = "ide-disk";
+               linux,default-trigger = "disk-activity";
        };
 
        fault {
index 79a1bc675a8dd468bf2b9153690459230196408a..5f2858712aa055b2bb5499f8cb93dec6ff8ccd72 100644 (file)
@@ -72,7 +72,7 @@ LEDs
     echo 1 >  /sys/class/leds/asus::mail/brightness
   will switch the mail LED on.
   You can also know if they are on/off by reading their content and use
-  kernel triggers like ide-disk or heartbeat.
+  kernel triggers like disk-activity or heartbeat.
 
 Backlight
 ---------
index 44f5e6bccd978fbe2329cdb39af87494aaafc09c..f1f7ec9f5cc555630040640cbbc7d55b5dedaffa 100644 (file)
@@ -11,7 +11,7 @@ brightness support so will just be turned on for non-zero brightness settings.
 The class also introduces the optional concept of an LED trigger. A trigger
 is a kernel based source of led events. Triggers can either be simple or
 complex. A simple trigger isn't configurable and is designed to slot into
-existing subsystems with minimal additional code. Examples are the ide-disk,
+existing subsystems with minimal additional code. Examples are the disk-activity,
 nand-disk and sharpsl-charge triggers. With led triggers disabled, the code
 optimises away.
 
This page took 0.02684 seconds and 5 git commands to generate.