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: 9473739 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 E826560823 for ; Wed, 14 Dec 2016 06:04:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D2465286ED for ; Wed, 14 Dec 2016 06:04:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C4DA6286F0; Wed, 14 Dec 2016 06:04:40 +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=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 4637A286ED for ; Wed, 14 Dec 2016 06:04:40 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 67D186E721; Wed, 14 Dec 2016 06:04:34 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mailout4.samsung.com (mailout4.samsung.com [203.254.224.34]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2E5346E721 for ; Wed, 14 Dec 2016 06:04:31 +0000 (UTC) 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> for dri-devel@lists.freedesktop.org; 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 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 Cc: devicetree@vger.kernel.org, linux-samsung-soc@vger.kernel.org, Chanwoo Choi , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Hyungwon Hwang , Hoegeun Kwon X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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 {