LED support for Qualcomm LPG

modulename: leds-qcom-lpg.ko


Linux Kernel Configuration
└─>Device Drivers
└─>LED Support
└─>Device Tree and Open Firmware support
└─>SPMI support
└─>LED support for Qualcomm LPG
In linux kernel since version 5.2 (release Date: 2019-07-07)  
This option enables support for the Light Pulse Generator found in a
wide variety of Qualcomm PMICs. The LPG consists of a number of PWM
channels and typically a shared pattern lookup table and a current
sink, intended to drive RGB LEDs. Each channel can either be used as
a LED, grouped to represent a RGB LED or exposed as PWM channels.

If compiled as a module, the module will be named leds-qcom-lpg.

source code: