124e2d05dSBjorn Andersson# SPDX-License-Identifier: GPL-2.0 224e2d05dSBjorn Andersson 324e2d05dSBjorn Anderssonif LEDS_CLASS_MULTICOLOR 424e2d05dSBjorn Andersson 537d0849eSJean-Jacques Hiblotconfig LEDS_GROUP_MULTICOLOR 637d0849eSJean-Jacques Hiblot tristate "LEDs group multi-color support" 75e72f1feSJean Delvare depends on OF 837d0849eSJean-Jacques Hiblot help 937d0849eSJean-Jacques Hiblot This option enables support for monochrome LEDs that are grouped 1037d0849eSJean-Jacques Hiblot into multicolor LEDs which is useful in the case where LEDs of 1137d0849eSJean-Jacques Hiblot different colors are physically grouped in a single multi-color LED 1237d0849eSJean-Jacques Hiblot and driven by a controller that doesn't have multi-color support. 1337d0849eSJean-Jacques Hiblot 1437d0849eSJean-Jacques Hiblot To compile this driver as a module, choose M here: the module 1537d0849eSJean-Jacques Hiblot will be called leds-group-multicolor. 1637d0849eSJean-Jacques Hiblot 170ebdb721SAndré Apitzschconfig LEDS_KTD202X 180ebdb721SAndré Apitzsch tristate "LED support for KTD202x Chips" 190ebdb721SAndré Apitzsch depends on I2C 200ebdb721SAndré Apitzsch select REGMAP_I2C 210ebdb721SAndré Apitzsch help 220ebdb721SAndré Apitzsch This option enables support for the Kinetic KTD2026/KTD2027 230ebdb721SAndré Apitzsch RGB/White LED driver found in different BQ mobile phones. 240ebdb721SAndré Apitzsch It is a 3 or 4 channel LED driver programmed via an I2C interface. 250ebdb721SAndré Apitzsch 260ebdb721SAndré Apitzsch To compile this driver as a module, choose M here: the module 270ebdb721SAndré Apitzsch will be called leds-ktd202x. 280ebdb721SAndré Apitzsch 29*7b7e50f8SAbdel Alkuorconfig LEDS_NCP5623 30*7b7e50f8SAbdel Alkuor tristate "LED support for NCP5623" 31*7b7e50f8SAbdel Alkuor depends on I2C 32*7b7e50f8SAbdel Alkuor depends on OF 33*7b7e50f8SAbdel Alkuor help 34*7b7e50f8SAbdel Alkuor This option enables support for ON semiconductor NCP5623 35*7b7e50f8SAbdel Alkuor Triple Output I2C Controlled RGB LED Driver. 36*7b7e50f8SAbdel Alkuor 37*7b7e50f8SAbdel Alkuor To compile this driver as a module, choose M here: the module 38*7b7e50f8SAbdel Alkuor will be called leds-ncp5623. 39*7b7e50f8SAbdel Alkuor 40818d03b3SSven Schwermerconfig LEDS_PWM_MULTICOLOR 41818d03b3SSven Schwermer tristate "PWM driven multi-color LED Support" 42818d03b3SSven Schwermer depends on PWM 43818d03b3SSven Schwermer help 44818d03b3SSven Schwermer This option enables support for PWM driven monochrome LEDs that are 45818d03b3SSven Schwermer grouped into multicolor LEDs. 46818d03b3SSven Schwermer 47818d03b3SSven Schwermer To compile this driver as a module, choose M here: the module 48818d03b3SSven Schwermer will be called leds-pwm-multicolor. 49818d03b3SSven Schwermer 5024e2d05dSBjorn Anderssonconfig LEDS_QCOM_LPG 5124e2d05dSBjorn Andersson tristate "LED support for Qualcomm LPG" 5224e2d05dSBjorn Andersson depends on OF 531d6a1b5eSJohan Hovold depends on PWM 54bfa0f02dSArnd Bergmann depends on QCOM_PBS || !QCOM_PBS 5524e2d05dSBjorn Andersson depends on SPMI 5624e2d05dSBjorn Andersson help 5724e2d05dSBjorn Andersson This option enables support for the Light Pulse Generator found in a 5824e2d05dSBjorn Andersson wide variety of Qualcomm PMICs. The LPG consists of a number of PWM 5924e2d05dSBjorn Andersson channels and typically a shared pattern lookup table and a current 6024e2d05dSBjorn Andersson sink, intended to drive RGB LEDs. Each channel can either be used as 6124e2d05dSBjorn Andersson a LED, grouped to represent a RGB LED or exposed as PWM channels. 6224e2d05dSBjorn Andersson 6324e2d05dSBjorn Andersson If compiled as a module, the module will be named leds-qcom-lpg. 6424e2d05dSBjorn Andersson 655c38376eSChiYuan Huangconfig LEDS_MT6370_RGB 665c38376eSChiYuan Huang tristate "LED Support for MediaTek MT6370 PMIC" 675c38376eSChiYuan Huang depends on MFD_MT6370 68560f2eb7SLukas Bulwahn select LINEAR_RANGES 695c38376eSChiYuan Huang help 705c38376eSChiYuan Huang Say Y here to enable support for MT6370_RGB LED device. 715c38376eSChiYuan Huang In MT6370, there are four channel current-sink LED drivers that 725c38376eSChiYuan Huang support hardware pattern for constant current, PWM, and breath mode. 735c38376eSChiYuan Huang Isink4 channel can also be used as a CHG_VIN power good indicator. 745c38376eSChiYuan Huang 755c38376eSChiYuan Huang This driver can also be built as a module. If so, the module 765c38376eSChiYuan Huang will be called "leds-mt6370-rgb". 775c38376eSChiYuan Huang 7824e2d05dSBjorn Anderssonendif # LEDS_CLASS_MULTICOLOR 79