]> git.dujemihanovic.xyz Git - u-boot.git/commit
km/ls102xa: dbg phy prst depends on piggy presence
authorAleksandar Gerasimovski <aleksandar.gerasimovski@hitachienergy.com>
Tue, 16 Nov 2021 12:51:47 +0000 (12:51 +0000)
committerPriyanka Jain <priyanka.jain@nxp.com>
Tue, 1 Feb 2022 09:37:28 +0000 (15:07 +0530)
commit70003e52f4ed9b22a75ac4d084ceee65d9b14ea1
treeeaf5a7b0fa665d1dea235aab033a388e8512ffea
parent639ca4b7f121b50a88516717313fdff507b82cba
km/ls102xa: dbg phy prst depends on piggy presence

The PHY for the debug interface was placed on the board for the
pg_wcom_ls102x. Hence only when a piggy is plugged, a RJ45 jack
including magnetics is connected to the MDI of the PHY. Without a
piggy the MDI lines are left floating and it does not make sense to
have an active debug PHY.
In case of expu1 an active PHY without a piggy even led to increased
jitter for syncE.

This patch only deactivates the prst line of the debug PHY when a piggy
is detected persent.

Signed-off-by: Rainer Boschung <rainer.boschung@hitachienergy.com>
Signed-off-by: Aleksandar Gerasimovski <aleksandar.gerasimovski@hitachienergy.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
board/keymile/pg-wcom-ls102xa/pg-wcom-ls102xa.c