From patchwork Mon Dec 10 16:17:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 77 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-wm1-f72.google.com (cartago.priv [10.11.12.1]) by cassiopea (Postfix) with ESMTPS id 3BC1E2E54A3 for ; Mon, 10 Dec 2018 17:17:54 +0100 (CET) Received: by mail-wm1-f72.google.com with SMTP id g184sf4772320wmd.4 for ; Mon, 10 Dec 2018 08:17:54 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1544458674; cv=pass; d=google.com; s=arc-20160816; b=CKhenlleIYh3bWd7ZOWrrS6dSvRAOL9eiDDRj3jxBj9DIthR2p49n/V55C8PvgbEiD EpeFTIl7uC5G1e4gHxSCcAcsU40Sqwk9U7hgZDP+Yjt4AB+ZMPwsKr2baxkpJpjRYbug RhlhfZ6VdDOPvbZHgxGrX3Nr/gsXeR4gUkWtU63Y2dA7Uq0/bHUV4m5g2wo0ZsynYkkj kBfH5fq0RDhGnrchte4cxZClIJUW45h6AtBcCH3HUI929FEjhzmDYCVIxebnmzro3u7G lbeXwDWMrRBrJ0ICP3YarqJ9Vmf4/ii0VQFOxI7aEoF+7/uaDEGBeCxG91iiLalx14Hl Yipw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=0G2Cm6yl0hA4By0n3opJjvWD4CEYft0z/6JnEL+u5rs=; b=VDEtJ3R+mSGiMaiBlMOivEQ5b2W67FSnSNJWstvM+fds8CF0OQB4XOTQv+/P5d2wn3 JzHpeX8P8JE/+ZZTp1cFF4UkrqArtmjATnbPUnouNQNzZfZgwrvLJhKtEM+7Tgc8ywrd p1wf8l5KaZvkluKb8UTEkFZ9i21+UXsOFd7Dm1yNCCVfsfEcaPpYDlu7+0J3NUYKofaE nUq06JNzgHCSy11WpoV1e1wYNM2kKmpagSroxuUO+wWl7gbaETUVf0CeZKQBFuGSkDfL 27KypcCsoumKOwu/mMEH7+ZVpIyR6+pXBKcyWRKBnfAUTp/nR/x/3YB50zPh9i9HqWP3 tKrg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=iUDo70yl; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=0G2Cm6yl0hA4By0n3opJjvWD4CEYft0z/6JnEL+u5rs=; b=Ru9YMp0KJCpQXAHVCpqXH74ckUPgXexf6KfmkqnDDLfFpE87W86rokDL2XS2xJNSMC lrqXr+hvo2lc4A/R3b8VYQ6jlYY5PugdbD3eiSenolKblFtE0kIKRI/tCrVVOwJCy8qA 8LGJ0xzLx/GF/jZc5wGirk/ihFEf4gd2MXvkA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=0G2Cm6yl0hA4By0n3opJjvWD4CEYft0z/6JnEL+u5rs=; b=C71nmFeDINzTk5ee8ANfFNjz8EaOQTnI+ssa4kQPQj97G7n5aOjKgWcRjCSUA8OBEx siUUl1zN7fEYKQq1j2nfSvMO0iwG8lToJpaXSZQ5pLC5LKBedQ3cEqqIOp+X1Wpw7ocJ OnjP0X2mFnMRRQrqHH0IiFVUj1S2uU4vCuxjQbz5vXfuhbb5qzRqGI1sJSt8ndnJnWAA aKf0s6H+qzT+nqWm0WB2UklLPsha/el8Zh7Cw4r5mWxTNS7BZTCB4feIKh70nZc9JniR LiyC1DATjgG20WEaYtufjUhOzdJrK99RElWu1DThJ3Qm2/xzpUeUTmMlDbWYMSQ2KU+t 5P1A== X-Gm-Message-State: AA+aEWZqVvyXDPyVJGy1CP/TRH0DtndrZewSiHq4/LJnGXV2CbZqqRF0 8XnHtP5lK4H325VChE/V1CdiTgqM X-Google-Smtp-Source: AFSGD/U94OcaIyPyd7UnE8Hl+Qin+Xl/ZqJybfElK0sHCM8pDagQ8LSdfamtzQNH5Z1N4RjyNRyFDQ== X-Received: by 2002:a5d:5003:: with SMTP id e3mr979123wrt.14.1544458673964; Mon, 10 Dec 2018 08:17:53 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a1c:788:: with SMTP id 130ls1886101wmh.6.canary-gmail; Mon, 10 Dec 2018 08:17:53 -0800 (PST) X-Received: by 2002:a7b:c095:: with SMTP id r21mr11483468wmh.118.1544458673496; Mon, 10 Dec 2018 08:17:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544458673; cv=none; d=google.com; s=arc-20160816; b=u+AVJ4KUcdS2Srqz+dWzCIrjXJcVfRPBQF5wp6TzCkxJQkNCeecuAtlt5wi3ZrRnIb BsFPXA+Mem6I0UBtlx1Tm/iGhbA68F9u/I8sEIHBSODp22QidDLuoJ8X/OIIKfyN7+HX oFg2K1WVdAYMVWcwgV1xYga6lCNp2HnQOO1kIaiuJzU4nEcJQqpVGpUwSVs97tcSV4WG L2TNbGIOB4fKXnh7DJpna361nEKjSGTaQzEBwQX0cEu3nloK3AQqI9QgZ1UIBuhlNjRv YwFvl4qXlsi4jFLAtp09Axk8l12BMztWTi8FoZXO26bGk95wk5SWpYCOH1I6scqV7f9k ynAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=0G2Cm6yl0hA4By0n3opJjvWD4CEYft0z/6JnEL+u5rs=; b=dwyckkSSi/9qKjrLRVStAubrpSYs0IPvMjId7IfO8sqIVY7YRB9qX2unBZWEaDetL2 fiLJMPBhisvVcjN8b80Bh6DPloooRJyZ6mLoVm//qwuvYMKI1qwTy5RKgT/VwvazqVk8 fcflInguvKaNS1gyHJQPZWCP4BHtDHGOFL0rba1EbgyTx6CmZwgCvOIO1SL7tDrDVTbb gJe3e8sreBFH9heRckdAGEeK4dsfSAbS/8G3B4HO2hYsjwqOouuwd0lk48tP3WQLVRF3 qYLlztnqyu+9Y8kBWfHHqh/986MQjTk5ufWPFcfUXdTyO4iv+AbG1QEOd8USdMd0ZxwL CoCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=iUDo70yl; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id y197sor8060581wmd.29.2018.12.10.08.17.53 for (Google Transport Security); Mon, 10 Dec 2018 08:17:53 -0800 (PST) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a1c:990c:: with SMTP id b12mr11709720wme.106.1544458673231; Mon, 10 Dec 2018 08:17:53 -0800 (PST) Received: from localhost.localdomain (ip-162-59.sn-213-198.clouditalia.com. [213.198.162.59]) by smtp.gmail.com with ESMTPSA id b13sm8397503wrn.28.2018.12.10.08.17.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 10 Dec 2018 08:17:52 -0800 (PST) From: Jagan Teki To: Maxime Ripard , Chen-Yu Tsai , Michael Turquette , Stephen Boyd Cc: linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Michael Trimarchi , linux-sunxi , linux-amarula@amarulasolutions.com, Jagan Teki Subject: [PATCH v5 05/17] drm/sun4i: sun6i_mipi_dsi: Add DSI Generic short write 2 param transfer Date: Mon, 10 Dec 2018 21:47:17 +0530 Message-Id: <20181210161729.29720-6-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20181210161729.29720-1-jagan@amarulasolutions.com> References: <20181210161729.29720-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=iUDo70yl; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Short transfer write support for DCS and Generic transfer types share similar way to process command sequence in DSI block so add generic write 2 param transfer type macro so-that the panels which are requesting similar transfer type may process properly. Signed-off-by: Jagan Teki --- drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c b/drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c index 50f535ae57e9..cdd44a1307b3 100644 --- a/drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c +++ b/drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c @@ -871,6 +871,7 @@ static ssize_t sun6i_dsi_transfer(struct mipi_dsi_host *host, switch (msg->type) { case MIPI_DSI_DCS_SHORT_WRITE: case MIPI_DSI_DCS_SHORT_WRITE_PARAM: + case MIPI_DSI_GENERIC_SHORT_WRITE_2_PARAM: ret = sun6i_dsi_dcs_write_short(dsi, msg); break;