linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/8] ARM: shmobile: kzm9g: Add shmobile_init_late()
  2014-08-23  1:43 [GIT PULL] Renesas ARM Based SoC Boards Updates for v3.18 Simon Horman
@ 2014-08-23  1:43 ` Simon Horman
  2014-08-23  1:43 ` [PATCH 2/8] ARM: shmobile: marzen: " Simon Horman
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: Simon Horman @ 2014-08-23  1:43 UTC (permalink / raw)
  To: linux-arm-kernel

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

Extend board specific KZM9D DT reference machine vector to include
shmobile_init_late() so Suspend-to-RAM and CPUIdle are setup as expected.

Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm/mach-shmobile/board-kzm9g-reference.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/mach-shmobile/board-kzm9g-reference.c b/arch/arm/mach-shmobile/board-kzm9g-reference.c
index 5d2621f..9ec9887 100644
--- a/arch/arm/mach-shmobile/board-kzm9g-reference.c
+++ b/arch/arm/mach-shmobile/board-kzm9g-reference.c
@@ -54,5 +54,6 @@ DT_MACHINE_START(KZM9G_DT, "kzm9g-reference")
 	.init_early	= sh73a0_init_delay,
 	.nr_irqs	= NR_IRQS_LEGACY,
 	.init_machine	= kzm_init,
+	.init_late	= shmobile_init_late,
 	.dt_compat	= kzm9g_boards_compat_dt,
 MACHINE_END
-- 
2.0.1

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

