From: Billy Tsai <billy_tsai@aspeedtech.com>
To: Frank Li <Frank.li@oss.nxp.com>
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>, Joel Stanley <joel@jms.id.au>,
Andrew Jeffery <andrew@codeconstruct.com.au>,
Philipp Zabel <p.zabel@pengutronix.de>,
Miquel Raynal <miquel.raynal@bootlin.com>,
Ryan Chen <ryan_chen@aspeedtech.com>,
"tbevis@amazon.com" <tbevis@amazon.com>,
"linux-i3c@lists.infradead.org" <linux-i3c@lists.infradead.org>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
"linux-aspeed@lists.ozlabs.org" <linux-aspeed@lists.ozlabs.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: 回覆: [PATCH v2 6/9] i3c: mipi-i3c-hci: Add support for the AST2700 I3C controller
Date: Wed, 18 Nov 2026 03:27:38 +0000 [thread overview]
Message-ID: <OSQPR06MB7252E690688BAF7859593EBD8B7A2@OSQPR06MB7252.apcprd06.prod.outlook.com> (raw)
In-Reply-To: <avShzxfk1kpji2iZ@lizhi-Precision-Tower-5810>
> > +int hci_extcap_vendor_ASPEED(struct i3c_hci *hci, void __iomem *base)
>
> function name don't mix low/up case.
>
> hci_extcap_vendor_aspeed()
hci_extcap_vendor_NXP() right above it is already all-caps for the
same reason: EXT_CAP_VENDOR()'s `.parser = (hci_extcap_vendor_##_vendor)`
token-pastes the name straight from EXT_CAP_VENDOR(NXP, ...) /
EXT_CAP_VENDOR(ASPEED, ...). Changing just ASPEED to lowercase would
make it inconsistent with NXP, and would need the macro invocation
changed too. I'd rather keep it matching the existing NXP precedent.
> > + return min_t(unsigned long, max_t(unsigned long, cycles, 1) - 1,
> > + ASPEED_I3C_PHY_CNT_MAX);
>
> now use min() and max() should be okay.
Confirmed with a build (W=1, cross-compiled); no warnings either way.
Simplified to min(max(cycles, 1) - 1, ASPEED_I3C_PHY_CNT_MAX).
> this part should be seperate patch, which not related add aspeed
> controler support.
Agreed. Split out into its own patch ("i3c: mipi-i3c-hci: Split the
core IRQ handling into its own function"), now patch 6, ahead of this
one.
Thanks
Billy Tsai
next prev parent reply other threads:[~2026-11-18 3:27 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-11 3:16 [PATCH v2 0/9] i3c: mipi-i3c-hci: Add Aspeed AST2700 support Billy Tsai
2026-11-11 3:16 ` [PATCH v2 1/9] dt-bindings: i3c: Document generic bus timing properties Billy Tsai
2026-11-11 16:50 ` Frank Li
2026-11-18 3:26 ` 回覆: " Billy Tsai
2026-11-11 3:16 ` [PATCH v2 2/9] dt-bindings: i3c: Document the AST2700 I3C controller Billy Tsai
2026-11-11 3:16 ` [PATCH v2 3/9] i3c: mipi-i3c-hci: Support address-indexed DAT slots Billy Tsai
2026-11-11 3:16 ` [PATCH v2 4/9] i3c: mipi-i3c-hci: Add a quirk for 64-bit DMA addressing Billy Tsai
2026-11-11 3:16 ` [PATCH v2 5/9] i3c: mipi-i3c-hci: Add a quirk to clear the TX start threshold Billy Tsai
2026-11-11 3:16 ` [PATCH v2 6/9] i3c: mipi-i3c-hci: Add support for the AST2700 I3C controller Billy Tsai
2026-11-11 17:11 ` Frank Li
2026-11-18 3:27 ` Billy Tsai [this message]
2026-11-11 3:16 ` [PATCH v2 7/9] i3c: mipi-i3c-hci: Program AST2700 IBI termination threshold Billy Tsai
2026-11-11 17:21 ` Frank Li
2026-11-18 3:32 ` 回覆: " Billy Tsai
2026-11-11 3:16 ` [PATCH v2 8/9] i3c: mipi-i3c-hci: Improve AST2700 PIO TX queue utilization Billy Tsai
2026-11-11 3:16 ` [PATCH v2 9/9] i3c: mipi-i3c-hci: Support the AST2700 internal pull-ups Billy Tsai
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=OSQPR06MB7252E690688BAF7859593EBD8B7A2@OSQPR06MB7252.apcprd06.prod.outlook.com \
--to=billy_tsai@aspeedtech.com \
--cc=Frank.Li@nxp.com \
--cc=Frank.li@oss.nxp.com \
--cc=alexandre.belloni@bootlin.com \
--cc=andrew@codeconstruct.com.au \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=joel@jms.id.au \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-aspeed@lists.ozlabs.org \
--cc=linux-i3c@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=miquel.raynal@bootlin.com \
--cc=p.zabel@pengutronix.de \
--cc=robh@kernel.org \
--cc=ryan_chen@aspeedtech.com \
--cc=tbevis@amazon.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®