drivers: phy: add generic PHY framework
authorKishon Vijay Abraham I <kishon@ti.com>
Wed, 26 Jun 2013 09:57:45 +0000 (15:27 +0530)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:43:15 +0000 (11:43 +0900)
commitad4acb45c549d5761e174e9312d6aad280afca1a
tree6f624ebbcb2e10582144cb8eb72e59dcc0430361
parent0bf7e823d9b453d2ca2566cd0ff31e0314d2cfc5
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

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Tested-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
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]