From patchwork Thu Jan 5 15:25:43 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrzej Hajda X-Patchwork-Id: 9499187 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 524C3606DE for ; Thu, 5 Jan 2017 15:26:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 497FE28339 for ; Thu, 5 Jan 2017 15:26:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3E31128416; Thu, 5 Jan 2017 15:26:14 +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 CD75328339 for ; Thu, 5 Jan 2017 15:26:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S936302AbdAEP0N (ORCPT ); Thu, 5 Jan 2017 10:26:13 -0500 Received: from mailout1.w1.samsung.com ([210.118.77.11]:59103 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S936329AbdAEP0K (ORCPT ); Thu, 5 Jan 2017 10:26:10 -0500 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OJB00KZZC7H6L80@mailout1.w1.samsung.com>; Thu, 05 Jan 2017 15:26:06 +0000 (GMT) Received: from eusmges5.samsung.com (unknown [203.254.199.245]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20170105152605eucas1p17573a7a08266848136505597017266cf~W6ZfXd7LN0310803108eucas1p1-; Thu, 5 Jan 2017 15:26:05 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges5.samsung.com (EUCPMTA) with SMTP id F5.FE.10572.D856E685; Thu, 5 Jan 2017 15:26:05 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20170105152604eucas1p12c1a964b5299a5a41305b00b80a09f36~W6ZerKJdh1761117611eucas1p1A; Thu, 5 Jan 2017 15:26:04 +0000 (GMT) X-AuditID: cbfec7f5-f79676d00000294c-6c-586e658df2ef Received: from eusync4.samsung.com ( [203.254.199.214]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 9D.50.03557.CB56E685; Thu, 5 Jan 2017 15:26:52 +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 <0OJB00K0ZC7FNA20@eusync4.samsung.com>; Thu, 05 Jan 2017 15:26:04 +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 Subject: [PATCH 3/3] ARM64: dts: exynos5433-tm2: enable HDMI/TV path Date: Thu, 05 Jan 2017 16:25:43 +0100 Message-id: <1483629943-31183-3-git-send-email-a.hajda@samsung.com> X-Mailer: git-send-email 2.7.4 In-reply-to: <1483629943-31183-1-git-send-email-a.hajda@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrFIsWRmVeSWpSXmKPExsWy7djPc7q9qXkRBq13hCxurTvHarFxxnpW i/lHgKxJ9yewWLx5u4bJ4vz5DewWM87vY7JYe+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dpeCeUMW3wxtYGhiX8nUxcnBICJhIrNig18XI CWSKSVy4t56ti5GLQ0hgCaPE2o0vGUESQgKNTBKndwuD2GwCmhJ/N99kA7FFBHwkGg7sYgRp YBY4ySQxd/tMFpCEsICLREvvfnYQm0VAVeLN+j/MIDavgLPElzObmSC2yUncPNcJFucEql94 qYENYpmzxM4LbxgnMPIuYGRYxSiSWlqcm55bbKhXnJhbXJqXrpecn7uJERjo24793LyD8dLG 4EOMAhyMSjy8EV55EUKsiWXFlbmHGCU4mJVEeGcnAoV4UxIrq1KL8uOLSnNSiw8xmgIdNZFZ SjQ5HxiFeSXxhiaG5paGRsYWFuZGRkrivCUfroQLCaQnlqRmp6YWpBbB9DFxcEo1MCpsdjI6 yCdQ9Tq39LVKr9CyeUX3RK6srclca7CkNO2V3D/tgIJ716f/ao2p1w5yPrnNwT/Xim/JbOag PGbzue0tYbOOXsorPxW4KjrhvXTQ9sj7pqurnP9M2+j+wJ/57JcAr7d8jxQylZrL/0zZ717i sjKspUlzdoHGosmzN79hWB2cu+TpZiWW4oxEQy3mouJEAFivWDOKAgAA X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20170105152604eucas1p12c1a964b5299a5a41305b00b80a09f36 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: 20170105152604eucas1p12c1a964b5299a5a41305b00b80a09f36 X-RootMTR: 20170105152604eucas1p12c1a964b5299a5a41305b00b80a09f36 References: <1483629943-31183-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 TV path consist of following interconnected components: - DECON_TV - display controller, - HDMI - video signal converter RGB / HDMI, - MHL - video signal converter HDMI / MHL, - DDC - i2c slave device for EDID reading (on hsi2c_11 bus). The same path/configuration is used by TM2E board and is automatically applied thanks to dts file inclusion. Signed-off-by: Andrzej Hajda Reviewed-by: Javier Martinez Canillas --- arch/arm64/boot/dts/exynos/exynos5433-tm2.dts | 71 +++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts b/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts index 060adbf..0a87670 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts +++ b/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts @@ -236,6 +236,22 @@ }; }; +&decon_tv { + status = "okay"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + tv_to_hdmi: endpoint { + remote-endpoint = <&hdmi_to_tv>; + }; + }; + }; +}; + &dsi { status = "okay"; vddcore-supply = <&ldo6_reg>; @@ -294,6 +310,33 @@ }; }; +&hdmi { + hpd-gpio = <&gpa3 0 0>; + status = "okay"; + vdd-supply = <&ldo6_reg>; + vdd_osc-supply = <&ldo7_reg>; + vdd_pll-supply = <&ldo6_reg>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + hdmi_to_tv: endpoint { + remote-endpoint = <&tv_to_hdmi>; + }; + }; + + port@1 { + reg = <1>; + hdmi_to_mhl: endpoint { + remote-endpoint = <&mhl_to_hdmi>; + }; + }; + }; +}; + &hsi2c_0 { status = "okay"; clock-frequency = <2500000>; @@ -708,6 +751,30 @@ }; }; +&hsi2c_7 { + status = "okay"; + + sii8620@39 { + reg = <0x39>; + compatible = "sil,sii8620"; + cvcc10-supply = <&ldo36_reg>; + iovcc18-supply = <&ldo34_reg>; + interrupt-parent = <&gpf0>; + interrupts = <2 0>; + reset-gpios = <&gpv7 0 GPIO_ACTIVE_LOW>; + clocks = <&pmu_system_controller 0>; + clock-names = "xtal"; + assigned-clocks = <&pmu_system_controller 0>; + assigned-clock-parents = <&xxti>; + + port { + mhl_to_hdmi: endpoint { + remote-endpoint = <&hdmi_to_mhl>; + }; + }; + }; +}; + &hsi2c_8 { status = "okay"; @@ -751,6 +818,10 @@ }; }; +&hsi2c_11 { + status = "okay"; +}; + &i2s0 { status = "okay"; };