From patchwork Tue Jan 10 08:24:24 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrzej Hajda X-Patchwork-Id: 9506719 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 3A465601E9 for ; Tue, 10 Jan 2017 08:24:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2E1EC2839A for ; Tue, 10 Jan 2017 08:24:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2237D284B0; Tue, 10 Jan 2017 08:24:46 +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 0F1F62839A for ; Tue, 10 Jan 2017 08:24:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753064AbdAJIYn (ORCPT ); Tue, 10 Jan 2017 03:24:43 -0500 Received: from mailout2.w1.samsung.com ([210.118.77.12]:54415 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756428AbdAJIYk (ORCPT ); Tue, 10 Jan 2017 03:24:40 -0500 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OJK00JL320Z8860@mailout2.w1.samsung.com>; Tue, 10 Jan 2017 08:24:35 +0000 (GMT) Received: from eusmges1.samsung.com (unknown [203.254.199.239]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20170110082435eucas1p19182f79ec0bab756dd21599e3502d374~YW35UWDPS2763227632eucas1p1V; Tue, 10 Jan 2017 08:24:35 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges1.samsung.com (EUCPMTA) with SMTP id 9B.D2.16908.54A94785; Tue, 10 Jan 2017 08:24:37 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20170110082434eucas1p2aa6d49ad0e77f9ed2a4d4d8c58f94307~YW34T2Bnf1780317803eucas1p2b; Tue, 10 Jan 2017 08:24:34 +0000 (GMT) X-AuditID: cbfec7ef-f79d26d00000420c-1b-58749a451223 Received: from eusync4.samsung.com ( [203.254.199.214]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 4D.AA.06687.57A94785; Tue, 10 Jan 2017 08:25:25 +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:34 +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 3/3] arm64: dts: exynos5433-tm2: enable HDMI/TV path Date: Tue, 10 Jan 2017 09:24:24 +0100 Message-id: <1484036664-15951-3-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+NgFnrEIsWRmVeSWpSXmKPExsWy7djP87qus0oiDBa90bC4te4cq8X2I89Y LTbOW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euq1SaIibroWS Ql5ibqqtUoSub0iQkkJZYk4pkGdkgAYcnAPcg5X07RLcMj7f+8VWMF2kouOhWgPjCf4uRk4O CQETiae9L5kgbDGJC/fWs3UxcnEICSxhlNg1+wILhNPIJHF1yR02kCo2AU2Jv5tvgtkiAj4S DQd2MYIUMQtMY5a4+WsjK0hCWMBdYv+LHcxdjBwcLAKqEq9m14OYvALOEtv6XSGWyUncPNfJ DGJzCrhIPDv0E6xTCKjk+ZKlLBMYeRcwMqxiFEktLc5Nzy021CtOzC0uzUvXS87P3cQIDP1t x35u3sF4aWPwIUYBDkYlHt4Nk4ojhFgTy4orcw8xSnAwK4nwPpxeEiHEm5JYWZValB9fVJqT WnyI0RTopInMUqLJ+cC4zCuJNzQxNLc0NDK2sDA3MlIS5y35cCVcSCA9sSQ1OzW1ILUIpo+J g1OqgVHs4X7uD/82yiQ8cPCTWhTb8dTBoGx5P3/IKoZKS9s+X5HwhBDW9WKFMmafz+bYyMbu yTBRv87CtN/p2aO1VnO9qpyeql3q0/WfuGnDnmr2l2vc7nZdv8aWVLprxn9Pps+6BtaxktzW b5gT7lk82H3qvOVp6xc8r5Xncp05/Pl1zCdDhgwLLSWW4oxEQy3mouJEAD5yLIiTAgAA X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20170110082434eucas1p2aa6d49ad0e77f9ed2a4d4d8c58f94307 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: 20170110082434eucas1p2aa6d49ad0e77f9ed2a4d4d8c58f94307 X-RootMTR: 20170110082434eucas1p2aa6d49ad0e77f9ed2a4d4d8c58f94307 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 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 --- v2: - replaced magic numbers with macros, - removed assigned-clock properties from sii8620 - PMU clock is already confgured in PMU node --- .../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 669bb1f..ca90e6a 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi @@ -281,6 +281,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>; @@ -304,6 +320,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>; @@ -692,6 +735,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"; @@ -735,6 +800,10 @@ }; }; +&hsi2c_11 { + status = "okay"; +}; + &i2s0 { status = "okay"; };