* [PATCH 2/8] ARM: shmobile: marzen: Add shmobile_init_late()
  2014-08-23  1:43 [GIT PULL] Renesas ARM Based SoC Boards Updates for v3.18 Simon Horman
  2014-08-23  1:43 ` [PATCH 1/8] ARM: shmobile: kzm9g: Add shmobile_init_late() Simon Horman
@ 2014-08-23  1:43 ` Simon Horman
  2014-08-23  1:43 ` [PATCH 3/8] ARM: shmobile: bockw: " Simon Horman
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: Simon Horman @ 2014-08-23  1:43 UTC (permalink / raw)
  To: linux-arm-kernel

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

Extend board specific Marzen DT reference machine vector to include
shmobile_init_late() so Suspend-to-RAM and CPUIdle are setup as expected.

Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm/mach-shmobile/board-marzen-reference.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/mach-shmobile/board-marzen-reference.c b/arch/arm/mach-shmobile/board-marzen-reference.c
index 21b3e1c..9194bce 100644
--- a/arch/arm/mach-shmobile/board-marzen-reference.c
+++ b/arch/arm/mach-shmobile/board-marzen-reference.c
@@ -67,5 +67,6 @@ DT_MACHINE_START(MARZEN, "marzen")
 	.nr_irqs	= NR_IRQS_LEGACY,
 	.init_irq	= r8a7779_init_irq_dt,
 	.init_machine	= marzen_init,
+	.init_late	= shmobile_init_late,
 	.dt_compat	= marzen_boards_compat_dt,
 MACHINE_END
-- 
2.0.1

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

* [PATCH 3/8] ARM: shmobile: bockw: Add shmobile_init_late()
  2014-08-23  1:43 [GIT PULL] Renesas ARM Based SoC Boards Updates for v3.18 Simon Horman
  2014-08-23  1:43 ` [PATCH 1/8] ARM: shmobile: kzm9g: Add shmobile_init_late() Simon Horman
  2014-08-23  1:43 ` [PATCH 2/8] ARM: shmobile: marzen: " Simon Horman
@ 2014-08-23  1:43 ` Simon Horman
  2014-08-23  1:43 ` [PATCH 4/8] ARM: shmobile: ape6evm: " Simon Horman
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: Simon Horman @ 2014-08-23  1:43 UTC (permalink / raw)
  To: linux-arm-kernel

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

Extend board specific Bock-W DT reference machine vector to include
shmobile_init_late() so Suspend-to-RAM and CPUIdle are setup as expected.

Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm/mach-shmobile/board-bockw-reference.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/mach-shmobile/board-bockw-reference.c b/arch/arm/mach-shmobile/board-bockw-reference.c
index ba840cd..9202f16 100644
--- a/arch/arm/mach-shmobile/board-bockw-reference.c
+++ b/arch/arm/mach-shmobile/board-bockw-reference.c
@@ -83,5 +83,6 @@ DT_MACHINE_START(BOCKW_DT, "bockw")
 	.init_early	= r8a7778_init_delay,
 	.init_irq	= r8a7778_init_irq_dt,
 	.init_machine	= bockw_init,
+	.init_late	= shmobile_init_late,
 	.dt_compat	= bockw_boards_compat_dt,
 MACHINE_END
-- 
2.0.1

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

* [PATCH 4/8] ARM: shmobile: ape6evm: Add shmobile_init_late()
  2014-08-23  1:43 [GIT PULL] Renesas ARM Based SoC Boards Updates for v3.18 Simon Horman
                   ` (2 preceding siblings ...)
  2014-08-23  1:43 ` [PATCH 3/8] ARM: shmobile: bockw: " Simon Horman
@ 2014-08-23  1:43 ` Simon Horman
  2014-08-23  1:43 ` [PATCH 5/8] ARM: shmobile: ape6evm: Use shmobile_init_delay() Simon Horman
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: Simon Horman @ 2014-08-23  1:43 UTC (permalink / raw)
  To: linux-arm-kernel

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

Extend board specific APE6EVM reference machine vectors to include
shmobile_init_late() so Suspend-to-RAM and CPUIdle are setup as expected.

Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm/mach-shmobile/board-ape6evm-reference.c | 1 +
 arch/arm/mach-shmobile/board-ape6evm.c           | 1 +
 2 files changed, 2 insertions(+)

diff --git a/arch/arm/mach-shmobile/board-ape6evm-reference.c b/arch/arm/mach-shmobile/board-ape6evm-reference.c
index 2f7723e..1ecda4b 100644
--- a/arch/arm/mach-shmobile/board-ape6evm-reference.c
+++ b/arch/arm/mach-shmobile/board-ape6evm-reference.c
@@ -61,5 +61,6 @@ static const char *ape6evm_boards_compat_dt[] __initdata = {
 DT_MACHINE_START(APE6EVM_DT, "ape6evm")
 	.init_early	= r8a73a4_init_early,
 	.init_machine	= ape6evm_add_standard_devices,
+	.init_late	= shmobile_init_late,
 	.dt_compat	= ape6evm_boards_compat_dt,
 MACHINE_END
diff --git a/arch/arm/mach-shmobile/board-ape6evm.c b/arch/arm/mach-shmobile/board-ape6evm.c
index 1585b88..befbae03 100644
--- a/arch/arm/mach-shmobile/board-ape6evm.c
+++ b/arch/arm/mach-shmobile/board-ape6evm.c
@@ -285,5 +285,6 @@ static const char *ape6evm_boards_compat_dt[] __initdata = {
 DT_MACHINE_START(APE6EVM_DT, "ape6evm")
 	.init_early	= r8a73a4_init_early,
 	.init_machine	= ape6evm_add_standard_devices,
+	.init_late	= shmobile_init_late,
 	.dt_compat	= ape6evm_boards_compat_dt,
 MACHINE_END
-- 
2.0.1

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

* [PATCH 5/8] ARM: shmobile: ape6evm: Use shmobile_init_delay()
  2014-08-23  1:43 [GIT PULL] Renesas ARM Based SoC Boards Updates for v3.18 Simon Horman
                   ` (3 preceding siblings ...)
  2014-08-23  1:43 ` [PATCH 4/8] ARM: shmobile: ape6evm: " Simon Horman
@ 2014-08-23  1:43 ` Simon Horman
  2014-08-23  1:43 ` [PATCH 6/8] ARM: shmobile: marzen: Remove NR_IRQS_LEGACY Simon Horman
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: Simon Horman @ 2014-08-23  1:43 UTC (permalink / raw)
  To: linux-arm-kernel

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

The r8a73a4 DTS includes CPU Frequency information so
adjust the APE6EVM board code to use shmobile_init_delay()
instead of relying on CPU Frequency information included
in r8a73a4_init_delay() that is specified in C.

Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm/mach-shmobile/board-ape6evm-reference.c | 2 +-
 arch/arm/mach-shmobile/board-ape6evm.c           | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/mach-shmobile/board-ape6evm-reference.c b/arch/arm/mach-shmobile/board-ape6evm-reference.c
index 1ecda4b..9e99b15 100644
--- a/arch/arm/mach-shmobile/board-ape6evm-reference.c
+++ b/arch/arm/mach-shmobile/board-ape6evm-reference.c
@@ -59,7 +59,7 @@ static const char *ape6evm_boards_compat_dt[] __initdata = {
 };
 
 DT_MACHINE_START(APE6EVM_DT, "ape6evm")
-	.init_early	= r8a73a4_init_early,
+	.init_early	= shmobile_init_delay,
 	.init_machine	= ape6evm_add_standard_devices,
 	.init_late	= shmobile_init_late,
 	.dt_compat	= ape6evm_boards_compat_dt,
diff --git a/arch/arm/mach-shmobile/board-ape6evm.c b/arch/arm/mach-shmobile/board-ape6evm.c
index befbae03..b222f68 100644
--- a/arch/arm/mach-shmobile/board-ape6evm.c
+++ b/arch/arm/mach-shmobile/board-ape6evm.c
@@ -283,7 +283,7 @@ static const char *ape6evm_boards_compat_dt[] __initdata = {
 };
 
 DT_MACHINE_START(APE6EVM_DT, "ape6evm")
-	.init_early	= r8a73a4_init_early,
+	.init_early	= shmobile_init_delay,
 	.init_machine	= ape6evm_add_standard_devices,
 	.init_late	= shmobile_init_late,
 	.dt_compat	= ape6evm_boards_compat_dt,
-- 
2.0.1

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

* [GIT PULL] Renesas ARM Based SoC Boards Updates for v3.18
@ 2014-08-23  1:43 Simon Horman
  2014-08-23  1:43 ` [PATCH 1/8] ARM: shmobile: kzm9g: Add shmobile_init_late() Simon Horman
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Simon Horman @ 2014-08-23  1:43 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Olof, Hi Kevin, Hi Arnd,

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


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/horms/renesas.git tags/renesas-boards-for-v3.18

