From patchwork Thu May 29 07:24:39 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: keita kobayashi X-Patchwork-Id: 4262471 Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 4E12FBF90B for ; Thu, 29 May 2014 07:24:47 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 58F1620320 for ; Thu, 29 May 2014 07:24:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8961B20138 for ; Thu, 29 May 2014 07:24:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932444AbaE2HYp (ORCPT ); Thu, 29 May 2014 03:24:45 -0400 Received: from relmlor4.renesas.com ([210.160.252.174]:37811 "EHLO relmlie3.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S933557AbaE2HYo (ORCPT ); Thu, 29 May 2014 03:24:44 -0400 Received: from unknown (HELO relmlir1.idc.renesas.com) ([10.200.68.151]) by relmlie3.idc.renesas.com with ESMTP; 29 May 2014 16:24:43 +0900 Received: from relmlac2.idc.renesas.com (relmlac2.idc.renesas.com [10.200.69.22]) by relmlir1.idc.renesas.com (Postfix) with ESMTP id 778A645F39; Thu, 29 May 2014 16:24:43 +0900 (JST) Received: by relmlac2.idc.renesas.com (Postfix, from userid 0) id 6F27E280A6; Thu, 29 May 2014 16:24:43 +0900 (JST) Received: from relmlac2.idc.renesas.com (localhost [127.0.0.1]) by relmlac2.idc.renesas.com (Postfix) with ESMTP id 6A459280A0; Thu, 29 May 2014 16:24:43 +0900 (JST) Received: from relmlii1.idc.renesas.com [10.200.68.65] by relmlac2.idc.renesas.com with ESMTP id SBL07930; Thu, 29 May 2014 16:24:43 +0900 X-IronPort-AV: E=Sophos;i="4.98,932,1392130800"; d="scan'208";a="160872003" Received: from mail-hk1lp0118.outbound.protection.outlook.com (HELO APAC01-HK1-obe.outbound.protection.outlook.com) ([207.46.51.118]) by relmlii1.idc.renesas.com with ESMTP/TLS/AES128-SHA; 29 May 2014 16:24:42 +0900 Received: from [10.161.20.223] (211.11.155.147) by HKXPR06MB118.apcprd06.prod.outlook.com (10.242.122.144) with Microsoft SMTP Server (TLS) id 15.0.954.9; Thu, 29 May 2014 07:24:41 +0000 Message-ID: <5386E0B7.6090303@renesas.com> Date: Thu, 29 May 2014 16:24:39 +0900 From: keita kobayashi User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: CC: , Subject: [PATCH 2/3] ARM: shmobile: r8a7790: Support Core-Standby for Suspend to RAM X-Originating-IP: [211.11.155.147] X-ClientProxiedBy: HKNPR04CA018.apcprd04.prod.outlook.com (10.141.16.38) To HKXPR06MB118.apcprd06.prod.outlook.com (10.242.122.144) X-Forefront-PRVS: 022649CC2C X-Forefront-Antispam-Report: SFV:NSPM; SFS:(6009001)(6049001)(428001)(199002)(189002)(42186004)(76482001)(92566001)(47776003)(20776003)(64706001)(66066001)(80022001)(65956001)(86152002)(81542001)(65806001)(87976001)(85852003)(83072002)(74502001)(92726001)(23736002)(33656002)(81342001)(46102001)(79102001)(64126003)(54356999)(65816999)(87266999)(50986999)(83506001)(101416001)(21056001)(99396002)(102836001)(19580405001)(19580395003)(31966008)(83322001)(74662001)(4396001)(50466002)(36756003)(86362001)(77982001)(59896001); DIR:OUT; SFP:; SCL:1; SRVR:HKXPR06MB118; H:[10.161.20.223]; FPR:; MLV:sfv; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=keita.kobayashi.ym@renesas.com; X-OriginatorOrg: renesas.com Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add r8a7790 Core-Standby state for Suspend to RAM support. Signed-off-by: Keita Kobayashi --- arch/arm/mach-shmobile/smp-r8a7790.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-shmobile/smp-r8a7790.c b/arch/arm/mach-shmobile/smp-r8a7790.c index 5910527..1193f1e 100644 --- a/arch/arm/mach-shmobile/smp-r8a7790.c +++ b/arch/arm/mach-shmobile/smp-r8a7790.c @@ -69,6 +69,7 @@ static void __init r8a7790_smp_prepare_cpus(unsigned int max_cpus) /* turn on power to SCU */ r8a7790_pm_init(); + shmobile_smp_apmu_suspend_init(); rcar_sysc_power_up(&r8a7790_ca15_scu); rcar_sysc_power_up(&r8a7790_ca7_scu); }