diff mbox

[v2] clk: samsung: Add CLKOUT driver support for Exynos3250 SoC.

Message ID 1425262500-27456-1-git-send-email-ideal.song@samsung.com (mailing list archive)
State New, archived
Headers show

Commit Message

Inha Song March 2, 2015, 2:15 a.m. UTC
This patch add CLKOUT driver support for Exynos3250 SoC.

Exynos3250 SoC PMU_DEBUG is the same with Exynos4's PMU_DEBUG
including CLKOUT mux. So, We can use the exynos4's clkout init
function for Exynos3250 without the need to add new function.

Signed-off-by: Inha Song <ideal.song@samsung.com>
---
 drivers/clk/samsung/clk-exynos-clkout.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

Stephen Boyd March 11, 2015, 11:34 p.m. UTC | #1
On 03/01/15 18:15, Inha Song wrote:
> This patch add CLKOUT driver support for Exynos3250 SoC.
>
> Exynos3250 SoC PMU_DEBUG is the same with Exynos4's PMU_DEBUG
> including CLKOUT mux. So, We can use the exynos4's clkout init
> function for Exynos3250 without the need to add new function.
>
> Signed-off-by: Inha Song <ideal.song@samsung.com>

Do you want to take this through some SoC tree? If so:

Acked-by: Stephen Boyd <sboyd@codeaurora.org>

> ---
>  drivers/clk/samsung/clk-exynos-clkout.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/drivers/clk/samsung/clk-exynos-clkout.c b/drivers/clk/samsung/clk-exynos-clkout.c
> index 3a7cb25..1c02e73 100644
> --- a/drivers/clk/samsung/clk-exynos-clkout.c
> +++ b/drivers/clk/samsung/clk-exynos-clkout.c
> @@ -142,6 +142,8 @@ CLK_OF_DECLARE(exynos4212_clkout, "samsung,exynos4212-pmu",
>  		exynos4_clkout_init);
>  CLK_OF_DECLARE(exynos4412_clkout, "samsung,exynos4412-pmu",
>  		exynos4_clkout_init);
> +CLK_OF_DECLARE(exynos3250_clkout, "samsung,exynos3250-pmu",
> +		exynos4_clkout_init);
>  
>  static void __init exynos5_clkout_init(struct device_node *node)
>  {
On 12/03/15 00:34, Stephen Boyd wrote:
> On 03/01/15 18:15, Inha Song wrote:
>> > This patch add CLKOUT driver support for Exynos3250 SoC.
>> >
>> > Exynos3250 SoC PMU_DEBUG is the same with Exynos4's PMU_DEBUG
>> > including CLKOUT mux. So, We can use the exynos4's clkout init
>> > function for Exynos3250 without the need to add new function.
>> >
>> > Signed-off-by: Inha Song <ideal.song@samsung.com>
>
> Do you want to take this through some SoC tree? If so:
> 
> Acked-by: Stephen Boyd <sboyd@codeaurora.org>

Thanks, I added this patch to my tree.
diff mbox

Patch

diff --git a/drivers/clk/samsung/clk-exynos-clkout.c b/drivers/clk/samsung/clk-exynos-clkout.c
index 3a7cb25..1c02e73 100644
--- a/drivers/clk/samsung/clk-exynos-clkout.c
+++ b/drivers/clk/samsung/clk-exynos-clkout.c
@@ -142,6 +142,8 @@  CLK_OF_DECLARE(exynos4212_clkout, "samsung,exynos4212-pmu",
 		exynos4_clkout_init);
 CLK_OF_DECLARE(exynos4412_clkout, "samsung,exynos4412-pmu",
 		exynos4_clkout_init);
+CLK_OF_DECLARE(exynos3250_clkout, "samsung,exynos3250-pmu",
+		exynos4_clkout_init);
 
 static void __init exynos5_clkout_init(struct device_node *node)
 {