From patchwork Sun Jul 7 14:51:02 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Shiyan X-Patchwork-Id: 2824581 Return-Path: X-Original-To: patchwork-linux-arm@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 50C7AC0AB2 for ; Sun, 7 Jul 2013 14:51:55 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7699020122 for ; Sun, 7 Jul 2013 14:51:54 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C990B2012F for ; Sun, 7 Jul 2013 14:51:52 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UvqJY-0005Kt-Fa; Sun, 07 Jul 2013 14:51:48 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UvqJV-0007nM-LZ; Sun, 07 Jul 2013 14:51:45 +0000 Received: from smtp44.i.mail.ru ([94.100.177.104]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UvqJS-0007n3-7x for linux-arm-kernel@lists.infradead.org; Sun, 07 Jul 2013 14:51:43 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail2; h=Message-Id:Date:Subject:Cc:To:From; bh=zqEQYHj3XMeL1+JTpkduPr5hz7waUqkThMn3V10mvZo=; b=lQa+xcP2BetRnR5JbqeFsPLLGn8NdlzE0SqBK6owGMoUqaXl3Z/uuYGz0Aky0zWYIue3G83wHdP+UYohx92o4VrLYWr1H9bfwsHnX/wE6QmBiEOPpMtuE1WgrWqsu61nfiGWVFKfWXsaD/JK/tOlc9iYMuVA+WA6V2RISHvL5oU=; Received: from [188.134.40.128] (port=33176 helo=shc.zet) by smtp44.i.mail.ru with esmtpa (envelope-from ) id 1UvqJ5-000336-3Q; Sun, 07 Jul 2013 18:51:19 +0400 From: Alexander Shiyan To: linux-arm-kernel@lists.infradead.org Subject: [RFC] ARM: dts: imx27: Add core voltages Date: Sun, 7 Jul 2013 18:51:02 +0400 Message-Id: <1373208662-7350-1-git-send-email-shc_work@mail.ru> X-Mailer: git-send-email 1.8.1.5 X-Mras: Ok X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130707_105142_751618_02F27D40 X-CRM114-Status: UNSURE ( 8.44 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.0 (--) Cc: Sascha Hauer , Shawn Guo , Alexander Shiyan X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID, 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 adds core voltages for i.MX27 CPUs. Only 266 and 400 MHz modes is documented in the datasheet, we add a 266 MHz frequency for conform this. For 133 MHz CPU frequency minimal voltage is used (1.2V). Signed-off-by: Alexander Shiyan --- arch/arm/boot/dts/imx27.dtsi | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/imx27.dtsi b/arch/arm/boot/dts/imx27.dtsi index a587294..c9bacca 100644 --- a/arch/arm/boot/dts/imx27.dtsi +++ b/arch/arm/boot/dts/imx27.dtsi @@ -57,13 +57,15 @@ device_type = "cpu"; compatible = "arm,arm926ej-s"; operating-points = < - /* kHz uV (No regulator support) */ - 133000 0 - 399000 0 + /* kHz uV */ + 133000 1200000 + 266000 1300000 + 399000 1450000 >; clock-latency = <61036>; /* two CLK32 periods */ clocks = <&clks 18>; clock-names = "cpu"; + voltage-tolerance = <1>; }; };