summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorKeguang Zhang <keguang.zhang@gmail.com>2026-07-15 19:05:24 +0800
committerUwe Kleine-König <ukleinek@kernel.org>2026-09-07 11:25:23 +0200
commit0de9b836a3bc1cd30578ae2c4463d09afd85ed3d (patch)
tree471192019e236a3ee0a102324df13a68f585d85e /scripts/Makefile.thinlto
parentbdf16a4d74ae6b7fb6dc8953798ba0853ddc4705 (diff)
downloadlinux-next-0de9b836a3bc1cd30578ae2c4463d09afd85ed3d.tar.gz
linux-next-0de9b836a3bc1cd30578ae2c4463d09afd85ed3d.zip
pwm: loongson: Reload PWM configuration through counter reset
The Loongson PWM controller latches the LOW and PERIOD registers only at the start of each PWM period. After disabling and re-enabling the PWM, the controller resumes from the previous counter value and completes the current period before re-latching the updated LOW and PERIOD values. Reset the PWM counter when disabling the PWM and release it when enabling the PWM so that the updated LOW and PERIOD values are latched before the PWM starts running again. Fixes: 2b62c89448dd ("pwm: Add Loongson PWM controller support") Signed-off-by: Keguang Zhang <keguang.zhang@gmail.com> Link: https://patch.msgid.link/20260715-pwm-loongson-fix-v3-2-0aab2847eaa7@gmail.com [ukleinek: Note LOW refers to the register currently named LOONGSON_PWM_REG_DUTY. That name is wrong, the fix is still under discussion.] Signed-off-by: Uwe Kleine-König <ukleinek@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions