Lines Matching +full:disk +full:- +full:activity
1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jacek Anaszewski <jacek.anaszewski@gmail.com>
11 - Pavel Machek <pavel@ucw.cz>
25 led-sources:
30 $ref: /schemas/types.yaml#definitions/uint32-array
35 from the header include/dt-bindings/leds/common.h. If there is no
42 the header include/dt-bindings/leds/common.h. If there is no matching
48 function-enumerator:
59 deprecated - use 'function' and 'color' properties instead.
60 function-enumerator has no effect when this property is present.
62 default-state:
65 default-state property is set the to same value, then no glitch should be
71 - on
72 - off
73 - keep
76 linux,default-trigger:
83 # LED will act as a back-light, controlled by the framebuffer system
84 - backlight
85 # LED will turn on (but for leds-gpio see "default-state" property in
86 # Documentation/devicetree/bindings/leds/leds-gpio.yaml)
87 - default-on
89 - heartbeat
90 # LED indicates disk activity
91 - disk-activity
92 # LED indicates IDE disk activity (deprecated), in new implementations
93 # use "disk-activity"
94 - ide-disk
96 - timer
98 # timer (requires "led-pattern" property)
99 - pattern
101 led-pattern:
106 - one-shot : two numbers specifying delay on and delay off (in ms),
107 - timer : two numbers specifying delay on and delay off (in ms),
108 - pattern : the pattern is given by a series of tuples, of
111 Documentation/devicetree/bindings/leds/leds-trigger-pattern.txt
112 $ref: /schemas/types.yaml#definitions/uint32-matrix
117 led-max-microamp:
123 mandatory for the LEDs in the non-flash modes (e.g. torch or indicator).
125 panic-indicator:
131 trigger-sources:
134 activity. Some LEDs can be related to a specific device and should somehow
145 #trigger-source-cells property in the source node.
146 $ref: /schemas/types.yaml#definitions/phandle-array
149 flash-max-microamp:
154 flash-max-timeout-us:
162 - |
163 #include <dt-bindings/gpio/gpio.h>
164 #include <dt-bindings/leds/common.h>
166 led-controller {
167 compatible = "gpio-leds";
169 led-0 {
171 linux,default-trigger = "heartbeat";
175 led-1 {
178 trigger-sources = <&ohci_port1>, <&ehci_port1>;
182 led-controller@0 {
183 compatible = "maxim,max77693-led";
189 led-sources = <0>, <1>;
190 led-max-microamp = <50000>;
191 flash-max-microamp = <320000>;
192 flash-max-timeout-us = <500000>;
197 #address-cells = <1>;
198 #size-cells = <0>;
200 led-controller@30 {
203 #address-cells = <1>;
204 #size-cells = <0>;
208 linux,default-trigger = "heartbeat";
210 function-enumerator = <1>;
216 function-enumerator = <2>;
222 function-enumerator = <3>;