linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 03/10] ARM: shmobile: r8a7778: Update DTS to include CPU frequency
@ 2014-08-20 13:02 Magnus Damm
  0 siblings, 0 replies; 2+ messages in thread
From: Magnus Damm @ 2014-08-20 13:02 UTC (permalink / raw)
  To: linux-sh

From: Magnus Damm <damm+renesas@opensource.se>

Add CPU Frequency information to the r8a7778 DTS file. This
will allow us to use the shared C code on r8a7778 and BockW
which reads out the clock frequency from DT and calculates the
delay settings from there.

Also add other missing CPU information to the r8a7778 DTS.

Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
---

 arch/arm/boot/dts/r8a7778.dtsi |    6 ++++++
 1 file changed, 6 insertions(+)

--- 0001/arch/arm/boot/dts/r8a7778.dtsi
+++ work/arch/arm/boot/dts/r8a7778.dtsi	2014-08-20 21:04:52.000000000 +0900
@@ -23,8 +23,14 @@
 	interrupt-parent = <&gic>;
 
 	cpus {
+		#address-cells = <1>;
+		#size-cells = <0>;
+
 		cpu@0 {
+			device_type = "cpu";
 			compatible = "arm,cortex-a9";
+			reg = <0>;
+			clock-frequency = <800000000>;
 		};
 	};
 

^ permalink raw reply	[flat|nested] 2+ messages in thread
* [GIT PULL] Renesas ARM Based SoC Init Delay Updates For v3.18
@ 2014-08-25  1:10 Simon Horman
  2014-08-25  1:10 ` [PATCH 03/10] ARM: shmobile: r8a7778: Update DTS to include CPU frequency Simon Horman
  0 siblings, 1 reply; 2+ messages in thread
From: Simon Horman @ 2014-08-25  1:10 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Olof, Hi Kevin, Hi Arnd,

Please consider these Renesas ARM based SoC init delay updates for v3.18.

This pull request is based on a merge of:

* Renesas ARM Based SoC Boards Updates for v3.18,
  tagged as renesas-boards-for-v3.18,
  which I have previously sent a pull-request for

* Renesas ARM Based SoC Updates for v3.18,
  tagged as renesas-soc-for-v3.18,
  which I have previously sent a pull-request for


The following changes since commit 93acbd2cd2482cb51bec70a1494fddf2c172c073:

  Merge branch 'boards-for-v3.18' into soc-init-delay-for-v3.18.base (2014-08-22 11:31:47 +0900)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git tags/renesas-init-delay-for-v3.18

for you to fetch changes up to fc35ca258c079411b64ed94e517eb04e7d89bc44:

  ARM: shmobile: kzm9g: Use shmobile_init_delay() (2014-08-22 11:32:13 +0900)

----------------------------------------------------------------
Renesas ARM Based SoC Init Delay Updates For v3.18

* Use shmobile_init_delay across a wider range of SoCs

----------------------------------------------------------------
Magnus Damm (10):
      ARM: shmobile: sh7372: Update DTS to include CPU frequency
      ARM: shmobile: sh73a0: Update DTS to include CPU frequency
      ARM: shmobile: r8a7778: Update DTS to include CPU frequency
      ARM: shmobile: sh7372: Use shmobile_init_delay()
      ARM: shmobile: r8a73a4: Use shmobile_init_delay()
      ARM: shmobile: Remove shmobile_setup_delay()
      ARM: shmobile: sh73a0: Use shmobile_init_delay()
      ARM: shmobile: r8a7778: Use shmobile_init_delay()
      ARM: shmobile: bockw: Use shmobile_init_delay()
      ARM: shmobile: kzm9g: Use shmobile_init_delay()

 arch/arm/boot/dts/r8a7778.dtsi                 |  6 ++++++
 arch/arm/boot/dts/sh7372.dtsi                  |  1 +
 arch/arm/boot/dts/sh73a0.dtsi                  |  2 ++
 arch/arm/mach-shmobile/board-bockw-reference.c |  2 +-
 arch/arm/mach-shmobile/board-bockw.c           |  2 +-
 arch/arm/mach-shmobile/board-kzm9g-reference.c |  2 +-
 arch/arm/mach-shmobile/common.h                |  2 --
 arch/arm/mach-shmobile/r8a73a4.h               |  1 -
 arch/arm/mach-shmobile/setup-r8a73a4.c         |  9 +--------
 arch/arm/mach-shmobile/setup-r8a7778.c         |  2 +-
 arch/arm/mach-shmobile/setup-sh7372.c          |  2 +-
 arch/arm/mach-shmobile/setup-sh73a0.c          |  2 +-
 arch/arm/mach-shmobile/timer.c                 | 21 ++-------------------
 13 files changed, 18 insertions(+), 36 deletions(-)

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

end of thread, other threads:[~2014-08-25  1:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-20 13:02 [PATCH 03/10] ARM: shmobile: r8a7778: Update DTS to include CPU frequency Magnus Damm
  -- strict thread matches above, loose matches on Subject: below --
2014-08-25  1:10 [GIT PULL] Renesas ARM Based SoC Init Delay Updates For v3.18 Simon Horman
2014-08-25  1:10 ` [PATCH 03/10] ARM: shmobile: r8a7778: Update DTS to include CPU frequency Simon Horman

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