generic: fix probe issues with RealTek RTL8221B PHYs
authorDaniel Golle <daniel@makrotopia.org>
Thu, 23 Jan 2025 03:36:10 +0000 (03:36 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Sun, 26 Jan 2025 01:12:36 +0000 (01:12 +0000)
commitd30773abe8cc333137a964ffedf878cc425ac9ed
tree3f33efa0f9e68d9afd53dc3c13a46ad6237828e1
parent1e9966a63ae430a5c48039fd9752bf1c465325f3
generic: fix probe issues with RealTek RTL8221B PHYs

Import patch "net: phy: realtek: mark existing MMDs as present"

    When using Clause-45 mode to access RealTek RTL8221B 2.5G PHYs some
    versions of the PHY fail to report the MMDs present on the PHY.
    Mark MMDs PMAPMD, PCS and AN which are always existing according to
    the datasheet as present to fix that.

Fixes: #16823, #17183, #17232
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Tested-by: Aleksander Jan Bajkowski <olek2@wp.pl>
Tested-by: Juan Pedro Paredes Caballero <juanpedro.paredes@gmail.com>
(cherry picked from commit 730db6b893748517949b1d3a0c0cb8b6c1288040)
target/linux/generic/pending-6.6/720-07-net-phy-realtek-mark-existing-MMDs-as-present.patch [new file with mode: 0644]