linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] ARM: berlin: add cpufreq support for the BG2Q
@ 2015-07-30 12:35 Antoine Tenart
  2015-07-30 12:35 ` [PATCH 1/3] clk: berlin: add cpuclk Antoine Tenart
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Antoine Tenart @ 2015-07-30 12:35 UTC (permalink / raw)
  To: sebastian.hesselbarth, mturquette, sboyd
  Cc: Antoine Tenart, zmxu, jszhang, linux-arm-kernel, linux-pm, linux-kernel

Hi,

This series adds the cpufreq support to the Berlin BG2Q SoC only, as I
told this couldn't be done for BG2 and BG2CD.

First, the cpuclk clock is added to the Berlin clock driver. This clock
has a divider fixed to 1, so we use a fixed factor clock here.

Then register a platform device for cpufreq-dt, when using a BG2Q.

I also added the OPP table definition in the BG2Q device tree. Some
bootloaders may update this table when booting. Mine doesn't.

Tested on a BG2Q DMP.

Thanks,

Antoine

Antoine Tenart (3):
  clk: berlin: add cpuclk
  ARM: berlin: register cpufreq-dt for the BG2Q
  ARM: berlin: dts: add the cpufreq-dt bindings on the BG2Q

 arch/arm/boot/dts/berlin2q.dtsi      | 11 +++++++++++
 arch/arm/mach-berlin/berlin.c        | 13 +++++++++++++
 drivers/clk/berlin/bg2q.c            | 14 +++++++-------
 include/dt-bindings/clock/berlin2q.h |  3 ++-
 4 files changed, 33 insertions(+), 8 deletions(-)

-- 
2.5.0


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

end of thread, other threads:[~2015-08-11  2:48 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-30 12:35 [PATCH 0/3] ARM: berlin: add cpufreq support for the BG2Q Antoine Tenart
2015-07-30 12:35 ` [PATCH 1/3] clk: berlin: add cpuclk Antoine Tenart
2015-08-07 23:59   ` Stephen Boyd
2015-08-10 19:55   ` Sebastian Hesselbarth
2015-07-30 12:35 ` [PATCH 2/3] ARM: berlin: register cpufreq-dt for the BG2Q Antoine Tenart
2015-07-31  6:16   ` Jisheng Zhang
2015-08-10 20:22     ` Sebastian Hesselbarth
2015-08-11  2:44       ` Jisheng Zhang
2015-07-30 12:35 ` [PATCH 3/3] ARM: berlin: dts: add the cpufreq-dt bindings on " Antoine Tenart

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).