mbox series

[v3,0/6] leds: turris-omnia: updates

Message ID 20230802160748.11208-1-kabel@kernel.org
Headers show
Series leds: turris-omnia: updates | expand

Message

Marek Behún Aug. 2, 2023, 4:07 p.m. UTC
Hi Pavel, Lee,

I am sending version 3 of Turris Omnia's LED controller updates.
Please read the summary (changes from version 2):
- added patch 1, which drops unnecessary mutex locking
- added patch 2, which changes SMBUS calls to regular I2C transfers
- added patch 3, changing sprintf() to dedicated sysfs_emit()
- patch 4 replaces patch 1 from v2, which changed max_brightness to 1.
  Instead, we make set_brightness() more effective by avoiding
  unnecessary I2C transactions (for example if brightness is being
  changed between 0 and 255, we do not send the color changing I2C
  command, only the enabling/disabling command)
- patch 5 is updated patch 3 from v2, which adds support for enabling
  HW blinking mode on the LEDs
- patch 6 adds support for enabling/disabling HW gamma correction of
  the RGB LEDs. Gamma correction is supported by newer MCU firmware
  versions

Marek

Marek Behún (6):
  leds: turris-omnia: drop unnecessary mutex locking
  leds: turris-omnia: do not use SMBUS calls
  leds: turris-omnia: use sysfs_emit() instead of sprintf()
  leds: turris-omnia: make set_brightness() more efficient
  leds: turris-omnia: support HW controlled mode via private trigger
  leds: turris-omnia: add support for enabling/disabling HW gamma
    correction

 .../sysfs-class-led-driver-turris-omnia       |  14 +
 drivers/leds/Kconfig                          |   1 +
 drivers/leds/leds-turris-omnia.c              | 363 +++++++++++++++---
 3 files changed, 329 insertions(+), 49 deletions(-)

Comments

Marek Behún Aug. 14, 2023, 7:33 a.m. UTC | #1
Any comments on this series?

Marek