* [PATCH 01/10] ARM: shmobile: sh7372: Update DTS to include CPU frequency
@ 2014-08-20 12:59 Magnus Damm
2014-08-20 14:36 ` Geert Uytterhoeven
2014-08-20 14:42 ` Magnus Damm
0 siblings, 2 replies; 5+ messages in thread
From: Magnus Damm @ 2014-08-20 12:59 UTC (permalink / raw)
To: linux-sh
From: Magnus Damm <damm+renesas@opensource.se>
Add CPU Frequency information to the sh7372 DTS file. This
will allow us to use the shared C code on sh7372 and Mackerel
which reads out the clock frequency from DT and calculates the
delay settings from there.
Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
---
arch/arm/boot/dts/sh7372.dtsi | 1 +
1 file changed, 1 insertion(+)
--- 0001/arch/arm/boot/dts/sh7372.dtsi
+++ work/arch/arm/boot/dts/sh7372.dtsi 2014-08-20 21:00:26.000000000 +0900
@@ -21,6 +21,7 @@
compatible = "arm,cortex-a8";
device_type = "cpu";
reg = <0x0>;
+ clock-frequency = <800000000>;
};
};
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 01/10] ARM: shmobile: sh7372: Update DTS to include CPU frequency
2014-08-20 12:59 [PATCH 01/10] ARM: shmobile: sh7372: Update DTS to include CPU frequency Magnus Damm
@ 2014-08-20 14:36 ` Geert Uytterhoeven
2014-08-20 14:42 ` Magnus Damm
1 sibling, 0 replies; 5+ messages in thread
From: Geert Uytterhoeven @ 2014-08-20 14:36 UTC (permalink / raw)
To: linux-sh
Hi Magnus,
On Wed, Aug 20, 2014 at 3:02 PM, Magnus Damm <magnus.damm@gmail.com> wrote:
> Add CPU Frequency information to the sh7372 DTS file. This
> will allow us to use the shared C code on sh7372 and Mackerel
> which reads out the clock frequency from DT and calculates the
> delay settings from there.
>
> Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
> ---
>
> arch/arm/boot/dts/sh7372.dtsi | 1 +
> 1 file changed, 1 insertion(+)
>
> --- 0001/arch/arm/boot/dts/sh7372.dtsi
> +++ work/arch/arm/boot/dts/sh7372.dtsi 2014-08-20 21:00:26.000000000 +0900
> @@ -21,6 +21,7 @@
> compatible = "arm,cortex-a8";
> device_type = "cpu";
> reg = <0x0>;
> + clock-frequency = <800000000>;
Should this be overridden in sh7372-mackerel.dtsi?
While the sh7372 manual states 800 MHz, the Mackerel manual states
806 MHz.
> };
> };
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [PATCH 01/10] ARM: shmobile: sh7372: Update DTS to include CPU frequency
2014-08-20 12:59 [PATCH 01/10] ARM: shmobile: sh7372: Update DTS to include CPU frequency Magnus Damm
2014-08-20 14:36 ` Geert Uytterhoeven
@ 2014-08-20 14:42 ` Magnus Damm
1 sibling, 0 replies; 5+ messages in thread
From: Magnus Damm @ 2014-08-20 14:42 UTC (permalink / raw)
To: linux-sh
Hi Geert,
On Wed, Aug 20, 2014 at 11:36 PM, Geert Uytterhoeven
<geert@linux-m68k.org> wrote:
> Hi Magnus,
>
> On Wed, Aug 20, 2014 at 3:02 PM, Magnus Damm <magnus.damm@gmail.com> wrote:
>> Add CPU Frequency information to the sh7372 DTS file. This
>> will allow us to use the shared C code on sh7372 and Mackerel
>> which reads out the clock frequency from DT and calculates the
>> delay settings from there.
>>
>> Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
>> ---
>>
>> arch/arm/boot/dts/sh7372.dtsi | 1 +
>> 1 file changed, 1 insertion(+)
>>
>> --- 0001/arch/arm/boot/dts/sh7372.dtsi
>> +++ work/arch/arm/boot/dts/sh7372.dtsi 2014-08-20 21:00:26.000000000 +0900
>> @@ -21,6 +21,7 @@
>> compatible = "arm,cortex-a8";
>> device_type = "cpu";
>> reg = <0x0>;
>> + clock-frequency = <800000000>;
>
> Should this be overridden in sh7372-mackerel.dtsi?
>
> While the sh7372 manual states 800 MHz, the Mackerel manual states
> 806 MHz.
I guess overriding makes sense for boards that operate out of spec... =/
For sh7372 this isn't really used by anything except the generic
(broken) DT case, so Mackerel legacy case doesn't care at this point.
Looking forward to throw sh7372 support out of the window. =)
/ magnus
^ permalink raw reply [flat|nested] 5+ 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 ` Simon Horman
0 siblings, 1 reply; 5+ 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] 5+ messages in thread* [PATCH 01/10] ARM: shmobile: sh7372: Update DTS to include CPU frequency
2014-08-25 1:10 [GIT PULL] Renesas ARM Based SoC Init Delay Updates For v3.18 Simon Horman
@ 2014-08-25 1:10 ` Simon Horman
0 siblings, 0 replies; 5+ messages in thread
From: Simon Horman @ 2014-08-25 1:10 UTC (permalink / raw)
To: linux-arm-kernel
From: Magnus Damm <damm+renesas@opensource.se>
Add CPU Frequency information to the sh7372 DTS file. This
will allow us to use the shared C code on sh7372 and Mackerel
which reads out the clock frequency from DT and calculates the
delay settings from there.
Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
arch/arm/boot/dts/sh7372.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/boot/dts/sh7372.dtsi b/arch/arm/boot/dts/sh7372.dtsi
index 249f65be2..f863a10 100644
--- a/arch/arm/boot/dts/sh7372.dtsi
+++ b/arch/arm/boot/dts/sh7372.dtsi
@@ -21,6 +21,7 @@
compatible = "arm,cortex-a8";
device_type = "cpu";
reg = <0x0>;
+ clock-frequency = <800000000>;
};
};
--
2.0.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 01/10] ARM: shmobile: sh7372: Update DTS to include CPU frequency
@ 2014-08-25 1:10 ` Simon Horman
0 siblings, 0 replies; 5+ messages in thread
From: Simon Horman @ 2014-08-25 1:10 UTC (permalink / raw)
To: linux-arm-kernel
From: Magnus Damm <damm+renesas@opensource.se>
Add CPU Frequency information to the sh7372 DTS file. This
will allow us to use the shared C code on sh7372 and Mackerel
which reads out the clock frequency from DT and calculates the
delay settings from there.
Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
arch/arm/boot/dts/sh7372.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/boot/dts/sh7372.dtsi b/arch/arm/boot/dts/sh7372.dtsi
index 249f65be2..f863a10 100644
--- a/arch/arm/boot/dts/sh7372.dtsi
+++ b/arch/arm/boot/dts/sh7372.dtsi
@@ -21,6 +21,7 @@
compatible = "arm,cortex-a8";
device_type = "cpu";
reg = <0x0>;
+ clock-frequency = <800000000>;
};
};
--
2.0.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-08-25 1:10 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-20 12:59 [PATCH 01/10] ARM: shmobile: sh7372: Update DTS to include CPU frequency Magnus Damm
2014-08-20 14:36 ` Geert Uytterhoeven
2014-08-20 14:42 ` 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 01/10] ARM: shmobile: sh7372: Update DTS to include CPU frequency Simon Horman
2014-08-25 1:10 ` Simon Horman
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.