]> git.baikalelectronics.ru Git - uboot.git/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)
commitca487f24e3afd0649f48e16397c2d985eac02cb1
treeb0c1cdab3323947c4d6fd4a01d2937402beda379
parent2809e7da1dc74df94b969183f2a2863a191ce6c5
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]