Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2393776imu; Thu, 24 Jan 2019 12:01:19 -0800 (PST) X-Google-Smtp-Source: ALg8bN6HGf6kr8Qj99S/pZYUPxAz9swmOYea2/lsIhBaeK1pk1dPrt7EuUeDngJoHWkbFC2RZX5V X-Received: by 2002:a17:902:2b8a:: with SMTP id l10mr7471111plb.70.1548360079215; Thu, 24 Jan 2019 12:01:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548360079; cv=none; d=google.com; s=arc-20160816; b=bxy2xQp6VY5alL37fIo+NbkpQYfQUm758LpefKyJN8fQ/ptiwBlTNEjSnbHhtHHW6S U5ZOo/nV4qYkPYqiAeRoSNztQEpJlN3ZdrVHwUpVDFQRIOOt8Oale3BvwZLC4Aj4svJB bGb5b3HPwPWxH9E5pZdQFE+lv3PfqJdRZA1qLwYCrIySFCdJi+cW7uwrXJyHEnST2TBz pRPNL98tLHWcfVrFyDofTOBUuLqa3dfu52yHScZ+NUwKY+9OsAlTI2mrVk3nCx0zbJwE 1GzG0XoZH+3TlKusdOiBaQn9yH0KX575FDRaJgqK/eXolSmJRDU8/OJJtlqxPgAI6U/f 42VA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=NM8sVvN3Te6g1rqXOdAqs2KSOeU1frtX72ddxyLNR30=; b=tLoZ/a/IiLsRMcZVoxcnJMKcy/f0coLNJCrPdmo6BknjgHvpBarINYT+TFWBjW4PUy ND6EgMUjgFPQQOF0BPRcpcIOTJtlcs6NyvbhHj01ot4IlgIyWUfos5zNDv6y0ApWP2k9 HyLo3vibdJhlIYWG3y4gTLA7xfljR+oPyw4VebTGxkWzrbwo8O3W6BLRrWAIYEDhk+Q6 XRxPxe8y0CYnKMGWu/4iJPD6pEnSRbGmCyDFHflR/pG5PTqxYf33hcTXpRIKB30EZstV GJyLb3Hczz1m8hU0aSZQ7dqQlcWzcoPUs6+t0rV1oUaIrMATVj0KfneHvqT+Us+Q6JzA saEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="MzCBl01/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o5si22582793pgs.497.2019.01.24.12.01.03; Thu, 24 Jan 2019 12:01:19 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="MzCBl01/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732200AbfAXUBA (ORCPT + 99 others); Thu, 24 Jan 2019 15:01:00 -0500 Received: from mail-pl1-f196.google.com ([209.85.214.196]:46318 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730318AbfAXUA6 (ORCPT ); Thu, 24 Jan 2019 15:00:58 -0500 Received: by mail-pl1-f196.google.com with SMTP id t13so3358980ply.13 for ; Thu, 24 Jan 2019 12:00:58 -0800 (PST) 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=NM8sVvN3Te6g1rqXOdAqs2KSOeU1frtX72ddxyLNR30=; b=MzCBl01/KEWGjIvWEHBS8QjD6yS7sBjuX8vMC1wntVcgcKGdBBB6xfLjy62P7oXNGc ClR+2tbn6U1g2/wbTV4rignbYp91Q6e4q+1SEBY05XnGZfzPc1ZQdgQytM+d/B/78ZII v2R66+PdrttXkbBTjj9YJ5wHCZPspEmS8pdlE= 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=NM8sVvN3Te6g1rqXOdAqs2KSOeU1frtX72ddxyLNR30=; b=umcN7Tb1WLme5e/JPpLoiUxwasbgFKPcpH0rKvmQekHEjTW8HxASeP6NdEVXeyPciy LxvvnltgsvhBgqNNQeg/eVGeu67XvdQHu9A4UjWp8krhUj+3iUM3sNfIJEbOoa5GjA8A dxkb+xoEx2chXWxYe9aHM9QDgHfehb5J7Ws0Adj5XD8MGP/3SrSSLBQ1uaJnHmKbaVqB p7zsLrYwbAnZEh6NtotBoVLnYtdCycf+OUQ1L5vK7oQ62tDnhVUXmdblQpkfdoDEW+nC KXJ02uslqO4Yrgo0QFKj+HZpsruHuLaxtEghgzkW12lN/3MYaQN5sy2nQzIKUD6V63f0 sfSA== X-Gm-Message-State: AJcUukeSOMnmlInpRtO0hj6dsbTL8nuDYaoalxOFtlrfhgmUvWuu0+3M W4onsu7y0SJH37b/yXekoA+WVA== X-Received: by 2002:a17:902:2969:: with SMTP id g96mr7811174plb.295.1548360058106; Thu, 24 Jan 2019 12:00:58 -0800 (PST) Received: from localhost.localdomain ([115.97.179.75]) by smtp.gmail.com with ESMTPSA id x11sm61637003pfe.72.2019.01.24.12.00.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 24 Jan 2019 12:00:57 -0800 (PST) From: Jagan Teki To: Maxime Ripard , David Airlie , Daniel Vetter , Chen-Yu Tsai , Michael Turquette , Rob Herring , Mark Rutland Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, Michael Trimarchi , linux-amarula@amarulasolutions.com, linux-sunxi@googlegroups.com, Jagan Teki Subject: [PATCH v6 18/22] drm/sun4i: sun6i_mipi_dsi: Add DSI Generic short write 2 param transfer Date: Fri, 25 Jan 2019 01:28:56 +0530 Message-Id: <20190124195900.22620-19-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20190124195900.22620-1-jagan@amarulasolutions.com> References: <20190124195900.22620-1-jagan@amarulasolutions.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 9be414131460..58bda0928aef 100644 --- a/drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c +++ b/drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c @@ -983,6 +983,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; -- 2.18.0.321.gffc6fa0e3