From patchwork Mon Jan 9 10:40:35 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrzej Hajda X-Patchwork-Id: 9504309 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 4ACEF60710 for ; Mon, 9 Jan 2017 10:41:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1A6BE27C2D for ; Mon, 9 Jan 2017 10:41:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0F11D27CEA; Mon, 9 Jan 2017 10:41:08 +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 EBFAF27CFC for ; Mon, 9 Jan 2017 10:41:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964877AbdAIKlB (ORCPT ); Mon, 9 Jan 2017 05:41:01 -0500 Received: from mailout4.w1.samsung.com ([210.118.77.14]:32877 "EHLO mailout4.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964875AbdAIKk6 (ORCPT ); Mon, 9 Jan 2017 05:40:58 -0500 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout4.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OJI002H1DO7G110@mailout4.w1.samsung.com>; Mon, 09 Jan 2017 10:40:55 +0000 (GMT) Received: from eusmges3.samsung.com (unknown [203.254.199.242]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20170109104055eucas1p2904bb48e86a310d984f7f3db28cee790~YFFo_fhAn2386923869eucas1p2j; Mon, 9 Jan 2017 10:40:55 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges3.samsung.com (EUCPMTA) with SMTP id 55.25.09557.6B863785; Mon, 9 Jan 2017 10:40:54 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20170109104054eucas1p258d1df5ecff1d8b8c9aa882d8c86d5df~YFFoL34tJ2497924979eucas1p2B; Mon, 9 Jan 2017 10:40:54 +0000 (GMT) X-AuditID: cbfec7f2-f790f6d000002555-69-587368b624a4 Received: from eusync2.samsung.com ( [203.254.199.212]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id BB.61.06687.8E863785; Mon, 9 Jan 2017 10:41:44 +0000 (GMT) Received: from AMDC2768.DIGITAL.local ([106.120.43.17]) by eusync2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OJI00GSRDO5O130@eusync2.samsung.com>; Mon, 09 Jan 2017 10:40:54 +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 v2 1/3] arm64: dts: exynos5433: add DECON_TV node Date: Mon, 09 Jan 2017 11:40:35 +0100 Message-id: <1483958437-6572-1-git-send-email-a.hajda@samsung.com> X-Mailer: git-send-email 2.7.4 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrGIsWRmVeSWpSXmKPExsWy7djPc7rbMoojDL516lrcWneO1WL7kWes FhtnrGe1uP7lOavF/CNAsUn3J7BYvHm7hsni/PkN7BYzzu9jslh75C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W4Zaw7a12wW7Rixdx5zA2MEwW7GDk5 JARMJI5/OMwKYYtJXLi3nq2LkYtDSGAJo8S31g5GCKeRSWLGt4dMIFVsApoSfzffZAOxRQR8 JBoO7AIrYhaYxixx89dGsFHCAo4SZ5fcZASxWQRUJS7uuwMW5xVwkth54wAzxDo5iZvnOpkn MHIvYGRYxSiSWlqcm55bbKhXnJhbXJqXrpecn7uJERjO24793LyD8dLG4EOMAhyMSjy8E7yK IoRYE8uKK3MPMUpwMCuJ8F5ILY4Q4k1JrKxKLcqPLyrNSS0+xGgKtHwis5Rocj4w1vJK4g1N DM0tDY2MLSzMjYyUxHlLPlwJFxJITyxJzU5NLUgtgulj4uCUamBkUVgyj2X37+Ossd+3cFm9 tjHL8uw4XSrP9lvN5dUEJ6H19YkBAXn+ld7GlydtWudQem/+OU8tRz6dmEM+pTmx3hPqexgv v3Iq/FIpZhCb+YAtY+r54DDe7gavGv9/F2RvTWDRenCV9+Unrxc54s0z02+f773j2bGxm+3M WQmGfVKfTHPEa5VYijMSDbWYi4oTAVd4qT19AgAA X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20170109104054eucas1p258d1df5ecff1d8b8c9aa882d8c86d5df 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: 20170109104054eucas1p258d1df5ecff1d8b8c9aa882d8c86d5df X-RootMTR: 20170109104054eucas1p258d1df5ecff1d8b8c9aa882d8c86d5df 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 --- 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..5552f77 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos5433.dtsi @@ -814,6 +814,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"; + }; + syscon_disp: syscon@13b80000 { compatible = "syscon"; reg = <0x13b80000 0x1010>; @@ -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>;