[PATCH v9 0/3] Add support for Allwinner PWM on D1/T113s/R329 SoCs
きくちゃんさん
kikuchan98 at gmail.com
Fri May 24 04:32:29 PDT 2024
Hi John,
> Does Linux guarantee a flicker-free experience with setting up PWM
> channels, or that it doesn't affect other channels?
> How do other drivers handle this situation?
I've noticed that drivers/pwm/pwm-fsl-ftm.c and
drivers/pwm/pwm-microchip-core.c use a similar approach for shared
resources between PWM channels.
They simply fail if the settings are not applicable to the hardware,
much like this driver does. However, I have yet to find a driver that
aggressively changes another channel that is already running.
Maybe you're right; Linux might not guarantee anything about this.
I think all we can do is deliver the best experience to users within
such limitations.
Best regards,
kikuchan.
More information about the linux-arm-kernel
mailing list