]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - Documentation/phy.txt
phy: core: Add devm_of_phy_get_by_index to phy-core
authorArun Ramamurthy <arun.ramamurthy@broadcom.com>
Wed, 22 Apr 2015 23:04:11 +0000 (16:04 -0700)
committerKishon Vijay Abraham I <kishon@ti.com>
Mon, 11 May 2015 16:12:23 +0000 (21:42 +0530)
commit6be109b31ccdb9c98e7be12687171f6602527a5d
tree8c2ad5df0fea49ca066cc18c7edff9087d4befeb
parent2decb2682f80759f631c8332f9a2a34a02150a03
phy: core: Add devm_of_phy_get_by_index to phy-core

Some generic drivers, such as ehci, may use multiple phys and for such
drivers referencing phy(s) by name(s) does not make sense. Instead of
inventing new naming schemes and using custom code to iterate through them,
such drivers are better of using nameless phy bindings and using this newly
introduced API to iterate through them.

Signed-off-by: Arun Ramamurthy <arun.ramamurthy@broadcom.com>
Reviewed-by: Ray Jui <rjui@broadcom.com>
Reviewed-by: Scott Branden <sbranden@broadcom.com>
[kishon@ti.com: fix compilation errors]
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Documentation/phy.txt
drivers/phy/phy-core.c
include/linux/phy/phy.h