0
0
mirror of https://mirrors.bfsu.edu.cn/git/linux.git synced 2024-12-22 18:44:44 +08:00
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 docs: leds: index.rst: add a missing file 2020-11-02 13:45:37 +01:00
leds-blinkm.rst docs: leds: convert to ReST 2019-06-28 20:57:31 +02:00
leds-class-flash.rst docs: leds: convert to ReST 2019-06-28 20:57:31 +02:00
leds-class-multicolor.rst leds: multicolor: Introduce a multicolor class definition 2020-07-22 14:41:29 +02:00
leds-class.rst Documentation: leds: remove invalidated information 2020-10-26 09:21:51 +01:00
leds-el15203000.rst docs: ABI: sysfs-class-led-trigger-pattern: remove hw_pattern duplication 2020-10-30 13:15:03 +01:00
leds-lm3556.rst Documentation: Add leading slash to some paths 2021-03-31 13:49:19 -06:00
leds-lp55xx.rst docs: leds: convert to ReST 2019-06-28 20:57:31 +02:00
leds-lp3944.rst docs: leds: convert to ReST 2019-06-28 20:57:31 +02:00
leds-lp5521.rst docs: leds: convert to ReST 2019-06-28 20:57:31 +02:00
leds-lp5523.rst docs: leds: convert to ReST 2019-06-28 20:57:31 +02:00
leds-lp5562.rst docs: leds: convert to ReST 2019-06-28 20:57:31 +02:00
leds-mlxcpld.rst docs: leds: convert to ReST 2019-06-28 20:57:31 +02:00
leds-qcom-lpg.rst leds: qcom-lpg: Require pattern to follow documentation 2022-05-24 22:08:10 +02:00
leds-sc27xx.rst docs: ABI: sysfs-class-led-trigger-pattern: remove hw_pattern duplication 2020-10-30 13:15:03 +01:00
ledtrig-oneshot.rst docs: leds: convert to ReST 2019-06-28 20:57:31 +02:00
ledtrig-transient.rst leds: we don't want people to use LED subsystem for vibrations 2020-08-17 18:04:15 +02:00
ledtrig-usbport.rst docs: leds: convert to ReST 2019-06-28 20:57:31 +02:00
uleds.rst docs: leds: convert to ReST 2019-06-28 20:57:31 +02:00
well-known-leds.txt leds: add new LED_FUNCTION_PLAYER for player LEDs for game controllers. 2021-10-27 09:49:29 +02:00