[PATCH v5 8/8] ata: ahci_imx: Use bulk PHY APIs for calibration PHYs

Vladimir Oltean olteanv at gmail.com
Wed Nov 25 07:39:38 PST 2026


On Wed, Nov 25, 2026 at 12:36:39PM +0800, Inochi Amaoto wrote:
> 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().
> 
> Initialize both calibration PHYs before powering them on in lane order,
> then keep the SATA PHY initialization, mode selection and power-on
> separate. Use the bulk helpers to release the calibration PHYs after
> SATA startup and to unwind failures without repeating power-off after
> a failed bulk power-on.
> 
> Signed-off-by: Inochi Amaoto <inochiama at gmail.com>
> ---

Reviewed-by: Vladimir Oltean <olteanv at gmail.com>



More information about the linux-phy mailing list