Re: [PATCH] phy/marvell/phy-mvebu-cp110-utmi: fix dr_mode property read from dts

From: Vinod Koul

Date: Wed Jan 21 2026 - 03:56:34 EST



On Tue, 06 Jan 2026 15:06:43 +0000, Aleksandar Gerasimovski wrote:
> 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.
>
> [...]

Applied, thanks!

[1/1] phy/marvell/phy-mvebu-cp110-utmi: fix dr_mode property read from dts
commit: e2ce913452ab56b3330539cc443b97b7ea8c3a1a

Best regards,
--
~Vinod