diff options
author | Shaik Ameer Basha <shaik.ameer@samsung.com> | 2014-05-08 07:28:03 -0400 |
---|---|---|
committer | Tomasz Figa <t.figa@samsung.com> | 2014-05-14 13:40:23 -0400 |
commit | b31ca2a0176ee1d7f011f4cf0f6b33e1163e254b (patch) | |
tree | b350e239bd5a34740b3635307e6d19acbcf04e8a /drivers/clk/samsung | |
parent | 31116a642b148587b92928d37212a547d0ce10b5 (diff) |
clk: samsung: exynos5420: add misc clocks
This patch adds some missing miscellaneous clocks specific
to exynos5420.
Signed-off-by: Rahul Sharma <rahul.sharma@samsung.com>
Signed-off-by: Shaik Ameer Basha <shaik.ameer@samsung.com>
Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Diffstat (limited to 'drivers/clk/samsung')
-rw-r--r-- | drivers/clk/samsung/clk-exynos5420.c | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/drivers/clk/samsung/clk-exynos5420.c b/drivers/clk/samsung/clk-exynos5420.c index 9ff36140bcdf..4bc94f1c53d1 100644 --- a/drivers/clk/samsung/clk-exynos5420.c +++ b/drivers/clk/samsung/clk-exynos5420.c | |||
@@ -273,7 +273,8 @@ PNAME(mout_group5_p) = {"mout_sclk_vpll", "mout_sclk_dpll"}; | |||
273 | 273 | ||
274 | PNAME(mout_fimd1_final_p) = {"mout_fimd1", "mout_fimd1_opt"}; | 274 | PNAME(mout_fimd1_final_p) = {"mout_fimd1", "mout_fimd1_opt"}; |
275 | PNAME(mout_sw_aclk66_p) = {"dout_aclk66", "mout_sclk_spll"}; | 275 | PNAME(mout_sw_aclk66_p) = {"dout_aclk66", "mout_sclk_spll"}; |
276 | PNAME(mout_user_aclk66_peric_p) = { "fin_pll", "mout_sw_aclk66" }; | 276 | PNAME(mout_user_aclk66_peric_p) = { "fin_pll", "mout_sw_aclk66"}; |
277 | PNAME(mout_user_pclk66_gpio_p) = {"mout_sw_aclk66", "ff_sw_aclk66"}; | ||
277 | 278 | ||
278 | PNAME(mout_sw_aclk200_fsys_p) = {"dout_aclk200_fsys", "mout_sclk_spll"}; | 279 | PNAME(mout_sw_aclk200_fsys_p) = {"dout_aclk200_fsys", "mout_sclk_spll"}; |
279 | PNAME(mout_sw_pclk200_fsys_p) = {"dout_pclk200_fsys", "mout_sclk_spll"}; | 280 | PNAME(mout_sw_pclk200_fsys_p) = {"dout_pclk200_fsys", "mout_sclk_spll"}; |
@@ -372,10 +373,13 @@ static struct samsung_fixed_rate_clock exynos5420_fixed_rate_clks[] __initdata = | |||
372 | }; | 373 | }; |
373 | 374 | ||
374 | static struct samsung_fixed_factor_clock exynos5420_fixed_factor_clks[] __initdata = { | 375 | static struct samsung_fixed_factor_clock exynos5420_fixed_factor_clks[] __initdata = { |
375 | FFACTOR(0, "sclk_hsic_12m", "fin_pll", 1, 2, 0), | 376 | FFACTOR(0, "ff_hsic_12m", "fin_pll", 1, 2, 0), |
377 | FFACTOR(0, "ff_sw_aclk66", "mout_sw_aclk66", 1, 2, 0), | ||
376 | }; | 378 | }; |
377 | 379 | ||
378 | static struct samsung_mux_clock exynos5420_mux_clks[] __initdata = { | 380 | static struct samsung_mux_clock exynos5420_mux_clks[] __initdata = { |
381 | MUX(0, "mout_user_pclk66_gpio", mout_user_pclk66_gpio_p, | ||
382 | SRC_TOP7, 4, 1), | ||
379 | MUX(0, "mout_mspll_kfc", mout_mspll_cpu_p, SRC_TOP7, 8, 2), | 383 | MUX(0, "mout_mspll_kfc", mout_mspll_cpu_p, SRC_TOP7, 8, 2), |
380 | MUX(0, "mout_mspll_cpu", mout_mspll_cpu_p, SRC_TOP7, 12, 2), | 384 | MUX(0, "mout_mspll_cpu", mout_mspll_cpu_p, SRC_TOP7, 12, 2), |
381 | MUX(0, "mout_mau_epll_clk", mout_mau_epll_clk_p, SRC_TOP7, 20, 2), | 385 | MUX(0, "mout_mau_epll_clk", mout_mau_epll_clk_p, SRC_TOP7, 20, 2), |
@@ -703,7 +707,7 @@ static struct samsung_gate_clock exynos5420_gate_clks[] __initdata = { | |||
703 | GATE_BUS_TOP, 7, CLK_IGNORE_UNUSED, 0), | 707 | GATE_BUS_TOP, 7, CLK_IGNORE_UNUSED, 0), |
704 | GATE(0, "aclk333_432_isp", "mout_user_aclk333_432_isp", | 708 | GATE(0, "aclk333_432_isp", "mout_user_aclk333_432_isp", |
705 | GATE_BUS_TOP, 8, 0, 0), | 709 | GATE_BUS_TOP, 8, 0, 0), |
706 | GATE(0, "pclk66_gpio", "mout_sw_aclk66", | 710 | GATE(CLK_PCLK66_GPIO, "pclk66_gpio", "mout_user_pclk66_gpio", |
707 | GATE_BUS_TOP, 9, CLK_IGNORE_UNUSED, 0), | 711 | GATE_BUS_TOP, 9, CLK_IGNORE_UNUSED, 0), |
708 | GATE(0, "aclk66_psgen", "mout_user_aclk66_psgen", | 712 | GATE(0, "aclk66_psgen", "mout_user_aclk66_psgen", |
709 | GATE_BUS_TOP, 10, CLK_IGNORE_UNUSED, 0), | 713 | GATE_BUS_TOP, 10, CLK_IGNORE_UNUSED, 0), |
@@ -721,6 +725,10 @@ static struct samsung_gate_clock exynos5420_gate_clks[] __initdata = { | |||
721 | GATE_BUS_TOP, 17, 0, 0), | 725 | GATE_BUS_TOP, 17, 0, 0), |
722 | GATE(0, "aclk200_disp1", "mout_user_aclk200_disp1", | 726 | GATE(0, "aclk200_disp1", "mout_user_aclk200_disp1", |
723 | GATE_BUS_TOP, 18, 0, 0), | 727 | GATE_BUS_TOP, 18, 0, 0), |
728 | GATE(CLK_SCLK_MPHY_IXTAL24, "sclk_mphy_ixtal24", "mphy_refclk_ixtal24", | ||
729 | GATE_BUS_TOP, 28, 0, 0), | ||
730 | GATE(CLK_SCLK_HSIC_12M, "sclk_hsic_12m", "ff_hsic_12m", | ||
731 | GATE_BUS_TOP, 29, 0, 0), | ||
724 | 732 | ||
725 | GATE(0, "aclk300_disp1", "mout_user_aclk300_disp1", | 733 | GATE(0, "aclk300_disp1", "mout_user_aclk300_disp1", |
726 | SRC_MASK_TOP2, 24, 0, 0), | 734 | SRC_MASK_TOP2, 24, 0, 0), |