]> git.baikalelectronics.ru Git - uboot.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)
commitba2a3142878837b4cc33d98d42193b684643cad7
tree9e151ec9b34b17a0350216a177c6873bbda992a2
parentd350500a2a3d93cc0ea0c6d7fa9014c638e64b25
phy: cadence: Sierra: Move the link operations from serdes phy to link device

In commit d8556b1f3cb2 ("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: d8556b1f3cb2 ("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