From patchwork Wed Jan 11 08:31:39 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrzej Hajda X-Patchwork-Id: 9509483 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 C730A60710 for ; Wed, 11 Jan 2017 08:32:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B8D16285EB for ; Wed, 11 Jan 2017 08:32:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AD792285F4; Wed, 11 Jan 2017 08:32:03 +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 47386285EB for ; Wed, 11 Jan 2017 08:32:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933314AbdAKIcB (ORCPT ); Wed, 11 Jan 2017 03:32:01 -0500 Received: from mailout4.w1.samsung.com ([210.118.77.14]:53684 "EHLO mailout4.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754265AbdAKIb7 (ORCPT ); Wed, 11 Jan 2017 03:31:59 -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 <0OJL00A8OX188Q60@mailout4.w1.samsung.com>; Wed, 11 Jan 2017 08:31:56 +0000 (GMT) Received: from eusmges1.samsung.com (unknown [203.254.199.239]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20170111083155eucas1p2b0a0adca0d9d7b257ac094f27be15b74~Yqnl7e8vV0499404994eucas1p2m; Wed, 11 Jan 2017 08:31:55 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges1.samsung.com (EUCPMTA) with SMTP id 5A.90.16908.E7DE5785; Wed, 11 Jan 2017 08:31:58 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20170111083155eucas1p21c30b8fb055ebe9415683df5f7e119e1~YqnlMZyDs0646906469eucas1p2q; Wed, 11 Jan 2017 08:31:55 +0000 (GMT) X-AuditID: cbfec7ef-f79d26d00000420c-46-5875ed7e2e3a Received: from eusync3.samsung.com ( [203.254.199.213]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 67.9B.06687.FADE5785; Wed, 11 Jan 2017 08:32:47 +0000 (GMT) Received: from AMDC2768.DIGITAL.local ([106.120.43.17]) by eusync3.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OJL00ES7X148750@eusync3.samsung.com>; Wed, 11 Jan 2017 08:31:55 +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 v4 2/3] arm64: dts: exynos: add HDMI node Date: Wed, 11 Jan 2017 09:31:39 +0100 Message-id: <1484123500-20488-2-git-send-email-a.hajda@samsung.com> X-Mailer: git-send-email 2.7.4 In-reply-to: <1484123500-20488-1-git-send-email-a.hajda@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrIIsWRmVeSWpSXmKPExsWy7djPc7p1b0sjDDZcEbC4te4cq8X2I89Y LTbOWM9qcf3Lc1a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ql5ibqqtUoSub0iQkkJZYk4pkGdkgAYcnAPcg5X07RLcMprnzmMsWM1XcefJHaYGxu/cXYwc HBICJhIfr+p2MXICmWISF+6tZ+ti5OIQEljCKHHx5UoWkISQQCOTxJ+bnCA2m4CmxN/NN9lA bBEBH4mGA7sYQRqYBaYxS9z8tZEVJCEsYCkxve0wI4jNIqAqcbrvElgDr4CzxJMn75khtslJ 3DzXCWZzCrhInHx8lRliWaHEreXHGCcw8i5gZFjFKJJaWpybnltsqFecmFtcmpeul5yfu4kR GPzbjv3cvIPx0sbgQ4wCHIxKPLwPXpRECLEmlhVX5h5ilOBgVhLhXfaqNEKINyWxsiq1KD++ qDQntfgQoynQUROZpUST84GRmVcSb2hiaG5paGRsYWFuZKQkzlvy4Uq4kEB6YklqdmpqQWoR TB8TB6dUA2NKR5mjkKT6BpX+I6ZJCzhy4pdfinp9WF9K4IvC/ib/2cXas/drrJf4EbG+Qvzo l1hfM0GzXwdDj5dN71v4gfXe7PncebPv31Cfwnnpxj/DV9wfm57c1v70KUPnG3P/HekE1kgB gVarG4FeWsuW2k+dl7VtYtO6zbq+p3U5P93mYtqTznjbYIsSS3FGoqEWc1FxIgA4fA1clAIA AA== X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20170111083155eucas1p21c30b8fb055ebe9415683df5f7e119e1 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: 20170111083155eucas1p21c30b8fb055ebe9415683df5f7e119e1 X-RootMTR: 20170111083155eucas1p21c30b8fb055ebe9415683df5f7e119e1 References: <20170110190916.k3tek4zuvhggbuc6@kozik-lap> <1484123500-20488-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 --- 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 80dc0e8..f120d99 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>;