drivers/leds/rgb/Kconfig

Source file repositories/reference/linux-study-clean/drivers/leds/rgb/Kconfig

File Facts

System
Linux kernel
Corpus path
drivers/leds/rgb/Kconfig
Extension
[no extension]
Size
4191 bytes
Lines
128
Domain
Driver Families
Bucket
drivers/leds
Inferred role
Driver Families: build/configuration rule
Status
atlas-only

Why This File Exists

Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.

Dependency Surface

Detected Declarations

Annotated Snippet

# SPDX-License-Identifier: GPL-2.0

if LEDS_CLASS_MULTICOLOR

config LEDS_GROUP_MULTICOLOR
	tristate "LEDs group multi-color support"
	depends on OF
	help
	  This option enables support for monochrome LEDs that are grouped
	  into multicolor LEDs which is useful in the case where LEDs of
	  different colors are physically grouped in a single multi-color LED
	  and driven by a controller that doesn't have multi-color support.

	  To compile this driver as a module, choose M here: the module
	  will be called leds-group-multicolor.

config LEDS_KTD202X
	tristate "LED support for KTD202x Chips"
	depends on I2C
	select REGMAP_I2C
	help
	  This option enables support for the Kinetic KTD2026/KTD2027
	  RGB/White LED driver found in different BQ mobile phones.
	  It is a 3 or 4 channel LED driver programmed via an I2C interface.

	  To compile this driver as a module, choose M here: the module
	  will be called leds-ktd202x.

config LEDS_LP5812
	tristate "LED support for Texas Instruments LP5812"
	depends on I2C
	help
	  If you say Y here you get support for TI LP5812 LED driver.
	  The LP5812 is a 4x3 matrix RGB LED driver with autonomous
	  animation engine control.

	  To compile this driver as a module, choose M here: the
	  module will be called leds-lp5812.

	  If unsure, say N.

config LEDS_LP5860_CORE
	tristate "Core Driver for TI LP5860"
	depends on LEDS_CLASS
	depends on OF
	select REGMAP
	help
	  This option supports common operations for LP5860 devices.
	  The LP5860 is a LED matrix driver with 18 constant current
	  sinks and 11 scan switches for 198 LED dots. Each dot can be
	  controlled individually and supports 8/16-bit PWM dimming.
	  The chip supports individual LED open and short detection.

	  The device can be used with SPI or I2C bus.

config LEDS_LP5860_SPI
	tristate "LED Support for TI LP5860 SPI LED driver chip"
	depends on SPI
	depends on OF
	select LEDS_LP5860_CORE
	help
	  If you say yes here you get support for the Texas Instruments
	  LP5860 LED driver for SPI bus connections.

	  To compile this driver as a module, choose M here: the
	  module will be called leds-lp5860-spi.

config LEDS_NCP5623
	tristate "LED support for NCP5623"
	depends on I2C

Annotation

Implementation Notes