From patchwork Thu Jan 15 01:50:55 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanwoo Choi X-Patchwork-Id: 5636381 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id EA9C3C058D for ; Thu, 15 Jan 2015 01:57:13 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D0EC220120 for ; Thu, 15 Jan 2015 01:57:12 +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 F1C92201C8 for ; Thu, 15 Jan 2015 01:57:11 +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 1YBZdq-0004b9-Ug; Thu, 15 Jan 2015 01:54:35 +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 1YBZay-00030b-UW for linux-arm-kernel@lists.infradead.org; Thu, 15 Jan 2015 01:51:38 +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 <0NI7000EP3T5ZAB0@mailout3.samsung.com> for linux-arm-kernel@lists.infradead.org; Thu, 15 Jan 2015 10:51:05 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.112]) by epcpsbgr3.samsung.com (EPCPMTA) with SMTP id E4.D4.18484.90D17B45; Thu, 15 Jan 2015 10:51:05 +0900 (KST) X-AuditID: cbfee68f-f791c6d000004834-29-54b71d097105 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 66.06.20081.80D17B45; Thu, 15 Jan 2015 10:51:05 +0900 (KST) Received: from chan.10.32.193.11 ([10.252.81.195]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0NI700EDT3T3DSD0@mmp2.samsung.com>; Thu, 15 Jan 2015 10:51:04 +0900 (KST) From: Chanwoo Choi To: myungjoo.ham@samsung.com, kgene@kernel.org Subject: [PATCH v4 7/9] ARM: dts: Add the support for exynos busfreq on Exynos3250-based Rinato/Monk board Date: Thu, 15 Jan 2015 10:50:55 +0900 Message-id: <1421286657-4720-8-git-send-email-cw00.choi@samsung.com> X-Mailer: git-send-email 1.8.5.5 In-reply-to: <1421286657-4720-1-git-send-email-cw00.choi@samsung.com> References: <1421286657-4720-1-git-send-email-cw00.choi@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprCIsWRmVeSWpSXmKPExsWyRsSkQJdTdnuIQd9UHovHaxYzWWycsZ7V 4vqX56wWk+5PYLF4/cLQov/xa2aLs01v2C02Pb7GanF51xw2i8+9RxgtZpzfx2Sx9PpFJovb jSvYLB6veMtu0br3CLvFql1/GC327pzM6CDosWbeGkaPnbPusnss3vOSyWPTqk42j81L6j36 tqxi9Pi8SS6APYrLJiU1J7MstUjfLoEr43vbdtaCe3wV+9ffZmtg3M/TxcjBISFgIvH7pHYX IyeQKSZx4d56ti5GLg4hgaWMEkfefWSHSJhITHjTzQ6RmM4ocXz6aSaQhJBAE5PE06ZsEJtN QEti/4sbbCC2iICeROexPWANzAILmSVubesCSwgL5Ej87X4O1swioCqxZ9UksDivgIvEt1Vt rBDbFCSWLZ8JZnMKuEr0/NrPDrHMRWLV3cmMEDUf2SVaX4RCzBGQ+Db5EAvEN7ISmw4wQ5RI Sh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Ct5JfGGxiZmRpZG5oYWRsbmSuK8SvZtIUIC6Ykl qdmpqQWpRTB9TBycUg2Msww5Pa9aTj1fpr/Mn8f1oUt92n++p3+XcZrlV/vlJLhwrZuw0L6o 1uD5NvuyJ4sfZ2+YLZOr9PGX7xcH0V3qe547Ot0POPT6648m1ul2ohwKk2xa+llmHbE/2h7/ T9pq2s1kqYIju+VrLu7tN9W8+/GKXE/EvCnrLThiJRRTGdme/XZ6VmuqxFKckWioxVxUnAgA wz+HT/MCAAA= 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-20150114_175137_146490_3D012117 X-CRM114-Status: UNSURE ( 8.44 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -5.0 (-----) Cc: mark.rutland@arm.com, k.kozlowski@samsung.com, linux-samsung-soc@vger.kernel.org, b.zolnierkie@samsung.com, linux-pm@vger.kernel.org, rafael.j.wysocki@intel.com, tomasz.figa@gmail.com, Youngjun Cho , linux-kernel@vger.kernel.org, inki.dae@samsung.com, cw00.choi@samsung.com, kyungmin.park@samsung.com, robh+dt@kernel.org, a.kesavan@samsung.com, linux-arm-kernel@lists.infradead.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=-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 This patch adds the Exynos3250 memory-bus node which includes the regulator and devfreq-event phandle. The devfreq-event phandle is used for the governor of devfreq device and provide the current usage state of MIF (Memory Interface) / INT (Internal) memory bus group. Cc: Kukjin Kim Cc: Myungjoo Ham Cc: Kyungmin Park Cc: Youngjun Cho Signed-off-by: Chanwoo Choi Acked-by: Kyungmin Park --- arch/arm/boot/dts/exynos3250-monk.dts | 12 ++++++++++++ arch/arm/boot/dts/exynos3250-rinato.dts | 12 ++++++++++++ 2 files changed, 24 insertions(+) diff --git a/arch/arm/boot/dts/exynos3250-monk.dts b/arch/arm/boot/dts/exynos3250-monk.dts index fcceb59..efadb16 100644 --- a/arch/arm/boot/dts/exynos3250-monk.dts +++ b/arch/arm/boot/dts/exynos3250-monk.dts @@ -460,6 +460,18 @@ }; }; +&memory_bus_mif { + devfreq-events = <&ppmu_dmc0_3>, <&ppmu_dmc1_3>; + vdd-mem-supply = <&buck1_reg>; + status = "okay"; +}; + +&memory_bus_int { + devfreq-events = <&ppmu_leftbus_3>, <&ppmu_rightbus_3>; + vdd-mem-supply = <&buck3_reg>; + status = "okay"; +}; + &xusbxti { clock-frequency = <24000000>; }; diff --git a/arch/arm/boot/dts/exynos3250-rinato.dts b/arch/arm/boot/dts/exynos3250-rinato.dts index 9dd1ce1..cf800ed 100644 --- a/arch/arm/boot/dts/exynos3250-rinato.dts +++ b/arch/arm/boot/dts/exynos3250-rinato.dts @@ -635,6 +635,18 @@ }; }; +&memory_bus_mif { + devfreq-events = <&ppmu_dmc0_3>, <&ppmu_dmc1_3>; + vdd-mem-supply = <&buck1_reg>; + status = "okay"; +}; + +&memory_bus_int { + devfreq-events = <&ppmu_leftbus_3>, <&ppmu_rightbus_3>; + vdd-mem-supply = <&buck3_reg>; + status = "okay"; +}; + &xusbxti { clock-frequency = <24000000>; };