diff options
author | Kishon Vijay Abraham I <kishon@ti.com> | 2021-03-19 18:11:18 +0530 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2021-03-31 16:42:51 +0530 |
commit | 03ada5a37c3a98396026c98015d18337c88b09b3 (patch) | |
tree | e8a5f621c79ca28c24fa31fec2372aa7fd87b7f6 /drivers/phy/ti/phy-j721e-wiz.c | |
parent | f7eb147d306ad2efae6837e20d2944f03be42eb4 (diff) | |
download | lwn-03ada5a37c3a98396026c98015d18337c88b09b3.tar.gz lwn-03ada5a37c3a98396026c98015d18337c88b09b3.zip |
phy: cadence: Sierra: Create PHY only for "phy" or "link" sub-nodes
Cadence Sierra PHY driver registers PHY using devm_phy_create()
for all sub-nodes of Sierra device tree node. However Sierra device
tree node can have sub-nodes for the various clocks in addtion to the
PHY. Use devm_phy_create() only for nodes with name "phy" (or "link"
for old device tree) which represent the actual PHY.
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Reviewed-by: Swapnil Jakhade <sjakhade@cadence.com>
Link: https://lore.kernel.org/r/20210319124128.13308-4-kishon@ti.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/phy/ti/phy-j721e-wiz.c')
0 files changed, 0 insertions, 0 deletions