Kconfig 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  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
  23. select LEDS_EXPRESSWIRE
  24. help
  25. This option enables support for Kinetic KTD2692 LED flash connected
  26. through ExpressWire interface.
  27. Say Y to enable this driver.
  28. config LEDS_LM3601X
  29. tristate "LED support for LM3601x Chips"
  30. depends on LEDS_CLASS && I2C
  31. select REGMAP_I2C
  32. help
  33. This option enables support for the TI LM3601x family
  34. of flash, torch and indicator classes.
  35. config LEDS_MAX77693
  36. tristate "LED support for MAX77693 Flash"
  37. depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS
  38. depends on MFD_MAX77693
  39. depends on OF
  40. help
  41. This option enables support for the flash part of the MAX77693
  42. multifunction device. It has build in control for two leds in flash
  43. and torch mode.
  44. config LEDS_MT6360
  45. tristate "LED Support for Mediatek MT6360 PMIC"
  46. depends on LEDS_CLASS && OF
  47. depends on LEDS_CLASS_FLASH
  48. depends on LEDS_CLASS_MULTICOLOR
  49. depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS
  50. depends on MFD_MT6360
  51. help
  52. This option enables support for dual Flash LED drivers found on
  53. Mediatek MT6360 PMIC.
  54. Independent current sources supply for each flash LED support torch
  55. and strobe mode.
  56. config LEDS_MT6370_FLASH
  57. tristate "Flash LED Support for MediaTek MT6370 PMIC"
  58. depends on LEDS_CLASS
  59. depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS
  60. depends on MFD_MT6370
  61. help
  62. Support 2 channels and torch/strobe mode.
  63. Say Y here to enable support for
  64. MT6370_FLASH_LED device.
  65. This driver can also be built as a module. If so, the module
  66. will be called "leds-mt6370-flash".
  67. config LEDS_QCOM_FLASH
  68. tristate "LED support for flash module inside Qualcomm Technologies, Inc. PMIC"
  69. depends on MFD_SPMI_PMIC || COMPILE_TEST
  70. depends on LEDS_CLASS && OF
  71. depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS
  72. select REGMAP
  73. help
  74. This option enables support for the flash module found in Qualcomm
  75. Technologies, Inc. PMICs. The flash module can have 3 or 4 flash LED
  76. channels and each channel is programmable to support up to 1.5 A full
  77. scale current. It also supports connecting two channels' output together
  78. to supply one LED component to achieve current up to 2 A. In such case,
  79. the total LED current will be split symmetrically on each channel and
  80. they will be enabled/disabled at the same time.
  81. This driver can be built as a module, it will be called "leds-qcom-flash".
  82. config LEDS_RT4505
  83. tristate "LED support for RT4505 flashlight controller"
  84. depends on I2C && OF
  85. depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS
  86. select REGMAP_I2C
  87. help
  88. This option enables support for the RT4505 flash LED controller.
  89. RT4505 includes torch and flash functions with programmable current.
  90. And it's commonly used to compensate the illuminance for the camera
  91. inside the mobile product like as phones or tablets.
  92. config LEDS_RT8515
  93. tristate "LED support for Richtek RT8515 flash/torch LED"
  94. depends on GPIOLIB
  95. depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS
  96. help
  97. This option enables support for the Richtek RT8515 flash
  98. and torch LEDs found on some mobile phones.
  99. To compile this driver as a module, choose M here: the module
  100. will be called leds-rt8515.
  101. config LEDS_SGM3140
  102. tristate "LED support for the SGM3140"
  103. depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS
  104. help
  105. This option enables support for the SGM3140 500mA Buck/Boost Charge
  106. Pump LED Driver.
  107. config LEDS_SY7802
  108. tristate "LED support for the Silergy SY7802"
  109. depends on I2C && OF
  110. depends on GPIOLIB
  111. select REGMAP_I2C
  112. help
  113. This option enables support for the SY7802 flash LED controller.
  114. SY7802 includes torch and flash functions with programmable current.
  115. This driver can be built as a module, it will be called "leds-sy7802".
  116. endif # LEDS_CLASS_FLASH