summaryrefslogtreecommitdiff
path: root/rust/alloc/collections/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorAleksandar Gerasimovski <aleksandar.gerasimovski@belden.com>2026-01-06 15:06:43 +0000
committerVinod Koul <vkoul@kernel.org>2026-01-21 13:26:59 +0530
commite2ce913452ab56b3330539cc443b97b7ea8c3a1a (patch)
treea085c18f15b4c6bbda680fa34b3243a3bd88f27f /rust/alloc/collections/git@git.tavy.me:linux.git
parent05b56ef347495239da896f310c9d613e9bd1a015 (diff)
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>
Diffstat (limited to 'rust/alloc/collections/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions