Skip to contentSkip to conversation

ARM: rockchip: cpu regulators and OPPs

GIT PULL New Heiko Stübner 3 participants 6 messages Sep 29, 2014 – Nov 4, 2014

Subsystems (3)
lore
Share & tools
lore

Heiko Stübner

author maintainer
#0 lore raw

Hi Arnd, Olof,

the corresponding clk changes made their way into the clock tree, so these changes add the necessary supplies, operating points and clocks to rockchip boards to enable cpu frequency scaling.

This pull request already includes commit

    4d742e6230b5 ("clk: rockchip: add binding id for ARMCLK")

that is shared with the clock tree [0].

[0] http://git.linaro.org/people/mike.turquette/linux.git/commit/4d742e6230b5ff157422d91d6ae8d2fc1303eb28

So please pull

The following changes since commit 6051ddd4f94894cce8fde3aa29f90ae6c567fc46:

ARM: dts: rockchip: Remove "regulator-always-on" in vcc_rmii for Radxa Rock (2014-09-22 11:53:39 +0200)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git tags/v3.18-rockchip-dts3

for you to fetch changes up to 8848623b8c032ce7c41549ec743f8367c877d7f2:

ARM: dts: rockchip: add cpu supplies to boards (2014-09-28 13:14:56 +0200)

----------------------------------------------------------------
CPU opp and board supplies for Rockchip boards.

----------------------------------------------------------------
Heiko Stuebner (4):
clk: rockchip: add binding id for ARMCLK
Merge branch 'v3.18-next/armclkid' into v3.18-next/dts
ARM: dts: rockchip: add operating points and armclk references
ARM: dts: rockchip: add cpu supplies to boards

 arch/arm/boot/dts/rk3066a-bqcurie2.dts        |  4 ++++
 arch/arm/boot/dts/rk3066a.dtsi                | 12 +++++++++++-
 arch/arm/boot/dts/rk3188-radxarock.dts        |  6 +++++-
 arch/arm/boot/dts/rk3188.dtsi                 | 15 ++++++++++++++-
 arch/arm/boot/dts/rk3288-evb-rk808.dts        |  6 +++++-
 arch/arm/boot/dts/rk3288.dtsi                 | 19 ++++++++++++++++++-
 include/dt-bindings/clock/rk3188-cru-common.h |  1 +
 include/dt-bindings/clock/rk3288-cru.h        |  1 +
 8 files changed, 59 insertions(+), 5 deletions(-)
author maintainer
#1 lore raw

[GIT PULL 2/2] ARM: rockchip: cpufreq-cpu0 device

Hi Arnd, Olof,

this one patch adds a platform-device for cpufreq-cpu0 to mach-rockchip, enabling frequency scaling using this cpufreq driver.

While it could be small enough to simply be included in the dt branch, I didn't want to take that decision on my own :-)

So please pull

The following changes since commit 7d1311b93e58ed55f3a31cc8f94c4b8fe988a2b9:

Linux 3.17-rc1 (2014-08-16 10:40:26 -0600)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git tags/v3.18-rockchip-cpufreqdev

for you to fetch changes up to 47b06fc2d97a0d98d6053357561f2953d6547d25:

ARM: rockchip: add a cpufreq-cpu0 device (2014-09-29 09:21:38 +0200)

----------------------------------------------------------------
Add a simple cpufreq-cpu0 device for mach-rockchip

----------------------------------------------------------------
Heiko Stuebner (1):
ARM: rockchip: add a cpufreq-cpu0 device

 arch/arm/mach-rockchip/rockchip.c | 7 +++++++
 1 file changed, 7 insertions(+)
#2 lore raw

[GIT PULL 2/2] ARM: rockchip: cpufreq-cpu0 device

Quoted 21 lines · Heiko St?bner

Hi Arnd, Olof,

this one patch adds a platform-device for cpufreq-cpu0 to mach-rockchip, enabling frequency scaling using this cpufreq driver.

While it could be small enough to simply be included in the dt branch, I didn't want to take that decision on my own :-)

So please pull

The following changes since commit 7d1311b93e58ed55f3a31cc8f94c4b8fe988a2b9:

Linux 3.17-rc1 (2014-08-16 10:40:26 -0600)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git tags/v3.18-rockchip-cpufreqdev

for you to fetch changes up to 47b06fc2d97a0d98d6053357561f2953d6547d25:

Quoted 8 lines

ARM: rockchip: add a cpufreq-cpu0 device (2014-09-29 09:21:38 +0200)

----------------------------------------------------------------
Add a simple cpufreq-cpu0 device for mach-rockchip

----------------------------------------------------------------
Heiko Stuebner (1):
ARM: rockchip: add a cpufreq-cpu0 device

cpufreq-cpu0 is recently renamed to cpufreq-dt just in case you missed that.

author maintainer
#3 lore raw

[GIT PULL v2 2/2] ARM: rockchip: cpufreq-cpu0 device

In reply to Heiko Stübner

Hi Arnd, Olof,

this is a version 2 of the cpufreq platform-device addition, as cpufreq-cpu0 was meanwhile renamed to cpufreq-dt, as reported by Viresh Kumar.

So please pull

The following changes since commit 7d1311b93e58ed55f3a31cc8f94c4b8fe988a2b9:

Linux 3.17-rc1 (2014-08-16 10:40:26 -0600)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git tags/v3.18-rockchip-cpufreqdev-v2

for you to fetch changes up to 3eb79a5a9d46b32f63f6b9cd86f9b2bba43e127a:

ARM: rockchip: honor renaming of cpufreq-cpu0 to cpufreq-dt (2014-09-30 10:33:27 +0200)

----------------------------------------------------------------
Add cpufreq-dt platform device for cpu frequency scaling.

----------------------------------------------------------------
Heiko Stuebner (2):
ARM: rockchip: add a cpufreq-cpu0 device
ARM: rockchip: honor renaming of cpufreq-cpu0 to cpufreq-dt

 arch/arm/mach-rockchip/rockchip.c | 7 +++++++
 1 file changed, 7 insertions(+)
author maintainer
#4 lore raw

PATCH 1/1 ARM: rockchip: honor renaming of cpufreq-cpu0 to cpufreq-dt

cpufreq-cpu0 got renamed to a more generic name cpufreq-dt, so adapt the created platform-device to this.

---
This is for completenes sake, the patch I added to the cpufreqdev branch as part of the pull request, handling the renamed cpufreq-cpu0 driver.

 arch/arm/mach-rockchip/rockchip.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-rockchip/rockchip.c +1 -1
index eea1f06..d226b71 100644
@@ -27,7 +27,7 @@
 static void __init rockchip_dt_init(void)
 {
 	of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
-	platform_device_register_simple("cpufreq-cpu0", 0, NULL, 0);
+	platform_device_register_simple("cpufreq-dt", 0, NULL, 0);
 }
 
 static const char * const rockchip_board_dt_compat[] = {
Signature · 1 line
2.1.0
#5 lore raw

[GIT PULL v2 2/2] ARM: rockchip: cpufreq-cpu0 device

In reply to Heiko Stübner
Quoted 12 lines · Heiko St?bner

Hi Arnd, Olof,

this is a version 2 of the cpufreq platform-device addition, as cpufreq-cpu0 was meanwhile renamed to cpufreq-dt, as reported by Viresh Kumar.

So please pull

The following changes since commit 7d1311b93e58ed55f3a31cc8f94c4b8fe988a2b9:

Linux 3.17-rc1 (2014-08-16 10:40:26 -0600)

Quoted 7 lines

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git tags/v3.18-rockchip-cpufreqdev-v2

for you to fetch changes up to 3eb79a5a9d46b32f63f6b9cd86f9b2bba43e127a:

ARM: rockchip: honor renaming of cpufreq-cpu0 to cpufreq-dt (2014-09-30 10:33:27 +0200)

Merged now.

-Olof