diff options
author | Eddie James <eajames@linux.ibm.com> | 2022-04-12 19:42:11 +0300 |
---|---|---|
committer | Joel Stanley <joel@jms.id.au> | 2022-04-15 07:35:01 +0300 |
commit | 83bc0e21670c5a44aa1a2e4b16e2b3ca0a5f056d (patch) | |
tree | 67a81d3d3eb4d2c9c4e13c2661b37f78bdc86215 /include | |
parent | 6bb80845fd6b60c3905c65a2411fa0e8d0ba7872 (diff) | |
download | linux-83bc0e21670c5a44aa1a2e4b16e2b3ca0a5f056d.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.
OpenBMC-Staging-Count: 1
Signed-off-by: Eddie James <eajames@linux.ibm.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20220412164211.28824-5-eajames@linux.ibm.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions