aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/xhci-mtk.h
diff options
context:
space:
mode:
authorChunfeng Yun <chunfeng.yun@mediatek.com>2017-01-18 14:08:24 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-01-19 10:37:16 +0100
commit9c4afd429bee4ee9fd75a71bd0a1024851cbfa17 (patch)
tree21221a7eb80252960afa4ef2fb6b215b2f9c97ed /drivers/usb/host/xhci-mtk.h
parentusb: mtu3: add reference clock (diff)
downloadlinux-dev-9c4afd429bee4ee9fd75a71bd0a1024851cbfa17.tar.xz
linux-dev-9c4afd429bee4ee9fd75a71bd0a1024851cbfa17.zip
usb: xhci-mtk: add reference clock
usually, the reference clock comes from 26M oscillator directly, but some SoCs are not, add it for compatibility. Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/xhci-mtk.h')
-rw-r--r--drivers/usb/host/xhci-mtk.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/host/xhci-mtk.h b/drivers/usb/host/xhci-mtk.h
index 2845c49efe1b..3aa5e1d25064 100644
--- a/drivers/usb/host/xhci-mtk.h
+++ b/drivers/usb/host/xhci-mtk.h
@@ -124,6 +124,7 @@ struct xhci_hcd_mtk {
struct regulator *vusb33;
struct regulator *vbus;
struct clk *sys_clk; /* sys and mac clock */
+ struct clk *ref_clk;
struct clk *wk_deb_p0; /* port0's wakeup debounce clock */
struct clk *wk_deb_p1;
struct regmap *pericfg;