summaryrefslogtreecommitdiffstats
path: root/drivers/clk/sirf/clk-atlas7.c
diff options
context:
space:
mode:
authorGuo Zeng <Guo.Zeng@csr.com>2015-08-04 16:45:26 +0200
committerMichael Turquette <mturquette@baylibre.com>2015-08-25 01:49:04 +0200
commit3922107c796164560b797ae8dece697b5b5e4c24 (patch)
tree57a33f8b7d9d31f9c2471365d1c4cec61dfb4a8a /drivers/clk/sirf/clk-atlas7.c
parentclk: socfpga: Add a second parent option for the dbg_base_clk (diff)
downloadlinux-3922107c796164560b797ae8dece697b5b5e4c24.tar.xz
linux-3922107c796164560b797ae8dece697b5b5e4c24.zip
clk: atlas7: add lost pwm unit clks
Signed-off-by: Guo Zeng <Guo.Zeng@csr.com> Signed-off-by: Barry Song <Baohua.Song@csr.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/sirf/clk-atlas7.c')
-rw-r--r--drivers/clk/sirf/clk-atlas7.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/clk/sirf/clk-atlas7.c b/drivers/clk/sirf/clk-atlas7.c
index db8ab691dbf6..af33a9e94980 100644
--- a/drivers/clk/sirf/clk-atlas7.c
+++ b/drivers/clk/sirf/clk-atlas7.c
@@ -1174,6 +1174,10 @@ static struct atlas7_unit_init_data unit_list[] __initdata = {
{ 135, "thbtm_io", "btm_io", 0, SIRFSOC_CLKC_LEAF_CLK_EN8_SET, 7, &leaf8_gate_lock },
{ 136, "btslow", "xinw_fixdiv_btslow", 0, SIRFSOC_CLKC_ROOT_CLK_EN1_SET, 25, &root1_gate_lock },
{ 137, "a7ca_btslow", "btslow", 0, SIRFSOC_CLKC_LEAF_CLK_EN8_SET, 0, &leaf8_gate_lock },
+ { 138, "pwm_io", "io_mux", 0, SIRFSOC_CLKC_LEAF_CLK_EN0_SET, 0, &leaf0_gate_lock },
+ { 139, "pwm_xin", "xin", 0, SIRFSOC_CLKC_LEAF_CLK_EN0_SET, 1, &leaf0_gate_lock },
+ { 140, "pwm_xinw", "xinw", 0, SIRFSOC_CLKC_LEAF_CLK_EN0_SET, 2, &leaf0_gate_lock },
+ { 141, "thcgum_sys", "sys_mux", 0, SIRFSOC_CLKC_LEAF_CLK_EN0_SET, 3, &leaf0_gate_lock },
};
static struct clk *atlas7_clks[ARRAY_SIZE(unit_list)];