From patchwork Mon Apr 6 03:50:41 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: keita kobayashi X-Patchwork-Id: 6162771 X-Patchwork-Delegate: horms@verge.net.au 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.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 5BB55BF4A6 for ; Mon, 6 Apr 2015 03:51:14 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 52E4D2044C for ; Mon, 6 Apr 2015 03:51:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 71F5D20439 for ; Mon, 6 Apr 2015 03:51:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752654AbbDFDvM (ORCPT ); Sun, 5 Apr 2015 23:51:12 -0400 Received: from relmlor3.renesas.com ([210.160.252.173]:10807 "EHLO relmlie2.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752643AbbDFDvL (ORCPT ); Sun, 5 Apr 2015 23:51:11 -0400 Received: from unknown (HELO relmlir1.idc.renesas.com) ([10.200.68.151]) by relmlie2.idc.renesas.com with ESMTP; 06 Apr 2015 12:51:09 +0900 Received: from relmlac3.idc.renesas.com (relmlac3.idc.renesas.com [10.200.69.23]) by relmlir1.idc.renesas.com (Postfix) with ESMTP id A3C9E49EF1; Mon, 6 Apr 2015 12:51:09 +0900 (JST) Received: by relmlac3.idc.renesas.com (Postfix, from userid 0) id 87B9A1806F; Mon, 6 Apr 2015 12:51:09 +0900 (JST) Received: from relmlac3.idc.renesas.com (localhost [127.0.0.1]) by relmlac3.idc.renesas.com (Postfix) with ESMTP id 80C261800A; Mon, 6 Apr 2015 12:51:09 +0900 (JST) Received: from relmlii1.idc.renesas.com [10.200.68.65] by relmlac3.idc.renesas.com with ESMTP id NAQ19482; Mon, 6 Apr 2015 12:51:09 +0900 X-IronPort-AV: E=Sophos;i="5.11,530,1422889200"; d="scan'208";a="183441508" Received: from mail-hk1lp0122.outbound.protection.outlook.com (HELO APAC01-HK1-obe.outbound.protection.outlook.com) ([207.46.51.122]) by relmlii1.idc.renesas.com with ESMTP/TLS/AES256-SHA; 06 Apr 2015 12:51:08 +0900 Received: from localhost (211.11.155.147) by SG2PR06MB0571.apcprd06.prod.outlook.com (25.161.11.14) with Microsoft SMTP Server (TLS) id 15.1.130.23; Mon, 6 Apr 2015 03:51:07 +0000 From: Keita Kobayashi To: , , CC: , , , Keita Kobayashi Subject: [RFC/PATCH 1/4] ARM: cpuidle: Add cpuidle support for R-Car Gen2 series Date: Mon, 6 Apr 2015 12:50:41 +0900 Message-ID: <1428292244-2160-2-git-send-email-keita.kobayashi.ym@renesas.com> X-Mailer: git-send-email 1.9.4.msysgit.2 In-Reply-To: <1428292244-2160-1-git-send-email-keita.kobayashi.ym@renesas.com> References: <1428292244-2160-1-git-send-email-keita.kobayashi.ym@renesas.com> MIME-Version: 1.0 X-Originating-IP: [211.11.155.147] X-ClientProxiedBy: TY1PR0201CA0035.apcprd02.prod.outlook.com (25.164.90.173) To SG2PR06MB0571.apcprd06.prod.outlook.com (25.161.11.14) Authentication-Results: verge.net.au; dkim=none (message not signed) header.d=none; X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:SG2PR06MB0571; X-Forefront-Antispam-Report: BMV:1; SFV:NSPM; SFS:(10019020)(6069001)(6009001)(42382002)(33646002)(76506005)(229853001)(48376002)(50466002)(42186005)(78352002)(36756003)(50986999)(122386002)(19580405001)(2950100001)(46102003)(19580395003)(76176999)(50226001)(92566002)(87976001)(2201001)(77156002)(66066001)(62966003)(47776003); DIR:OUT; SFP:1102; SCL:1; SRVR:SG2PR06MB0571; H:localhost; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(5002010)(5005006); SRVR:SG2PR06MB0571; BCL:0; PCL:0; RULEID:; SRVR:SG2PR06MB0571; X-Forefront-PRVS: 0538A71254 X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Apr 2015 03:51:07.5060 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: SG2PR06MB0571 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_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 Define ARM_RCAR_CPUIDLE config item to enable cpuidle support for Renesas R-Car Gen2 SoCs. Signed-off-by: Keita Kobayashi --- drivers/cpuidle/Kconfig.arm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drivers/cpuidle/Kconfig.arm b/drivers/cpuidle/Kconfig.arm index 21340e0..ea9d61e 100644 --- a/drivers/cpuidle/Kconfig.arm +++ b/drivers/cpuidle/Kconfig.arm @@ -74,3 +74,11 @@ config ARM_MVEBU_V7_CPUIDLE depends on ARCH_MVEBU && !ARM64 help Select this to enable cpuidle on Armada 370, 38x and XP processors. + +config ARM_RCAR_CPUIDLE + bool "CPU Idle Driver for the R-Car SoCs" + depends on ARCH_RCAR_GEN2 + select ARM_CPUIDLE + select ARM_CPU_SUSPEND + help + Select this to enable cpuidle for R-Car SoCs