From patchwork Thu Apr 16 10:35:36 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: keita kobayashi X-Patchwork-Id: 6225251 Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 202289F313 for ; Thu, 16 Apr 2015 10:54:59 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3E601201CE for ; Thu, 16 Apr 2015 10:54:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5974C2024D for ; Thu, 16 Apr 2015 10:54:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753207AbbDPKy4 (ORCPT ); Thu, 16 Apr 2015 06:54:56 -0400 Received: from relmlor3.renesas.com ([210.160.252.173]:55696 "EHLO relmlie2.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751787AbbDPKyy (ORCPT ); Thu, 16 Apr 2015 06:54:54 -0400 Received: from unknown (HELO relmlir1.idc.renesas.com) ([10.200.68.151]) by relmlie2.idc.renesas.com with ESMTP; 16 Apr 2015 19:35:53 +0900 Received: from relmlac2.idc.renesas.com (relmlac2.idc.renesas.com [10.200.69.22]) by relmlir1.idc.renesas.com (Postfix) with ESMTP id 61E6B50EAB; Thu, 16 Apr 2015 19:35:53 +0900 (JST) Received: by relmlac2.idc.renesas.com (Postfix, from userid 0) id 52D112806E; Thu, 16 Apr 2015 19:35:53 +0900 (JST) Received: from relmlac2.idc.renesas.com (localhost [127.0.0.1]) by relmlac2.idc.renesas.com (Postfix) with ESMTP id 4D5282806D; Thu, 16 Apr 2015 19:35:53 +0900 (JST) Received: from relmlii2.idc.renesas.com [10.200.68.66] by relmlac2.idc.renesas.com with ESMTP id VAJ27052; Thu, 16 Apr 2015 19:35:53 +0900 X-IronPort-AV: E=Sophos;i="5.11,587,1422889200"; d="scan'208";a="185358071" Received: from mail-hk1lp0126.outbound.protection.outlook.com (HELO APAC01-HK1-obe.outbound.protection.outlook.com) ([207.46.51.126]) by relmlii2.idc.renesas.com with ESMTP/TLS/AES256-SHA; 16 Apr 2015 19:35:52 +0900 Authentication-Results: verge.net.au; dkim=none (message not signed) header.d=none; Received: from localhost (211.11.155.147) by HKXPR06MB0566.apcprd06.prod.outlook.com (25.161.177.144) with Microsoft SMTP Server (TLS) id 15.1.136.25; Thu, 16 Apr 2015 10:35:50 +0000 From: Keita Kobayashi To: , , CC: , , , , Keita Kobayashi Subject: [RFC/PATCH v2 1/5] ARM: cpuidle: Add cpuidle support for R-Car Gen2 series Date: Thu, 16 Apr 2015 19:35:36 +0900 Message-ID: <1429180540-5692-2-git-send-email-keita.kobayashi.ym@renesas.com> X-Mailer: git-send-email 1.9.4.msysgit.2 In-Reply-To: <1429180540-5692-1-git-send-email-keita.kobayashi.ym@renesas.com> References: <1429180540-5692-1-git-send-email-keita.kobayashi.ym@renesas.com> MIME-Version: 1.0 X-Originating-IP: [211.11.155.147] X-ClientProxiedBy: KAWPR01CA0010.jpnprd01.prod.outlook.com (25.161.24.20) To HKXPR06MB0566.apcprd06.prod.outlook.com (25.161.177.144) X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:HKXPR06MB0566; X-Microsoft-Antispam-PRVS: X-Forefront-Antispam-Report: BMV:1; SFV:NSPM; SFS:(10019020)(6009001)(6069001)(19580405001)(87976001)(46102003)(78352002)(19580395003)(2201001)(62966003)(77156002)(4001410100001)(42186005)(92566002)(33646002)(2950100001)(122386002)(50226001)(76506005)(76176999)(42382002)(47776003)(229853001)(66066001)(40100003)(48376002)(36756003)(50986999)(50466002)(4001430100001); DIR:OUT; SFP:1102; SCL:1; SRVR:HKXPR06MB0566; H:localhost; FPR:; SPF:None; MLV:sfv; LANG:en; X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(5005006)(5002010); SRVR:HKXPR06MB0566; BCL:0; PCL:0; RULEID:; SRVR:HKXPR06MB0566; X-Forefront-PRVS: 0548586081 X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Apr 2015 10:35:50.9974 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: HKXPR06MB0566 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..1bff62e 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 + depends on ARM_CPUIDLE + select ARM_CPU_SUSPEND + help + Select this to enable cpuidle for R-Car SoCs