zephyr/drivers/led/Kconfig.lp50xx
Mathieu Anquetin 26f4fab391 drivers: led: lp503x: extend driver to all lp50xx devices
Add support for LP5009, LP5012, LP5018 and LP5024 devices which only
differ by the number of LEDs they can control.

Also, update application sample to run on all these new supported
devices.

Based on initial work from:
  - Marek Janus <marek.janus@grinn-global.com>
  - Rico Ganahl <rico.ganahl@bytesatwork.ch>

Signed-off-by: Mathieu Anquetin <mathieu.anquetin@groupe-cahors.com>
2023-08-04 13:18:01 +02:00

16 lines
515 B
Plaintext

# Copyright (c) 2020 Seagate Technology LLC
# Copyright (c) 2022 Grinn
# SPDX-License-Identifier: Apache-2.0
config LP50XX
bool "LP50XX LED controller"
default y
depends on DT_HAS_TI_LP5009_ENABLED || DT_HAS_TI_LP5012_ENABLED || \
DT_HAS_TI_LP5018_ENABLED || DT_HAS_TI_LP5024_ENABLED || \
DT_HAS_TI_LP5030_ENABLED || DT_HAS_TI_LP5036_ENABLED
select I2C
help
Enable driver for the Texas Instruments LP50XX I2C LED
controllers. It supports: LP5009, LP5012, LP5018, LP5024,
LP5030 and LP5036.