From patchwork Tue Jan 10 08:24:23 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrzej Hajda X-Patchwork-Id: 9506717 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 3BCAE601E9 for ; Tue, 10 Jan 2017 08:24:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2FFDD28485 for ; Tue, 10 Jan 2017 08:24:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 24CF92849A; Tue, 10 Jan 2017 08:24:45 +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 45A5628307 for ; Tue, 10 Jan 2017 08:24:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758837AbdAJIYl (ORCPT ); Tue, 10 Jan 2017 03:24:41 -0500 Received: from mailout3.w1.samsung.com ([210.118.77.13]:45168 "EHLO mailout3.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753064AbdAJIYi (ORCPT ); Tue, 10 Jan 2017 03:24:38 -0500 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout3.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OJK00MGK20Z4T60@mailout3.w1.samsung.com>; Tue, 10 Jan 2017 08:24:35 +0000 (GMT) Received: from eusmges5.samsung.com (unknown [203.254.199.245]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20170110082434eucas1p2d93fe02bef02cb27f8570e8487142671~YW348Xzen1780317803eucas1p2c; Tue, 10 Jan 2017 08:24:34 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges5.samsung.com (EUCPMTA) with SMTP id F5.F2.17477.24A94785; Tue, 10 Jan 2017 08:24:34 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20170110082433eucas1p10121a0c5defc7a3004235c78a50b1ff4~YW34CMoUL1133911339eucas1p1a; Tue, 10 Jan 2017 08:24:33 +0000 (GMT) X-AuditID: cbfec7f5-f79d06d000004445-d3-58749a42d578 Received: from eusync4.samsung.com ( [203.254.199.214]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 75.C9.10233.A3A94785; Tue, 10 Jan 2017 08:24:26 +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 2/3] arm64: dts: exynos5433: add HDMI node Date: Tue, 10 Jan 2017 09:24:23 +0100 Message-id: <1484036664-15951-2-git-send-email-a.hajda@samsung.com> X-Mailer: git-send-email 2.7.4 In-reply-to: <1484036664-15951-1-git-send-email-a.hajda@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrIIsWRmVeSWpSXmKPExsWy7djPc7pOs0oiDLpOaFncWneO1WL7kWes FhtnrGe1uP7lOavF/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+SmZeuq1SaIibroWS Ql5ibqqtUoSub0iQkkJZYk4pkGdkgAYcnAPcg5X07RLcMqYuPMNe8JOvYllvegPjRp4uRk4O CQETiatrL7BB2GISF+6tB7K5OIQEljBKLNrwhhHCaWSSOPFqEwtIFZuApsTfzTfBOkQEfCQa DuwCK2IWmMYscfPXRlaQhLCArcTcu2eZQGwWAVWJ2yvvgNm8As4SW741s0Ksk5O4ea6TGcTm FHCReHboJ1hcCKjm+ZKlLBMYeRcwMqxiFEktLc5Nzy020itOzC0uzUvXS87P3cQIDP9tx35u 2cHY9S74EKMAB6MSD2/EhOIIIdbEsuLK3EOMEhzMSiK8D6eXRAjxpiRWVqUW5ccXleakFh9i NAU6aiKzlGhyPjA280riDU0MzS0NjYwtLMyNjJTEead+uBIuJJCeWJKanZpakFoE08fEwSnV wOhQm3T/nesUpxlq87aJME++YP9o0Z99oiveZiy/FPHtcHGHYKT4RY+ZpdHfQ84eipntGfjQ MDpVcM0DoT03A+uYHp9S/8Sgxbo6pDR9Sbf7m+Vyxy66v1xjnPLx1//dOyfVvzny7OKWj2H8 eVozE+2qZuj7TzD7/PuaqMPy+bI7mk4WWrfeUHFSYinOSDTUYi4qTgQA7S0DrZUCAAA= X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20170110082433eucas1p10121a0c5defc7a3004235c78a50b1ff4 X-Msg-Generator: CA X-Sender-IP: 182.198.249.180 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: 20170110082433eucas1p10121a0c5defc7a3004235c78a50b1ff4 X-RootMTR: 20170110082433eucas1p10121a0c5defc7a3004235c78a50b1ff4 References: <1484036664-15951-1-git-send-email-a.hajda@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 HDMI converts RGB/I80 signal from DECON_TV to HDMI/TMDS video stream. Signed-off-by: Andrzej Hajda Reviewed-by: Javier Martinez Canillas Reviewed-by: Chanwoo Choi Tested-by: Hoegeun Kwon --- v2: - replaced magic numbers with macros, - removed power domains --- arch/arm64/boot/dts/exynos/exynos5433.dtsi | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/exynos5433.dtsi b/arch/arm64/boot/dts/exynos/exynos5433.dtsi index 8865fae..441270f 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos5433.dtsi @@ -837,6 +837,35 @@ }; }; + hdmi: hdmi@13970000 { + compatible = "samsung,exynos5433-hdmi"; + reg = <0x13970000 0x70000>; + interrupts = ; + clocks = <&cmu_disp CLK_PCLK_HDMI>, + <&cmu_disp CLK_PCLK_HDMIPHY>, + <&cmu_disp CLK_PHYCLK_HDMIPHY_TMDS_CLKO>, + <&cmu_disp CLK_PHYCLK_HDMI_PIXEL>, + <&cmu_disp CLK_PHYCLK_HDMIPHY_TMDS_CLKO_PHY>, + <&cmu_disp CLK_MOUT_PHYCLK_HDMIPHY_TMDS_CLKO_USER>, + <&cmu_disp CLK_PHYCLK_HDMIPHY_PIXEL_CLKO_PHY>, + <&cmu_disp CLK_MOUT_PHYCLK_HDMIPHY_PIXEL_CLKO_USER>, + <&xxti>, <&cmu_disp CLK_SCLK_HDMI_SPDIF>; + clock-names = "hdmi_pclk", "hdmi_i_pclk", + "i_tmds_clk", "i_pixel_clk", + "tmds_clko", "tmds_clko_user", + "pixel_clko", "pixel_clko_user", + "oscclk", "i_spdif_clk"; + phy = <&hdmiphy>; + ddc = <&hsi2c_11>; + samsung,syscon-phandle = <&pmu_system_controller>; + samsung,sysreg-phandle = <&syscon_disp>; + status = "disabled"; + }; + + hdmiphy: hdmiphy@13af0000 { + reg = <0x13af0000 0x80>; + }; + syscon_disp: syscon@13b80000 { compatible = "syscon"; reg = <0x13b80000 0x1010>;