Re: [PATCH v9 2/3] pwm: sifive: change the PWM algorithm

From: Uwe Kleine-König
Date: Fri Apr 12 2024 - 03:06:40 EST


Hello,

On Fri, Apr 12, 2024 at 10:07:12AM +0800, Nylon Chen wrote:
> Nylon Chen <nylon.chen@xxxxxxxxxx> 於 2024年4月2日 週二 上午10:08寫道:
> > Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx> 於 2024年3月19日 週二 上午2:16寫道:
> > > On Thu, Feb 22, 2024 at 04:12:30PM +0800, Nylon Chen wrote:
> > > > /* The hardware cannot generate a 100% duty cycle */
> Do you mean that if the inference is correct, this comment should be modified?

If the polarity was wrong before and the hardware was believed to not be
able to generate a 100% relative duty cycle, then maybe it's really a 0%
relative duty cycle that's impossible?

Best regards
Uwe

--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | https://www.pengutronix.de/ |

Attachment: signature.asc
Description: PGP signature