From patchwork Thu May 29 14:38:39 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Abraham X-Patchwork-Id: 4265661 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 DB1B1BEEA7 for ; Thu, 29 May 2014 14:42:08 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1160D2010F for ; Thu, 29 May 2014 14:42:08 +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 BDBD22034C for ; Thu, 29 May 2014 14:42: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 1Wq1Uc-0005sx-6t; Thu, 29 May 2014 14:39:42 +0000 Received: from mail-pa0-x22b.google.com ([2607:f8b0:400e:c03::22b]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Wq1UO-0005or-On for linux-arm-kernel@lists.infradead.org; Thu, 29 May 2014 14:39:29 +0000 Received: by mail-pa0-f43.google.com with SMTP id hz1so460179pad.30 for ; Thu, 29 May 2014 07:39:07 -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=gPc0lRygUrmatA4a+0aIn4ivWPefwbuhldqtgrphRTo=; b=cWKyeRjPqAQ9FDc5/aOCOgTtDbs3dZSxiYXqKUFPotNP29P5I2BKn872AuQjVR0xct j7GWJP2JrqImC3j58KI8QWcihVJIjZ9Ofe6xopaOEOy6p7Xcx6lq3077i67a1knYBIxq f/npvRrKrL2/4Pjep3VlmMNxHuqPvqo+nYek//yYgl79Ih6evpvu+mUw9AenvbtOpuO0 A5bqaTWN3DxmrtGYS45lOiUT6ycuoNBNKe8QLDmwTE7/ucOQ/quxmIMNKmYh9Ry+irHI /Qdps/4zXaxH9LpwlXU2wa1bX+JnchivaFox5CQZckAFqAr1FVXv5okPna1tq5vBTM2g OE7Q== X-Received: by 10.66.226.145 with SMTP id rs17mr9302023pac.144.1401374347561; Thu, 29 May 2014 07:39:07 -0700 (PDT) Received: from user-ubuntu.sisodomain.com ([14.140.216.146]) by mx.google.com with ESMTPSA id nh8sm1602473pbc.25.2014.05.29.07.39.02 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 29 May 2014 07:39:06 -0700 (PDT) From: Thomas Abraham To: linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v5 2/2] Documentation: devicetree: Add boost-frequency binding to list boost mode frequency Date: Thu, 29 May 2014 20:08:39 +0530 Message-Id: <1401374319-4480-3-git-send-email-thomas.ab@samsung.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1401374319-4480-1-git-send-email-thomas.ab@samsung.com> References: <1401374319-4480-1-git-send-email-thomas.ab@samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140529_073928_843785_42EFC8FC X-CRM114-Status: GOOD ( 11.66 ) X-Spam-Score: 0.0 (/) Cc: Nishanth Menon , 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 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>; + }; + };