Re: [PATCH v4 2/4] pwm: meson: add the PWM count driver data

From
Alexandre Mergnat <hidden>
Date
2026-09-07 15:19:37
Also in
linux-amlogic, linux-devicetree, linux-pwm, lkml
Reply to
Xianwei Zhao via B4 Relay, 2026-08-27
quoted hunk ↗ jump to hunk
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.

Signed-off-by: Xianwei Zhao <xianwei.zhao@amlogic.com>
diff --git a/drivers/pwm/pwm-meson.c b/drivers/pwm/pwm-meson.c
index 8c6bf3d49753..22cefc6d5dd0 100644
--- a/drivers/pwm/pwm-meson.c
+++ b/drivers/pwm/pwm-meson.c
@@ -113,6 +113,7 @@ struct meson_pwm_data {
 	int (*channels_init)(struct pwm_chip *chip);
The commit message has a small typo ("Add .npwm fill the  existing entries" has
a double space.

beside that:
Reviewed-by: Alexandre Mergnat <redacted>

-- 
Alexandre Mergnat [off-list ref]
Thread (10 messages) 10 messages, 4 authors, last reply 8d ago
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help