79 lines · plain
1# SPDX-License-Identifier: GPL-2.02 3if LEDS_CLASS_MULTICOLOR4 5config LEDS_GROUP_MULTICOLOR6 tristate "LEDs group multi-color support"7 depends on OF8 help9 This option enables support for monochrome LEDs that are grouped10 into multicolor LEDs which is useful in the case where LEDs of11 different colors are physically grouped in a single multi-color LED12 and driven by a controller that doesn't have multi-color support.13 14 To compile this driver as a module, choose M here: the module15 will be called leds-group-multicolor.16 17config LEDS_KTD202X18 tristate "LED support for KTD202x Chips"19 depends on I2C20 select REGMAP_I2C21 help22 This option enables support for the Kinetic KTD2026/KTD202723 RGB/White LED driver found in different BQ mobile phones.24 It is a 3 or 4 channel LED driver programmed via an I2C interface.25 26 To compile this driver as a module, choose M here: the module27 will be called leds-ktd202x.28 29config LEDS_NCP562330 tristate "LED support for NCP5623"31 depends on I2C32 depends on OF33 help34 This option enables support for ON semiconductor NCP562335 Triple Output I2C Controlled RGB LED Driver.36 37 To compile this driver as a module, choose M here: the module38 will be called leds-ncp5623.39 40config LEDS_PWM_MULTICOLOR41 tristate "PWM driven multi-color LED Support"42 depends on PWM43 help44 This option enables support for PWM driven monochrome LEDs that are45 grouped into multicolor LEDs.46 47 To compile this driver as a module, choose M here: the module48 will be called leds-pwm-multicolor.49 50config LEDS_QCOM_LPG51 tristate "LED support for Qualcomm LPG"52 depends on OF53 depends on PWM54 depends on QCOM_PBS || !QCOM_PBS55 depends on SPMI56 help57 This option enables support for the Light Pulse Generator found in a58 wide variety of Qualcomm PMICs. The LPG consists of a number of PWM59 channels and typically a shared pattern lookup table and a current60 sink, intended to drive RGB LEDs. Each channel can either be used as61 a LED, grouped to represent a RGB LED or exposed as PWM channels.62 63 If compiled as a module, the module will be named leds-qcom-lpg.64 65config LEDS_MT6370_RGB66 tristate "LED Support for MediaTek MT6370 PMIC"67 depends on MFD_MT637068 select LINEAR_RANGES69 help70 Say Y here to enable support for MT6370_RGB LED device.71 In MT6370, there are four channel current-sink LED drivers that72 support hardware pattern for constant current, PWM, and breath mode.73 Isink4 channel can also be used as a CHG_VIN power good indicator.74 75 This driver can also be built as a module. If so, the module76 will be called "leds-mt6370-rgb".77 78endif # LEDS_CLASS_MULTICOLOR79