summaryrefslogtreecommitdiff
path: root/drivers/phy/cadence
diff options
context:
space:
mode:
authorKishon Vijay Abraham I <kishon@ti.com>2021-03-19 15:41:19 +0300
committerVinod Koul <vkoul@kernel.org>2021-03-31 14:13:20 +0300
commit3fb9545657f7cac262eb5f08712dbc8ebdba5096 (patch)
tree3d97b3a50ab2ff3c624fa4d1e6d29462a7e326d8 /drivers/phy/cadence
parent03ada5a37c3a98396026c98015d18337c88b09b3 (diff)
downloadlinux-3fb9545657f7cac262eb5f08712dbc8ebdba5096.tar.xz
phy: ti: j721e-wiz: Get PHY properties only for "phy" or "link" subnode
"serdes" node (child node of WIZ) can have sub-nodes for representing links or it can have sub-nodes for representing the various clocks within the serdes. Instead of trying to read "reg" from every child node used for assigning "lane_phy_type", read only if the child node's name is "phy" or "link" subnode. Ideally all PHY dt nodes should have node name as "phy", however existing devicetree used "link" as subnode. So in order to maintain old DT compatibility get PHY properties for "phy" or "link" subnode. Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Link: https://lore.kernel.org/r/20210319124128.13308-5-kishon@ti.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/phy/cadence')
0 files changed, 0 insertions, 0 deletions