]> Gentwo Git Trees - linux/.git/commit
leds: rgb: leds-qcom-lpg: Don't enable TRILED when configuring PWM
authorFenglin Wu <fenglin.wu@oss.qualcomm.com>
Wed, 19 Nov 2025 06:06:43 +0000 (14:06 +0800)
committerLee Jones <lee@kernel.org>
Thu, 20 Nov 2025 15:25:19 +0000 (15:25 +0000)
commit072cd5f458d76b9e15d89ebdaea8b5cb1312eeef
tree11a477cb833bac186067c224b93099fbae7a9da3
parent5d390e7a02e850a995ee25248292d4be61314078
leds: rgb: leds-qcom-lpg: Don't enable TRILED when configuring PWM

The PWM signal from the LPG channel can be routed to PMIC GPIOs with
proper GPIO configuration, and it is not necessary to enable the
TRILED channel in that case. This also applies to the LPG channels
that mapped to TRILED channels. Additionally, enabling the TRILED
channel unnecessarily would cause a voltage increase in its power
supply. Hence remove it.

Fixes: 24e2d05d1b68 ("leds: Add driver for Qualcomm LPG")
Signed-off-by: Fenglin Wu <fenglin.wu@oss.qualcomm.com>
Reviewed-by: Bjorn Andersson <andersson@kernel.org>
Link: https://patch.msgid.link/20251119-lpg_triled_fix-v3-2-84b6dbdc774a@oss.qualcomm.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/leds/rgb/leds-qcom-lpg.c