From patchwork Fri Apr 8 05:00:46 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanwoo Choi X-Patchwork-Id: 8780821 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.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id A10839FBEA for ; Fri, 8 Apr 2016 05:03:34 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B7EBE202A1 for ; Fri, 8 Apr 2016 05:03:33 +0000 (UTC) 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.kernel.org (Postfix) with ESMTPS id 08AF52028D for ; Fri, 8 Apr 2016 05:03:32 +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 1aoOYU-0006nb-NS; Fri, 08 Apr 2016 05:02:02 +0000 Received: from mailout2.samsung.com ([203.254.224.25]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aoOXi-0006Na-UZ for linux-arm-kernel@lists.infradead.org; Fri, 08 Apr 2016 05:01:17 +0000 Received: from epcpsbgr2.samsung.com (u142.gpu120.samsung.co.kr [203.254.230.142]) by mailout2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0O5A02OZQTXESRA0@mailout2.samsung.com> for linux-arm-kernel@lists.infradead.org; Fri, 08 Apr 2016 14:00:50 +0900 (KST) Received: from epcpsbgm1new.samsung.com ( [172.20.52.115]) by epcpsbgr2.samsung.com (EPCPMTA) with SMTP id 41.B5.04785.20B37075; Fri, 8 Apr 2016 14:00:50 +0900 (KST) X-AuditID: cbfee68e-f79d96d0000012b1-73-57073b024ae9 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1new.samsung.com (EPCPMTA) with SMTP id 7D.89.06682.10B37075; Fri, 8 Apr 2016 14:00:50 +0900 (KST) Received: from chan.10.32.193.11 ([10.113.62.212]) by mmp1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0O5A008B4TXCCJ50@mmp1.samsung.com>; Fri, 08 Apr 2016 14:00:49 +0900 (KST) From: Chanwoo Choi To: myungjoo.ham@samsung.com, kyungmin.park@samsung.com, k.kozlowski@samsung.com, kgene@kernel.org, s.nawrocki@samsung.com, tomasz.figa@gmail.com Subject: [PATCH 7/7] ARM: dts: Add support of Bus frequency using VDD_INT for exynos5422-odroidxu3 Date: Fri, 08 Apr 2016 14:00:46 +0900 Message-id: <1460091646-28701-8-git-send-email-cw00.choi@samsung.com> X-Mailer: git-send-email 1.8.0 In-reply-to: <1460091646-28701-1-git-send-email-cw00.choi@samsung.com> References: <1460091646-28701-1-git-send-email-cw00.choi@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAAzVSbUiTYRT12fux1+XyZWo+Gflj5B8jTZ32hBZBWC99UCQkVKBL36Y059hU Cn+oWUqWOjNLLCxjos6ZObWPZWprrtrKtGEutQ0m5tdAQ0sHJW1a/86595xzL9xLYQILHkJl ynJYhUwsFZI8XBsoUu7ixHOTd5vG/NHo8jSBHhgHCVTpaiDQ4FwLQLccKhzNz0Shysl5DH28 4uIi3eQXAln190m0VG4EqPZTLwc97hjjonErH80aVwFqHB3moPGiZhKp7rbh6IPlM4GuvTJy 0RtXKYFKWhcJpNH/BgeCGW29FjBXi2+SjLWinMOMTRQwL+q+cZmWpmWS0Wmuk0ynuoBZM3GZ rpFSnKno0gBmSRd60u8MLyGdlWbmsYrI/am8jNG2Ia58QnDpZ1E7Vgh+bC4DvhSkRdBd30Rs 4C1wyN5OlgEeJaCbAeyoXeX8F/W2jhAbj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jk4WARUJTbNYwQJ 8wq4SjyafIgZYp2cxIc9j9hBbE4BN4nvExaCtQoB1TxveMM6gZF3ASPDKkaJ1ILkguKk9FzD vNRyveLE3OLSvHS95PzcTYzgVPFMagfjwV3uhxgFOBiVeHgvvGcLF2JNLCuuzD3EKMHBrCTC +9CCPVyINyWxsiq1KD++qDQntfgQoynQXROZpUST84FpLK8k3tDYxMzI0sjc0MLI2FxJnPfx /3VhQgLpiSWp2ampBalFMH1MHJxSDYzMG+71CJaFp6gn71hyqnCOeFiBU6+O1W5vge12TyOe Nx6WK75xPPty0/NLb4L5jtgtLtFhCtsxr8xmJ3vQ+Wu7D9at5ZSf3Hf3nNnxkG8Kz/I2zVwf t2FXX17QlorgrdXdFdasiSZum99HPg+2mcgayr308ESFya2K0+qepf70nNWjOiNbV1GJpTgj 0VCLuag4EQBZ+qxdKwMAAA== 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-20160407_220115_415036_8F3B9C93 X-CRM114-Status: GOOD ( 10.98 ) X-Spam-Score: -7.9 (-------) 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: mark.rutland@arm.com, inki.dae@samsung.com, linux-samsung-soc@vger.kernel.org, linux@arm.linux.org.uk, cw00.choi@samsung.com, pawel.moll@arm.com, ijc+devicetree@hellion.org.uk, linux.amoon@gmail.com, linux-pm@vger.kernel.org, rjw@rjwysocki.net, linux-kernel@vger.kernel.org, m.reichl@fivetechno.de, tjakobi@math.uni-bielefeld.de, devicetree@vger.kernel.org, robh+dt@kernel.org, galak@codeaurora.org, 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-Spam-Status: No, score=-5.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, 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 adds the bus device tree nodes for INT (Internal) block to enable the AMBA bus frequency scaling and add the NoC (Network on Chip) Probe Device Tree node to measure the bandwidht for AMBA AXI bus. The WCORE bus bus is parent device in INT block using VDD_INT. Signed-off-by: Chanwoo Choi --- arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi | 99 ++++++++++++++++++++++ 1 file changed, 99 insertions(+) diff --git a/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi b/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi index 1bd507bfa750..2a74abe6fc5d 100644 --- a/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi +++ b/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi @@ -361,6 +361,22 @@ cap-sd-highspeed; }; +&nocp_mem0_0 { + status = "okay"; +}; + +&nocp_mem0_1 { + status = "okay"; +}; + +&nocp_mem0_2 { + status = "okay"; +}; + +&nocp_mem0_3 { + status = "okay"; +}; + &pinctrl_0 { hdmi_hpd_irq: hdmi-hpd-irq { samsung,pins = "gpx3-7"; @@ -432,3 +448,86 @@ vdd33-supply = <&ldo9_reg>; vdd10-supply = <&ldo11_reg>; }; + +&bus_wcore { + devfreq-events = <&nocp_mem0_0>, <&nocp_mem0_1>, + <&nocp_mem0_2>, <&nocp_mem0_3>; + vdd-supply = <&buck3_reg>; + exynos,saturation-ratio = <100>; + status = "okay"; +}; + +&bus_noc { + devfreq = <&bus_wcore>; + status = "okay"; +}; + +&bus_fsys_apb { + devfreq = <&bus_wcore>; + status = "okay"; +}; + +&bus_fsys { + devfreq = <&bus_wcore>; + status = "okay"; +}; + +&bus_fsys2 { + devfreq = <&bus_wcore>; + status = "okay"; +}; + +&bus_mfc { + devfreq = <&bus_wcore>; + status = "okay"; +}; + +&bus_gen { + devfreq = <&bus_wcore>; + status = "okay"; +}; + +&bus_peri { + devfreq = <&bus_wcore>; + status = "okay"; +}; + +&bus_g2d { + devfreq = <&bus_wcore>; + status = "okay"; +}; + +&bus_g2d_acp { + devfreq = <&bus_wcore>; + status = "okay"; +}; + +&bus_jpeg { + devfreq = <&bus_wcore>; + status = "okay"; +}; + +&bus_jpeg_apb { + devfreq = <&bus_wcore>; + status = "okay"; +}; + +&bus_disp1_fimd { + devfreq = <&bus_wcore>; + status = "okay"; +}; + +&bus_disp1 { + devfreq = <&bus_wcore>; + status = "okay"; +}; + +&bus_gscl_scaler { + devfreq = <&bus_wcore>; + status = "okay"; +}; + +&bus_mscl { + devfreq = <&bus_wcore>; + status = "okay"; +};