From patchwork Wed Jul 25 15:46:42 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrzej Hajda X-Patchwork-Id: 10544205 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B89DEA517 for ; Wed, 25 Jul 2018 15:47:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A95A52A508 for ; Wed, 25 Jul 2018 15:47:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9D7282A510; Wed, 25 Jul 2018 15:47:06 +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=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI,T_DKIM_INVALID 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 3A3C62A508 for ; Wed, 25 Jul 2018 15:47:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728641AbeGYQ7T (ORCPT ); Wed, 25 Jul 2018 12:59:19 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:33582 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728620AbeGYQ7T (ORCPT ); Wed, 25 Jul 2018 12:59:19 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20180725154703euoutp01af85687426b8ab8105e506695c0d90b3~EpzYRDOsY1855518555euoutp01D; Wed, 25 Jul 2018 15:47:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20180725154703euoutp01af85687426b8ab8105e506695c0d90b3~EpzYRDOsY1855518555euoutp01D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1532533623; bh=0I+rutI9gHWG4dMI38NXBKx3uRGI2jcB8UKwXDgj34A=; h=From:To:Cc:Subject:Date:In-reply-to:References:From; b=LgotTPeU67H+tzG7L4cFz1C3i9+9Bz2gZQHcw0LVE0kGcbaUcX0uFmNDqj9318FXq 955Dy+efZqrAI33PfeygVDhD2d6OKcjH5KsN6CvjPm+A7Ym0YH4+D2e+yikEQxVYiq fwuq9dKVq/Lk4CjSdxg2npybrltxtMUf6zh/uO84= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20180725154703eucas1p1b528de41da41b01d41688df1c775d061~EpzXnmmuH2317223172eucas1p1I; Wed, 25 Jul 2018 15:47:03 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id A0.F8.04627.67B985B5; Wed, 25 Jul 2018 16:47:02 +0100 (BST) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20180725154702eucas1p1312eaf0253ce9c67de7d9cf3bf43e5f4~EpzW7lMai1497214972eucas1p1b; Wed, 25 Jul 2018 15:47:02 +0000 (GMT) X-AuditID: cbfec7f2-0d3ff70000021213-75-5b589b767425 Received: from eusync4.samsung.com ( [203.254.199.214]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 1D.B1.04183.67B985B5; Wed, 25 Jul 2018 16:47:02 +0100 (BST) 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 <0PCF00M07IIAVC60@eusync4.samsung.com>; Wed, 25 Jul 2018 16:47:02 +0100 (BST) From: Andrzej Hajda To: dri-devel@lists.freedesktop.org, linux-samsung-soc@vger.kernel.org, Inki Dae Cc: Andrzej Hajda , Bartlomiej Zolnierkiewicz , Marek Szyprowski , Maciej Purski , Rob Herring , Thierry Reding , Krzysztof Kozlowski , Archit Taneja , Laurent Pinchart Subject: [PATCH v5 7/9] ARM: dts: exynos5250-arndale: add DSI and panel nodes Date: Wed, 25 Jul 2018 17:46:42 +0200 Message-id: <20180725154644.25412-8-a.hajda@samsung.com> X-Mailer: git-send-email 2.18.0 In-reply-to: <20180725154644.25412-1-a.hajda@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrLIsWRmVeSWpSXmKPExsWy7djPc7plsyOiDa5dM7O4te4cq0VTx1tW i40z1rNaXPn6ns1i0v0JLBbnz29gt+icuITdYsb5fUwWC17eYrFYe+Quu0Xr3iPsFj93zWNx 4PG43NfL5LFz1l12j9kdM1k9Nq3qZPO4332cyaNvyypGj8+b5ALYo7hsUlJzMstSi/TtErgy /l6+y1jQL1wxddZH5gbGHv4uRg4OCQETiQ2XLLoYuTiEBFYwSqyZuZENwvnMKHHyxHWWLkZO sKK28zeZIRLLGCUuvT/JAuH8Z5T43r+UGaSKTUBT4u/mm2wgtohApsSGgwvZQYqYBXqYJVYt XwqWEBbwl+hdOZMVxGYRUJXYu3M9I4jNK2Ah0X3iBhPEOnmJh8fbweKcApYSV/YfArtJQmAL m8Sr45ugilwk9t8/xQZhCwPFt7BD2DISlyd3Q91dL9E08wozRHMHo8SJxcuhGqwlDh+/CHYF swCfxKRt05khocEr0dEmBFHiIdHfNxEaGD1Ab35exTyBUXIBI8MqRvHU0uLc9NRiw7zUcr3i xNzi0rx0veT83E2MwEg+/e/4px2MXy8lHWIU4GBU4uF90RQeLcSaWFZcmXuIUYKDWUmE1+Uw UIg3JbGyKrUoP76oNCe1+BCjNAeLkjivtE9EtJBAemJJanZqakFqEUyWiYNTqoExQmXyta7F vjzCGw1kl01YqTnp21ShgOdCPYwVEgLnf3P/u9d/+9bqc08tU57Pma8c/1H72bSuWIVjKx4E mk07lLe8cMZy+Qv2iREpcjmTvleJipiefrUn8d/Dg+87G3Ner+1oXCdVJ2J/z/jbXZ21sjq3 t0TMs/FLXnhLpFt945zVHXnR2p3xSizFGYmGWsxFxYkAJrHu7+ACAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrFLMWRmVeSWpSXmKPExsVy+t/xa7plsyOiDS7elbC4te4cq0VTx1tW i40z1rNaXPn6ns1i0v0JLBbnz29gt+icuITdYsb5fUwWC17eYrFYe+Quu0Xr3iPsFj93zWNx 4PG43NfL5LFz1l12j9kdM1k9Nq3qZPO4332cyaNvyypGj8+b5ALYo7hsUlJzMstSi/TtErgy /l6+y1jQL1wxddZH5gbGHv4uRk4OCQETibbzN5m7GLk4hASWMEocPnEAymlkkli6eRcrSBWb gKbE38032UBsEYFMiUtrW5lBbGaBPmaJFQfVQGxhAV+JvqOXwWpYBFQl9u5czwhi8wpYSHSf uMEEsU1e4uHxdrA4p4ClxJX9h8DqhYBqDmxcxzaBkWcBI8MqRpHU0uLc9NxiI73ixNzi0rx0 veT83E2MwBDcduznlh2MXe+CDzEKcDAq8fBemBkRLcSaWFZcmXuIUYKDWUmE1+VweLQQb0pi ZVVqUX58UWlOavEhRmkOFiVx3vMGlVFCAumJJanZqakFqUUwWSYOTqkGRp2QBK1ru/Vn82fk JO9yOPxn2yG9U1HMgbeeJPEo/wjYv+lnqe+jiDfNN6wq2p9cjRddsvd3byfnl3c6d+ITjk2R Miq+O0f39/MOJu0InkV2DfOe/T2h4GM0z6R76fQ/Gy3yPJ/vyv5soTXN+qvj5BW9Fr6/JqUU 1TJ0VJZbLS1I8torPtctX4mlOCPRUIu5qDgRAMGCxKA9AgAA X-CMS-MailID: 20180725154702eucas1p1312eaf0253ce9c67de7d9cf3bf43e5f4 X-Msg-Generator: CA CMS-TYPE: 201P X-CMS-RootMailID: 20180725154702eucas1p1312eaf0253ce9c67de7d9cf3bf43e5f4 References: <20180725154644.25412-1-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 The patch adds bridge and panel nodes. It adds also DSI properties specific for arndale board and regulators required by the bridge. Signed-off-by: Andrzej Hajda Signed-off-by: Maciej Purski --- arch/arm/boot/dts/exynos5250-arndale.dts | 61 ++++++++++++++++++++++++ 1 file changed, 61 insertions(+) diff --git a/arch/arm/boot/dts/exynos5250-arndale.dts b/arch/arm/boot/dts/exynos5250-arndale.dts index 7a8a5c55701a..816d89d4cefd 100644 --- a/arch/arm/boot/dts/exynos5250-arndale.dts +++ b/arch/arm/boot/dts/exynos5250-arndale.dts @@ -71,6 +71,17 @@ }; }; + panel: panel { + compatible = "boe,hv070wsa-100"; + power-supply = <&vcc_3v3_reg>; + enable-gpios = <&gpd1 3 GPIO_ACTIVE_HIGH>; + port { + panel_ep: endpoint { + remote-endpoint = <&bridge_out_ep>; + }; + }; + }; + regulators { compatible = "simple-bus"; #address-cells = <1>; @@ -97,6 +108,30 @@ reg = <2>; regulator-name = "hdmi-en"; }; + + vcc_1v2_reg: regulator@3 { + compatible = "regulator-fixed"; + reg = <3>; + regulator-name = "VCC_1V2"; + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1200000>; + }; + + vcc_1v8_reg: regulator@4 { + compatible = "regulator-fixed"; + reg = <4>; + regulator-name = "VCC_1V8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + }; + + vcc_3v3_reg: regulator@5 { + compatible = "regulator-fixed"; + reg = <5>; + regulator-name = "VCC_3V3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + }; }; fixed-rate-clocks { @@ -119,6 +154,32 @@ cpu0-supply = <&buck2_reg>; }; +&dsi_0 { + vddcore-supply = <&ldo8_reg>; + vddio-supply = <&ldo10_reg>; + samsung,pll-clock-frequency = <24000000>; + samsung,burst-clock-frequency = <320000000>; + samsung,esc-clock-frequency = <10000000>; + status = "okay"; + + bridge@0 { + reg = <0>; + compatible = "toshiba,tc358764"; + vddc-supply = <&vcc_1v2_reg>; + vddio-supply = <&vcc_1v8_reg>; + vddlvds-supply = <&vcc_3v3_reg>; + reset-gpios = <&gpd1 6 GPIO_ACTIVE_LOW>; + #address-cells = <1>; + #size-cells = <0>; + port@1 { + reg = <1>; + bridge_out_ep: endpoint { + remote-endpoint = <&panel_ep>; + }; + }; + }; +}; + &dp { status = "okay"; samsung,color-space = <0>;