[PATCH v4 2/4] pwm: meson: add the PWM count driver data
Xianwei Zhao
xianwei.zhao at amlogic.com
Mon Nov 30 02:06:29 PST 2026
Hi Uwe,
Thanks for your review.
On 2026/11/30 16:39, Uwe Kleine-König wrote:
>
> Hello,
>
> On Thu, Aug 27, 2026 at 08:40:11AM +0000, Xianwei Zhao via B4 Relay wrote:
>> From: Xianwei Zhao<xianwei.zhao at amlogic.com>
>>
>> Add .npwm fill the existing entries, use it in probe, and switch the loop
>> in meson_pwm_init_clocks_meson8b() and meson_pwm_init_channels_s4() to
>> chip->npwm. No functional change.
> I'd write:
>
> To prepare adding support for XYZ which doesn't have 2 but 17
> PWM outputs, make the various loops iterater using chip->npwm
> instead of the constant MESON_NUM_PWMS.
>
> I would expect that MESON_NUM_PWMS can be dropped in this commit?
>
I will follow your log when writing the commit message.
> Otherwise looks fine.
More information about the linux-arm-kernel
mailing list