diff options
author | Christian Marangi <ansuelsmth@gmail.com> | 2024-06-26 18:00:12 +0200 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2024-06-26 17:08:30 +0100 |
commit | 42a9eaac9784e9b3df56f1947526d7d4d0ed9b26 (patch) | |
tree | 696bb7d5d2e0ebff33543e879208ea86f04050d2 /tools/perf/scripts/python/libxed.py | |
parent | 409a9dc53682b9f02793584d17721ab3e1b9c86f (diff) |
leds: leds-lp55xx: Generalize run_engine function
Generalize run_engine function for lp55xx based LED driver. The logic is
similar to every LED driver, rework it with more macro magic and account
for LED model that might have OP MODE and EXEC at base offset in the
reg.
Update any lp55xx based LED driver to use this generalized function and
declare required bits.
Suggested-by: Lee Jones <lee@kernel.org>
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Link: https://lore.kernel.org/r/20240626160027.19703-8-ansuelsmth@gmail.com
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions