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


Groups > linux.kernel > #1209213

[PATCH v2 0/6] ARM: berlin: add cpufreq support

From Antoine Tenart <antoine.tenart@free-electrons.com>
Newsgroups linux.kernel
Subject [PATCH v2 0/6] ARM: berlin: add cpufreq support
Date 2015-08-18 13:50 +0200
Message-ID <pYNyW-55G-7@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Hi,

This series adds the cpufreq support to the Berlin SoCs, using
cpufreq-dt.

First, the cpuclk clock is added to the BG2Q 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.

I also added the OPP table definition in the BG2Q, BG2 and BG2CD device
trees. When using a BG2Q, some bootloaders may update this table when
booting (mine doesn't).

Tested on a BG2Q DMP.

Thanks,

Antoine

Changes since v1:
	- added the BG2 and BG2CD support
	- moved MAX_CLKS out of the Berlin clk driver
	- reordered the patches

Antoine Tenart (6):
  clk: berlin: move MAX_CLKS out of drivers/clk/berlin
  clk: berlin: add cpuclk
  ARM: berlin: dts: add the cpufreq-dt bindings on the BG2Q
  ARM: berlin: dts: add the cpufreq-dt bindings on the BG2
  ARM: berlin: dts: add the cpufreq-dt bindings on the BG2CD
  ARM: berlin: register cpufreq-dt

 arch/arm/boot/dts/berlin2.dtsi       | 10 ++++++++++
 arch/arm/boot/dts/berlin2cd.dtsi     |  8 ++++++++
 arch/arm/boot/dts/berlin2q.dtsi      | 11 +++++++++++
 arch/arm/mach-berlin/berlin.c        |  6 ++++++
 drivers/clk/berlin/bg2.c             |  1 -
 drivers/clk/berlin/bg2q.c            | 13 ++++++-------
 include/dt-bindings/clock/berlin2.h  |  2 ++
 include/dt-bindings/clock/berlin2q.h |  3 +++
 8 files changed, 46 insertions(+), 8 deletions(-)

-- 
2.5.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH v2 0/6] ARM: berlin: add cpufreq support Antoine Tenart <antoine.tenart@free-electrons.com> - 2015-08-18 13:50 +0200
  [PATCH v2 6/6] ARM: berlin: register cpufreq-dt Antoine Tenart <antoine.tenart@free-electrons.com> - 2015-08-18 13:50 +0200
  [PATCH v2 2/6] clk: berlin: add cpuclk Antoine Tenart <antoine.tenart@free-electrons.com> - 2015-08-18 13:50 +0200
  [PATCH v2 5/6] ARM: berlin: dts: add the cpufreq-dt bindings on the BG2CD Antoine Tenart <antoine.tenart@free-electrons.com> - 2015-08-18 13:50 +0200
  [PATCH v2 4/6] ARM: berlin: dts: add the cpufreq-dt bindings on the BG2 Antoine Tenart <antoine.tenart@free-electrons.com> - 2015-08-18 13:50 +0200
  Re: [PATCH v2 0/6] ARM: berlin: add cpufreq support Viresh Kumar <viresh.kumar@linaro.org> - 2015-08-18 15:00 +0200
    Re: [PATCH v2 0/6] ARM: berlin: add cpufreq support Antoine Tenart <antoine.tenart@free-electrons.com> - 2015-08-18 16:40 +0200
      Re: [PATCH v2 0/6] ARM: berlin: add cpufreq support Viresh Kumar <viresh.kumar@linaro.org> - 2015-08-18 17:00 +0200
        Re: [PATCH v2 0/6] ARM: berlin: add cpufreq support Antoine Tenart <antoine.tenart@free-electrons.com> - 2015-08-19 10:20 +0200

csiph-web