From patchwork Tue Jan 10 08:24:22 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrzej Hajda X-Patchwork-Id: 9506715 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 5385A601E9 for ; Tue, 10 Jan 2017 08:24:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 473CC28402 for ; Tue, 10 Jan 2017 08:24:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3BBEF28485; Tue, 10 Jan 2017 08:24:43 +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 5966228307 for ; Tue, 10 Jan 2017 08:24:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758820AbdAJIYk (ORCPT ); Tue, 10 Jan 2017 03:24:40 -0500 Received: from mailout2.w1.samsung.com ([210.118.77.12]:54415 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751350AbdAJIYi (ORCPT ); Tue, 10 Jan 2017 03:24:38 -0500 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OJK00IMN20YHY60@mailout2.w1.samsung.com>; Tue, 10 Jan 2017 08:24:34 +0000 (GMT) Received: from eusmges4.samsung.com (unknown [203.254.199.244]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20170110082433eucas1p15761351efc79aa0fcee58307b2693a2a~YW33-7Kwp1134711347eucas1p1N; Tue, 10 Jan 2017 08:24:33 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges4.samsung.com (EUCPMTA) with SMTP id 98.E4.28517.14A94785; Tue, 10 Jan 2017 08:24:33 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20170110082433eucas1p2f7cb7b0974987e2c8294509960468fd3~YW33UTAm11778217782eucas1p2d; Tue, 10 Jan 2017 08:24:33 +0000 (GMT) X-AuditID: cbfec7f4-f79716d000006f65-d0-58749a4159b1 Received: from eusync4.samsung.com ( [203.254.199.214]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 0C.AA.06687.47A94785; Tue, 10 Jan 2017 08:25:24 +0000 (GMT) Received: from AMDC2768.DIGITAL.local ([106.120.43.17]) by eusync4.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OJK00M3Z20WIF80@eusync4.samsung.com>; Tue, 10 Jan 2017 08:24:33 +0000 (GMT) From: Andrzej Hajda To: linux-samsung-soc@vger.kernel.org, Krzysztof Kozlowski Cc: Andrzej Hajda , Bartlomiej Zolnierkiewicz , Marek Szyprowski , Inki Dae , Rob Herring , Mark Rutland , Javier Martinez Canillas , devicetree@vger.kernel.org, Andi Shyti , Chanwoo Choi Subject: [PATCH v3 1/3] arm64: dts: exynos5433: add DECON_TV node Date: Tue, 10 Jan 2017 09:24:22 +0100 Message-id: <1484036664-15951-1-git-send-email-a.hajda@samsung.com> X-Mailer: git-send-email 2.7.4 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrOIsWRmVeSWpSXmKPExsWy7djP87qOs0oiDA6e17S4te4cq8X2I89Y LTbOWM9qcf3Lc1aL+UeAYpPuT2CxePN2DZPF+fMb2C1mnN/HZLH2yF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04OAe4Byvp2yW4Zdw/sZi54KxYxed5+9gaGHuFuhg5 OSQETCQ6ertYIGwxiQv31rN1MXJxCAksYZSY96SDGcJpZJI48WoTWBWbgKbE38032UBsEQEf iYYDuxhBipgFpjFL3Py1kRUkISzgKHGv6wBYEYuAqsSzFyfAbF4BZ4lZLw+yQqyTk7h5rpN5 AiP3AkaGVYwiqaXFuem5xYZ6xYm5xaV56XrJ+bmbGIEBve3Yz807GC9tDD7EKMDBqMTDu2FS cYQQa2JZcWXuIUYJDmYlEd6H00sihHhTEiurUovy44tKc1KLDzGaAi2fyCwlmpwPjLa8knhD E0NzS0MjYwsLcyMjJXHekg9XwoUE0hNLUrNTUwtSi2D6mDg4pRoYO/XYs3VDC9Jfaj8XCIh4 GfHqwTn1vppTBslTVLnnsb05vuvDxqr3YcXu+5+6LxH7vLzzyLOuT7YMnktCotytBOYpCrcu lwq92nZp2Rz5YpN7b1YHJm39U/rZ8sHdmWU+hW2Tp1/azePQlObrU5gY9zX06B5/5tLd78Nc r9hxF+x8w87d8CRWiaU4I9FQi7moOBEA71gfZH4CAAA= X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20170110082433eucas1p2f7cb7b0974987e2c8294509960468fd3 X-Msg-Generator: CA X-Sender-IP: 182.198.249.179 X-Local-Sender: =?UTF-8?B?QW5kcnplaiBIYWpkYRtTUlBPTC1LZXJuZWwgKFRQKRvsgrw=?= =?UTF-8?B?7ISx7KCE7J6QG1NlbmlvciBTb2Z0d2FyZSBFbmdpbmVlcg==?= X-Global-Sender: =?UTF-8?B?QW5kcnplaiBIYWpkYRtTUlBPTC1LZXJuZWwgKFRQKRtTYW1z?= =?UTF-8?B?dW5nIEVsZWN0cm9uaWNzG1NlbmlvciBTb2Z0d2FyZSBFbmdpbmVlcg==?= X-Sender-Code: =?UTF-8?B?QzEwG0VIURtDMTBDRDAyQ0QwMjczOTI=?= CMS-TYPE: 201P X-HopCount: 7 X-CMS-RootMailID: 20170110082433eucas1p2f7cb7b0974987e2c8294509960468fd3 X-RootMTR: 20170110082433eucas1p2f7cb7b0974987e2c8294509960468fd3 References: 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 DECON_TV is 2nd display controller on Exynos5433, used in HDMI path or 2nd DSI path. Signed-off-by: Andrzej Hajda Reviewed-by: Javier Martinez Canillas Reviewed-by: Chanwoo Choi Tested-by: Hoegeun Kwon --- Hi Krzysztof, These patches are based on latest patches separating tm2 and tm2e and touchscreen patches. I hope this is good base. Thanks all for quick response/review. Regards Andrzej v2: - replaced magic numbers with macros, - removed power domains, - removed 0x prefixes from node names v3: - order nodes by address --- arch/arm64/boot/dts/exynos/exynos5433.dtsi | 43 ++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/exynos5433.dtsi b/arch/arm64/boot/dts/exynos/exynos5433.dtsi index 68f764e..8865fae 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos5433.dtsi @@ -751,6 +751,29 @@ }; }; + decon_tv: decon@13880000 { + compatible = "samsung,exynos5433-decon-tv"; + reg = <0x13880000 0x20b8>; + clocks = <&cmu_disp CLK_PCLK_DECON_TV>, + <&cmu_disp CLK_ACLK_DECON_TV>, + <&cmu_disp CLK_ACLK_SMMU_TV0X>, + <&cmu_disp CLK_ACLK_XIU_TV0X>, + <&cmu_disp CLK_PCLK_SMMU_TV0X>, + <&cmu_disp CLK_SCLK_DECON_TV_VCLK>, + <&cmu_disp CLK_SCLK_DECON_TV_ECLK>; + clock-names = "pclk", "aclk_decon", "aclk_smmu_decon0x", + "aclk_xiu_decon0x", "pclk_smmu_decon0x", + "sclk_decon_vclk", "sclk_decon_eclk"; + samsung,disp-sysreg = <&syscon_disp>; + interrupt-names = "fifo", "vsync", "lcd_sys"; + interrupts = , + , + ; + status = "disabled"; + iommus = <&sysmmu_tv0x>, <&sysmmu_tv1x>; + iommu-names = "m0", "m1"; + }; + dsi: dsi@13900000 { compatible = "samsung,exynos5433-mipi-dsi"; reg = <0x13900000 0xC0>; @@ -912,6 +935,26 @@ #iommu-cells = <0>; }; + sysmmu_tv0x: sysmmu@13a20000 { + compatible = "samsung,exynos-sysmmu"; + reg = <0x13a20000 0x1000>; + interrupts = ; + clock-names = "pclk", "aclk"; + clocks = <&cmu_disp CLK_PCLK_SMMU_TV0X>, + <&cmu_disp CLK_ACLK_SMMU_TV0X>; + #iommu-cells = <0>; + }; + + sysmmu_tv1x: sysmmu@13a30000 { + compatible = "samsung,exynos-sysmmu"; + reg = <0x13a30000 0x1000>; + interrupts = ; + clock-names = "pclk", "aclk"; + clocks = <&cmu_disp CLK_PCLK_SMMU_TV1X>, + <&cmu_disp CLK_ACLK_SMMU_TV1X>; + #iommu-cells = <0>; + }; + sysmmu_gscl0: sysmmu@0x13C80000 { compatible = "samsung,exynos-sysmmu"; reg = <0x13C80000 0x1000>;