diff options
author | Eddie James <eajames@linux.ibm.com> | 2025-02-12 17:30:38 +0300 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2025-02-20 17:29:41 +0300 |
commit | 575f10dc64a251fc69a3187f4058f272eab94bfe (patch) | |
tree | cc5f6c0cb3578a936e5cbae1f0480b835e12152f /tools/perf/scripts/python/task-analyzer.py | |
parent | 14ef0738a31dcecfbba38626884b7d9a60b75cd0 (diff) | |
download | linux-575f10dc64a251fc69a3187f4058f272eab94bfe.tar.xz |
leds: pca955x: Add HW blink support
Support blinking using the PCA955x chip. Use PWM0 for blinking
instead of LED_HALF brightness. Since there is only one frequency
and brightness register for any blinking LED, track the blink state
of each LED and only support one HW blinking frequency. If another
frequency is requested, fallback to software blinking. In addition,
blinked LEDs can only use full brightness in order to maintain 50%
duty cycle, which is required for the specified blink rate.
Signed-off-by: Eddie James <eajames@linux.ibm.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20250212143038.1416501-5-eajames@linux.ibm.com
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions