summaryrefslogtreecommitdiff
path: root/include/generic-phy.h
Commit message (Collapse)AuthorAgeFilesLines
* dm: phy: add missing #ifdef CONFIG_PHYPatrice Chotard2017-07-281-0/+42
| | | | | | | | | | | | | | | To avoid compilation breakage on platform that doesn't support DM PHY but uses xhci-dwc3 driver, add the missing CONFIG_PHY flag. Introduced by patch : 84e53877 "usb: host: xhci-dwc3: Add generic PHY support" Cc: Ran Wang <ran.wang_1@nxp.com> Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Patrice Chotard <patrice.chotard@st.com> Reported-by: Ran Wang <ran.wang_1@nxp.com>
* drivers: phy: add generic_phy_valid() methodPatrice Chotard2017-07-281-0/+11
| | | | | | | This allow to check if a PHY has been correctly initialised and avoid to get access to phy struct. Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
* dm: phy: Update uclass to support livetreeSimon Glass2017-06-011-2/+1
| | | | | | | Update the phy uclass to support livetree. Fix the xlate() method which has no callers. Signed-off-by: Simon Glass <sjg@chromium.org>
* drivers: phy: add generic PHY frameworkJean-Jacques Hiblot2017-05-091-0/+224
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>