]> git.baikalelectronics.ru Git - uboot.git/commit
phy: cadence: Sierra: Create PHY only for "phy" or "link" sub-nodes
authorKishon Vijay Abraham I <kishon@ti.com>
Fri, 28 Jan 2022 08:11:30 +0000 (13:41 +0530)
committerTom Rini <trini@konsulko.com>
Tue, 8 Feb 2022 16:00:03 +0000 (11:00 -0500)
commit22b2e1bcbe2caa29ab8522095898f98dfac474bb
tree7d2b7280bc6163b5f94abaad1c178062d038930b
parentb6d1749bc68481feb85026648596b61593bdcc1a
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>
Signed-off-by: Aswath Govindraju <a-govindraju@ti.com>
drivers/phy/cadence/phy-cadence-sierra.c