mbox series

[v3,0/3] leds: tps68470: LED driver for TPS68470

Message ID 20230321153718.1355511-1-hpa@redhat.com (mailing list archive)
Headers show
Series leds: tps68470: LED driver for TPS68470 | expand

Message

Kate Hsuan March 21, 2023, 3:37 p.m. UTC
The v3 patch includes:
1. Move the LEDB current setting to a function and also assume the value
of the current setting is based on tps68470 datasheet.
2. Alphabetical order.
3. Return -ENOMEM when memory allocation returns an error.


Kate Hsuan (3):
  platform: x86: int3472: Add MFD cell for tps68470 LED
  include: mfd: tps68470: Add masks for LEDA and LEDB
  leds: tps68470: Add LED control for tps68470

 drivers/leds/Kconfig                          |  12 ++
 drivers/leds/Makefile                         |   1 +
 drivers/leds/leds-tps68470.c                  | 185 ++++++++++++++++++
 drivers/platform/x86/intel/int3472/tps68470.c |   5 +-
 include/linux/mfd/tps68470.h                  |   5 +
 5 files changed, 206 insertions(+), 2 deletions(-)
 create mode 100644 drivers/leds/leds-tps68470.c