From patchwork Mon Dec 15 14:56:53 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 5494441 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 579E29F1D4 for ; Mon, 15 Dec 2014 15:00:53 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 42F4820A0B for ; Mon, 15 Dec 2014 15:00:51 +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 AA97520A0C for ; Mon, 15 Dec 2014 15:00:49 +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 1Y0X6V-00013R-Ih; Mon, 15 Dec 2014 14:58:31 +0000 Received: from mailout1.w1.samsung.com ([210.118.77.11]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Y0X5c-0000Uz-Gt for linux-arm-kernel@lists.infradead.org; Mon, 15 Dec 2014 14:57:37 +0000 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout1.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NGM00H1APQ8WVC0@mailout1.w1.samsung.com> for linux-arm-kernel@lists.infradead.org; Mon, 15 Dec 2014 15:01:20 +0000 (GMT) X-AuditID: cbfec7f4-b7f126d000001e9a-bc-548ef6c76a13 Received: from eusync3.samsung.com ( [203.254.199.213]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id 42.13.07834.7C6FE845; Mon, 15 Dec 2014 14:57:11 +0000 (GMT) Received: from AMDC1943.digital.local ([106.116.151.171]) by eusync3.samsung.com (Oracle Communications Messaging Server 7u4-23.01(7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPA id <0NGM00L7JPJ43OB0@eusync3.samsung.com>; Mon, 15 Dec 2014 14:57:11 +0000 (GMT) From: Krzysztof Kozlowski To: MyungJoo Ham , Kyungmin Park , Kukjin Kim , Chanwoo Choi , linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, Mark Rutland Subject: [PATCH v2 3/3] ARM: dts: Add devfreq to Exynos3250 and Rinato board Date: Mon, 15 Dec 2014 15:56:53 +0100 Message-id: <1418655413-25410-4-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1418655413-25410-1-git-send-email-k.kozlowski@samsung.com> References: <1418655413-25410-1-git-send-email-k.kozlowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprCLMWRmVeSWpSXmKPExsVy+t/xq7rHv/WFGCw/JG2xccZ6VovrX56z Wsw/co7V4vULQ4v+x6+ZLc42vWG32PT4GqvF5V1z2Cw+9x5htJhxfh+Txdojd9ktll6/yGRx u3EFmwOvx5p5axg9Nq3qZPPYvKTeo2/LKkaPz5vkAlijuGxSUnMyy1KL9O0SuDJ+bV7GXHCI v6Lv2EemBsYLPF2MnBwSAiYSrdtPMEPYYhIX7q1n62Lk4hASWMoocXjqLyinj0liweXP7CBV bALGEpuXLwFLiAg8Z5LYOesNC4jDLDCDUeLewl0sIFXCAj4Sy05sBJvLIqAqsfLYQrBuXgF3 iSuzLzNB7JOTOHlsMiuIzSngIXHldSNYjRBQzfrTS9kmMPIuYGRYxSiaWppcUJyUnmuoV5yY W1yal66XnJ+7iRESkl92MC4+ZnWIUYCDUYmHN2Fvb4gQa2JZcWXuIUYJDmYlEd5Z7/pChHhT EiurUovy44tKc1KLDzEycXBKNTDyT79iLxW3daWs4QbX/2Wr9Zx2VS6rE1pp7b3xUdpc3tgo Voesuy0H3y8Qffbb0Urcm+X//jVWfYKCV92LOsKWCH39ve+Dk99jhXnff/k+iT3z0mrnh2wn rZwQG6cb7qtPHFvzN3PCrHp2/fd7o7cqPXkhbZJWtm2brevrvKtTtj34e+rwid4YJZbijERD Leai4kQAYGF04ScCAAA= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20141215_065736_750564_62A1E727 X-CRM114-Status: UNSURE ( 7.05 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -5.0 (-----) Cc: Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz , Marek Szyprowski 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=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_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 Add devfreq to Exynos3250 common file and enable it for Rinato board. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos3250-rinato.dts | 12 ++++++++++++ arch/arm/boot/dts/exynos3250.dtsi | 26 ++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/arch/arm/boot/dts/exynos3250-rinato.dts b/arch/arm/boot/dts/exynos3250-rinato.dts index 7970b8e91ab2..6def01c61742 100644 --- a/arch/arm/boot/dts/exynos3250-rinato.dts +++ b/arch/arm/boot/dts/exynos3250-rinato.dts @@ -567,6 +567,18 @@ clock-frequency = <24000000>; }; +&busfreq_mif { + vdd-mif-supply = <&buck1_reg>; + devfreq-events = <&ppmu_dmc0_3>, <&ppmu_dmc1_3>; + status = "okay"; +}; + +&busfreq_int { + vdd-int-supply = <&buck3_reg>; + devfreq-events = <&ppmu_leftbus_3>, <&ppmu_rightbus_3>; + status = "okay"; +}; + &pinctrl_0 { pinctrl-names = "default"; pinctrl-0 = <&sleep0>; diff --git a/arch/arm/boot/dts/exynos3250.dtsi b/arch/arm/boot/dts/exynos3250.dtsi index 51e3e7111e59..cc0e30768ec2 100644 --- a/arch/arm/boot/dts/exynos3250.dtsi +++ b/arch/arm/boot/dts/exynos3250.dtsi @@ -175,6 +175,32 @@ #clock-cells = <1>; }; + busfreq_mif: busfreq@106A0000 { + compatible = "samsung,exynos3250-busfreq-mif"; + clocks = <&cmu_dmc CLK_DIV_DMC>; + clock-names = "dmc"; + status = "disabled"; + }; + + busfreq_int: busfreq@116A0000 { + compatible = "samsung,exynos3250-busfreq-int"; + clocks = <&cmu CLK_DIV_ACLK_400_MCUISP>, + <&cmu CLK_DIV_ACLK_266>, + <&cmu CLK_DIV_ACLK_200>, + <&cmu CLK_DIV_ACLK_160>, + <&cmu CLK_DIV_GDL>, + <&cmu CLK_DIV_GDR>, + <&cmu CLK_DIV_MFC>; + clock-names = "aclk_400", + "aclk_266", + "aclk_200", + "aclk_160", + "aclk_gdl", + "aclk_gdr", + "mfc"; + status = "disabled"; + }; + rtc: rtc@10070000 { compatible = "samsung,exynos3250-rtc"; reg = <0x10070000 0x100>;