From patchwork Wed Dec 14 06:04:05 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hoegeun Kwon X-Patchwork-Id: 9473747 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 154DB60823 for ; Wed, 14 Dec 2016 06:05:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 023D1286ED for ; Wed, 14 Dec 2016 06:05:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EB124286F1; Wed, 14 Dec 2016 06:05:10 +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 CF29A286ED for ; Wed, 14 Dec 2016 06:05:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754792AbcLNGEr (ORCPT ); Wed, 14 Dec 2016 01:04:47 -0500 Received: from mailout4.samsung.com ([203.254.224.34]:42801 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750957AbcLNGEj (ORCPT ); Wed, 14 Dec 2016 01:04:39 -0500 Received: from epcpsbgm1new.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout4.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OI502IS3VJDX610@mailout4.samsung.com>; Wed, 14 Dec 2016 15:04:29 +0900 (KST) X-AuditID: cbfee61a-f79916d0000062de-c0-5850e0edfddc Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1new.samsung.com (EPCPMTA) with SMTP id 75.8C.25310.DE0E0585; Wed, 14 Dec 2016 15:04:29 +0900 (KST) Received: from khg_DeskTop.10.32.193.11 ([10.113.63.38]) by mmp2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OI5006SRVJ4PG50@mmp2.samsung.com>; Wed, 14 Dec 2016 15:04:29 +0900 (KST) From: Hoegeun Kwon To: thierry.reding@gmail.com, kgene@kernel.org, krzk@kernel.org Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-samsung-soc@vger.kernel.org, Hyungwon Hwang , Andrzej Hajda , Chanwoo Choi , Hoegeun Kwon Subject: [PATCH 2/2] arm64: dts: exynos: Add support for S6E3HA2 panel device on TM2 board Date: Wed, 14 Dec 2016 15:04:05 +0900 Message-id: <1481695445-13088-3-git-send-email-hoegeun.kwon@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1481695445-13088-1-git-send-email-hoegeun.kwon@samsung.com> References: <1481695445-13088-1-git-send-email-hoegeun.kwon@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpgkeLIzCtJLcpLzFFi42I5/e+xoO7bBwERBouW61jcWneO1eL6l+es FvOPAFlXvr5ns3i/vIvNYumMPlaL/sevmS3On9/AbnF51xw2ixnn9zFZ/Nw1j8WB22PnrLvs HptWdbJ53O8+zuTRt2UVo8fnTXIBrFFuNhmpiSmpRQqpecn5KZl56bZKoSFuuhZKCnmJuam2 ShG6viFBSgpliTmlQJ6RARpwcA5wD1bSt0twy+hdZFAwmbdi27c+pgbGjVxdjJwcEgImEt/2 7meGsMUkLtxbz9bFyMUhJDCLUeJl508mCOcXo8TKTW/YQarYBHQlvvZcZwKxRQTsJS6f+MsK UsQssIRJYuLtLjaQhLBAjMS6V9+BbA4OFgFViWeXQkDCvAIeElPPL2CH2CYncfLYZFYQm1PA U2LTidNgM4WAalbt28o6gZF3ASPDKkaJ1ILkguKk9FzDvNRyveLE3OLSvHS95PzcTYzg0H8m tYPx4C73Q4wCHIxKPLwLBAMihFgTy4orcw8xSnAwK4nwzroDFOJNSaysSi3Kjy8qzUktPsRo CnTXRGYp0eR8YFzmlcQbmpibmBsbWJhbWpoYKYnzNs5+Fi4kkJ5YkpqdmlqQWgTTx8TBKdXA KGL2w1BhXaW3U5Bd8ZvjatEnb/1ys3D96DI5SUtbobVuo7b4FQuezdL/Dizc3rV/zbc5K/5w bSyeXNv+KM9jXprRy660v3dXzJeVWhXxtkRBbOHZRd6Tim6Zf4isv+fXa7q61lU/LlYl/Eb0 47flYpkvf3macYtI3rVy1Kup3u73r3QrV0a0EktxRqKhFnNRcSIA2TqsqJMCAAA= X-MTR: 20000000000000000@CPGS 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 From: Hyungwon Hwang This patch add the panel device tree node for S6E3HA2 display controller to TM2 dts. Signed-off-by: Hyungwon Hwang Signed-off-by: Andrzej Hajda Signed-off-by: Chanwoo Choi Signed-off-by: Hoegeun Kwon --- arch/arm64/boot/dts/exynos/exynos5433-tm2.dts | 33 +++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts b/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts index db879f4..4ad2332 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts +++ b/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts @@ -252,11 +252,44 @@ reg = <1>; dsi_out: endpoint { + remote-endpoint = <&dsi_in>; samsung,burst-clock-frequency = <512000000>; samsung,esc-clock-frequency = <16000000>; }; }; }; + + panel@0 { + compatible = "samsung,s6e3ha2"; + reg = <0>; + vdd3-supply = <&ldo27_reg>; + vci-supply = <&ldo28_reg>; + reset-gpios = <&gpg0 0 GPIO_ACTIVE_HIGH>; + enable-gpios = <&gpf1 5 GPIO_ACTIVE_HIGH>; + te-gpios = <&gpf1 3 GPIO_ACTIVE_HIGH>; + power-on-delay = <120>; + reset-delay = <5>; + + display-timings { + timing-0 { + clock-frequency = <14874444>; + hactive = <1440>; + vactive = <2560>; + hfront-porch = <1>; + hback-porch = <1>; + hsync-len = <1>; + vfront-porch = <1>; + vback-porch = <15>; + vsync-len = <1>; + }; + }; + + port { + dsi_in: endpoint { + remote-endpoint = <&dsi_out>; + }; + }; + }; }; &hsi2c_0 {