From patchwork Mon Jan 9 10:40:37 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrzej Hajda X-Patchwork-Id: 9504313 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 3CDDA6075F 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 0895C27CFC for ; Mon, 9 Jan 2017 10:41:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F170D2808F; 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 E0F1D2840E for ; Mon, 9 Jan 2017 10:41:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964875AbdAIKlJ (ORCPT ); Mon, 9 Jan 2017 05:41:09 -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 S964879AbdAIKlG (ORCPT ); Mon, 9 Jan 2017 05:41:06 -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 <0OJI00FOPDO8VQ10@mailout1.w1.samsung.com>; Mon, 09 Jan 2017 10:40:56 +0000 (GMT) Received: from eusmges5.samsung.com (unknown [203.254.199.245]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20170109104056eucas1p217d8d859bad6deb72775259020dfe69b~YFFp3cVPG2473924739eucas1p2A; Mon, 9 Jan 2017 10:40:56 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges5.samsung.com (EUCPMTA) with SMTP id 35.55.17477.7B863785; Mon, 9 Jan 2017 10:40:55 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20170109104055eucas1p20e90f616b4bb44b4759021885f560c08~YFFpLdAbe2473924739eucas1p2-; Mon, 9 Jan 2017 10:40:55 +0000 (GMT) X-AuditID: cbfec7f5-f79d06d000004445-34-587368b7f31c Received: from eusync2.samsung.com ( [203.254.199.212]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id FC.61.06687.9E863785; Mon, 9 Jan 2017 10:41:45 +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: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 v2 3/3] arm64: dts: exynos5433-tm2: enable HDMI/TV path Date: Mon, 09 Jan 2017 11:40:37 +0100 Message-id: <1483958437-6572-3-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+NgFnrCIsWRmVeSWpSXmKPExsWy7djPc7rbM4ojDA6+17G4te4cq8X2I89Y LTbOWM9qcf3Lc1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ibqqtUoSub0iQkkJZYk4pkGdkgAYcnAPcg5X07RLcMjZM6mcr2CBcsWPZKeYGxtd8XYyc HBICJhJX529mgbDFJC7cW8/WxcjFISSwhFHiw64PzCAJIYFGJold1yNAbDYBTYm/m2+ygdgi Aj4SDQd2MYI0MAtMY5a4+WsjK0hCWMBdYu7da2A2i4CqxOeVs8BsXgEniVeL1jFDbJOTuHmu E8zmFHCWWLp2BnsXIwfQMieJ6cdqJjDyLmBkWMUoklpanJueW2yoV5yYW1yal66XnJ+7iREY /NuO/dy8g/HSxuBDjAIcjEo8vBO8iiKEWBPLiitzDzFKcDArifBeSC2OEOJNSaysSi3Kjy8q zUktPsRoCnTTRGYp0eR8YGTmlcQbmhiaWxoaGVtYmBsZKYnzlny4Ei4kkJ5YkpqdmlqQWgTT x8TBKdXAKC1w1+m2uOiXJ8FKLJoafU6K5g26lT1ZFhVnFzke9tSz258VlPPKhPPUk4u/7po2 Z4sFyYf9r5a3Spr/cudeHak1bTXJKlq2n8QMovJZw74c/Mwl6ZE7ucli35c5ppc01Sc45WvI H+OZm5cWxuFSL240eXHoiayYyp7EzVesdbQETANeBiixFGckGmoxFxUnAgCTCrtZlAIAAA== X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20170109104055eucas1p20e90f616b4bb44b4759021885f560c08 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: 20170109104055eucas1p20e90f616b4bb44b4759021885f560c08 X-RootMTR: 20170109104055eucas1p20e90f616b4bb44b4759021885f560c08 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 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"; };