From patchwork Fri May 23 13:37:42 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Abraham X-Patchwork-Id: 4232821 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 AF7BEBF90B for ; Fri, 23 May 2014 13:40:53 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C24922039C for ; Fri, 23 May 2014 13:40:52 +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 E56CC203AA for ; Fri, 23 May 2014 13:40:51 +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 1WnpgY-0006Ft-Hy; Fri, 23 May 2014 13:38:58 +0000 Received: from mail-pd0-x22c.google.com ([2607:f8b0:400e:c02::22c]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WnpgL-00064z-T9 for linux-arm-kernel@lists.infradead.org; Fri, 23 May 2014 13:38:46 +0000 Received: by mail-pd0-f172.google.com with SMTP id x10so2569749pdj.3 for ; Fri, 23 May 2014 06:38:24 -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=Tu/3iJSqVP8JForp06P9IOitfY5z+LPzKA4SE2EfnDI=; b=B1rVVNniYvrwhNmXYQFFCjM+nIYJkmcNGsgg6U9Ai9+QIFs9FoevSjEPaREkYxghl2 ZGEupuCnLOr66tvwpwkZEzt6OJYrlYoXrM7CxrIT3kq9U0iDfEdNmzDyKwQ5Hc9wW+f7 xXCE51KwRbPNctlXJDW5bAlrXoQvus1rlJddjffzBL+TT1zerAjeDpbf0jac5R+d4HKZ ErD1qE679YkvoCCgXh5PBsGrjjHmo+OM17u0BFbRa1OPIcsW1gnF5zJgDmhDLpPx0MP5 2BY2c7dB+uvgPQ/oTN4253XxuvADjNOZWNDmKzEPxEK23yIZRgrKkR94JIloAkf+0MAa co1g== X-Received: by 10.66.242.204 with SMTP id ws12mr6179858pac.10.1400852303995; Fri, 23 May 2014 06:38:23 -0700 (PDT) Received: from user-ubuntu.sisodomain.com ([14.140.216.146]) by mx.google.com with ESMTPSA id kj1sm4775966pbd.20.2014.05.23.06.38.18 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 23 May 2014 06:38:23 -0700 (PDT) From: Thomas Abraham To: linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v4 2/2] Documentation: devicetree: Add boost-frequency binding to list boost mode frequency Date: Fri, 23 May 2014 19:07:42 +0530 Message-Id: <1400852262-6290-3-git-send-email-thomas.ab@samsung.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1400852262-6290-1-git-send-email-thomas.ab@samsung.com> References: <1400852262-6290-1-git-send-email-thomas.ab@samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140523_063845_961422_C210526A X-CRM114-Status: GOOD ( 11.30 ) 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: Nishanth Menon Cc: Lukasz Majewski Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc: Ian Campbell Cc: Kumar Gala Signed-off-by: Thomas Abraham Acked-by: Viresh Kumar --- .../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>; + }; + };