leds: rgb: leds-qcom-lpg: Add support for PPG through single SDAM
authorAnjelique Melendez <quic_amelende@quicinc.com>
Thu, 21 Dec 2023 18:58:34 +0000 (10:58 -0800)
committerLee Jones <lee@kernel.org>
Thu, 7 Mar 2024 08:47:51 +0000 (08:47 +0000)
commit6ab1f766a80a6f46c7196f588e867cef51f4f26a
tree0627ee959baac8e728892e94ef5fb6f1898564aa
parentd7d0efaf528a613a5f553ed3df2db23bc5614d9e
leds: rgb: leds-qcom-lpg: Add support for PPG through single SDAM

In some PMICs like pmi632, the pattern look up table (LUT) and LPG
configuration is stored in a single SDAM module instead of LUT
peripheral. This feature is called PPG. PPG uses Qualcomm Programmable
Boot Sequencer (PBS) inorder to trigger pattern sequences for PMICs.

Signed-off-by: Anjelique Melendez <quic_amelende@quicinc.com>
Tested-by: Luca Weiss <luca.weiss@fairphone.com>
Link: https://lore.kernel.org/r/20231221185838.28440-5-quic_amelende@quicinc.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/leds/rgb/leds-qcom-lpg.c