aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/xhci-mtk.h
diff options
context:
space:
mode:
authorChunfeng Yun <chunfeng.yun@mediatek.com>2017-10-13 16:26:38 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-10-23 11:29:40 +0200
commitb6bb72cf0df128397312b6239d6c5f5702dfc6fc (patch)
treea6130f16e69e4c9d12c25d0ec6a4660223a93c40 /drivers/usb/host/xhci-mtk.h
parentusb: xhci-mtk: remove dummy wakeup debounce clocks (diff)
downloadlinux-dev-b6bb72cf0df128397312b6239d6c5f5702dfc6fc.tar.xz
linux-dev-b6bb72cf0df128397312b6239d6c5f5702dfc6fc.zip
usb: xhci-mtk: add optional mcu and dma bus clocks
There are mcu_bus and dma_bus clocks needed to be controlled by driver on some SoCs, so add them as optional ones Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com> Acked-by: Mathias Nyman <mathias.nyman@linux.intel.com> Reviewed-by: Matthias Brugger <matthias.bgg@gmail.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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/host/xhci-mtk.h b/drivers/usb/host/xhci-mtk.h
index 67783a7af509..45ff5c67efb5 100644
--- a/drivers/usb/host/xhci-mtk.h
+++ b/drivers/usb/host/xhci-mtk.h
@@ -126,6 +126,8 @@ struct xhci_hcd_mtk {
struct regulator *vbus;
struct clk *sys_clk; /* sys and mac clock */
struct clk *ref_clk;
+ struct clk *mcu_clk;
+ struct clk *dma_clk;
struct regmap *pericfg;
struct phy **phys;
int num_phys;