summaryrefslogtreecommitdiff
path: root/arch/arm/mach-imx/clk.h
diff options
context:
space:
mode:
authorAnson Huang <b20788@freescale.com>2014-10-09 17:50:46 +0800
committerNitin Garg <nitin.garg@freescale.com>2015-01-15 21:18:20 -0600
commit19a30efd1ad7aa9d74684d57120a6108e41c98ed (patch)
tree0ad6ac9fd79f1afc9aaf915ac9800464a5b89750 /arch/arm/mach-imx/clk.h
parent9d08142952fc84a5802fc06236f1d046fe8054a4 (diff)
MLK-9669-1 arm: imx: skip system bus related clks parent switch check
Those system bus related mux only can be switched by busfreq driver, and in busfreq asm code, it already follow the flow that hardware design require, so no need to do flow check for these clk mux: i.MX6Q/DL: periph_clk2_sel and pre_periph_clk_sel; i.MX6SL: periph_clk2_sel, pre_periph_clk_sel, periph2_clk2_sel and pre_periph2_clk_sel i.MX6SX: periph_clk2_sel, pre_periph_clk_sel, periph2_clk2_sel and pre_periph2_clk_sel. Signed-off-by: Anson Huang <b20788@freescale.com>
Diffstat (limited to 'arch/arm/mach-imx/clk.h')
-rw-r--r--arch/arm/mach-imx/clk.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/clk.h b/arch/arm/mach-imx/clk.h
index c21f7277d8b1..78eda02843ab 100644
--- a/arch/arm/mach-imx/clk.h
+++ b/arch/arm/mach-imx/clk.h
@@ -128,6 +128,14 @@ static inline struct clk *imx_clk_gate(const char *name, const char *parent,
shift, 0, &imx_ccm_lock);
}
+static inline struct clk *imx_clk_mux_bus(const char *name, void __iomem *reg,
+ u8 shift, u8 width, const char **parents, int num_parents)
+{
+ return clk_register_mux(NULL, name, parents, num_parents,
+ CLK_SET_RATE_NO_REPARENT,
+ reg, shift, width, 0, &imx_ccm_lock);
+}
+
static inline struct clk *imx_clk_mux(const char *name, void __iomem *reg,
u8 shift, u8 width, const char **parents, int num_parents)
{