summaryrefslogtreecommitdiffstats
path: root/Documentation/leds/leds-qcom-lpg.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/leds/leds-qcom-lpg.rst')
-rw-r--r--Documentation/leds/leds-qcom-lpg.rst8
1 files changed, 5 insertions, 3 deletions
diff --git a/Documentation/leds/leds-qcom-lpg.rst b/Documentation/leds/leds-qcom-lpg.rst
index f12416f02dd8..de7ceead9337 100644
--- a/Documentation/leds/leds-qcom-lpg.rst
+++ b/Documentation/leds/leds-qcom-lpg.rst
@@ -35,11 +35,13 @@ Specify a hardware pattern for a Qualcomm LPG LED.
The pattern is a series of brightness and hold-time pairs, with the hold-time
expressed in milliseconds. The hold time is a property of the pattern and must
therefor be identical for each element in the pattern (except for the pauses
-described below).
+described below). As the LPG hardware is not able to perform the linear
+transitions expected by the leds-trigger-pattern format, each entry in the
+pattern must be followed a zero-length entry of the same brightness.
Simple pattern::
- "255 500 0 500"
+ "255 500 255 0 0 500 0 0"
^
|
@@ -54,7 +56,7 @@ in the pattern, the so called "low pause" and "high pause".
Low-pause pattern::
- "255 1000 0 500 255 500 0 500"
+ "255 1000 255 0 0 500 0 0 255 500 255 0 0 500 0 0"
^
|