From patchwork Fri Dec 23 12:24:49 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 9487405 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 7FC97600CB for ; Fri, 23 Dec 2016 12:25:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 724CB26247 for ; Fri, 23 Dec 2016 12:25:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 66CB426E82; Fri, 23 Dec 2016 12:25:58 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3B5C926CFC for ; Fri, 23 Dec 2016 12:25:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S941682AbcLWMZy (ORCPT ); Fri, 23 Dec 2016 07:25:54 -0500 Received: from mailout4.samsung.com ([203.254.224.34]:35247 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S941608AbcLWMZt (ORCPT ); Fri, 23 Dec 2016 07:25:49 -0500 Received: from epcas5p4.samsung.com (unknown [182.195.41.42]) by mailout4.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OIN00M6V16ZRKB0@mailout4.samsung.com>; Fri, 23 Dec 2016 21:25:47 +0900 (KST) Received: from epsmges5p2.samsung.com (unknown [182.195.42.45]) by epcas5p1.samsung.com (KnoxPortal) with ESMTP id 20161223122547epcas5p1f3c8801655e573e6b3d775dfb145bc72~S4jWbGxmU2929629296epcas5p11; Fri, 23 Dec 2016 12:25:47 +0000 (GMT) Received: from epcas5p3.samsung.com ( [182.195.41.41]) by epsmges5p2.samsung.com (EPCPMTA) with SMTP id 63.93.29876.BC71D585; Fri, 23 Dec 2016 21:25:47 +0900 (KST) Received: from epcpsbgm2new.samsung.com (u27.gpu120.samsung.co.kr [203.254.230.27]) by epcas5p2.samsung.com (KnoxPortal) with ESMTP id 20161223122546epcas5p2ebbcb8ca510646698bbd1ddbe0a0e889~S4jVf5vbT0229302293epcas5p2N; Fri, 23 Dec 2016 12:25:46 +0000 (GMT) X-AuditID: b6c32a2d-f79a76d0000074b4-26-585d17cba9e5 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2new.samsung.com (EPCPMTA) with SMTP id 73.F0.28332.AC71D585; Fri, 23 Dec 2016 21:25:46 +0900 (KST) Received: from AMDC2765.digital.local ([106.116.147.25]) by mmp2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OIN00JTK15R7DD0@mmp2.samsung.com>; Fri, 23 Dec 2016 21:25:46 +0900 (KST) From: Marek Szyprowski To: linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org, linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski , Sylwester Nawrocki , Krzysztof Kozlowski , Linus Walleij , Tomasz Figa , Ulf Hansson , Bartlomiej Zolnierkiewicz Subject: [PATCH 9/9] ARM: dts: exynos: Add audio power domain support to Exynos542x SoCs Date: Fri, 23 Dec 2016 13:24:49 +0100 Message-id: <1482495889-6201-10-git-send-email-m.szyprowski@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1482495889-6201-1-git-send-email-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrAIsWRmVeSWpSXmKPExsWy7bCmpu5p8dgIg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52WSkJqakFimk5iXnp2TmpdsqhYa46VooKeQl 5qbaKkXo+oYEKSmUJeaUAnlGBmjAwTnAPVhJ3y7BLaP9wmHGgmu8FevPH2FqYLzD1cXIySEh YCJx+857NghbTOLCvfVANheHkMAsRompD6cyQji/GCXufbnJBFLFJmAo0fW2C6xKRKCZUaJh SS+Ywyywg0li8tk1zF2MHBzCAlES7/pzQRpYBFQlZu3pBVvBK+Ah8WpCLxPEOjmJk8cms4LY nEDxrRtesYPYQgLuEhe2P2SfwMi7gJFhFaNEakFyQXFSeq5RXmq5XnFibnFpXrpecn7uJkZw FDyT3sF4eJf7IUYBDkYlHt4TZ2MihFgTy4orcw8xSnAwK4nwThGOjRDiTUmsrEotyo8vKs1J LT7EaAp02ERmKdHkfGCE5pXEG5qYm5gbG1iYW1qaGCmJ8zbOfhYuJJCeWJKanZpakFoE08fE wSnVwLi70c5y9f7PM88xrfy7Js5h2hmxhxaSZ07+3bU/4nD7jKD9UhvZztiaP/z3gvH7rfwL pUfYzqzi3xwu9VFjd1R7+F3OYm62NbeY1s01kIy/PE/aLujInYK4jiJV/S9sYZpRNTpRe5/e fc/Nr8Ts3x/CejfhZ93cq5eXs/7S2nhfdse+KyeuMCoqsRRnJBpqMRcVJwIA4fK7PZgCAAA= X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20161223122546epcas5p2ebbcb8ca510646698bbd1ddbe0a0e889 X-Msg-Generator: CA X-Sender-IP: 203.254.230.27 X-Local-Sender: =?UTF-8?B?TWFyZWsgU3p5cHJvd3NraRtTUlBPTC1LZXJuZWwgKFRQKRs=?= =?UTF-8?B?7IK87ISx7KCE7J6QG1NlbmlvciBTb2Z0d2FyZSBFbmdpbmVlcg==?= X-Global-Sender: =?UTF-8?B?TWFyZWsgU3p5cHJvd3NraRtTUlBPTC1LZXJuZWwgKFRQKRtT?= =?UTF-8?B?YW1zdW5nIEVsZWN0cm9uaWNzG1NlbmlvciBTb2Z0d2FyZSBFbmdpbmVlcg==?= X-Sender-Code: =?UTF-8?B?QzEwG0VIURtDMTBDRDAyQ0QwMjczOTI=?= CMS-TYPE: 105P X-HopCount: 7 X-CMS-RootMailID: 20161223122546epcas5p2ebbcb8ca510646698bbd1ddbe0a0e889 X-RootMTR: 20161223122546epcas5p2ebbcb8ca510646698bbd1ddbe0a0e889 References: <1482495889-6201-1-git-send-email-m.szyprowski@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Audio power domain includes following hardware modules: Pin controller for GPZ bank, AudioSS clock controller, PL330 ADMA device and Exynos I2S controller. Signed-off-by: Marek Szyprowski --- arch/arm/boot/dts/exynos5420.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi index 0a7ecdd4c5de..1b6bd9aa42d1 100644 --- a/arch/arm/boot/dts/exynos5420.dtsi +++ b/arch/arm/boot/dts/exynos5420.dtsi @@ -188,6 +188,7 @@ clocks = <&clock CLK_FIN_PLL>, <&clock CLK_MAU_EPLL>, <&clock CLK_SCLK_MAUDIO0>, <&clock CLK_SCLK_MAUPCM0>; clock-names = "pll_ref", "pll_in", "sclk_audio", "sclk_pcm_in"; + power-domains = <&mau_pd>; }; mfc: codec@11000000 { @@ -317,6 +318,12 @@ clock-names = "oscclk", "clk0", "clk1", "clk2", "asb0", "asb1"; }; + mau_pd: power-domain@100440E0 { + compatible = "samsung,exynos4210-pd"; + reg = <0x100440E0 0x20>; + #power-domain-cells = <0>; + }; + pinctrl_0: pinctrl@13400000 { compatible = "samsung,exynos5420-pinctrl"; reg = <0x13400000 0x1000>; @@ -356,6 +363,7 @@ reg = <0x03860000 0x1000>; interrupts = <0 47 IRQ_TYPE_LEVEL_HIGH>; samsung,pmu-syscon = <&pmu_system_controller>; + power-domains = <&mau_pd>; }; amba { @@ -374,6 +382,7 @@ #dma-cells = <1>; #dma-channels = <6>; #dma-requests = <16>; + power-domains = <&mau_pd>; }; pdma0: pdma@121A0000 { @@ -447,6 +456,7 @@ pinctrl-names = "default", "sleep"; pinctrl-0 = <&i2s0_bus>; pinctrl-1 = <&i2s0_bus_slp>; + power-domains = <&mau_pd>; status = "disabled"; };