Message ID | 20181026144344.27778-7-jagan@amarulasolutions.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9B67A5A4 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 26 Oct 2018 14:48:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8649E2C938 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 26 Oct 2018 14:48:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7A15B2C93B; Fri, 26 Oct 2018 14:48:56 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id D4FCC2C938 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 26 Oct 2018 14:48:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=+yhHJnQYGfgPaRZbsIp6TIKOWwZton51BFx+LXO3Cpc=; b=iTbrnwSbkVOFKn 40LzsibPXhkouNY3DV7qM05dAdHPyNQUA5AxTAxXA0AF70WPLZ5b5ra4lANyZrhaq9SXhNazpbs87 oyU2BaM9YJSieEaxjZFFicD4ZSGqHstSHxmBdJ517NuH2psiV1tS2ylK805Odp5dNllawNrvI3hDn OYxK0BcbFWMhiPvK+VnSq0GrqYlJoYF9U9iVEk3TnQpYn22UI5kNFHsvgOHR9PlCCehd6kfE55+Qu c+aZif5bOC07n33tQsmSwPJ4iSxToujphI5bYUQXaxRoPlfSAr2n7TNvNneg0o5kVWSrL4chShN9p uCDjkT5HmQtegtIN/UAw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gG3Pu-0003vg-50; Fri, 26 Oct 2018 14:48:50 +0000 Received: from mail-pf1-x441.google.com ([2607:f8b0:4864:20::441]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gG3M0-0000zq-28 for linux-arm-kernel@lists.infradead.org; Fri, 26 Oct 2018 14:45:12 +0000 Received: by mail-pf1-x441.google.com with SMTP id j23-v6so673780pfi.4 for <linux-arm-kernel@lists.infradead.org>; Fri, 26 Oct 2018 07:44:47 -0700 (PDT) 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; bh=cVRNMokL+W5QoyKoWUV5pE0kc2iWWL0MLvzndReDF1w=; b=V5YdT1/l3Yz1J970D4epM3oWJ2wjiQLWGohq3RBi3Ppq+eJLE1CRCHQOrYsh4U/VDq Z52ug+9VwZr+NmHpz3f6QIPib5DfU+z/j/GmZaOgZ3H07tP7SYt5HLfvxyJYdQNctPV1 cMYu5Lak1vTDgYSQuyjDpJfjCTMfuprH2yyOA= 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; bh=cVRNMokL+W5QoyKoWUV5pE0kc2iWWL0MLvzndReDF1w=; b=jPoz/ZqwgYHpSf9oq+S3zl7Pz50GyOHe6rkxfHurQHSQAPrJuQJSI5bKECj14iRkaL 2bypq8YhlmA6BgNu69bFu7v4884qenLUKq5hfQjz3n3whNOpSDfdAtjDlSOTCkMI5rDJ VV/9FsvmtOL6fzkcId83hDMgZYV/j0VARwBN7sdA5ljsUrL6O5lHGnVoQmOcq3jUlkWb +1nZERaNbTrl8LZZtrhIvOQ7VYZjCeX5M/KMJusGpkdc4Q/oFKchBzqaCH6WRnmcklIk DUGdUeBV/XMLeoZfeKL6j94UvrY7EfkN+kVoeVAh7J/005ldLnVsXuh1YdmGTl9ic4As yRpA== X-Gm-Message-State: AGRZ1gKe1wkBDm/H3XQoZ79Cp1mt3u/J8bP8XyP2UvEX28HXPa0IadN7 8WnhOWZLfjvG9UGcZiHglSPccw== X-Google-Smtp-Source: AJdET5etpZ6TDNZrXZ5prFQGg/uyFIFNwVuKmkoddw6Y1yZkMR8kNgOj7/B1IDhcatC9qSq6ohWbYg== X-Received: by 2002:a63:4f61:: with SMTP id p33-v6mr3749528pgl.71.1540565086365; Fri, 26 Oct 2018 07:44:46 -0700 (PDT) Received: from localhost.localdomain ([27.7.51.1]) by smtp.gmail.com with ESMTPSA id z22-v6sm12044467pgv.24.2018.10.26.07.44.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 Oct 2018 07:44:45 -0700 (PDT) From: Jagan Teki <jagan@amarulasolutions.com> To: Maxime Ripard <maxime.ripard@bootlin.com>, Chen-Yu Tsai <wens@csie.org>, Icenowy Zheng <icenowy@aosc.io>, Jernej Skrabec <jernej.skrabec@siol.net>, Vasily Khoruzhick <anarsoul@gmail.com>, Rob Herring <robh+dt@kernel.org>, Mark Rutland <mark.rutland@arm.com>, Catalin Marinas <catalin.marinas@arm.com>, Will Deacon <will.deacon@arm.com>, David Airlie <airlied@linux.ie>, dri-devel@lists.freedesktop.org, Michael Turquette <mturquette@baylibre.com>, Stephen Boyd <sboyd@kernel.org>, linux-clk@vger.kernel.org, Michael Trimarchi <michael@amarulasolutions.com>, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com Subject: [PATCH v3 06/25] drm/sun4i: sun6i_mipi_dsi: Add DSI Generic short write 2 param transfer Date: Fri, 26 Oct 2018 20:13:25 +0530 Message-Id: <20181026144344.27778-7-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20181026144344.27778-1-jagan@amarulasolutions.com> References: <20181026144344.27778-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181026_074448_174214_5E7479B0 X-CRM114-Status: GOOD ( 13.21 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: Jagan Teki <jagan@amarulasolutions.com> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
drm/sun4i: Allwinner A64 MIPI-DSI support
|
expand
|
On Fri, Oct 26, 2018 at 08:13:25PM +0530, Jagan Teki wrote: > 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 <jagan@amarulasolutions.com> > Tested-by: Jagan Teki <jagan@amarulasolutions.com> I'm not sure why you have a Tested-by tag here. Of course we're expecting you to test your patches before sending them. Maxime
diff --git a/drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c b/drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c index 8e9c76febca2..fc8560607147 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;