leds: lp5521,5523: restore device attributes for running LED patterns
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest10 patches 20 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | leds: lp55xx: add common data structure for programdrivers/ | +19 | 2 replies | |
| 2/10 | leds: lp55xx: add common macros for device attributesdrivers/ | +47 | 1 reply | |
| 3/10 | leds: lp5521: restore legacy device attributesdrivers/ | +100 | 1 reply | |
| 4/10 | leds: lp5521: remove unnecessary writing commandsdrivers/ | +3 | 1 reply | |
| 5/10 | leds: lp5523: make separate API for loading enginedrivers/ | +10 | 1 reply | |
| 6/10 | leds: lp5523: LED MUX configuration on initializingdrivers/ | +69 | 1 reply | |
| 7/10 | leds: lp5523: restore legacy device attributesdrivers/ | +223 | 1 reply | |
| 8/10 | leds: lp5523: remove unnecessary writing commandsdrivers/ | +3 | 1 reply | |
| 9/10 | Documentation: leds-lp5521,lp5523: update device attribute informationDocumentation/ Documentation/ | +39 | 1 reply | |
| 10/10 | leds: lp5562: use LP55xx common macros for device attributesdrivers/ | +2 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/10] leds: lp5521,5523: restore device attributes for running LED patterns
This patch-set resolves the application conflict by restoring sysfs files.
For LP5521
engine1/2/3_mode
engine1/2/3_load
For LP5523
engine1/2/3_mode
engine1/2/3_load
engine1/2/3_leds
Those attributes are accessed when LED pattern is run by custom application. Those were removed when LED pattern interface was changed to generic firmware interface. Please refer to commits below.
git commit 9ce7cb170f97f83a78dc948bf7d25690f15e1328 (leds-lp5521: use generic firmware interface)
git commit db6eaf8388a413a5ee1b4547ce78506b9c6456b0 (leds-lp5523: use generic firmware interface)
Necessary attributes are restored in this patch-set.
(Other changes)
New data structure is added for handling values from/to an application. Few code fixes for reducing writing I2C commands.
Add LP55xx common macros for code refactoring.
Documentation updates.
You can also pull from the location below
This branch is based on 'for-next' of linux-leds.
https://github.com/milokim/lp55xx.git resolve-missing-sysfs
Milo Kim (10):
leds: lp55xx: add common data structure for program
leds: lp55xx: add common macros for device attributes
leds: lp5521: restore legacy device attributes
leds: lp5521: remove unnecessary writing commands
leds: lp5523: make separate API for loading engine
leds: lp5523: LED MUX configuration on initializing
leds: lp5523: restore legacy device attributes
leds: lp5523: remove unnecessary writing commands
Documentation: leds-lp5521,lp5523: update device attribute
information
leds: lp5562: use LP55xx common macros for device attributes
Documentation/leds/leds-lp5521.txt | 20 ++- Documentation/leds/leds-lp5523.txt | 21 ++- drivers/leds/leds-lp5521.c | 114 +++++++++++-- drivers/leds/leds-lp5523.c | 321 ++++++++++++++++++++++++++++++++++-- drivers/leds/leds-lp5562.c | 4 +- drivers/leds/leds-lp55xx-common.h | 66 ++++++++ 6 files changed, 511 insertions(+), 35 deletions(-)
Signature · 1 line
1.7.9.5