From: Xianwei Zhao <xianwei.zhao@amlogic.com>
To: "Uwe Kleine-König" <u.kleine-koenig@baylibre.com>,
sashiko-reviews@lists.linux.dev
Cc: 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: Tue, 1 Dec 2026 11:07:48 +0800 [thread overview]
Message-ID: <807f4ab3-632c-46a0-8827-ca7c1f9b707d@amlogic.com> (raw)
In-Reply-To: <aw19qgHbRH9oGfYL@monoceros>
Hi Uwe,
Thanks for your review.
On 2026/11/30 21:45, Uwe Kleine-König wrote:
> 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.
>
Will do.
> Best regards
> Uwe
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
next prev parent reply other threads:[~2026-12-01 3:08 UTC|newest]
Thread overview: 10+ 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
2026-12-01 3:07 ` Xianwei Zhao [this message]
2026-12-01 3:15 ` Xianwei Zhao
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=807f4ab3-632c-46a0-8827-ca7c1f9b707d@amlogic.com \
--to=xianwei.zhao@amlogic.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=u.kleine-koenig@baylibre.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
all inboxes | Powered by JetHome®