162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
262306a36Sopenharmony_ci
362306a36Sopenharmony_ciif LEDS_CLASS_MULTICOLOR
462306a36Sopenharmony_ci
562306a36Sopenharmony_ciconfig LEDS_GROUP_MULTICOLOR
662306a36Sopenharmony_ci	tristate "LEDs group multi-color support"
762306a36Sopenharmony_ci	depends on OF || COMPILE_TEST
862306a36Sopenharmony_ci	help
962306a36Sopenharmony_ci	  This option enables support for monochrome LEDs that are grouped
1062306a36Sopenharmony_ci	  into multicolor LEDs which is useful in the case where LEDs of
1162306a36Sopenharmony_ci	  different colors are physically grouped in a single multi-color LED
1262306a36Sopenharmony_ci	  and driven by a controller that doesn't have multi-color support.
1362306a36Sopenharmony_ci
1462306a36Sopenharmony_ci	  To compile this driver as a module, choose M here: the module
1562306a36Sopenharmony_ci	  will be called leds-group-multicolor.
1662306a36Sopenharmony_ci
1762306a36Sopenharmony_ciconfig LEDS_PWM_MULTICOLOR
1862306a36Sopenharmony_ci	tristate "PWM driven multi-color LED Support"
1962306a36Sopenharmony_ci	depends on PWM
2062306a36Sopenharmony_ci	help
2162306a36Sopenharmony_ci	  This option enables support for PWM driven monochrome LEDs that are
2262306a36Sopenharmony_ci	  grouped into multicolor LEDs.
2362306a36Sopenharmony_ci
2462306a36Sopenharmony_ci	  To compile this driver as a module, choose M here: the module
2562306a36Sopenharmony_ci	  will be called leds-pwm-multicolor.
2662306a36Sopenharmony_ci
2762306a36Sopenharmony_ciconfig LEDS_QCOM_LPG
2862306a36Sopenharmony_ci	tristate "LED support for Qualcomm LPG"
2962306a36Sopenharmony_ci	depends on OF
3062306a36Sopenharmony_ci	depends on PWM
3162306a36Sopenharmony_ci	depends on SPMI
3262306a36Sopenharmony_ci	help
3362306a36Sopenharmony_ci	  This option enables support for the Light Pulse Generator found in a
3462306a36Sopenharmony_ci	  wide variety of Qualcomm PMICs. The LPG consists of a number of PWM
3562306a36Sopenharmony_ci	  channels and typically a shared pattern lookup table and a current
3662306a36Sopenharmony_ci	  sink, intended to drive RGB LEDs. Each channel can either be used as
3762306a36Sopenharmony_ci	  a LED, grouped to represent a RGB LED or exposed as PWM channels.
3862306a36Sopenharmony_ci
3962306a36Sopenharmony_ci	  If compiled as a module, the module will be named leds-qcom-lpg.
4062306a36Sopenharmony_ci
4162306a36Sopenharmony_ciconfig LEDS_MT6370_RGB
4262306a36Sopenharmony_ci	tristate "LED Support for MediaTek MT6370 PMIC"
4362306a36Sopenharmony_ci	depends on MFD_MT6370
4462306a36Sopenharmony_ci	select LINEAR_RANGES
4562306a36Sopenharmony_ci	help
4662306a36Sopenharmony_ci	  Say Y here to enable support for MT6370_RGB LED device.
4762306a36Sopenharmony_ci	  In MT6370, there are four channel current-sink LED drivers that
4862306a36Sopenharmony_ci	  support hardware pattern for constant current, PWM, and breath mode.
4962306a36Sopenharmony_ci	  Isink4 channel can also be used as a CHG_VIN power good indicator.
5062306a36Sopenharmony_ci
5162306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
5262306a36Sopenharmony_ci	  will be called "leds-mt6370-rgb".
5362306a36Sopenharmony_ci
5462306a36Sopenharmony_ciendif # LEDS_CLASS_MULTICOLOR
55