mbox series

[leds,v6,00/12] Turris Omnia LED driver changes

Message ID 20241108132845.31005-1-kabel@kernel.org (mailing list archive)
Headers show
Series Turris Omnia LED driver changes | expand

Message

Marek Behún Nov. 8, 2024, 1:28 p.m. UTC
Hello Lee,

this is v6 of Turris Omnia LED driver changes.
v1 to v5 can be found at
  https://lore.kernel.org/linux-leds/20240902124104.14297-1-kabel@kernel.org/
  https://lore.kernel.org/linux-leds/20240903101930.16251-1-kabel@kernel.org/
  https://lore.kernel.org/linux-leds/20240913123103.21226-1-kabel@kernel.org/
  https://lore.kernel.org/linux-leds/20241029135621.12546-1-kabel@kernel.org/
  https://lore.kernel.org/linux-leds/20241104141924.18816-1-kabel@kernel.org/

Changes since v5:
- patch 7: dropped the comment regarding drivers/base/dd.c as you
  suggested
- patch 7: fixed kernel test robot warning (hopefully)
- patch 7: fixed brightness_knode destruction on driver removal if
  brightness change interrupt isn't supported by the firmware or
  described in the device-tree
- patch 7: added info message if brightness change interrupt is
  supported by the MCU but not described in the device-tree

Marek

Marek Behún (12):
  turris-omnia-mcu-interface.h: Move command execution function to
    global header
  leds: turris-omnia: Use command execution functions from the MCU
    driver
  turris-omnia-mcu-interface.h: Add LED commands related definitions to
    global header
  leds: turris-omnia: Use global header for MCU command definitions
  dt-bindings: leds: cznic,turris-omnia-leds: Allow interrupts property
  leds: turris-omnia: Document driver private structures
  leds: turris-omnia: Notify sysfs on MCU global LEDs brightness change
  platform: cznic: turris-omnia-mcu: Inform about missing LED panel
    brightness change interrupt feature
  leds: turris-omnia: Inform about missing LED gamma correction feature
    in the MCU driver
  leds: turris-omnia: Use dev_err_probe() where appropriate
  leds: turris-omnia: Use uppercase first letter in all comments
  ARM: dts: turris-omnia: Add global LED brightness change interrupt

 .../leds/cznic,turris-omnia-leds.yaml         |   8 +
 .../dts/marvell/armada-385-turris-omnia.dts   |   1 +
 drivers/leds/Kconfig                          |   2 +
 drivers/leds/leds-turris-omnia.c              | 336 +++++++++---------
 .../platform/cznic/turris-omnia-mcu-base.c    |   3 +
 drivers/platform/cznic/turris-omnia-mcu.h     | 130 -------
 include/linux/turris-omnia-mcu-interface.h    | 148 +++++++-
 7 files changed, 329 insertions(+), 299 deletions(-)