Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

pwm: tiecap: Document behaviour of hardware disable

According to David Lechner[1] disabling a tiecap PWM makes the PWM pin
an input. The reported problem is fixed in commit deaeeda2051f
("backlight: pwm_bl: Don't rely on a disabled PWM emiting inactive
state"). Document the behaviour in the driver for future reference.

[1] https://lore.kernel.org/linux-pwm/39a472c0-ba24-de7b-8783-a16a71b172cd@lechnology.com

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
Reviewed-by: David Lechner <david@lechnology.com>
Link: https://lore.kernel.org/r/20250730080219.183181-2-u.kleine-koenig@baylibre.com
Signed-off-by: Uwe Kleine-König <ukleinek@kernel.org>

authored by

Uwe Kleine-König and committed by
Uwe Kleine-König
a2f77ae4 e7c9b66b

+4
+4
drivers/pwm/pwm-tiecap.c
··· 3 3 * ECAP PWM driver 4 4 * 5 5 * Copyright (C) 2012 Texas Instruments, Inc. - https://www.ti.com/ 6 + * 7 + * Hardware properties: 8 + * - On disable the PWM pin becomes an input, so the behaviour depends on 9 + * external wiring. 6 10 */ 7 11 8 12 #include <linux/module.h>