]> git.sur5r.net Git - u-boot/commit
drivers: phy: add generic PHY framework
authorJean-Jacques Hiblot <jjhiblot@ti.com>
Mon, 24 Apr 2017 09:51:27 +0000 (11:51 +0200)
committerSimon Glass <sjg@chromium.org>
Tue, 9 May 2017 18:14:16 +0000 (12:14 -0600)
commit72e5016f878d142e925f0016cee4ee7cbf42ae5b
treeb0c1cdab3323947c4d6fd4a01d2937402beda379
parentd52063b84f422caa2aad15fc981299ffd843e910
drivers: phy: add generic PHY framework

The PHY framework provides a set of APIs to control a PHY. This API is
derived from the linux version of the generic PHY framework.
Currently the API supports init(), deinit(), power_on, power_off() and
reset(). The framework provides a way to get a reference to a phy from the
device-tree.

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/Kconfig
drivers/Makefile
drivers/phy/Kconfig [new file with mode: 0644]
drivers/phy/Makefile [new file with mode: 0644]
drivers/phy/phy-uclass.c [new file with mode: 0644]
include/dm/uclass-id.h
include/generic-phy.h [new file with mode: 0644]