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: 5636151 Return-Path: X-Original-To: patchwork-linux-pm@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 3BD579F3A0 for ; Thu, 15 Jan 2015 01:52:29 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E2D75201C8 for ; Thu, 15 Jan 2015 01:52:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C923920173 for ; Thu, 15 Jan 2015 01:52:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754484AbbAOBwF (ORCPT ); Wed, 14 Jan 2015 20:52:05 -0500 Received: from mailout3.samsung.com ([203.254.224.33]:58732 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752382AbbAOBvM (ORCPT ); Wed, 14 Jan 2015 20:51:12 -0500 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>; 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 Cc: kyungmin.park@samsung.com, rafael.j.wysocki@intel.com, mark.rutland@arm.com, a.kesavan@samsung.com, tomasz.figa@gmail.com, k.kozlowski@samsung.com, b.zolnierkie@samsung.com, robh+dt@kernel.org, cw00.choi@samsung.com, inki.dae@samsung.com, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, Youngjun Cho 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/4sbbCC2iICeROexPWANzAILmSVubesCSwgL5Ej87X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+YW l+al6yXn525iBMfuM6kdjCsbLA4xCnAwKvHwOhzZGiLEmlhWXJl7iFGCg1lJhPftp20hQrwp iZVVqUX58UWlOanFhxhNga6ayCwlmpwPTCt5JfGGxiZmRpZG5oYWRsbmSuK8SvZtIUIC6Ykl 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 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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>; };