* [PATCH] cpufreq: highbank-cpufreq: Enable Midway/ECX-2000
@ 2013-10-01 15:30 Mark Langsdorf
2013-10-03 5:08 ` Viresh Kumar
0 siblings, 1 reply; 2+ messages in thread
From: Mark Langsdorf @ 2013-10-01 15:30 UTC (permalink / raw)
To: linux-kernel, cpufreq, linux-pm, linux-arm-kernel; +Cc: Mark Langsdorf
Calxeda's new ECX-2000 part uses the same cpufreq interface as highbank,
so add it to the driver's compatibility list.
This is a minor change that can safely be applied to the 3.10 and 3.11
stable trees.
Signed-off-by: Mark Langsdorf <mark.langsdorf@calxeda.com>
---
drivers/cpufreq/highbank-cpufreq.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/cpufreq/highbank-cpufreq.c b/drivers/cpufreq/highbank-cpufreq.c
index 794123f..bf8902a 100644
--- a/drivers/cpufreq/highbank-cpufreq.c
+++ b/drivers/cpufreq/highbank-cpufreq.c
@@ -66,7 +66,8 @@ static int hb_cpufreq_driver_init(void)
struct device_node *np;
int ret;
- if (!of_machine_is_compatible("calxeda,highbank"))
+ if ((!of_machine_is_compatible("calxeda,highbank")) &&
+ (!of_machine_is_compatible("calxeda,ecx-2000")))
return -ENODEV;
cpu_dev = get_cpu_device(0);
--
1.8.1.2
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] cpufreq: highbank-cpufreq: Enable Midway/ECX-2000
2013-10-01 15:30 [PATCH] cpufreq: highbank-cpufreq: Enable Midway/ECX-2000 Mark Langsdorf
@ 2013-10-03 5:08 ` Viresh Kumar
0 siblings, 0 replies; 2+ messages in thread
From: Viresh Kumar @ 2013-10-03 5:08 UTC (permalink / raw)
To: Mark Langsdorf; +Cc: linux-kernel, cpufreq, Linux PM list, linux-arm-kernel
On Tue, Oct 1, 2013 at 9:00 PM, Mark Langsdorf
<mark.langsdorf@calxeda.com> wrote:
> Calxeda's new ECX-2000 part uses the same cpufreq interface as highbank,
> so add it to the driver's compatibility list.
>
> This is a minor change that can safely be applied to the 3.10 and 3.11
> stable trees.
>
> Signed-off-by: Mark Langsdorf <mark.langsdorf@calxeda.com>
> ---
> drivers/cpufreq/highbank-cpufreq.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/cpufreq/highbank-cpufreq.c b/drivers/cpufreq/highbank-cpufreq.c
> index 794123f..bf8902a 100644
> --- a/drivers/cpufreq/highbank-cpufreq.c
> +++ b/drivers/cpufreq/highbank-cpufreq.c
> @@ -66,7 +66,8 @@ static int hb_cpufreq_driver_init(void)
> struct device_node *np;
> int ret;
>
> - if (!of_machine_is_compatible("calxeda,highbank"))
> + if ((!of_machine_is_compatible("calxeda,highbank")) &&
> + (!of_machine_is_compatible("calxeda,ecx-2000")))
> return -ENODEV;
>
> cpu_dev = get_cpu_device(0);
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-10-03 5:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-01 15:30 [PATCH] cpufreq: highbank-cpufreq: Enable Midway/ECX-2000 Mark Langsdorf
2013-10-03 5:08 ` Viresh Kumar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®