Skip to content
Snippets Groups Projects
Commit bd1bbab7 authored by Milos Reljin's avatar Milos Reljin Committed by Jakub Kicinski
Browse files

net: phy: c45-tjaxx: add delay between MDIO write and read in soft_reset


In application note (AN13663) for TJA1120, on page 30, there's a figure
with average PHY startup timing values following software reset.
The time it takes for SMI to become operational after software reset
ranges roughly from 500 us to 1500 us.

This commit adds 2000 us delay after MDIO write which triggers software
reset. Without this delay, soft_reset function returns an error and
prevents successful PHY init.

Cc: stable@vger.kernel.org
Fixes: b050f2f1 ("phy: nxp-c45: add driver for tja1103")
Signed-off-by: default avatarMilos Reljin <milos_reljin@outlook.com>
Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/AM8P250MB0124D258E5A71041AF2CC322E1E32@AM8P250MB0124.EURP250.PROD.OUTLOOK.COM


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 5066293b
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment