From patchwork Fri Dec 11 05:07:43 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanwoo Choi X-Patchwork-Id: 7825931 Return-Path: X-Original-To: patchwork-linux-samsung-soc@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 82CBDBEEE1 for ; Fri, 11 Dec 2015 05:28:20 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9E989203C2 for ; Fri, 11 Dec 2015 05:28:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2B11D20395 for ; Fri, 11 Dec 2015 05:28:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752889AbbLKF17 (ORCPT ); Fri, 11 Dec 2015 00:27:59 -0500 Received: from mailout4.samsung.com ([203.254.224.34]:48149 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753142AbbLKFIv (ORCPT ); Fri, 11 Dec 2015 00:08:51 -0500 Received: from epcpsbgr5.samsung.com (u145.gpu120.samsung.co.kr [203.254.230.145]) by mailout4.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NZ603285GYO2B60@mailout4.samsung.com>; Fri, 11 Dec 2015 14:08:48 +0900 (KST) Received: from epcpsbgm2new.samsung.com ( [172.20.52.115]) by epcpsbgr5.samsung.com (EPCPMTA) with SMTP id 2A.1A.04790.06A5A665; Fri, 11 Dec 2015 14:08:48 +0900 (KST) X-AuditID: cbfee691-f79766d0000012b6-f4-566a5a60efb6 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2new.samsung.com (EPCPMTA) with SMTP id 4F.9B.09068.F5A5A665; Fri, 11 Dec 2015 14:08:48 +0900 (KST) Received: from chan.10.32.193.11 ([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 <0NZ6007QUGY7NJ40@mmp2.samsung.com>; Fri, 11 Dec 2015 14:08:47 +0900 (KST) From: Chanwoo Choi To: myungjoo.ham@samsung.com, k.kozlowski@samsung.com, kgene@kernel.org Cc: kyungmin.park@samsung.com, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, linux@arm.linux.org.uk, tjakobi@math.uni-bielefeld.de, linux.amoon@gmail.com, cw00.choi@samsung.com, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH v3 04/20] ARM: dts: Add DMC bus frequency for exynos3250-rinato/monk Date: Fri, 11 Dec 2015 14:07:43 +0900 Message-id: <1449810479-14763-5-git-send-email-cw00.choi@samsung.com> X-Mailer: git-send-email 1.8.0 In-reply-to: <1449810479-14763-1-git-send-email-cw00.choi@samsung.com> References: <1449810479-14763-1-git-send-email-cw00.choi@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprLIsWRmVeSWpSXmKPExsWyRsSkWDchKivMoO2yoMX1L89ZLeYfOcdq 0f9mIavFuVcrGS1evzC06H/8mtnibNMbdovLu+awWXzuPcJoMeP8PiaLdRtvsVvcvsxrsfT6 RSaL240r2CwmTF/LYtG69wi7RdvqD6wOgh5r5q1h9Ghp7mHzuNzXy+Sxc9Zddo+Vy7+weWxa 1cnm8e8Yu0ffllWMHp83yQVwRnHZpKTmZJalFunbJXBlbNg2i7mgnadizu+dLA2MU7m6GDk5 JARMJE6/Os4CYYtJXLi3nq2LkYtDSGAFo8Tktt9sMEUre7czQSRmMUo87FkF5XxhlHh3+ykj SBWbgJbE/hc3wDpEBNwlvt7bDTaKWeALk0Tr5O/MXYwcHMIC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uaA4KT3XKC+1XK84Mbe4NC9dLzk/dxMjOKKfSe9gPLzL/RCjAAejEg/vAo6sMCHWxLLiytxD jBIczEoivLsDgUK8KYmVValF+fFFpTmpxYcYTYHumsgsJZqcD0w2eSXxhsYmZkaWRuaGFkbG 5krivPsuRYYJCaQnlqRmp6YWpBbB9DFxcEo1MC6fH8qVzan0fCbnjr+hE7M/fpRpZFi5YvH9 3+H7ZiZs1noW/XLt/zyRXVv525kU1N9/qWXkbSh8X9p2aul5hiNaqdumX49Pa/N6IsvR/UP9 rsy5BQdzNnrIna6xYdsl9e1PSX/IkrRvJ3I+FJy2YV22/JpMSbW1Tqf96lfFfUq38llXRvF7 qCqxFGckGmoxFxUnAgBhd214/gIAAA== DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@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 DMC (Dynamic Memory Controller) bus frequency node which includes the devfreq-events and regulator properties. The bus frequency support the DVFS (Dynamic Voltage Frequency Scaling) feature with ondemand governor. The devfreq-events (ppmu_dmc0*) can monitor the utilization of DMC bus on runtime and the buck1_reg (VDD_MIF power line) supplies the power to the DMC block. Signed-off-by: Chanwoo Choi Reviewed-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos3250-monk.dts | 6 ++++++ arch/arm/boot/dts/exynos3250-rinato.dts | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/exynos3250-monk.dts b/arch/arm/boot/dts/exynos3250-monk.dts index 443a35085846..456844a81189 100644 --- a/arch/arm/boot/dts/exynos3250-monk.dts +++ b/arch/arm/boot/dts/exynos3250-monk.dts @@ -156,6 +156,12 @@ }; }; +&bus_dmc { + devfreq-events = <&ppmu_dmc0_3>, <&ppmu_dmc1_3>; + vdd-supply = <&buck1_reg>; + status = "okay"; +}; + &cpu0 { cpu0-supply = <&buck2_reg>; }; diff --git a/arch/arm/boot/dts/exynos3250-rinato.dts b/arch/arm/boot/dts/exynos3250-rinato.dts index 3e64d5dcdd60..d6bb990ce931 100644 --- a/arch/arm/boot/dts/exynos3250-rinato.dts +++ b/arch/arm/boot/dts/exynos3250-rinato.dts @@ -147,6 +147,12 @@ }; }; +&bus_dmc { + devfreq-events = <&ppmu_dmc0_3>, <&ppmu_dmc1_3>; + vdd-supply = <&buck1_reg>; + status = "okay"; +}; + &cpu0 { cpu0-supply = <&buck2_reg>; };