From: "Uwe Kleine-König" <u.kleine-koenig@baylibre.com>
To: sashiko-reviews@lists.linux.dev
Cc: Xianwei Zhao <xianwei.zhao@amlogic.com>,
devicetree@vger.kernel.org, linux-amlogic@lists.infradead.org,
robh@kernel.org, conor+dt@kernel.org, neil.armstrong@linaro.org
Subject: Re: [PATCH v5 2/3] pwm: meson: add the PWM count driver data
Date: Mon, 30 Nov 2026 14:45:55 +0100 [thread overview]
Message-ID: <aw19qgHbRH9oGfYL@monoceros> (raw)
In-Reply-To: <aw18Za1zi5XLNV4r@monoceros>
[-- Attachment #1: Type: text/plain, Size: 1213 bytes --]
Hello,
On Mon, Nov 30, 2026 at 02:42:10PM +0100, Uwe Kleine-König wrote:
> On Mon, Nov 30, 2026 at 12:06:44PM +0000, sashiko-bot@kernel.org wrote:
> > > pwm: meson: add the PWM count driver data
> > >
> > > To prepare adding support for XYZ which doesn't have 2 but 1
> > > PWM outputs, make the various loops iterater using chip->npwm
> > > instead of the constant MESON_NUM_PWMS.
> > >
> > > Reviewed-by: Alexandre Mergnat <amergnat@baylibre.com>
> > > Signed-off-by: Xianwei Zhao <xianwei.zhao@amlogic.com>
> >
> > [Severity: Low]
> > The commit message still contains the literal placeholder "XYZ" instead of
> > naming the target Amlogic SoCs (S6, S7 and S7D) and has a typo in
> > "iterater". It also omits that this patch adds npwm to struct
> > meson_pwm_data, sets .npwm = 2 for existing variants, and passes
> > pdata->npwm to devm_pwmchip_alloc() in meson_pwm_probe().
>
> The typo is mine, please still fix it :-)
I forgot to point out: Please don't describe every implementation detail
of the patch in the commit log. So mentioning that npwm is a per
compatible setting now is fine, but passing pdata->npwm to
devm_pwmchip_alloc() is too detailed.
Best regards
Uwe
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
next prev parent reply other threads:[~2026-11-30 13:45 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-30 11:59 [PATCH v5 0/3] Add PWM support Amlogic S7 S7D S6 Xianwei Zhao via B4 Relay
2026-11-30 11:59 ` [PATCH v5 1/3] dt-bindings: pwm: amlogic: Add new bindings for S6 S7 S7D Xianwei Zhao via B4 Relay
2026-11-30 12:03 ` sashiko-bot
2026-11-30 11:59 ` [PATCH v5 2/3] pwm: meson: add the PWM count driver data Xianwei Zhao via B4 Relay
2026-11-30 12:06 ` sashiko-bot
2026-11-30 13:42 ` Uwe Kleine-König
2026-11-30 13:45 ` Uwe Kleine-König [this message]
2026-11-30 11:59 ` [PATCH v5 3/3] pwm: meson: Add support for Amlogic S7 Xianwei Zhao via B4 Relay
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aw19qgHbRH9oGfYL@monoceros \
--to=u.kleine-koenig@baylibre.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=linux-amlogic@lists.infradead.org \
--cc=neil.armstrong@linaro.org \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
--cc=xianwei.zhao@amlogic.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox