summaryrefslogtreecommitdiff
path: root/include/dm
diff options
context:
space:
mode:
authorJean-Jacques Hiblot <jjhiblot@ti.com>2017-04-24 09:51:27 (GMT)
committerSimon Glass <sjg@chromium.org>2017-05-09 18:14:16 (GMT)
commit72e5016f878d142e925f0016cee4ee7cbf42ae5b (patch)
treeb0c1cdab3323947c4d6fd4a01d2937402beda379 /include/dm
parentd52063b84f422caa2aad15fc981299ffd843e910 (diff)
downloadu-boot-fsl-qoriq-72e5016f878d142e925f0016cee4ee7cbf42ae5b.tar.xz
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>
Diffstat (limited to 'include/dm')
-rw-r--r--include/dm/uclass-id.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/dm/uclass-id.h b/include/dm/uclass-id.h
index 4e7cc93..1f7e32c 100644
--- a/include/dm/uclass-id.h
+++ b/include/dm/uclass-id.h
@@ -56,6 +56,7 @@ enum uclass_id {
UCLASS_PCH, /* x86 platform controller hub */
UCLASS_PCI, /* PCI bus */
UCLASS_PCI_GENERIC, /* Generic PCI bus device */
+ UCLASS_PHY, /* Physical Layer (PHY) device */
UCLASS_PINCONFIG, /* Pin configuration node device */
UCLASS_PINCTRL, /* Pinctrl (pin muxing/configuration) device */
UCLASS_PMIC, /* PMIC I/O device */