leds: rgb: leds-qcom-lpg: Include support for PPG with dedicated LUT SDAM
authorAnjelique Melendez <quic_amelende@quicinc.com>
Thu, 21 Dec 2023 18:58:36 +0000 (10:58 -0800)
committerLee Jones <lee@kernel.org>
Thu, 7 Mar 2024 08:47:53 +0000 (08:47 +0000)
commit5e9ff626861a0f8c7264ca9278ed68860a417a24
tree30aadf592efd03f0985241e427f769af5c89f938
parent05338ba56c7f8731b18f36b6db178d3cb79fe64f
leds: rgb: leds-qcom-lpg: Include support for PPG with dedicated LUT SDAM

On PMICs such as PM8350C, the pattern lookup table (LUT) is stored in a
separate SDAM from the one where the lpg per-channel data is stored.

Add support for PPG with a dedicated LUT SDAM while maintaining backward
compatibility for those targets that use only a single SDAM.

Co-developed-by: Guru Das Srinagesh <quic_gurus@quicinc.com>
Signed-off-by: Guru Das Srinagesh <quic_gurus@quicinc.com>
Signed-off-by: Anjelique Melendez <quic_amelende@quicinc.com>
Link: https://lore.kernel.org/r/20231221185838.28440-7-quic_amelende@quicinc.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/leds/rgb/leds-qcom-lpg.c