leds: leds-qpnp: add support for torch mode

"Torch mode" is when the flash led is left on for an
undetermined amount of time.  To accomplish this, secure
PMIC registers must be accessed and programmed.  After
utilizing torch mode, the initial duration timeout
must be re-implemented.

CRs-Fixed: 454787
Change-Id: I061540e6f0a0ccd726dea619a81efda949608cb3
Acked-by: Chun Zhang <chunz@qti.qualcomm.com>
Signed-off-by: Amy Maloche <amaloche@codeaurora.org>
1 file changed