From patchwork Thu Jun 5 06:19:41 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: YoungJun Cho X-Patchwork-Id: 4303391 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 686A0BEEA7 for ; Thu, 5 Jun 2014 06:20:07 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9AE912034F for ; Thu, 5 Jun 2014 06:20:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B82AC202EC for ; Thu, 5 Jun 2014 06:20:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751383AbaFEGUD (ORCPT ); Thu, 5 Jun 2014 02:20:03 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:28680 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750809AbaFEGUB (ORCPT ); Thu, 5 Jun 2014 02:20:01 -0400 Received: from epcpsbgr4.samsung.com (u144.gpu120.samsung.co.kr [203.254.230.144]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N6O00AZ0MXAG810@mailout2.samsung.com>; Thu, 05 Jun 2014 15:19:58 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.43]) by epcpsbgr4.samsung.com (EPCPMTA) with SMTP id E0.DE.13369.E0C00935; Thu, 05 Jun 2014 15:19:58 +0900 (KST) X-AuditID: cbfee690-b7fb56d000003439-d1-53900c0ec925 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id E9.00.08203.E0C00935; Thu, 05 Jun 2014 15:19:58 +0900 (KST) Received: from localhost.localdomain ([10.252.75.90]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0N6O00CKJMX7FQ60@mmp2.samsung.com>; Thu, 05 Jun 2014 15:19:58 +0900 (KST) From: YoungJun Cho To: airlied@linux.ie, dri-devel@lists.freedesktop.org Cc: devicetree@vger.kernel.org, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, linux-samsung-soc@vger.kernel.org, thierry.reding@gmail.com, kyungmin.park@samsung.com, inki.dae@samsung.com, kgene.kim@samsung.com, jy0922.shim@samsung.com, sw0312.kim@samsung.com, a.hajda@samsung.com Subject: [PATCH v4 01/14] drm/exynos: dsi: move the EoT packets configuration point Date: Thu, 05 Jun 2014 15:19:41 +0900 Message-id: <1401949194-20092-2-git-send-email-yj44.cho@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1401949194-20092-1-git-send-email-yj44.cho@samsung.com> References: <1401949194-20092-1-git-send-email-yj44.cho@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrGIsWRmVeSWpSXmKPExsVy+t8zbV0+ngnBBsv/SFncWneO1aL33Ekm i/lHgKwrX9+zWfS/Wchqce7VSkaLSfcnsFi8uHeRxaJ3wVU2i7NNb9gtZpzfx2Sx9PpFJosJ 09eyWLTuPQIUm/ySzeLnrnksDgIea+atYfS43NfL5LFz1l12j5XLv7B5bFrVyeax/dsDVo/7 3ceZPPq2rGL0+LxJLoAzissmJTUnsyy1SN8ugStj1iLBgolcFW9+vGZuYDzO0cXIySEhYCKx 700rI4QtJnHh3nq2LkYuDiGBZYwS+x/9Z4cpun7+BSNEYjqjxJ0Xe9khnFYmiY4l58Ha2QQ0 JZ5/3MEKYosImEp0TFrKAlLELPCESeLU5v1ADgeHsECoxPET8SA1LAKqEueerWADsXkF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DRaHGAU4GJV4eCcE9AcLsSaWFVfmHmKU4GBWEuH9 UwwU4k1JrKxKLcqPLyrNSS0+xJgMdNREZinR5HxggskriTc0NjEzsjQyMzYxNzYmTVhJnPdA q3WgkEB6YklqdmpqQWoRzBYmDk6pBsbAi89PqabElSxYIClROPXos/OcCUt8RZibOT8cV3uV ssNiIYf2poDLmWKhObzsbDu1DzbMe7h1w6OJzWJtsR3dkjOPJNy+nam26APntKCQhVKP357g knxtyR/dotN6Tiz66Z1XgR8qRbTXf9cS/OpvdNOwXcg8q1rnRvKffz/deafmc9yYN0WJpTgj 0VCLuag4EQD+U7GwJgMAAA== DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This configuration could be used in MIPI DSI command mode also. Signed-off-by: YoungJun Cho Acked-by: Inki Dae Acked-by: Kyungmin Park Reviewed-by: Andrzej Hajda --- drivers/gpu/drm/exynos/exynos_drm_dsi.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_dsi.c b/drivers/gpu/drm/exynos/exynos_drm_dsi.c index 6302aa6..df2d23d 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_dsi.c +++ b/drivers/gpu/drm/exynos/exynos_drm_dsi.c @@ -473,8 +473,6 @@ static int exynos_dsi_init_link(struct exynos_dsi *dsi) if (!(dsi->mode_flags & MIPI_DSI_MODE_VSYNC_FLUSH)) reg |= DSIM_MFLUSH_VS; - if (!(dsi->mode_flags & MIPI_DSI_MODE_EOT_PACKET)) - reg |= DSIM_EOT_DISABLE; if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO_SYNC_PULSE) reg |= DSIM_SYNC_INFORM; if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO_BURST) @@ -491,6 +489,9 @@ static int exynos_dsi_init_link(struct exynos_dsi *dsi) reg |= DSIM_HSA_MODE; } + if (!(dsi->mode_flags & MIPI_DSI_MODE_EOT_PACKET)) + reg |= DSIM_EOT_DISABLE; + switch (dsi->format) { case MIPI_DSI_FMT_RGB888: reg |= DSIM_MAIN_PIX_FORMAT_RGB888;