Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1735233 > unrolled thread

[PATCH] cpufreq: ti-cpufreq: Support additional am43xx platforms

Started byDave Gerlach <d-gerlach@ti.com>
First post2017-09-19 22:20 +0200
Last post2017-09-20 00:40 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] cpufreq: ti-cpufreq: Support additional am43xx platforms Dave Gerlach <d-gerlach@ti.com> - 2017-09-19 22:20 +0200
    Re: [PATCH] cpufreq: ti-cpufreq: Support additional am43xx platforms Viresh Kumar <viresh.kumar@linaro.org> - 2017-09-20 00:40 +0200

#1735233 — [PATCH] cpufreq: ti-cpufreq: Support additional am43xx platforms

FromDave Gerlach <d-gerlach@ti.com>
Date2017-09-19 22:20 +0200
Subject[PATCH] cpufreq: ti-cpufreq: Support additional am43xx platforms
Message-ID<urx9T-1zx-13@gated-at.bofh.it>
Rather than letting the ti-cpufreq driver match against 'ti,am4372'
machine compatible during probe let's match against 'ti,am43' so that we
can support both 'ti,am4372' and 'ti,am438x' platforms which both match
to this compatible.

Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
---
 drivers/cpufreq/ti-cpufreq.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/cpufreq/ti-cpufreq.c b/drivers/cpufreq/ti-cpufreq.c
index b29cd3398463..4bf47de6101f 100644
--- a/drivers/cpufreq/ti-cpufreq.c
+++ b/drivers/cpufreq/ti-cpufreq.c
@@ -190,7 +190,7 @@ static int ti_cpufreq_setup_syscon_register(struct ti_cpufreq_data *opp_data)
 
 static const struct of_device_id ti_cpufreq_of_match[] = {
 	{ .compatible = "ti,am33xx", .data = &am3x_soc_data, },
-	{ .compatible = "ti,am4372", .data = &am4x_soc_data, },
+	{ .compatible = "ti,am43", .data = &am4x_soc_data, },
 	{ .compatible = "ti,dra7", .data = &dra7_soc_data },
 	{},
 };
-- 
2.13.4

[toc] | [next] | [standalone]


#1735317

FromViresh Kumar <viresh.kumar@linaro.org>
Date2017-09-20 00:40 +0200
Message-ID<urzln-2Sr-23@gated-at.bofh.it>
In reply to#1735233
On 19-09-17, 15:06, Dave Gerlach wrote:
> Rather than letting the ti-cpufreq driver match against 'ti,am4372'
> machine compatible during probe let's match against 'ti,am43' so that we
> can support both 'ti,am4372' and 'ti,am438x' platforms which both match
> to this compatible.
> 
> Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
> ---
>  drivers/cpufreq/ti-cpufreq.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/cpufreq/ti-cpufreq.c b/drivers/cpufreq/ti-cpufreq.c
> index b29cd3398463..4bf47de6101f 100644
> --- a/drivers/cpufreq/ti-cpufreq.c
> +++ b/drivers/cpufreq/ti-cpufreq.c
> @@ -190,7 +190,7 @@ static int ti_cpufreq_setup_syscon_register(struct ti_cpufreq_data *opp_data)
>  
>  static const struct of_device_id ti_cpufreq_of_match[] = {
>  	{ .compatible = "ti,am33xx", .data = &am3x_soc_data, },
> -	{ .compatible = "ti,am4372", .data = &am4x_soc_data, },
> +	{ .compatible = "ti,am43", .data = &am4x_soc_data, },
>  	{ .compatible = "ti,dra7", .data = &dra7_soc_data },
>  	{},
>  };

Acked-by: Viresh Kumar <viresh.kumar@linaro.org>

-- 
viresh

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web