From patchwork Fri Jun 13 06:08:13 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanwoo Choi X-Patchwork-Id: 4346981 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 20D839F4BC for ; Fri, 13 Jun 2014 06:11:22 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 43B6920222 for ; Fri, 13 Jun 2014 06:11:21 +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 42A872024C for ; Fri, 13 Jun 2014 06:11:20 +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 1WvKfp-0002Ui-MT; Fri, 13 Jun 2014 06:09:13 +0000 Received: from mailout3.samsung.com ([203.254.224.33]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WvKfZ-0002OA-Sc for linux-arm-kernel@lists.infradead.org; Fri, 13 Jun 2014 06:08:59 +0000 Received: from epcpsbgr3.samsung.com (u143.gpu120.samsung.co.kr [203.254.230.143]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N7300CRAFQ0FQD0@mailout3.samsung.com> for linux-arm-kernel@lists.infradead.org; Fri, 13 Jun 2014 15:08:25 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.112]) by epcpsbgr3.samsung.com (EPCPMTA) with SMTP id 6C.B4.14704.8559A935; Fri, 13 Jun 2014 15:08:24 +0900 (KST) X-AuditID: cbfee68f-b7fef6d000003970-6e-539a95585f3f Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 45.A9.08203.8559A935; Fri, 13 Jun 2014 15:08:24 +0900 (KST) Received: from chan.10.32.193.11 ([10.252.81.195]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0N730010DFPWDAG0@mmp1.samsung.com>; Fri, 13 Jun 2014 15:08:24 +0900 (KST) From: Chanwoo Choi To: cpufreq@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 4/4] ARM: dts: Exynos: Add cpu clock table and armclk divider table for Exynos3250 Date: Fri, 13 Jun 2014 15:08:13 +0900 Message-id: <1402639693-31108-5-git-send-email-cw00.choi@samsung.com> X-Mailer: git-send-email 1.8.0 In-reply-to: <1402639693-31108-1-git-send-email-cw00.choi@samsung.com> References: <1402639693-31108-1-git-send-email-cw00.choi@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFuplkeLIzCtJLcpLzFFi42JZI2JSoBsxdVawwb13lhZPm36wW1z/8pzV 4v+j16wWvQuuslmcbXrDbrHp8TVWixnn9zFZPJ1wkc3i6bolzBbrZ7xmsehYxmix8auHA4/H nWt72Dw2L6n36NuyitFj+7V5zB6fN8kFsEZx2aSk5mSWpRbp2yVwZUycblSwi6fi0uolzA2M Uzm7GDk5JARMJPbuf88CYYtJXLi3nq2LkYtDSGApo8SK9T2MMEWda2ewQCQWMUq86W9lh3Ca mCQWNf1lB6liE9CS2P/iBhuILSLgKPH00VSwDmaBb4wSjf+fs4IkhAVSJBbu6AVrYBFQlWhf 8AtsBa+Aq8Teb6+g7pCT+LDnEVgNp4CbxIXtR8BqhIBqbq4/CTZUQmAfu0Tf9zfMEIMEJL5N PgSU4ABKyEpsOsAMMUdS4uCKGywTGIUXMDKsYhRNLUguKE5KLzLWK07ML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kyRyRH9Ka23qHzqzGO5f09Uu7G3Hz55Ndfv1J33cxe+7mvouuoX+HtT4amZ0btKdgs+ jz5/h8HBde6psnmnz5+4m9OUHWX0Zraw5qO7t5MCW787BBtP80k+kbvH/Ov2373vX87ebPbZ dKWjxZ+HskosxRmJhlrMRcWJAOO2qS79AgAA DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140612_230858_090935_1FB57E0F X-CRM114-Status: UNSURE ( 7.90 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -5.7 (-----) Cc: kgene.kim@samsung.com, mturquette@linaro.org, heiko@sntech.de, viresh.kumar@linaro.org, t.figa@samsung.com, cw00.choi@samsung.com, kyungmin.park@samsung.com, linux-samsung-soc@vger.kernel.org, thomas.ab@samsung.com, shawn.guo@linaro.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 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.5 required=5.0 tests=BAYES_00,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 This patch add cpu clock table and armclk divier table to support generic cpufreq-cpu0 driver for Exynos3250. Cc: Tomas Abraham Cc: Tomasz Figa Signed-off-by: Chanwoo Choi Acked-by: Kyungmin Park --- arch/arm/boot/dts/exynos3250.dtsi | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/arch/arm/boot/dts/exynos3250.dtsi b/arch/arm/boot/dts/exynos3250.dtsi index 3e678fa..df0efd0 100644 --- a/arch/arm/boot/dts/exynos3250.dtsi +++ b/arch/arm/boot/dts/exynos3250.dtsi @@ -50,6 +50,21 @@ compatible = "arm,cortex-a7"; reg = <0>; clock-frequency = <1000000000>; + clocks = <&cmu CLK_DIV_CORE2>; + clock-names = "cpu"; + + operating-points = < + 1000000 1150000 + 900000 1112500 + 800000 1075000 + 700000 1037500 + 600000 1000000 + 500000 962500 + 400000 925000 + 300000 887500 + 200000 850000 + 100000 850000 + >; }; cpu1: cpu@1 { @@ -159,6 +174,19 @@ compatible = "samsung,exynos3250-cmu"; reg = <0x10030000 0x20000>; #clock-cells = <1>; + + samsung,armclk-cells = <7>; + samsung,armclk-divider-table = + <1000000 1 4 7 1 7 7>, + <900000 1 3 7 1 7 7>, + <800000 1 3 7 1 7 7>, + <700000 1 3 7 1 7 7>, + <600000 1 3 7 1 7 7>, + <500000 1 3 7 1 7 7>, + <400000 1 3 7 1 7 7>, + <300000 1 3 5 1 7 7>, + <200000 1 3 3 1 7 7>, + <100000 1 1 1 1 7 7>; }; rtc: rtc@10070000 {