linux/Documentation/leds
Bjorn Andersson e98a860f65 leds: qcom-lpg: Require pattern to follow documentation
The leds-trigger-pattern documentation describes how the brightness of
the LED should transition linearly from one brightness value to the
next, over the given delta_t.

But the pattern engine in the Qualcomm LPG hardware only supports
holding the brightness for each entry for the period.
This subset of patterns can be represented in the leds-trigger-pattern
by injecting zero-time transitions after each entry in the pattern,
resulting in a pattern that pattern that can be rendered by the LPG.

Rework LPG pattern interface to require these zero-time transitions, to
make it comply with this subset of patterns and reject the patterns it
can't render.

Fixes: 24e2d05d1b ("leds: Add driver for Qualcomm LPG")
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
2022-05-24 22:08:10 +02:00
..
index.rst
leds-blinkm.rst
leds-class-flash.rst
leds-class-multicolor.rst
leds-class.rst
leds-el15203000.rst
leds-lm3556.rst
leds-lp55xx.rst
leds-lp3944.rst
leds-lp5521.rst
leds-lp5523.rst
leds-lp5562.rst
leds-mlxcpld.rst
leds-qcom-lpg.rst leds: qcom-lpg: Require pattern to follow documentation 2022-05-24 22:08:10 +02:00
leds-sc27xx.rst
ledtrig-oneshot.rst
ledtrig-transient.rst
ledtrig-usbport.rst
uleds.rst
well-known-leds.txt