linux/drivers/phy/marvell
Aleksandar Gerasimovski e2ce913452 phy: mvebu-cp110-utmi: fix dr_mode property read from dts
The problem with the current implementation is that it does not consider
that the USB controller can have multiple PHY handles with different
arguments count, as for example we have in our cn9131 based platform:
"phys = <&cp0_comphy1 0>, <&cp0_utmi0>;".

In such case calling "of_usb_get_dr_mode_by_phy" with -1 (no phy-cells)
leads to not proper phy detection, taking the "marvell,cp110-utmi-phy"
dts definition we can call the "of_usb_get_dr_mode_by_phy" with 0
(#phy-cells = <0>) and safely look for that phy.

Signed-off-by: Aleksandar Gerasimovski <aleksandar.gerasimovski@belden.com>
Link: https://patch.msgid.link/20260106150643.922110-1-aleksandar.gerasimovski@belden.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2026-01-21 13:26:59 +05:30
..
Kconfig phy: marvell: Do not enable by default during compile testing 2025-04-11 12:48:34 +05:30
Makefile
phy-armada38x-comphy.c
phy-armada375-usb2.c
phy-berlin-sata.c
phy-berlin-usb.c
phy-mmp3-hsic.c
phy-mmp3-usb.c
phy-mvebu-a3700-comphy.c
phy-mvebu-a3700-utmi.c
phy-mvebu-cp110-comphy.c
phy-mvebu-cp110-utmi.c phy: mvebu-cp110-utmi: fix dr_mode property read from dts 2026-01-21 13:26:59 +05:30
phy-mvebu-sata.c
phy-pxa-28nm-hsic.c
phy-pxa-28nm-usb2.c
phy-pxa-usb.c phy: drop probe registration printks 2025-06-16 22:54:21 +05:30