From patchwork Mon Apr 21 12:28:28 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: YoungJun Cho X-Patchwork-Id: 4024131 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id AE13E9F391 for ; Mon, 21 Apr 2014 12:28:53 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9C275203FB for ; Mon, 21 Apr 2014 12:28:52 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id DB6F02022D for ; Mon, 21 Apr 2014 12:28:50 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 453EA6E5CE; Mon, 21 Apr 2014 05:28:47 -0700 (PDT) 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 ESMTP id D84E76E388 for ; Mon, 21 Apr 2014 05:28:45 -0700 (PDT) Received: from epcpsbgr5.samsung.com (u145.gpu120.samsung.co.kr [203.254.230.145]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N4D00AIDRZWEI30@mailout4.samsung.com> for dri-devel@lists.freedesktop.org; Mon, 21 Apr 2014 21:28:44 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.43]) by epcpsbgr5.samsung.com (EPCPMTA) with SMTP id EF.D9.11496.CFE05535; Mon, 21 Apr 2014 21:28:44 +0900 (KST) X-AuditID: cbfee691-b7f3e6d000002ce8-9f-53550efc5b7e Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 2D.A3.27725.CFE05535; Mon, 21 Apr 2014 21:28:44 +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 <0N4D000WURZT7I00@mmp2.samsung.com>; Mon, 21 Apr 2014 21:28:43 +0900 (KST) From: YoungJun Cho To: airlied@linux.ie, dri-devel@lists.freedesktop.org Subject: [RFC v2 PATCH 01/14] drm/exynos: dsi: move the Eot packets configuration point Date: Mon, 21 Apr 2014 21:28:28 +0900 Message-id: <1398083321-8668-2-git-send-email-yj44.cho@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1398083321-8668-1-git-send-email-yj44.cho@samsung.com> References: <1398083321-8668-1-git-send-email-yj44.cho@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrFIsWRmVeSWpSXmKPExsVy+t8zbd0/fKHBBguvyVjcWneO1aL33Ekm i/lHgKwrX9+zWfS/Wchqce7VSkaLSfcnsFi8uHeRxaJ3wVU2i7NNb9gtOicuYbeYcX4fk8XS 6xeZLCZMX8ti0br3CLvFyT+9jBYzJr9ks/i5ax6Lg5DHmnlrGD0u9/UyeeycdZfdY+XyL2we sztmsnpsWtXJ5nHn2h42j+3fHrB63O8+zuTRt2UVo8fnTXIB3FFcNimpOZllqUX6dglcGUd/ 7mMsuM9Zse/aJ6YGxlkcXYycHBICJhK7+hqYIGwxiQv31rN1MXJxCAksY5T4MG0VK0zR7kfn 2CES0xklDlycwQzhtDJJzFr4DKyKTUBT4vnHHWC2iICpRMekpSwgNrPAImaJxXeMQGxhgUiJ LW/+MnYxcnCwCKhKTL0UCxLmFXCWuPuqlwkkLCGgIDFnkg1ImFPARWL39CVgE4WASr40f2YE WSshMJdD4sKJh4wgCRYBAYlvkw+xQPTKSmw6wAxxs6TEwRU3WCYwCi9gZF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QTROZpUST84GJ KK8k3tDYxMzI0sjM2MTc2Jg0YSVx3gOt1oFCAumJJanZqakFqUUwW5g4OKUaGBfGT941OeRb TnWj8ZnpRc3frs1ZySw7Sykt8Ovsp0sDawxPTqleN9G6tXv+6/UKs+ck+mVsmOlxKqiiVYN9 Qe3FJe0H7cvatvfIbVU6qSl2X3u/t4JK7rrHS46HuEir6t8MUY/tnpb//eDp8oyXnzuOaYnc 2SnbEWl+5abEMvEPVyad/L1Pq1SJpTgj0VCLuag4EQBDUSquOgMAAA== DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, linux-samsung-soc@vger.kernel.org, pawel.moll@arm.com, ijc+devicetree@hellion.org.uk, sachin.kamat@linaro.org, sw0312.kim@samsung.com, a.hajda@samsung.com, kyungmin.park@samsung.com, robh+dt@kernel.org, laurent.pinchart@ideasonboard.com, galak@codeaurora.org, kgene.kim@samsung.com X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.15 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-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, 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 --- 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 eb73e3b..956e5f3 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_dsi.c +++ b/drivers/gpu/drm/exynos/exynos_drm_dsi.c @@ -472,8 +472,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) @@ -490,6 +488,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;