linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [GIT PULL] Renesas ARM Based SoC Boards Updates for v3.19
@ 2014-11-13  1:19 Simon Horman
  2014-11-13  1:19 ` [PATCH] ARM: shmobile: kzm9g-reference: Add restart callback Simon Horman
  2014-11-19 22:08 ` [GIT PULL] Renesas ARM Based SoC Boards Updates for v3.19 Arnd Bergmann
  0 siblings, 2 replies; 3+ messages in thread
From: Simon Horman @ 2014-11-13  1:19 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Olof, Hi Kevin, Hi Arnd,

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


The following changes since commit f114040e3ea6e07372334ade75d1ee0775c355e1:

  Linux 3.18-rc1 (2014-10-19 18:08:38 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git tags/renesas-boards-for-v3.19

for you to fetch changes up to 534547c036afad3f23d49d8352896f5d05709685:

  ARM: shmobile: kzm9g-reference: Add restart callback (2014-11-10 10:16:35 +0900)

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

* Add restart callback to kzm9g

----------------------------------------------------------------
Geert Uytterhoeven (1):
      ARM: shmobile: kzm9g-reference: Add restart callback

 arch/arm/mach-shmobile/board-kzm9g-reference.c | 8 ++++++++
 1 file changed, 8 insertions(+)

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

* [PATCH] ARM: shmobile: kzm9g-reference: Add restart callback
  2014-11-13  1:19 [GIT PULL] Renesas ARM Based SoC Boards Updates for v3.19 Simon Horman
@ 2014-11-13  1:19 ` Simon Horman
  2014-11-19 22:08 ` [GIT PULL] Renesas ARM Based SoC Boards Updates for v3.19 Arnd Bergmann
  1 sibling, 0 replies; 3+ messages in thread
From: Simon Horman @ 2014-11-13  1:19 UTC (permalink / raw)
  To: linux-arm-kernel

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

Port the sh73a0 restart handling from the kzm9g-legacy board code to the
kzm9g-reference board code.

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 | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm/mach-shmobile/board-kzm9g-reference.c b/arch/arm/mach-shmobile/board-kzm9g-reference.c
index d9cdf9a..0e1de74 100644
--- a/arch/arm/mach-shmobile/board-kzm9g-reference.c
+++ b/arch/arm/mach-shmobile/board-kzm9g-reference.c
@@ -43,6 +43,13 @@ static void __init kzm_init(void)
 #endif
 }
 
+#define RESCNT2 IOMEM(0xe6188020)
+static void kzm9g_restart(enum reboot_mode mode, const char *cmd)
+{
+	/* Do soft power on reset */
+	writel((1 << 31), RESCNT2);
+}
+
 static const char *kzm9g_boards_compat_dt[] __initdata = {
 	"renesas,kzm9g-reference",
 	NULL,
@@ -54,5 +61,6 @@ DT_MACHINE_START(KZM9G_DT, "kzm9g-reference")
 	.init_early	= shmobile_init_delay,
 	.init_machine	= kzm_init,
 	.init_late	= shmobile_init_late,
+	.restart	= kzm9g_restart,
 	.dt_compat	= kzm9g_boards_compat_dt,
 MACHINE_END
-- 
2.1.1

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

* [GIT PULL] Renesas ARM Based SoC Boards Updates for v3.19
  2014-11-13  1:19 [GIT PULL] Renesas ARM Based SoC Boards Updates for v3.19 Simon Horman
  2014-11-13  1:19 ` [PATCH] ARM: shmobile: kzm9g-reference: Add restart callback Simon Horman
@ 2014-11-19 22:08 ` Arnd Bergmann
  1 sibling, 0 replies; 3+ messages in thread
From: Arnd Bergmann @ 2014-11-19 22:08 UTC (permalink / raw)
  To: linux-arm-kernel

On Thursday 13 November 2014, Simon Horman wrote:
> Hi Olof, Hi Kevin, Hi Arnd,
> 
> Please consider these Renesas ARM based SoC boards updates for v3.19.
> 
> 
> The following changes since commit f114040e3ea6e07372334ade75d1ee0775c355e1:
> 
>   Linux 3.18-rc1 (2014-10-19 18:08:38 -0700)
> 
> are available in the git repository at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git tags/renesas-boards-for-v3.19
> 
> for you to fetch changes up to 534547c036afad3f23d49d8352896f5d05709685:
> 
>   ARM: shmobile: kzm9g-reference: Add restart callback (2014-11-10 10:16:35 +0900)
> 
> ----------------------------------------------------------------
> Renesas ARM Based SoC Boards Updates for v3.19
> 
> * Add restart callback to kzm9g
> 

Pulled into next/soc, though not happy, as explained in the other pull
request about a restart callback.

	Arnd

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

end of thread, other threads:[~2014-11-19 22:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-13  1:19 [GIT PULL] Renesas ARM Based SoC Boards Updates for v3.19 Simon Horman
2014-11-13  1:19 ` [PATCH] ARM: shmobile: kzm9g-reference: Add restart callback Simon Horman
2014-11-19 22:08 ` [GIT PULL] Renesas ARM Based SoC Boards Updates for v3.19 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).