diff options
author | Antoine Tenart <antoine.tenart@free-electrons.com> | 2014-10-30 20:41:19 +0300 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-11-03 19:03:30 +0300 |
commit | 1e5e2d3d055436c114e2f16145b83339aed024ff (patch) | |
tree | 821eaf3301ecdd322abe8b50e32bad7825c18c73 /include/linux/usb | |
parent | ef44cb4226d132146e44f8ea562a16b27ff61126 (diff) | |
download | linux-1e5e2d3d055436c114e2f16145b83339aed024ff.tar.xz |
usb: chipidea: add support to the generic PHY framework
This patch adds support of the PHY framework for ChipIdea drivers.
Changes are done in both the ChipIdea common code and in the drivers
accessing the PHY. This is done by adding a new PHY member in
ChipIdea's structures and by taking care of it in the code.
Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Acked-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'include/linux/usb')
-rw-r--r-- | include/linux/usb/chipidea.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/usb/chipidea.h b/include/linux/usb/chipidea.h index 4fe161a84c7d..c01bf4ea27b9 100644 --- a/include/linux/usb/chipidea.h +++ b/include/linux/usb/chipidea.h @@ -13,6 +13,8 @@ struct ci_hdrc_platform_data { /* offset of the capability registers */ uintptr_t capoffset; unsigned power_budget; + struct phy *phy; + /* old usb_phy interface */ struct usb_phy *usb_phy; enum usb_phy_interface phy_mode; unsigned long flags; |