linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] cpufreq: ti-cpufreq: Add support for AM3517
@ 2019-09-09 15:45 Adam Ford
  2019-09-09 15:45 ` [PATCH 2/2] ARM: dts: Add OPP-V2 table " Adam Ford
  2019-09-09 18:13 ` [PATCH 1/2] cpufreq: ti-cpufreq: Add support " H. Nikolaus Schaller
  0 siblings, 2 replies; 5+ messages in thread
From: Adam Ford @ 2019-09-09 15:45 UTC (permalink / raw)
  To: linux-omap
  Cc: neolynx, letux-kernel, andreas, tony, adam.ford, hns, Adam Ford,
	Benoît Cousson, Rob Herring, Mark Rutland,
	Rafael J. Wysocki, Viresh Kumar, devicetree, linux-kernel,
	linux-pm

The AM3517 only lists 600MHz @ 1.2V, but the revister values for
0x4830A204 = 1b86 802f, it seems like am3517 might be a derivative
of the omap36 which has OPPs would be OPP50 (300 MHz) and OPP100
(600 MHz).

This patch simply enable adds the am3517 to the compatible table
using the omap3630 structure instead of the 3430.

Signed-off-by: Adam Ford <aford173@gmail.com>

diff --git a/drivers/cpufreq/ti-cpufreq.c b/drivers/cpufreq/ti-cpufreq.c
index f2f58d689320..6b69fb1d6bdf 100644
--- a/drivers/cpufreq/ti-cpufreq.c
+++ b/drivers/cpufreq/ti-cpufreq.c
@@ -270,6 +270,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,am3517", .data = &omap36xx_soc_data, },
 	{ .compatible = "ti,am43", .data = &am4x_soc_data, },
 	{ .compatible = "ti,dra7", .data = &dra7_soc_data },
 	{ .compatible = "ti,omap34xx", .data = &omap34xx_soc_data, },
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-09-09 18:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-09 15:45 [PATCH 1/2] cpufreq: ti-cpufreq: Add support for AM3517 Adam Ford
2019-09-09 15:45 ` [PATCH 2/2] ARM: dts: Add OPP-V2 table " Adam Ford
2019-09-09 18:13 ` [PATCH 1/2] cpufreq: ti-cpufreq: Add support " H. Nikolaus Schaller
2019-09-09 18:17   ` Adam Ford
2019-09-09 18:20     ` H. Nikolaus Schaller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).