From patchwork Thu Apr 16 10:35:39 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: keita kobayashi X-Patchwork-Id: 6225281 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 EE666BF4A6 for ; Thu, 16 Apr 2015 10:55:02 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 341E0201CE for ; Thu, 16 Apr 2015 10:55:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 53DA12024D for ; Thu, 16 Apr 2015 10:55:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754440AbbDPKy6 (ORCPT ); Thu, 16 Apr 2015 06:54:58 -0400 Received: from relmlor3.renesas.com ([210.160.252.173]:20033 "EHLO relmlie2.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753668AbbDPKyy (ORCPT ); Thu, 16 Apr 2015 06:54:54 -0400 Received: from unknown (HELO relmlir4.idc.renesas.com) ([10.200.68.154]) by relmlie2.idc.renesas.com with ESMTP; 16 Apr 2015 19:36:11 +0900 Received: from relmlac3.idc.renesas.com (relmlac3.idc.renesas.com [10.200.69.23]) by relmlir4.idc.renesas.com (Postfix) with ESMTP id 0599B4C6D8; Thu, 16 Apr 2015 19:36:11 +0900 (JST) Received: by relmlac3.idc.renesas.com (Postfix, from userid 0) id E4FF71806F; Thu, 16 Apr 2015 19:36:10 +0900 (JST) Received: from relmlac3.idc.renesas.com (localhost [127.0.0.1]) by relmlac3.idc.renesas.com (Postfix) with ESMTP id DD9A81800A; Thu, 16 Apr 2015 19:36:10 +0900 (JST) Received: from relmlii1.idc.renesas.com [10.200.68.65] by relmlac3.idc.renesas.com with ESMTP id VBX20484; Thu, 16 Apr 2015 19:36:10 +0900 X-IronPort-AV: E=Sophos;i="5.11,587,1422889200"; d="scan'208";a="184206461" Received: from mail-sg1lp0090.outbound.protection.outlook.com (HELO APAC01-SG1-obe.outbound.protection.outlook.com) ([207.46.51.90]) by relmlii1.idc.renesas.com with ESMTP/TLS/AES256-SHA; 16 Apr 2015 19:36:09 +0900 Authentication-Results: verge.net.au; dkim=none (message not signed) header.d=none; Received: from localhost (211.11.155.147) by HKXPR06MB0568.apcprd06.prod.outlook.com (25.161.177.146) with Microsoft SMTP Server (TLS) id 15.1.136.25; Thu, 16 Apr 2015 10:36:08 +0000 From: Keita Kobayashi To: , , CC: , , , , Keita Kobayashi Subject: [RFC/PATCH v2 4/5] ARM: shmobile: dtsi: Add cpuidle parameters into each cpu for r8a7791 Date: Thu, 16 Apr 2015 19:35:39 +0900 Message-ID: <1429180540-5692-5-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: KAWPR01CA0004.jpnprd01.prod.outlook.com (25.161.24.14) To HKXPR06MB0568.apcprd06.prod.outlook.com (25.161.177.146) X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:HKXPR06MB0568; X-Microsoft-Antispam-PRVS: X-Forefront-Antispam-Report: BMV:1; SFV:NSPM; SFS:(10019020)(6009001)(6069001)(2950100001)(42186005)(62966003)(77156002)(122386002)(229853001)(76506005)(19580405001)(19580395003)(33646002)(50226001)(87976001)(40100003)(2201001)(50986999)(76176999)(78352002)(36756003)(92566002)(66066001)(50466002)(42382002)(47776003)(46102003)(4001410100001)(48376002)(4001430100001); DIR:OUT; SFP:1102; SCL:1; SRVR:HKXPR06MB0568; 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:HKXPR06MB0568; BCL:0; PCL:0; RULEID:; SRVR:HKXPR06MB0568; X-Forefront-PRVS: 0548586081 X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Apr 2015 10:36:08.9045 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: HKXPR06MB0568 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=unavailable 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 3e9f824..0063615 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>; + }; }; };