]> git.dujemihanovic.xyz Git - u-boot.git/commit
phy: cadence: Sierra: Move the link operations from serdes phy to link device
authorAswath Govindraju <a-govindraju@ti.com>
Fri, 4 Mar 2022 12:15:25 +0000 (17:45 +0530)
committerTom Rini <trini@konsulko.com>
Mon, 14 Mar 2022 16:44:51 +0000 (12:44 -0400)
commitb78f81eb5d6ef45cfba8cc6a155da7fc661b420f
tree9e151ec9b34b17a0350216a177c6873bbda992a2
parentee5a284b296f31302fe2aaddd07af9b04d3ce54f
phy: cadence: Sierra: Move the link operations from serdes phy to link device

In commit 6f46c7441a9f ("phy: cadence: Sierra: Add a UCLASS_PHY device for
links"), a separate udevice of type UCLASS_PHY was created for each link.
Therefore, move the corresponding link operations under the link device.

Also, change the uclass of sierra phy to UCLASS_MISC as it is no longer the
phy device.

Fixes: 6f46c7441a9f ("phy: cadence: Sierra: Add a UCLASS_PHY device for links")
Signed-off-by: Aswath Govindraju <a-govindraju@ti.com>
Reviewed-by: Georgi Vlaev <g-vlaev@ti.com>
drivers/phy/cadence/phy-cadence-sierra.c