From patchwork Mon Apr 11 03:57:56 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanwoo Choi X-Patchwork-Id: 8796551 Return-Path: X-Original-To: patchwork-linux-samsung-soc@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 C317D9F54F for ; Mon, 11 Apr 2016 04:02:17 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 009ED20268 for ; Mon, 11 Apr 2016 04:02:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2BE8520254 for ; Mon, 11 Apr 2016 04:02:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752553AbcDKEBx (ORCPT ); Mon, 11 Apr 2016 00:01:53 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:51738 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752071AbcDKD6L (ORCPT ); Sun, 10 Apr 2016 23:58:11 -0400 Received: from epcpsbgr5.samsung.com (u145.gpu120.samsung.co.kr [203.254.230.145]) by mailout2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0O5G02OGRB0QO720@mailout2.samsung.com>; Mon, 11 Apr 2016 12:58:02 +0900 (KST) Received: from epcpsbgm2new.samsung.com ( [172.20.52.115]) by epcpsbgr5.samsung.com (EPCPMTA) with SMTP id F3.33.04789.AC02B075; Mon, 11 Apr 2016 12:58:02 +0900 (KST) X-AuditID: cbfee691-f795a6d0000012b5-4a-570b20ca7ce4 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2new.samsung.com (EPCPMTA) with SMTP id 41.39.06699.AC02B075; Mon, 11 Apr 2016 12:58:02 +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 <0O5G00DWZB0M9H20@mmp2.samsung.com>; Mon, 11 Apr 2016 12:58:02 +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 Cc: rjw@rjwysocki.net, 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, linux.amoon@gmail.com, m.reichl@fivetechno.de, tjakobi@math.uni-bielefeld.de, inki.dae@samsung.com, cw00.choi@samsung.com, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Subject: [PATCH v9 18/20] ARM: dts: Add support of bus frequency using VDD_INT for exynos3250-rinato Date: Mon, 11 Apr 2016 12:57:56 +0900 Message-id: <1460347078-15175-19-git-send-email-cw00.choi@samsung.com> X-Mailer: git-send-email 1.8.0 In-reply-to: <1460347078-15175-1-git-send-email-cw00.choi@samsung.com> References: <1460347078-15175-1-git-send-email-cw00.choi@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrFIsWRmVeSWpSXmKPExsWyRsSkWPeUAne4QUeDpsX1L89ZLeYfOcdq 0f9mIavFuVcrGS0m3Z/AYvH6haFF/+PXzBZnm96wW2x6fI3V4vKuOWwWn3uPMFrMOL+PyWLd xlvsFrcv81q8PPKD0WLp9YtMFrcbV7BZTJi+lsXizOlLrBate4+wWxx+085q0bb6A6vFql1/ GB3EPdbMW8Po0dLcw+Zxua+XyePWnXqPnbPusnusXP6FzWPTqk42j81L6j3+HWP32HK1ncWj b8sqRo/Pm+QCeKK4bFJSczLLUov07RK4Mi4sOM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NEbq+IUFwPUYGaCBhDWPGhQUnmQvW 81RsOviUuYGxhauLkZNDQsBEomflIjYIW0ziwr31YLaQwCxGifX7S7sYuYDsL4wST3fdYAJJ sAloSex/cYMNJCEiMJVR4vOpNhYQh1ngCLPE1I0QVcICaRK/d7SzgtgsAqoSnxs+g43lFXCT 2P/tPgvEOjmJD3sesYPYnEDxT+tB6jmA1rlKPPtcN4GRdwEjwypGidSC5ILipPRco7zUcr3i xNzi0rx0veT83E2M4ETxTHoH4+Fd7ocYBTgYlXh4X1zmChdiTSwrrsw9xCjBwawkwvtAljtc iDclsbIqtSg/vqg0J7X4EKMp0F0TmaVEk/OBSSyvJN7Q2MTMyNLI3NDCyNhcSZz38f91YUIC 6YklqdmpqQWpRTB9TBycUg2Mns/T1feqcqdH90vx8qy6cLxq4sxlr0XDF4p/rbISepv4aobz z+ccFuVu55gM6vR3Jxi3mr0ycRRO3lvlfjorjqnpw19ms3N7DktNLHWfHyq9XvBZh/jelV9f v3Mx6P9++r4jo8gKQ4fWb94xoVOmtCx///B00F3dc19iD+9b0CZWssqnTXKnEktxRqKhFnNR cSIAPvLVZyoDAAA= 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=-7.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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 of INT (internal) block to enable the bus frequency scaling. The following sub-blocks share the VDD_INT power source: - LEFTBUS (parent device) - RIGHTBUS - PERIL - LCD0 - FSYS - MCUISP / ISP - MFC The LEFTBUS is parent device with devfreq ondemand governor and the rest of devices depend on the LEFTBUS device. Signed-off-by: Chanwoo Choi Reviewed-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos3250-rinato.dts | 41 +++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/arch/arm/boot/dts/exynos3250-rinato.dts b/arch/arm/boot/dts/exynos3250-rinato.dts index 9710e79e10a0..09444897b416 100644 --- a/arch/arm/boot/dts/exynos3250-rinato.dts +++ b/arch/arm/boot/dts/exynos3250-rinato.dts @@ -154,6 +154,47 @@ status = "okay"; }; +&bus_leftbus { + devfreq-events = <&ppmu_leftbus_3>, <&ppmu_rightbus_3>; + vdd-supply = <&buck3_reg>; + status = "okay"; +}; + +&bus_rightbus { + devfreq = <&bus_leftbus>; + status = "okay"; +}; + +&bus_lcd0 { + devfreq = <&bus_leftbus>; + status = "okay"; +}; + +&bus_fsys { + devfreq = <&bus_leftbus>; + status = "okay"; +}; + +&bus_mcuisp { + devfreq = <&bus_leftbus>; + status = "okay"; +}; + +&bus_isp { + devfreq = <&bus_leftbus>; + status = "okay"; +}; + +&bus_peril { + devfreq = <&bus_leftbus>; + status = "okay"; +}; + +&bus_mfc { + devfreq = <&bus_leftbus>; + status = "okay"; +}; + &cpu0 { cpu0-supply = <&buck2_reg>; };