Skip to contentSkip to conversation

linux-next: manual merge of the pm tree with the samsung tree

DISCUSSION Stephen Rothwell 3 participants 5 messages May 19, 2014 – May 21, 2014 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi Rafael,

Today's linux-next merge of the pm tree got conflicts in drivers/cpufreq/exynos-cpufreq.c and drivers/cpufreq/exynos-cpufreq.h between commit 2b07f4085479 ("cpufreq: exynos: Fix the compile error") from the samsung tree and commit e5eaa445b0dc ("cpufreq: exynos: Use dev_err/info function instead of pr_err/info") from the pm tree.

I fixed it up (see below) and can carry the fix as necessary (no action is required).

Signature · 50 lines
Cheers,
Stephen Rothwell                    [email protected]

diff --cc drivers/cpufreq/exynos-cpufreq.c
index e8a4a7ed38c1,c3e55aa28cf8..000000000000
--- a/drivers/cpufreq/exynos-cpufreq.c
+++ b/drivers/cpufreq/exynos-cpufreq.c
@@@ -164,22 -163,16 +164,24 @@@ static int exynos_cpufreq_probe(struct 
  	if (!exynos_info)
  		return -ENOMEM;
  
+ 	exynos_info->dev = &pdev->dev;
+ 
 -	if (soc_is_exynos4210())
 +	if (of_machine_is_compatible("samsung,exynos4210")) {
 +		exynos_info->type = EXYNOS_SOC_4210;
  		ret = exynos4210_cpufreq_init(exynos_info);
 -	else if (soc_is_exynos4212() || soc_is_exynos4412())
 +	} else if (of_machine_is_compatible("samsung,exynos4212")) {
 +		exynos_info->type = EXYNOS_SOC_4212;
  		ret = exynos4x12_cpufreq_init(exynos_info);
 -	else if (soc_is_exynos5250())
 +	} else if (of_machine_is_compatible("samsung,exynos4412")) {
 +		exynos_info->type = EXYNOS_SOC_4412;
 +		ret = exynos4x12_cpufreq_init(exynos_info);
 +	} else if (of_machine_is_compatible("samsung,exynos5250")) {
 +		exynos_info->type = EXYNOS_SOC_5250;
  		ret = exynos5250_cpufreq_init(exynos_info);
 -	else
 -		return 0;
 +	} else {
 +		pr_err("%s: Unknown SoC type\n", __func__);
 +		return -ENODEV;
 +	}
  
  	if (ret)
  		goto err_vdd_arm;
diff --cc drivers/cpufreq/exynos-cpufreq.h
index f189547bb447,b72ff10a040e..000000000000
--- a/drivers/cpufreq/exynos-cpufreq.h
+++ b/drivers/cpufreq/exynos-cpufreq.h
@@@ -41,7 -34,7 +41,8 @@@ struct apll_freq 
  };
  
  struct exynos_dvfs_info {
+ 	struct device	*dev;
 +	enum exynos_soc_type type;
  	unsigned long	mpll_freq_khz;
  	unsigned int	pll_safe_idx;
  	struct clk	*cpu_clk;
#1 lore raw
Quoted 7 lines · Stephen Rothwell

--Sig_/n+GoYBpTr9ERl.sTIEYr/Og
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hi Rafael,

Quoted 8 lines

Today's linux-next merge of the pm tree got conflicts in drivers/cpufreq/exynos-cpufreq.c and drivers/cpufreq/exynos-cpufreq.h between commit 2b07f4085479 ("cpufreq: exynos: Fix the compile error") from the samsung tree and commit e5eaa445b0dc ("cpufreq: exynos: Use dev_err/info function instead of pr_err/info") from the pm tree.

I fixed it up (see below) and can carry the fix as necessary (no action is required).

Thanks for fixing that Stephen!

Kukjin, are you going to handle all Exynos cpufreq commits in the future?

Rafael

#2 lore raw
Quoted 15 lines · Rafael J. Wysocki
Quoted 13 lines · Stephen Rothwell

--Sig_/n+GoYBpTr9ERl.sTIEYr/Og
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hi Rafael,

Today's linux-next merge of the pm tree got conflicts in drivers/cpufreq/exynos-cpufreq.c and drivers/cpufreq/exynos-cpufreq.h between commit 2b07f4085479 ("cpufreq: exynos: Fix the compile error") from the samsung tree and commit e5eaa445b0dc ("cpufreq: exynos: Use dev_err/info function instead of pr_err/info") from the pm tree.

Quoted 5 lines
Quoted 2 lines

I fixed it up (see below) and can carry the fix as necessary (no action is required).

Thanks for fixing that Stephen!

Same here ;-)

Quoted 2 lines

Kukjin, are you going to handle all Exynos cpufreq commits in the future?

If you're OK, would be better to us I think.

- Kukjin

#3 lore raw
Quoted 19 lines · Kukjin Kim
Quoted 18 lines · Rafael J. Wysocki
Quoted 15 lines · Stephen Rothwell

--Sig_/n+GoYBpTr9ERl.sTIEYr/Og
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hi Rafael,

Today's linux-next merge of the pm tree got conflicts in drivers/cpufreq/exynos-cpufreq.c and drivers/cpufreq/exynos-cpufreq.h between commit 2b07f4085479 ("cpufreq: exynos: Fix the compile error") from the samsung tree and commit e5eaa445b0dc ("cpufreq: exynos: Use dev_err/info function instead of pr_err/info") from the pm tree.

I fixed it up (see below) and can carry the fix as necessary (no action is required).

Quoted 7 lines
Quoted 2 lines

Thanks for fixing that Stephen!

Same here ;-)

Quoted 2 lines

Kukjin, are you going to handle all Exynos cpufreq commits in the future?

If you're OK, would be better to us I think.

OK, I'll leave them to you, then. Please ask Viresh for ACKs if needed. :-)

Signature · 2 lines
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.
#4 lore raw
Quoted 24 lines · Rafael J. Wysocki
Quoted 10 lines · Kukjin Kim
Quoted 9 lines · Rafael J. Wysocki
Quoted 7 lines · Stephen Rothwell

--Sig_/n+GoYBpTr9ERl.sTIEYr/Og
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hi Rafael,

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

Today's linux-next merge of the pm tree got conflicts in drivers/cpufreq/exynos-cpufreq.c and drivers/cpufreq/exynos-cpufreq.h between commit 2b07f4085479 ("cpufreq: exynos: Fix the compile error") from the samsung tree and commit e5eaa445b0dc ("cpufreq: exynos: Use dev_err/info function instead of pr_err/info") from the pm tree.

I fixed it up (see below) and can carry the fix as necessary (no

action

Quoted 4 lines
Quoted 4 lines
Quoted 1 line

is required).

Thanks for fixing that Stephen!

Quoted 8 lines
Quoted 5 lines

Same here ;-)

Quoted 2 lines

Kukjin, are you going to handle all Exynos cpufreq commits in the future?

If you're OK, would be better to us I think.

OK, I'll leave them to you, then. Please ask Viresh for ACKs if needed. :-)

I will.

Thanks,
Kukjin