mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: 周寅 <zain_zhou@realsil.com.cn>
To: Lee Jones <lee@kernel.org>
Cc: "Alexandre Belloni" <alexandre.belloni@bootlin.com>,
	"Frank Li" <Frank.Li@nxp.com>, "Rob Herring" <robh@kernel.org>,
	"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
	"Conor Dooley" <conor+dt@kernel.org>,
	"Liam Girdwood" <lgirdwood@gmail.com>,
	"Mark Brown" <broonie@kernel.org>,
	"Vikash Bansal" <vikash.bansal@nxp.com>,
	"Aman Kumar Pandey" <aman.kumarpandey@nxp.com>,
	"Lakshay Piplani" <lakshay.piplani@nxp.com>,
	"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	"linux-i3c@lists.infradead.org" <linux-i3c@lists.infradead.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"mfd@lists.linux.dev" <mfd@lists.linux.dev>,
	王炜 <wei_wang@realsil.com.cn>
Subject: 回复: [RFC PATCH 2/4] mfd: Add driver for Realtek RTS490x I3C hub
Date: Fri, 16 Oct 2026 12:41:38 +0000	[thread overview]
Message-ID: <561f9d3886c94700bfad8ca8fc66b049@realsil.com.cn> (raw)
In-Reply-To: <179198542200.839288.16069032392567490984@kernel.org>

On Wed, 14 Oct 2026, Lee Jones wrote:

> > +	int ret;
> > +	int i;
>
> Please declare loop counters inside the 'for' statement.

Will do, and I'll apply the same to the rest of the series.

> > +	i3c_device_get_info(i3cdev, &info);
> > +	if (I3C_PID_MANUF_ID(info.pid) != RTS490X_MANUFACTURER_ID)
> > +		return -ENODEV;
>
> Doesn't 'rts490x_i3c_ids' already match on 'I3C_MATCH_MANUF' with
> 'RTS490X_MANUFACTURER_ID'? When would this check ever trigger?

You are right, it never triggers. I'll drop it.

> > +	dev_info(dev, "%s I3C hub with %u target ports\n",
> > +		 rts490x->model, rts490x->num_target_ports);
>
> Keep the kernel log clean whenever possible please.

Will drop it. With that gone, nothing reads the model name or the part ID
any more, so in the next revision I plan to drop the part-ID table as
well and read the port count from the TARGET_PORT_COUNT field of the
capability register (REG#10), as defined by the I3C Hub Common
Architecture Specification.

> > +MODULE_DESCRIPTION("Realtek RTS490x I3C hub MFD driver");
>
> Please drop "MFD" from the description.

Will change it to "Realtek RTS490x I3C hub core driver".

Best regards,
Zain

  reply	other threads:[~2026-10-16 12:42 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-20 10:04 [RFC PATCH 0/4] Add support " zain_zhou
2026-09-20 10:04 ` [RFC PATCH 1/4] dt-bindings: i3c: Add Realtek RTS490x I3C hub support zain_zhou
2026-09-20 10:04 ` [RFC PATCH 2/4] mfd: Add driver for Realtek RTS490x I3C hub zain_zhou
2026-10-14 15:04   ` Lee Jones
2026-10-16 12:41     ` 周寅 [this message]
2026-09-20 10:05 ` [RFC PATCH 3/4] regulator: rts490x: Add driver for on-die regulators zain_zhou
2026-09-20 13:05   ` Krzysztof Kozlowski
2026-09-21  3:46     ` 回复: " 周寅
2026-09-21 14:07       ` Krzysztof Kozlowski
2026-09-22  9:16         ` 回复: " 周寅
2026-09-21 10:23   ` Mark Brown
2026-09-20 10:05 ` [RFC PATCH 4/4] i3c: hub: Add Realtek RTS490x I3C hub support zain_zhou
2026-09-21 18:42   ` Frank Li
2026-09-22 11:17     ` 回复: " 周寅
2026-09-22 18:37       ` Frank Li

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=561f9d3886c94700bfad8ca8fc66b049@realsil.com.cn \
    --to=zain_zhou@realsil.com.cn \
    --cc=Frank.Li@nxp.com \
    --cc=alexandre.belloni@bootlin.com \
    --cc=aman.kumarpandey@nxp.com \
    --cc=broonie@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=lakshay.piplani@nxp.com \
    --cc=lee@kernel.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-i3c@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mfd@lists.linux.dev \
    --cc=robh@kernel.org \
    --cc=vikash.bansal@nxp.com \
    --cc=wei_wang@realsil.com.cn \
    /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®