From patchwork Fri May 30 09:01:17 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Abraham X-Patchwork-Id: 4269171 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id C48139F333 for ; Fri, 30 May 2014 09:05:08 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D3BF520382 for ; Fri, 30 May 2014 09:05:07 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id ED6E5202F8 for ; Fri, 30 May 2014 09:05:06 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WqIhZ-00029C-Jp; Fri, 30 May 2014 09:02:13 +0000 Received: from mail-pb0-x22b.google.com ([2607:f8b0:400e:c01::22b]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WqIhO-0001hE-49 for linux-arm-kernel@lists.infradead.org; Fri, 30 May 2014 09:02:02 +0000 Received: by mail-pb0-f43.google.com with SMTP id up15so1513684pbc.16 for ; Fri, 30 May 2014 02:01:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=IzyeeMrrgHXusNl6ggvP2NP/wR8JKV/0PY6ou0qBJPg=; b=lwo8H50SoKYCYpKMOvR9jp4s8dVDPCbfIsmSPAicNEcE0PY12tm7rUKLLzw9o8rGRE 3e1RVGsIANW00zq7ACHR8rnkUvC+IfXLKCNIiQYXVyopSShflzuChiHLUYVirBSgHRn/ KdRx27LlAYzPmK26Y9Sil6/4aca0ftf6X3LKJHvbCUcMZ1WCD8LTev1skdxZ9AThS1OL xQ8kFE78vrNM1N1VGz2i5XWM40+Z9ptyUWKMb2jWYq6hGpa1zwmxvLnLKeFQB1oDul1l 1qhZRXRarOVZcF7pRg8y09fdby++bzEQJXB7c1rCG64l8zXuvoixLrj+rgY8Pyyow5ki cG8w== X-Received: by 10.68.215.68 with SMTP id og4mr16597801pbc.112.1401440500853; Fri, 30 May 2014 02:01:40 -0700 (PDT) Received: from user-ubuntu.sisodomain.com ([14.140.216.146]) by mx.google.com with ESMTPSA id mt1sm5263225pbb.31.2014.05.30.02.01.35 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 30 May 2014 02:01:40 -0700 (PDT) From: Thomas Abraham To: linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v6 2/2] Documentation: devicetree: Add boost-frequency binding to list boost mode frequency Date: Fri, 30 May 2014 14:31:17 +0530 Message-Id: <1401440477-4328-3-git-send-email-thomas.ab@samsung.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1401440477-4328-1-git-send-email-thomas.ab@samsung.com> References: <1401440477-4328-1-git-send-email-thomas.ab@samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140530_020202_185136_37E0E372 X-CRM114-Status: GOOD ( 11.42 ) X-Spam-Score: 0.0 (/) Cc: nm@ti.com, Mark Rutland , l.majewski@samsung.com, kgene.kim@samsung.com, Pawel Moll , Ian Campbell , viresh.kumar@linaro.org, t.figa@samsung.com, rjw@rjwysocki.net, Rob Herring , linux-samsung-soc@vger.kernel.org, thomas.ab@samsung.com, Kumar Gala 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=-2.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, 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 From: Thomas Abraham Add a new optional boost-frequency binding for specifying the frequencies usable in boost mode. Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc: Ian Campbell Cc: Kumar Gala Signed-off-by: Thomas Abraham Acked-by: Viresh Kumar Acked-by: Nishanth Menon Acked-by: Lukasz Majewski --- .../devicetree/bindings/cpufreq/cpufreq-boost.txt | 38 ++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 Documentation/devicetree/bindings/cpufreq/cpufreq-boost.txt diff --git a/Documentation/devicetree/bindings/cpufreq/cpufreq-boost.txt b/Documentation/devicetree/bindings/cpufreq/cpufreq-boost.txt new file mode 100644 index 0000000..63ed0fc --- /dev/null +++ b/Documentation/devicetree/bindings/cpufreq/cpufreq-boost.txt @@ -0,0 +1,38 @@ +* Device tree binding for CPU boost frequency (aka over-clocking) + +Certain CPU's can be operated in optional 'boost' mode (or sometimes referred as +overclocking) in which the CPU can operate at frequencies which are not +specified by the manufacturer as CPU's operating frequency. + +Optional Properties: +- boost-frequencies: list of frequencies in KHz to be used only in boost mode. + This list should be a subset of frequencies listed in "operating-points" + property. Refer to Documentation/devicetree/bindings/power/opp.txt for + details about "operating-points" property. + +Example: + + cpus { + #address-cells = <1>; + #size-cells = <0>; + cpu@0 { + device_type = "cpu"; + compatible = "arm,cortex-a9"; + reg = <0>; + + operating-points = < + 1500000 1350000 + 1400000 1287500 + 1300000 1250000 + 1200000 1187500 + 1100000 1137500 + 1000000 1087500 + >; + boost-frequencies = <1500000 1400000>; + }; + cpu@1 { + device_type = "cpu"; + compatible = "arm,cortex-a9"; + reg = <1>; + }; + };