Re: [PATCH 4/5] pwm: cadence: Add TTC PWM driver
From: Uwe Kleine-König
Date: Wed Oct 07 2026 - 09:27:46 EST
Hello,
On Wed, Oct 07, 2026 at 02:37:02PM +0530, Meher Thanmaiee wrote:
> +static const struct pwm_ops cdns_ttc_pwm_ops = {
> + .apply = cdns_ttc_pwm_apply,
> + .get_state = cdns_ttc_pwm_get_state,
> +};
Just a very quick review: I won't take any new drivers using .apply().
Please use the waveform stuff. And also note that there is Rust support
for PWMs, so if you're adventurous try that. (The reference in that case
would be drivers/pwm/pwm_th1520.rs.)
Best regards
Uwe
Attachment:
signature.asc
Description: PGP signature