LED support for flash module inside Qualcomm Technologies, Inc. PMIC
modulename: leds-qcom-flash.ko
configname: CONFIG_LEDS_QCOM_FLASH
Linux Kernel Configuration
└─>Device Drivers
└─>LED Support
└─>Device Tree and Open Firmware support
└─>LED support for flash module inside Qualcomm Technologies, Inc. PMIC
In linux kernel since version 4.14.326 (release Date: 2023-09-23)
This option enables support for the flash module found in Qualcomm
Technologies, Inc. PMICs. The flash module can have 3 or 4 flash LED
channels and each channel is programmable to support up to 1.5 A full
scale current. It also supports connecting two channels' output together
to supply one LED component to achieve current up to 2 A. In such case,
the total LED current will be split symmetrically on each channel and
they will be enabled/disabled at the same time.
Technologies, Inc. PMICs. The flash module can have 3 or 4 flash LED
channels and each channel is programmable to support up to 1.5 A full
scale current. It also supports connecting two channels' output together
to supply one LED component to achieve current up to 2 A. In such case,
the total LED current will be split symmetrically on each channel and
they will be enabled/disabled at the same time.
source code:
depends
CONFIG_LEDS_CLASSCONFIG_LEDS_CLASS_FLASH
CONFIG_NEW_LEDS
CONFIG_OF
CONFIG_COMPILE_TEST or CONFIG_MFD_SPMI_PMIC