for you to fetch changes up to 3969d6490ba35b01f84bb12472c29c6029f7298b:

  ARM: shmobile: kzm9g-reference: Remove unneeded nr_irqs initialization (2014-08-20 09:06:37 +0900)

----------------------------------------------------------------
Renesas ARM Based SoC Boards Updates for v3.18

* Remove unnecessary nr_irqs initialisation on kzm9g and marzen
* Use shmobile_init_delay and shmobile_init_late on a wider
  range of boards

----------------------------------------------------------------
Geert Uytterhoeven (2):
      ARM: shmobile: kzm9g: Remove unneeded nr_irqs initialization
      ARM: shmobile: kzm9g-reference: Remove unneeded nr_irqs initialization

Magnus Damm (6):
      ARM: shmobile: kzm9g: Add shmobile_init_late()
      ARM: shmobile: marzen: Add shmobile_init_late()
      ARM: shmobile: bockw: Add shmobile_init_late()
      ARM: shmobile: ape6evm: Add shmobile_init_late()
      ARM: shmobile: ape6evm: Use shmobile_init_delay()
      ARM: shmobile: marzen: Remove NR_IRQS_LEGACY

 arch/arm/mach-shmobile/board-ape6evm-reference.c | 3 ++-
 arch/arm/mach-shmobile/board-ape6evm.c           | 3 ++-
 arch/arm/mach-shmobile/board-bockw-reference.c   | 1 +
 arch/arm/mach-shmobile/board-kzm9g-reference.c   | 2 +-
 arch/arm/mach-shmobile/board-kzm9g.c             | 1 -
 arch/arm/mach-shmobile/board-marzen-reference.c  | 2 +-
 6 files changed, 7 insertions(+), 5 deletions(-)

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

* [PATCH 6/8] ARM: shmobile: marzen: Remove NR_IRQS_LEGACY
  2014-08-23  1:43 [GIT PULL] Renesas ARM Based SoC Boards Updates for v3.18 Simon Horman
                   ` (4 preceding siblings ...)
  2014-08-23  1:43 ` [PATCH 5/8] ARM: shmobile: ape6evm: Use shmobile_init_delay() Simon Horman
