]> Git Repo - linux.git/commit - drivers/phy/phy-core.c
drivers: phy: add generic PHY framework
authorKishon Vijay Abraham I <[email protected]>
Fri, 27 Sep 2013 06:23:25 +0000 (11:53 +0530)
committerGreg Kroah-Hartman <[email protected]>
Sat, 28 Sep 2013 00:35:41 +0000 (17:35 -0700)
commitff764963479a1b18721ab96e531404c50fefe8b1
treee696248868cbb6ab2ac2159058c72631b620b136
parent6741448eb01a1844b78c83fa8faf0c95524fc09b
drivers: phy: add generic PHY framework

The PHY framework provides a set of APIs for the PHY drivers to
create/destroy a PHY and APIs for the PHY users to obtain a reference to the
PHY with or without using phandle. For dt-boot, the PHY drivers should
also register *PHY provider* with the framework.

PHY drivers should create the PHY by passing id and ops like init, exit,
power_on and power_off. This framework is also pm runtime enabled.

The documentation for the generic PHY framework is added in
Documentation/phy.txt and the documentation for dt binding can be found at
Documentation/devicetree/bindings/phy/phy-bindings.txt

Cc: Tomasz Figa <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Kishon Vijay Abraham I <[email protected]>
Acked-by: Felipe Balbi <[email protected]>
Tested-by: Sylwester Nawrocki <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Documentation/devicetree/bindings/phy/phy-bindings.txt [new file with mode: 0644]
Documentation/phy.txt [new file with mode: 0644]
MAINTAINERS
drivers/Kconfig
drivers/Makefile
drivers/phy/Kconfig [new file with mode: 0644]
drivers/phy/Makefile [new file with mode: 0644]
drivers/phy/phy-core.c [new file with mode: 0644]
include/linux/phy/phy.h [new file with mode: 0644]
This page took 0.05683 seconds and 4 git commands to generate.