phy: ti: phy-j721e-wiz: Allow reinitialization when SERDES is pre-configured
authorHrushikesh Salunke <h-salunke@ti.com>
Fri, 17 Oct 2025 05:25:19 +0000 (10:55 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 24 Oct 2025 19:47:50 +0000 (13:47 -0600)
commit8506cf58ffa2029f168cc64089763084b408051d
treebe513b6254e10352e41ab54eb00686c86e1be2ab
parent104a0de7844eee51d183d92f5bd22fa6202bb699
phy: ti: phy-j721e-wiz: Allow reinitialization when SERDES is pre-configured

Move the SERDES configuration check after clock and reset initialization
and change it from a hard failure to a skip of WIZ initialization. This
allows the driver to probe successfully when the SERDES has been
pre-configured by a previous boot stage (e.g., ROM or SPL).

This approach aligns with how the Linux kernel handles pre-configured
SERDES, where the driver gracefully skips reinitialization rather than
failing to probe.

Signed-off-by: Hrushikesh Salunke <h-salunke@ti.com>
drivers/phy/ti/phy-j721e-wiz.c