From patchwork Mon Jan 9 10:40:36 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrzej Hajda X-Patchwork-Id: 9504311 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 129236071A for ; Mon, 9 Jan 2017 10:41:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D6EC327CFC for ; Mon, 9 Jan 2017 10:41:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CB87A282E8; Mon, 9 Jan 2017 10:41:18 +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 C06F627CFC for ; Mon, 9 Jan 2017 10:41:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964881AbdAIKlI (ORCPT ); Mon, 9 Jan 2017 05:41:08 -0500 Received: from mailout1.w1.samsung.com ([210.118.77.11]:14825 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964875AbdAIKlE (ORCPT ); Mon, 9 Jan 2017 05:41:04 -0500 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OJI00HI8DO8DP10@mailout1.w1.samsung.com>; Mon, 09 Jan 2017 10:40:56 +0000 (GMT) Received: from eusmges4.samsung.com (unknown [203.254.199.244]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20170109104055eucas1p16a660f6f678005c3ba64f1d6b0ede710~YFFpnJjFu2164321643eucas1p1T; Mon, 9 Jan 2017 10:40:55 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges4.samsung.com (EUCPMTA) with SMTP id 44.C5.28517.7B863785; Mon, 9 Jan 2017 10:40:55 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20170109104054eucas1p1e67bb21985880fec1aaeec1969dbe5e0~YFFo5kQx_2341623416eucas1p1B; Mon, 9 Jan 2017 10:40:54 +0000 (GMT) X-AuditID: cbfec7f4-f79716d000006f65-17-587368b778f2 Received: from eusync2.samsung.com ( [203.254.199.212]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 61.61.10233.EA863785; Mon, 9 Jan 2017 10:40:46 +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 2/3] arm64: dts: exynos5433: add HDMI node Date: Mon, 09 Jan 2017 11:40:36 +0100 Message-id: <1483958437-6572-2-git-send-email-a.hajda@samsung.com> X-Mailer: git-send-email 2.7.4 In-reply-to: <1483958437-6572-1-git-send-email-a.hajda@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrMIsWRmVeSWpSXmKPExsWy7djPc7rbM4ojDFYuk7G4te4cq8X2I89Y LTbOWM9qcf3Lc1aL+Ue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S8xN9VWKULXNyRISaEsMacUyDMyQAMOzgHuwUr6dgluGcuXPWAqWMlXMW9eO2MD4wvuLkZO DgkBE4kF7/6zQthiEhfurWfrYuTiEBJYwijxbfUKVginkUlixreHTCBVbAKaEn8332QDsUUE fCQaDuxiBCliFpjGLHHz10agDg4OYQFbiVXXbUBqWARUJV7dXQ9WzyvgJPFl4gyobXISN891 MoPYnALOEkvXzmAHaRUCqpl+rGYCI+8CRoZVjCKppcW56bnFRnrFibnFpXnpesn5uZsYgcG/ 7djPLTsYu94FH2IU4GBU4uGd4FUUIcSaWFZcmXuIUYKDWUmE90JqcYQQb0piZVVqUX58UWlO avEhRlOgmyYyS4km5wMjM68k3tDE0NzS0MjYwsLcyEhJnHfqhyvhQgLpiSWp2ampBalFMH1M HJxSDYzXOEuCeX7WdOe0uNTZ/vq8s7/thNEnFRXX9hPHFB7+M/X84FhwM7GX22e678ewyJfX z4hxRbgsUL96Ou/otdqTVpNVvk++5/u40rXpd4jEtCdF/E+83Zac0mvb/4SJ7/GsqXdLhVfN kI9/8r+Xf2XAuuva8/IOf+yuuz9p+amSRyav19mv39KixFKckWioxVxUnAgAqaDS7ZQCAAA= X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20170109104054eucas1p1e67bb21985880fec1aaeec1969dbe5e0 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: 20170109104054eucas1p1e67bb21985880fec1aaeec1969dbe5e0 X-RootMTR: 20170109104054eucas1p1e67bb21985880fec1aaeec1969dbe5e0 References: <1483958437-6572-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 5552f77..f82d26e 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos5433.dtsi @@ -837,6 +837,35 @@ iommu-names = "m0", "m1"; }; + 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>;