mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-25 21:54:06 +08:00
26a0755304
The ABI files are supposed to be unique. Yet, in the specific case of hw_pattern, there are some duplicated entries as warned by scripts/get_abi.pl: Warning: /sys/class/leds/<led>/hw_pattern is defined 3 times: Documentation/ABI/testing/sysfs-class-led-trigger-pattern:14 Documentation/ABI/testing/sysfs-class-led-driver-sc27xx:0 Documentation/ABI/testing/sysfs-class-led-driver-el15203000:0 Drop the duplication from the ABI files, moving the specific definitions to files inside Documentation/leds. Acked-by: Jonathan Corbet <corbet@lwn.net> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Link: https://lore.kernel.org/r/038e57881550550b298e598f8f9b7f20515cbe15.1604042072.git.mchehab+huawei@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
38 lines
1.3 KiB
Plaintext
38 lines
1.3 KiB
Plaintext
What: /sys/class/leds/<led>/pattern
|
|
Date: September 2018
|
|
KernelVersion: 4.20
|
|
Description:
|
|
Specify a software pattern for the LED, that supports altering
|
|
the brightness for the specified duration with one software
|
|
timer. It can do gradual dimming and step change of brightness.
|
|
|
|
The pattern is given by a series of tuples, of brightness and
|
|
duration (ms).
|
|
|
|
The exact format is described in:
|
|
Documentation/devicetree/bindings/leds/leds-trigger-pattern.txt
|
|
|
|
What: /sys/class/leds/<led>/hw_pattern
|
|
Date: September 2018
|
|
KernelVersion: 4.20
|
|
Description:
|
|
Specify a hardware pattern for the LED, for LED hardware that
|
|
supports autonomously controlling brightness over time, according
|
|
to some preprogrammed hardware patterns. It deactivates any active
|
|
software pattern.
|
|
|
|
Since different LED hardware can have different semantics of
|
|
hardware patterns, each driver is expected to provide its own
|
|
description for the hardware patterns in their documentation
|
|
file at Documentation/leds/.
|
|
|
|
What: /sys/class/leds/<led>/repeat
|
|
Date: September 2018
|
|
KernelVersion: 4.20
|
|
Description:
|
|
Specify a pattern repeat number. -1 means repeat indefinitely,
|
|
other negative numbers and number 0 are invalid.
|
|
|
|
This file will always return the originally written repeat
|
|
number.
|