]> git.itanic.dy.fi Git - linux-stable/commit
arm64: ls1046ardb: Use in-band-status for SFP module
authorSean Anderson <sean.anderson@seco.com>
Tue, 24 Jan 2023 17:47:57 +0000 (12:47 -0500)
committerShawn Guo <shawnguo@kernel.org>
Mon, 30 Jan 2023 02:05:43 +0000 (10:05 +0800)
commit46e828026cc8daf29b251efca27b93eaaf906081
tree74e5de269318076f4e4497725d60772f4b3d5a61
parentb694fbe2ff40fedca0ef6f6649391f3c40e44df7
arm64: ls1046ardb: Use in-band-status for SFP module

net10 is connected to an SFP module. Unfortunately, the I2C lines are
not connected due to an address conflict. Now that DPAA uses phylink, we
can use in-band-status. This lets us determine whether the link is up or
down instead of assuming it is up all the time. Also fix the phy mode
while we're here.

Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts