summaryrefslogtreecommitdiffstats
path: root/drivers/clk/mediatek/clk-mtk.h
diff options
context:
space:
mode:
authorJames Liao <jamesjj.liao@mediatek.com>2015-05-20 09:59:21 +0200
committerJames Liao <jamesjj.liao@mediatek.com>2015-10-01 06:06:00 +0200
commitcdb2bab78aff97101da767b9643fbd692af4623b (patch)
tree5a6e2d4333ed786243add4885852eda1d55a7f32 /drivers/clk/mediatek/clk-mtk.h
parentclk: mediatek: Add subsystem clocks of MT8173 (diff)
downloadlinux-cdb2bab78aff97101da767b9643fbd692af4623b.tar.xz
linux-cdb2bab78aff97101da767b9643fbd692af4623b.zip
clk: mediatek: Add USB clock support in MT8173 APMIXEDSYS
Add REF2USB_TX clock support into MT8173 APMIXEDSYS. This clock is needed by USB 3.0. Signed-off-by: James Liao <jamesjj.liao@mediatek.com> Reviewed-by: Daniel Kurtz <djkurtz@chromium.org>
Diffstat (limited to 'drivers/clk/mediatek/clk-mtk.h')
-rw-r--r--drivers/clk/mediatek/clk-mtk.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/clk/mediatek/clk-mtk.h b/drivers/clk/mediatek/clk-mtk.h
index 24b73ff84e06..32d2e455eb3f 100644
--- a/drivers/clk/mediatek/clk-mtk.h
+++ b/drivers/clk/mediatek/clk-mtk.h
@@ -180,6 +180,9 @@ void mtk_clk_register_plls(struct device_node *node,
const struct mtk_pll_data *plls, int num_plls,
struct clk_onecell_data *clk_data);
+struct clk *mtk_clk_register_ref2usb_tx(const char *name,
+ const char *parent_name, void __iomem *reg);
+
#ifdef CONFIG_RESET_CONTROLLER
void mtk_register_reset_controller(struct device_node *np,
unsigned int num_regs, int regofs);