@ 2014-08-23  1:43 ` Simon Horman
  2014-08-23  1:43 ` [PATCH 7/8] ARM: shmobile: kzm9g: Remove unneeded nr_irqs initialization Simon Horman
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: Simon Horman @ 2014-08-23  1:43 UTC (permalink / raw)
  To: linux-arm-kernel

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

Remove NR_IRQS_LEGACY from the Marzen Reference code.
The Marzen Reference machine vector requires use of
Multiplatform, and in such case SPARSE_IRQ is enabled
by default. This in turns means that the default value
of .nr_irqs equals NR_IRQS and NR_IRQS_LEGACY. Because
of this we can simply remove NR_IRQS_LEGACY and move one
step closer to a cruft-free environment.

Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm/mach-shmobile/board-marzen-reference.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/arm/mach-shmobile/board-marzen-reference.c b/arch/arm/mach-shmobile/board-marzen-reference.c
index 9194bce..c3dfa6c 100644
--- a/arch/arm/mach-shmobile/board-marzen-reference.c
+++ b/arch/arm/mach-shmobile/board-marzen-reference.c
@@ -64,7 +64,6 @@ DT_MACHINE_START(MARZEN, "marzen")
 	.map_io		= r8a7779_map_io,
 	.init_early	= shmobile_init_delay,
 	.init_time	= marzen_init_timer,
-	.nr_irqs	= NR_IRQS_LEGACY,
 	.init_irq	= r8a7779_init_irq_dt,
 	.init_machine	= marzen_init,
 	.init_late	= shmobile_init_late,
-- 
2.0.1

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

* [PATCH 7/8] ARM: shmobile: kzm9g: Remove unneeded nr_irqs initialization
  2014-08-23  1:43 [GIT PULL] Renesas ARM Based SoC Boards Updates for v3.18 Simon Horman
                   ` (5 preceding siblings ...)
  2014-08-23  1:43 ` [PATCH 6/8] ARM: shmobile: marzen: Remove NR_IRQS_LEGACY Simon Horman
