From: Niklas Cassel <cassel@kernel.org>
To: Frank Li <Frank.Li@nxp.com>,
"vladimir.oltean@nxp.com" <vladimir.oltean@nxp.com>,
Richard Zhu <hongxing.zhu@nxp.com>
Cc: Damien Le Moal <dlemoal@kernel.org>,
linux-ide@vger.kernel.org, imx@lists.linux.dev,
Inochi Amaoto <inochiama@gmail.com>
Subject: Re: [PATCH v6 8/8] ata: ahci_imx: Use bulk PHY APIs for calibration PHYs
Date: Mon, 30 Nov 2026 12:15:59 +0100 [thread overview]
Message-ID: <aw1a76ZPBh5EA8N2@ryzen> (raw)
In-Reply-To: <aw0oMxRItHlSB_Da@inochi.infowork>
On Mon, Nov 30, 2026 at 03:42:54PM +0800, Inochi Amaoto wrote:
> On Mon, Nov 30, 2026 at 04:14:10PM +0900, Damien Le Moal wrote:
> > On 11/30/26 15:36, Inochi Amaoto wrote:
> > > Currently the i.MX8QM SATA PHY relies on the first two HSIO lanes
> > > for shared impedance calibration. Store these calibration PHYs in
> > > a bulk array and acquire them by name with devm_phy_bulk_get().
> > > Then process it in the lane id order in the imx8_sata_enable().
> > >
> > > The document of this controller shows that the PHY will enter
> > > calibration mode only after it is deasserted. And this deassert
> > > is performed in the PHYs' power_on() callback. As the init()
> > > callback only enabled the clocks of the calibration PHY. It
> > > should be safe to use bulk api to init all the calibration PHYs
> >
> > "should be safe" ? Did you actually test this or are you assuming it is ok and
> > works?
> >
>
> I checked the document and assumed it is OK as the document has no
> words on the requirement that the calibration PHYs should be init fully
> one by one.
>
> In fact, I already said it is untested as I do not have a borad in
> the cover letter.
Hello NXP people,
it would be nice if we could get a Tested-by from someone with HW.
Kind regards,
Niklas
prev parent reply other threads:[~2026-11-30 11:16 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-30 6:35 [PATCH v6 0/8] phy: core: Add phy bulk helpers support Inochi Amaoto
2026-11-30 6:36 ` [PATCH v6 1/8] phy: core: Add common helper to add phy phandle device link Inochi Amaoto
2026-11-30 6:36 ` [PATCH v6 2/8] phy: core: Add common helper for get phy phandle by index Inochi Amaoto
2026-11-30 6:36 ` [PATCH v6 3/8] phy: core: Make phy_put() ignore NULL and error pointers Inochi Amaoto
2026-11-30 6:36 ` [PATCH v6 4/8] phy: core: Add phy bulk data helper functions Inochi Amaoto
2026-11-30 6:36 ` [PATCH v6 5/8] phy: core: Add managed " Inochi Amaoto
2026-11-30 6:36 ` [PATCH v6 6/8] doc: phy: Document some bulk " Inochi Amaoto
2026-11-30 6:36 ` [PATCH v6 7/8] PCI: cadence: Use phy bulk data api to simplify the logic Inochi Amaoto
2026-11-30 6:36 ` [PATCH v6 8/8] ata: ahci_imx: Use bulk PHY APIs for calibration PHYs Inochi Amaoto
2026-11-30 7:14 ` Damien Le Moal
2026-11-30 7:42 ` Inochi Amaoto
2026-11-30 11:15 ` Niklas Cassel [this message]
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=aw1a76ZPBh5EA8N2@ryzen \
--to=cassel@kernel.org \
--cc=Frank.Li@nxp.com \
--cc=dlemoal@kernel.org \
--cc=hongxing.zhu@nxp.com \
--cc=imx@lists.linux.dev \
--cc=inochiama@gmail.com \
--cc=linux-ide@vger.kernel.org \
--cc=vladimir.oltean@nxp.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