From patchwork Fri Dec 2 07:18:07 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanwoo Choi X-Patchwork-Id: 9457971 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id A036860236 for ; Fri, 2 Dec 2016 07:21:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9826428526 for ; Fri, 2 Dec 2016 07:21:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8CA472852C; Fri, 2 Dec 2016 07:21:16 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 2EE5E28526 for ; Fri, 2 Dec 2016 07:21:16 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1cCi8M-0003uU-3h; Fri, 02 Dec 2016 07:19:50 +0000 Received: from mailout2.samsung.com ([203.254.224.25]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1cCi7E-0003EL-Aq for linux-arm-kernel@lists.infradead.org; Fri, 02 Dec 2016 07:18:41 +0000 Received: from epcpsbgm1new.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OHJ02JYNQY8YQ00@mailout2.samsung.com> for linux-arm-kernel@lists.infradead.org; Fri, 02 Dec 2016 16:18:09 +0900 (KST) X-AuditID: cbfee61a-f79916d0000062de-1c-58412031cbe6 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1new.samsung.com (EPCPMTA) with SMTP id 10.7C.25310.13021485; Fri, 2 Dec 2016 16:18:09 +0900 (KST) Received: from localhost.localdomain ([10.113.62.212]) by mmp2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OHJ00CWKQY7FI90@mmp2.samsung.com>; Fri, 02 Dec 2016 16:18:08 +0900 (KST) From: Chanwoo Choi To: krzk@kernel.org, javier@osg.samsung.com, kgene@kernel.org, robh+dt@kernel.org, s.nawrocki@samsung.com, tomasz.figa@gmail.com Subject: [PATCH 5/5] arm64: dts: exynos5433: Add support of bus frequency using VDD_INT on TM2 Date: Fri, 02 Dec 2016 16:18:07 +0900 Message-id: <1480663087-4590-6-git-send-email-cw00.choi@samsung.com> X-Mailer: git-send-email 1.8.0 In-reply-to: <1480663087-4590-1-git-send-email-cw00.choi@samsung.com> References: <1480663087-4590-1-git-send-email-cw00.choi@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprIIsWRmVeSWpSXmKPExsVy+t9jQV1DBccIg5nzuSyuf3nOajH/yDlW izdv1zBZ9D9+zWxx/vwGdouzTW/YLTY9vsZqcXnXHDaLGef3MVncblzBZtG69wi7xeE37awW q3b9YXTg9dg56y67x6ZVnWwem5fUe2zpB/L6tqxi9Pi8SS6ALcrNJiM1MSW1SCE1Lzk/JTMv 3VYpNMRN10JJIS8xN9VWKULXNyRISaEsMacUyDMyQAMOzgHuwUr6dgluGTc+TmEt+Mpfsff3 ZtYGxvs8XYycHBICJhLdR98xQ9hiEhfurWfrYuTiEBKYxSjRvHwLO4Tzg1Fi4tmVLCBVbAJa Evtf3ACrEhFoYpRouDCXEcRhFrjKKLFx8RRGkCphgQSJlc13mEBsFgFViQUT37CB2LwCLhJ7 Xv5gg9gnJ/FhzyN2EJtTwFWi4esssDuEgGo2dXUwT2DkXcDIsIpRIrUguaA4KT3XMC+1XK84 Mbe4NC9dLzk/dxMjODqeSe1gPLjL/RCjAAejEg/vC2OHCCHWxLLiytxDjBIczEoivJ/lHCOE eFMSK6tSi/Lji0pzUosPMZoCHTaRWUo0OR8YuXkl8YYm5ibmxgYW5paWJkZK4ryNs5+FCwmk J5akZqemFqQWwfQxcXBKNTCueV0+g3eD7aGn6RmxD95Nd0uK6vOS9fcwe6xr7NioU2+zIKhE 4tuniuYjai5mqz2OP5zpWBGhmuFf5Ve9NfZ5MLu5AM/Vzx15agfNFRe8vrR7S03yirfvEhwP vN7O8PT+BfWT3+UlVR55r6pak/f8zknDgnLFDZtNlLNSwkqXJYY1/5cWtFZiKc5INNRiLipO BAA1CJ0ypAIAAA== X-MTR: 20000000000000000@CPGS X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161201_231840_585224_8982CBD5 X-CRM114-Status: UNSURE ( 9.52 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, cw00.choi@samsung.com, kyungmin.park@samsung.com, myungjoo.ham@samsung.com, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds the bus Device-tree nodes for INT (Internal) block to enable the bus frequency scaling. Signed-off-by: Chanwoo Choi Reviewed-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/exynos/exynos5433-tm2.dts | 72 +++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts b/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts index c08589970134..7b37aae336b1 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts +++ b/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts @@ -170,6 +170,58 @@ }; }; +&bus_g2d_400 { + devfreq-events = <&ppmu_event0_d0_general>, <&ppmu_event0_d1_general>; + vdd-supply = <&buck4_reg>; + exynos,saturation-ratio = <10>; + status = "okay"; +}; + +&bus_mscl { + devfreq = <&bus_g2d_400>; + status = "okay"; +}; + +&bus_jpeg { + devfreq = <&bus_g2d_400>; + status = "okay"; +}; + +&bus_mfc { + devfreq = <&bus_g2d_400>; + status = "okay"; +}; + +&bus_g2d_266 { + devfreq = <&bus_g2d_400>; + status = "okay"; +}; + +&bus_gscl { + devfreq = <&bus_g2d_400>; + status = "okay"; +}; + +&bus_hevc { + devfreq = <&bus_g2d_400>; + status = "okay"; +}; + +&bus_bus0 { + devfreq = <&bus_g2d_400>; + status = "okay"; +}; + +&bus_bus1 { + devfreq = <&bus_g2d_400>; + status = "okay"; +}; + +&bus_bus2 { + devfreq = <&bus_g2d_400>; + status = "okay"; +}; + &cmu_aud { assigned-clocks = <&cmu_aud CLK_MOUT_AUD_PLL_USER>; assigned-clock-parents = <&cmu_top CLK_FOUT_AUD_PLL>; @@ -794,6 +846,26 @@ bus-width = <4>; }; +&ppmu_d0_general { + status = "okay"; + + events { + ppmu_event0_d0_general: ppmu-event0-d0-general { + event-name = "ppmu-event0-d0-general"; + }; + }; +}; + +&ppmu_d1_general { + status = "okay"; + + events { + ppmu_event0_d1_general: ppmu-event0-d1-general { + event-name = "ppmu-event0-d1-general"; + }; + }; +}; + &pinctrl_alive { pinctrl-names = "default"; pinctrl-0 = <&initial_alive>;