@ 2014-08-23  1:43 ` Simon Horman
  2014-08-23  1:43 ` [PATCH 8/8] ARM: shmobile: kzm9g-reference: " Simon Horman
  2014-09-05 16:01 ` [GIT PULL] Renesas ARM Based SoC Boards Updates for v3.18 Arnd Bergmann
  8 siblings, 0 replies; 10+ messages in thread
From: Simon Horman @ 2014-08-23  1:43 UTC (permalink / raw)
  To: linux-arm-kernel

From: Geert Uytterhoeven <geert+renesas@glider.be>

As per arch_probe_nr_irqs(), the default value is NR_IRQS, which maps to
NR_IRQS_LEGACY if CONFIG_SPARSE_IRQ=y.

Since SPARSE_IRQ is selected by both ARCH_MULTIPLATFORM and
ARCH_SHMOBILE_LEGACY, it's always enabled on shmobile.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm/mach-shmobile/board-kzm9g.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/arm/mach-shmobile/board-kzm9g.c b/arch/arm/mach-shmobile/board-kzm9g.c
index f8bc7f8..36593cb 100644
--- a/arch/arm/mach-shmobile/board-kzm9g.c
+++ b/arch/arm/mach-shmobile/board-kzm9g.c
@@ -910,7 +910,6 @@ DT_MACHINE_START(KZM9G_DT, "kzm9g")
 	.smp		= smp_ops(sh73a0_smp_ops),
 	.map_io		= sh73a0_map_io,
 	.init_early	= sh73a0_add_early_devices,
-	.nr_irqs	= NR_IRQS_LEGACY,
 	.init_irq	= sh73a0_init_irq,
 	.init_machine	= kzm_init,
 	.init_late	= shmobile_init_late,
-- 
2.0.1

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

* [PATCH 8/8] ARM: shmobile: kzm9g-reference: Remove unneeded nr_irqs initialization
  2014-08-23  1:43 [GIT PULL] Renesas ARM Based SoC Boards Updates for v3.18 Simon Horman
                   ` (6 preceding siblings ...)
  2014-08-23  1:43 ` [PATCH 7/8] ARM: shmobile: kzm9g: Remove unneeded nr_irqs initialization Simon Horman
@ 2014-08-23  1:43 ` Simon Horman
  2014-09-05 16:01 ` [GIT PULL] Renesas ARM Based SoC Boards Updates for v3.18 Arnd Bergmann
  8 siblings, 0 replies; 10+ messages in thread
From: Simon Horman @ 2014-08-23  1:43 UTC (permalink / raw)
  To: linux-arm-kernel

From: Geert Uytterhoeven <geert+renesas@glider.be>

As per arch_probe_nr_irqs(), the default value is NR_IRQS, which maps to
NR_IRQS_LEGACY if CONFIG_SPARSE_IRQ=y.

Since SPARSE_IRQ is selected by both ARCH_MULTIPLATFORM and
ARCH_SHMOBILE_LEGACY, it's always enabled on shmobile.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm/mach-shmobile/board-kzm9g-reference.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/arm/mach-shmobile/board-kzm9g-reference.c b/arch/arm/mach-shmobile/board-kzm9g-reference.c
index 9ec9887..1694a16 100644
--- a/arch/arm/mach-shmobile/board-kzm9g-reference.c
+++ b/arch/arm/mach-shmobile/board-kzm9g-reference.c
@@ -52,7 +52,6 @@ DT_MACHINE_START(KZM9G_DT, "kzm9g-reference")
 	.smp		= smp_ops(sh73a0_smp_ops),
 	.map_io		= sh73a0_map_io,
 	.init_early	= sh73a0_init_delay,
-	.nr_irqs	= NR_IRQS_LEGACY,
 	.init_machine	= kzm_init,
 	.init_late	= shmobile_init_late,
 	.dt_compat	= kzm9g_boards_compat_dt,
-- 
2.0.1

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

* [GIT PULL] Renesas ARM Based SoC Boards Updates for v3.18
  2014-08-23  1:43 [GIT PULL] Renesas ARM Based SoC Boards Updates for v3.18 Simon Horman
                   ` (7 preceding siblings ...)
  2014-08-23  1:43 ` [PATCH 8/8] ARM: shmobile: kzm9g-reference: " Simon Horman
@ 2014-09-05 16:01 ` Arnd Bergmann
  8 siblings, 0 replies; 10+ messages in thread
From: Arnd Bergmann @ 2014-09-05 16:01 UTC (permalink / raw)
  To: linux-arm-kernel

On Saturday 23 August 2014, Simon Horman wrote:
> * Remove unnecessary nr_irqs initialisation on kzm9g and marzen
> * Use shmobile_init_delay and shmobile_init_late on a wider
>   range of boards

Merged into next/boards, thanks!

	Arnd

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

end of thread, other threads:[~2014-09-05 16:01 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-23  1:43 [GIT PULL] Renesas ARM Based SoC Boards Updates for v3.18 Simon Horman
2014-08-23  1:43 ` [PATCH 1/8] ARM: shmobile: kzm9g: Add shmobile_init_late() Simon Horman
2014-08-23  1:43 ` [PATCH 2/8] ARM: shmobile: marzen: " Simon Horman
2014-08-23  1:43 ` [PATCH 3/8] ARM: shmobile: bockw: " Simon Horman
2014-08-23  1:43 ` [PATCH 4/8] ARM: shmobile: ape6evm: " Simon Horman
2014-08-23  1:43 ` [PATCH 5/8] ARM: shmobile: ape6evm: Use shmobile_init_delay() Simon Horman
2014-08-23  1:43 ` [PATCH 6/8] ARM: shmobile: marzen: Remove NR_IRQS_LEGACY Simon Horman
2014-08-23  1:43 ` [PATCH 7/8] ARM: shmobile: kzm9g: Remove unneeded nr_irqs initialization Simon Horman
2014-08-23  1:43 ` [PATCH 8/8] ARM: shmobile: kzm9g-reference: " Simon Horman
2014-09-05 16:01 ` [GIT PULL] Renesas ARM Based SoC Boards Updates for v3.18 Arnd Bergmann

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