Kconfig 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. # SPDX-License-Identifier: GPL-2.0
  2. if LEDS_CLASS_FLASH
  3. config LEDS_AAT1290
  4. tristate "LED support for the AAT1290"
  5. depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS
  6. depends on GPIOLIB || COMPILE_TEST
  7. depends on OF
  8. depends on PINCTRL
  9. help
  10. This option enables support for the LEDs on the AAT1290.
  11. config LEDS_AS3645A
  12. tristate "AS3645A and LM3555 LED flash controllers support"
  13. depends on I2C
  14. depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS
  15. help
  16. Enable LED flash class support for AS3645A LED flash
  17. controller. V4L2 flash API is provided as well if
  18. CONFIG_V4L2_FLASH_API is enabled.
  19. config LEDS_KTD2692
  20. tristate "LED support for Kinetic KTD2692 flash LED controller"
  21. depends on OF
  22. depends on GPIOLIB || COMPILE_TEST
  23. help
  24. This option enables support for Kinetic KTD2692 LED flash connected
  25. through ExpressWire interface.
  26. Say Y to enable this driver.
  27. config LEDS_LM3601X
  28. tristate "LED support for LM3601x Chips"
  29. depends on LEDS_CLASS && I2C
  30. select REGMAP_I2C
  31. help
  32. This option enables support for the TI LM3601x family
  33. of flash, torch and indicator classes.
  34. config LEDS_MAX77693
  35. tristate "LED support for MAX77693 Flash"
  36. depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS
  37. depends on MFD_MAX77693
  38. depends on OF
  39. help
  40. This option enables support for the flash part of the MAX77693
  41. multifunction device. It has build in control for two leds in flash
  42. and torch mode.
  43. config LEDS_MT6360
  44. tristate "LED Support for Mediatek MT6360 PMIC"
  45. depends on LEDS_CLASS && OF
  46. depends on LEDS_CLASS_FLASH || !LEDS_CLASS_FLASH
  47. depends on LEDS_CLASS_MULTICOLOR || !LEDS_CLASS_MULTICOLOR
  48. depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS
  49. depends on MFD_MT6360
  50. help
  51. This option enables support for dual Flash LED drivers found on
  52. Mediatek MT6360 PMIC.
  53. Independent current sources supply for each flash LED support torch
  54. and strobe mode.
  55. config LEDS_RT4505
  56. tristate "LED support for RT4505 flashlight controller"
  57. depends on I2C && OF
  58. depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS
  59. select REGMAP_I2C
  60. help
  61. This option enables support for the RT4505 flash LED controller.
  62. RT4505 includes torch and flash functions with programmable current.
  63. And it's commonly used to compensate the illuminance for the camera
  64. inside the mobile product like as phones or tablets.
  65. config LEDS_RT8515
  66. tristate "LED support for Richtek RT8515 flash/torch LED"
  67. depends on GPIOLIB
  68. depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS
  69. help
  70. This option enables support for the Richtek RT8515 flash
  71. and torch LEDs found on some mobile phones.
  72. To compile this driver as a module, choose M here: the module
  73. will be called leds-rt8515.
  74. config LEDS_SGM3140
  75. tristate "LED support for the SGM3140"
  76. depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS
  77. help
  78. This option enables support for the SGM3140 500mA Buck/Boost Charge
  79. Pump LED Driver.
  80. endif # LEDS_CLASS_FLASH