Skip to content

Commit 5d390e7

Browse files
fenglinw-qcomlag-linaro
authored andcommitted
dt-bindings: leds: qcom-lpg: Explain standalone PWM usage
LPG channels can be used for only outputting PWM signals by routing to PMIC GPIOs without enabling TRILED. Explain this usage in the description for better clarity. 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-1-84b6dbdc774a@oss.qualcomm.com Signed-off-by: Lee Jones <lee@kernel.org>
1 parent fc6a6da commit 5d390e7

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

Documentation/devicetree/bindings/leds/leds-qcom-lpg.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ description: >
1313
The Qualcomm Light Pulse Generator consists of three different hardware blocks;
1414
a ramp generator with lookup table (LUT), the light pulse generator and a three
1515
channel current sink. These blocks are found in a wide range of Qualcomm PMICs.
16+
The light pulse generator (LPG) can also be used independently to output PWM
17+
signal for standard PWM applications. In this scenario, the LPG output should
18+
be routed to a specific PMIC GPIO by setting the GPIO pin mux to the special
19+
functions indicated in the datasheet, the TRILED driver for the channel will
20+
not be enabled in this configuration.
1621
1722
properties:
1823
compatible:

0 commit comments

Comments
 (0)