From patchwork Mon Apr 6 03:50:43 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: keita kobayashi X-Patchwork-Id: 6162811 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 7D27DBF4A6 for ; Mon, 6 Apr 2015 03:51:44 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id AB70D20450 for ; Mon, 6 Apr 2015 03:51:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C340C2044B for ; Mon, 6 Apr 2015 03:51:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752688AbbDFDvm (ORCPT ); Sun, 5 Apr 2015 23:51:42 -0400 Received: from relmlor4.renesas.com ([210.160.252.174]:19258 "EHLO relmlie3.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752687AbbDFDvl (ORCPT ); Sun, 5 Apr 2015 23:51:41 -0400 Received: from unknown (HELO relmlir2.idc.renesas.com) ([10.200.68.152]) by relmlie3.idc.renesas.com with ESMTP; 06 Apr 2015 12:51:40 +0900 Received: from relmlac4.idc.renesas.com (relmlac4.idc.renesas.com [10.200.69.24]) by relmlir2.idc.renesas.com (Postfix) with ESMTP id 6643B46AD7; Mon, 6 Apr 2015 12:51:40 +0900 (JST) Received: by relmlac4.idc.renesas.com (Postfix, from userid 0) id 4ACC6480A3; Mon, 6 Apr 2015 12:51:40 +0900 (JST) Received: from relmlac4.idc.renesas.com (localhost [127.0.0.1]) by relmlac4.idc.renesas.com (Postfix) with ESMTP id 4259E48014; Mon, 6 Apr 2015 12:51:40 +0900 (JST) Received: from relmlii2.idc.renesas.com [10.200.68.66] by relmlac4.idc.renesas.com with ESMTP id NAB32549; Mon, 6 Apr 2015 12:51:40 +0900 X-IronPort-AV: E=Sophos;i="5.11,530,1422889200"; d="scan'208";a="184587755" Received: from mail-hk1lp0119.outbound.protection.outlook.com (HELO APAC01-HK1-obe.outbound.protection.outlook.com) ([207.46.51.119]) by relmlii2.idc.renesas.com with ESMTP/TLS/AES256-SHA; 06 Apr 2015 12:51:39 +0900 Received: from localhost (211.11.155.147) by SG2PR06MB0569.apcprd06.prod.outlook.com (25.161.11.13) with Microsoft SMTP Server (TLS) id 15.1.130.23; Mon, 6 Apr 2015 03:51:38 +0000 From: Keita Kobayashi To: , , CC: , , , Keita Kobayashi Subject: [RFC/PATCH 3/4] ARM: shmobile: dtsi: Add cpuidle parameters into each cpu for r8a7791 Date: Mon, 6 Apr 2015 12:50:43 +0900 Message-ID: <1428292244-2160-4-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: TY1PR0201CA0003.apcprd02.prod.outlook.com (25.164.90.141) To SG2PR06MB0569.apcprd06.prod.outlook.com (25.161.11.13) Authentication-Results: verge.net.au; dkim=none (message not signed) header.d=none; X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:SG2PR06MB0569; X-Microsoft-Antispam-PRVS: X-Forefront-Antispam-Report: BMV:1; SFV:NSPM; SFS:(10019020)(6069001)(6009001)(78352002)(62966003)(76506005)(2950100001)(46102003)(42186005)(33646002)(92566002)(36756003)(77156002)(50986999)(19580405001)(76176999)(122386002)(229853001)(42382002)(50466002)(50226001)(19580395003)(2201001)(48376002)(66066001)(47776003)(87976001); DIR:OUT; SFP:1102; SCL:1; SRVR:SG2PR06MB0569; 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:SG2PR06MB0569; BCL:0; PCL:0; RULEID:; SRVR:SG2PR06MB0569; X-Forefront-PRVS: 0538A71254 X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Apr 2015 03:51:38.5079 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: SG2PR06MB0569 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 This patch add enable-method node and idle-states node for r8a7791. Signed-off-by: Keita Kobayashi --- arch/arm/boot/dts/r8a7791.dtsi | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/r8a7791.dtsi b/arch/arm/boot/dts/r8a7791.dtsi index 4696062..fd17866 100644 --- a/arch/arm/boot/dts/r8a7791.dtsi +++ b/arch/arm/boot/dts/r8a7791.dtsi @@ -46,11 +46,13 @@ cpu0: cpu@0 { device_type = "cpu"; compatible = "arm,cortex-a15"; + enable-method = "renesas,rcar-idle"; reg = <0>; clock-frequency = <1500000000>; voltage-tolerance = <1>; /* 1% */ clocks = <&cpg_clocks R8A7791_CLK_Z>; clock-latency = <300000>; /* 300 us */ + cpu-idle-states = <&CORE_STANDBY>; /* kHz - uV - OPPs unknown yet */ operating-points = <1500000 1000000>, @@ -64,8 +66,19 @@ cpu1: cpu@1 { device_type = "cpu"; compatible = "arm,cortex-a15"; + enable-method = "renesas,rcar-idle"; reg = <1>; clock-frequency = <1500000000>; + cpu-idle-states = <&CORE_STANDBY>; + }; + + idle-states { + CORE_STANDBY: CoreStandby { + compatible = "arm,idle-state"; + entry-latency-us = <500>; + exit-latency-us = <2300>; + min-residency-us = <2800>; + }; }; };