From patchwork Tue Mar 4 10:27:32 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Majewski X-Patchwork-Id: 3760761 Return-Path: X-Original-To: patchwork-linux-pm@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 D0B5E9F376 for ; Tue, 4 Mar 2014 10:29:21 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0B5432041C for ; Tue, 4 Mar 2014 10:29:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D69762042B for ; Tue, 4 Mar 2014 10:29:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756979AbaCDK2Y (ORCPT ); Tue, 4 Mar 2014 05:28:24 -0500 Received: from mailout2.samsung.com ([203.254.224.25]:9852 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756954AbaCDK2S (ORCPT ); Tue, 4 Mar 2014 05:28:18 -0500 Received: from epcpsbgm1.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N1W000LOQF5DC00@mailout2.samsung.com>; Tue, 04 Mar 2014 19:28:17 +0900 (KST) X-AuditID: cbfee61a-b7fb26d00000724f-ed-5315aac1cfdd Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 58.48.29263.1CAA5135; Tue, 04 Mar 2014 19:28:17 +0900 (KST) Received: from mcdsrvbld02.digital.local ([106.116.37.23]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0N1W00NZ9QDY2U40@mmp1.samsung.com>; Tue, 04 Mar 2014 19:28:16 +0900 (KST) From: Lukasz Majewski To: Viresh Kumar , "Rafael J. Wysocki" Cc: "cpufreq@vger.kernel.org" , Linux PM list , Jonghwa Lee , Lukasz Majewski , Lukasz Majewski , linux-kernel , Bartlomiej Zolnierkiewicz , Myungjoo Ham , Tomasz Figa , Thomas Abraham , thomas.ab@samsung.com, "linux-arm-kernel@lists.infradead.org" , linux-samsung-soc@vger.kernel.org Subject: [RFC v3 5/5] cpufreq:LAB:dts:trats2: Add DTS nodes for LAB governor Date: Tue, 04 Mar 2014 11:27:32 +0100 Message-id: <1393928852-22725-6-git-send-email-l.majewski@samsung.com> X-Mailer: git-send-email 1.7.10.4 In-reply-to: <1393928852-22725-1-git-send-email-l.majewski@samsung.com> References: <1367590072-10496-1-git-send-email-jonghwa3.lee@samsung.com> <1393928852-22725-1-git-send-email-l.majewski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrCLMWRmVeSWpSXmKPExsVy+t9jAd2Dq0SDDaa3s1tsnLGe1eJp0w92 i86zT5gt3jzitnjzcDOjxabH11gtLu+aw2bxufcIo8WM8/uYLG43rmCzOHP6EqvF+hmvWSw2 T9jIZtGxjNFi41cPB36PnbPusnvcubaHzWPzknqPddPeMntsudrO4tG3ZRWjx+dNcgHsUVw2 Kak5mWWpRfp2CVwZ3ROWsBTs5a241DyDpYHxCmcXIyeHhICJxIl/x5ggbDGJC/fWs3UxcnEI CSxilDiyvJkFwulikrj0+gQrSBWbgJ7E57tPwTpEBEIljk79yg5SxCxwhkXi7YvdYEXCAj4S DyftZwexWQRUJfrmP2UDsXkF3CR6j15lgVinKNH9bAJYnFPAXeL4imZmiG2tjBKXd95gmsDI u4CRYRWjaGpBckFxUnquoV5xYm5xaV66XnJ+7iZGcNg+k9rBuLLB4hCjAAejEg/vjGkiwUKs iWXFlbmHGCU4mJVEeBUXigYL8aYkVlalFuXHF5XmpBYfYpTmYFES5z3Qah0oJJCeWJKanZpa kFoEk2Xi4JRqYFwdyhDgHh5mt3sSg+b+0uf77lZt33DuchfD9ynrXAueFua0sInI9Vy/v9b/ wZQrRy/MfOgj8d3Mt+Pu7Qa5hG/zu9WuPvmi9UzIOtWhZom7DmNRTcl206qwfs+jC+w+tlo+ ia8KMxe/pzwjcUPzbzse1flLJ2rXhFwxsTqw/x5r+URWtZYXxUosxRmJhlrMRcWJAMP39MFX AgAA Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Spam-Status: No, score=-3.9 required=5.0 tests=BAYES_00,KHOP_BIG_TO_CC, RCVD_IN_DNSWL_HI, 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 Adds LAB attributes to proper CPU0 node. The lab-num-of-states attribute shows how many compartments will be used. The LAB code is prepared to be more fine grained. The lab-ctrl-freq defines how the LAB governor will be controlled: - 0xFFFFFFFE - use the minimal frequency - 0xFFFFFFFF - enable boost - non zero - set the frequency specified - zero - use ondemand to specify output frequency Signed-off-by: Lukasz Majewski Signed-off-by: MyungJoo Ham --- arch/arm/boot/dts/exynos4412-trats2.dts | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/arch/arm/boot/dts/exynos4412-trats2.dts b/arch/arm/boot/dts/exynos4412-trats2.dts index 4f851cc..9eeeb38 100644 --- a/arch/arm/boot/dts/exynos4412-trats2.dts +++ b/arch/arm/boot/dts/exynos4412-trats2.dts @@ -511,6 +511,35 @@ }; }; + cpus { + cpu@0 { + compatible = "arm,cortex-a9"; + device_type = "cpu"; + lab-num-of-states = <5>; + lab-ctrl-freq = < 0 0 0 1300000 1200000 + 0 0 0 0 1300000 + 0 0 0 0 0xFFFFFFFF + 0 0 0 0xFFFFFFFF 0xFFFFFFFF + 0xFFFFFFFE 0xFFFFFFFE 0xFFFFFFFE 0xFFFFFFFE 0xFFFFFFFE + >; + }; + + cpu@1 { + compatible = "arm,cortex-a9"; + device_type = "cpu"; + }; + + cpu@2 { + compatible = "arm,cortex-a9"; + device_type = "cpu"; + }; + + cpu@3 { + compatible = "arm,cortex-a9"; + device_type = "cpu"; + }; + }; + camera { pinctrl-0 = <&cam_port_b_clk_active>; pinctrl-names = "default";