From patchwork Wed Jan 11 08:31:40 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrzej Hajda X-Patchwork-Id: 9509485 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 6E80860710 for ; Wed, 11 Jan 2017 08:32:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 602B9285EB for ; Wed, 11 Jan 2017 08:32:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 550C4285F4; Wed, 11 Jan 2017 08:32:04 +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 E8D6E285EB for ; Wed, 11 Jan 2017 08:32:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934279AbdAKIcD (ORCPT ); Wed, 11 Jan 2017 03:32:03 -0500 Received: from mailout1.w1.samsung.com ([210.118.77.11]:35927 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933204AbdAKIcB (ORCPT ); Wed, 11 Jan 2017 03:32:01 -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 <0OJL006CPX194660@mailout1.w1.samsung.com>; Wed, 11 Jan 2017 08:31:57 +0000 (GMT) Received: from eusmges4.samsung.com (unknown [203.254.199.244]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20170111083156eucas1p1db5916a433b332e8870ef9a9795c632d~YqnmisSRU0254302543eucas1p1p; Wed, 11 Jan 2017 08:31:56 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges4.samsung.com (EUCPMTA) with SMTP id 48.72.28517.C7DE5785; Wed, 11 Jan 2017 08:31:56 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20170111083155eucas1p28c9c49a619a31d33c2666f58bf22e7c0~YqnlslVAp0493304933eucas1p2K; Wed, 11 Jan 2017 08:31:55 +0000 (GMT) X-AuditID: cbfec7f4-f79716d000006f65-ff-5875ed7ccaed Received: from eusync3.samsung.com ( [203.254.199.213]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 78.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 3/3] arm64: dts: exynos: enable HDMI/TV path Date: Wed, 11 Jan 2017 09:31:40 +0100 Message-id: <1484123500-20488-3-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+NgFnrIIsWRmVeSWpSXmKPExsWy7djPc7o1b0sjDJ6fErW4te4cq8X2I89Y LTbOWM9qcf3Lc1aL+Ue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Ql5ibqqtUoSub0iQkkJZYk4pkGdkgAYcnAPcg5X07RLcMn7e7WYs+CdU8XP+PNYGxst8XYyc HBICJhITF21ggrDFJC7cW8/WxcjFISSwhFHizrRlrCAJIYFGJok/NzlBbDYBTYm/m2+ygdgi Aj4SDQd2MYI0MAtMY5a4+WsjUAMHh7CAvcTaR9UgNSwCqhI9266xg4R5BZwlDt3JgdglJ3Hz XCcziM0p4CJx8vFVZohVhRK3lh9jnMDIu4CRYRWjSGppcW56brGhXnFibnFpXrpecn7uJkZg 6G879nPzDsZLG4MPMQpwMCrx8D54URIhxJpYVlyZe4hRgoNZSYR32avSCCHelMTKqtSi/Pii 0pzU4kOMpkA3TWSWEk3OB8ZlXkm8oYmhuaWhkbGFhbmRkZI4b8mHK+FCAumJJanZqakFqUUw fUwcnFINjErRywK8T3QsKt3uec+AX5rpMOOOkoagQ3KnuT4J/BOZwSi/U3xib63k1TPhhx7o PJn0a+E91eW8m2JbtlqsqJ+5/wHnTc3l++sDHqyblnbl777fJ/caqrM+K9j2O0E4vnjB7yqN 7ffXcKcW3eWelKTt6qDUuOqMYstPDtv85x8e61yUCs29v1mJpTgj0VCLuag4EQDR8+VMkwIA AA== X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20170111083155eucas1p28c9c49a619a31d33c2666f58bf22e7c0 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: 20170111083155eucas1p28c9c49a619a31d33c2666f58bf22e7c0 X-RootMTR: 20170111083155eucas1p28c9c49a619a31d33c2666f58bf22e7c0 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 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). Signed-off-by: Andrzej Hajda Reviewed-by: Javier Martinez Canillas Reviewed-by: Chanwoo Choi Tested-by: Hoegeun Kwon --- .../boot/dts/exynos/exynos5433-tm2-common.dtsi | 69 ++++++++++++++++++++++ 1 file changed, 69 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi b/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi index cc6701b..a5c8669 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi @@ -278,6 +278,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>; @@ -301,6 +317,33 @@ }; }; +&hdmi { + hpd-gpios = <&gpa3 0 GPIO_ACTIVE_HIGH>; + 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>; @@ -702,6 +745,28 @@ }; }; +&hsi2c_7 { + status = "okay"; + + sii8620@39 { + reg = <0x39>; + compatible = "sil,sii8620"; + cvcc10-supply = <&ldo36_reg>; + iovcc18-supply = <&ldo34_reg>; + interrupt-parent = <&gpf0>; + interrupts = <2 IRQ_TYPE_LEVEL_HIGH>; + reset-gpios = <&gpv7 0 GPIO_ACTIVE_LOW>; + clocks = <&pmu_system_controller 0>; + clock-names = "xtal"; + + port { + mhl_to_hdmi: endpoint { + remote-endpoint = <&hdmi_to_mhl>; + }; + }; + }; +}; + &hsi2c_8 { status = "okay"; @@ -745,6 +810,10 @@ }; }; +&hsi2c_11 { + status = "okay"; +}; + &i2s0 { status = "okay"; };