]> git.ipfire.org Git - thirdparty/linux.git/commit
pwm: pxa: Add optional reset control
authorGuodong Xu <guodong@riscstar.com>
Tue, 29 Apr 2025 08:50:44 +0000 (16:50 +0800)
committerUwe Kleine-König <ukleinek@kernel.org>
Mon, 7 Jul 2025 06:39:33 +0000 (08:39 +0200)
commit52d2d14d9e49b8c33ff718d2036084d0c92f23f1
treed7b5d6aff7f1c55e0cee17f4202926a3116c9804
parent08e0b981231fd467204764f162087d6d9d1359af
pwm: pxa: Add optional reset control

Support optional reset control for the PWM PXA driver.

During probe, it acquires the reset controller using
devm_reset_control_get_optional_exclusive_deasserted() to get and deassert
the reset controller to enable the PWM channel.

Signed-off-by: Guodong Xu <guodong@riscstar.com>
Link: https://lore.kernel.org/r/20250429085048.1310409-3-guodong@riscstar.com
[ukleinek: Fix conflict with commit df08fff8add2 ("pwm: pxa: Improve using dev_err_probe()")]
Signed-off-by: Uwe Kleine-König <ukleinek@kernel.org>
drivers/pwm/pwm-pxa.c