diff options
author | Jean-Jacques Hiblot <jjhiblot@ti.com> | 2017-04-24 11:51:27 +0200 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2017-05-09 12:14:16 -0600 |
commit | 72e5016f878d142e925f0016cee4ee7cbf42ae5b (patch) | |
tree | b0c1cdab3323947c4d6fd4a01d2937402beda379 /include/dm | |
parent | d52063b84f422caa2aad15fc981299ffd843e910 (diff) |
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/dm/uclass-id.h b/include/dm/uclass-id.h index 4e7cc935bd..1f7e32c31f 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 */ |