From patchwork Thu Feb 14 19:32:27 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 10813621 Return-Path: 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 F361413B5 for ; Thu, 14 Feb 2019 19:32:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DFB522EF28 for ; Thu, 14 Feb 2019 19:32:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D18772EF2C; Thu, 14 Feb 2019 19:32:54 +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=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 8849B2EF28 for ; Thu, 14 Feb 2019 19:32:54 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 451436EAB1; Thu, 14 Feb 2019 19:32:52 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pg1-x544.google.com (mail-pg1-x544.google.com [IPv6:2607:f8b0:4864:20::544]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6BE7A6EAB1 for ; Thu, 14 Feb 2019 19:32:51 +0000 (UTC) Received: by mail-pg1-x544.google.com with SMTP id w7so3541634pgp.13 for ; Thu, 14 Feb 2019 11:32:51 -0800 (PST) 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:mime-version :content-transfer-encoding; bh=BZL+CSDR6gHJLSLkIhVG72Bv6twb5BsbEPP+vcprd2o=; b=MDC4ZsfcVqiG3zG8ufP/DEoMXmbZ7jxfwfKIpWtGXqtRh7dxHpqUt3+77sNIz+k9Ww jF/n8CXsdjoIgk240lOMn4B5dq3F9ZNkYbDpqVN94QYP9RwJXHgnIxOliJulNrd3nOk2 N1WdpCUZ9mi1Z58uUrW1G6GnbEqn1a+d2DmubImP5R7x9xKo2i+2/YXpulVPvBjaqX55 N65mmWjUMN3KKXJW3qdmPzbSrvoqPwTYAoMPevHgWD/us90tayfSPsPjUneIwEWDuY17 39Q8/Gfh+CfpHy9XZQSLSP1NLJgnR6xHuBjXVjv98DNCqCGcI6MD6PcE3viK8Z6Sni3G /VFw== X-Gm-Message-State: AHQUAuYoWhlSybMpZ3gDypMK0TWA1EE6cekTNpR7P3VXBoVAOo86cRrn A0Cif+DISZ+VPQr62S0H4owyhw== X-Google-Smtp-Source: AHgI3IbV+bc8nAxVayJcVao6/02seww1jKGdVVMBFBYG8yi7ZxWKrnPjnOexYpCyI6YSZIosvpTPHg== X-Received: by 2002:a63:2e06:: with SMTP id u6mr1471903pgu.71.1550172771021; Thu, 14 Feb 2019 11:32:51 -0800 (PST) Received: from localhost.localdomain ([115.97.184.151]) by smtp.gmail.com with ESMTPSA id o23sm10808832pfa.140.2019.02.14.11.32.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Feb 2019 11:32:50 -0800 (PST) From: Jagan Teki To: Maxime Ripard , David Airlie , Daniel Vetter , Chen-Yu Tsai Subject: [PATCH v8 00/10] drm/sun4i: Allwinner MIPI-DSI Burst mode support Date: Fri, 15 Feb 2019 01:02:27 +0530 Message-Id: <20190214193236.7504-1-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=BZL+CSDR6gHJLSLkIhVG72Bv6twb5BsbEPP+vcprd2o=; b=LXix7LMmfq5hGoeLnzxUxHoG533C7LuIgqDL7NApe5c+M+1Uc1ynmH6s5H3b+AQ195 oWYIeUgb4+PqwiXn+BkH+KNlznPKqcf5brlcsdNswCUyT2Gqw/9GnNk2aO2u1KeI9u8/ jNZAyNDEioj/JaQ+u2v2/0nf0s5qw5UuBq9ZA= X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Jagan Teki , Michael Trimarchi , linux-amarula@amarulasolutions.com, linux-arm-kernel@lists.infradead.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP This is next version changes for Allwinner MIPI-DSI Burst mode support. All these changes are grabbed from previous versions[1][2] and grouped it in a proper order so-that it can help to review and merge easy. Changes for v8: - rebase on master - rework on commit messages - include drq changes from previous version Changes for v7: - rebase on master - collect Merlijn Wajer Tested-by credits. Changes for v6: - fixed all burst mode patches as per previous version comments - rebase on master - update proper commit message - dropped unneeded comments - order the patches that make review easy Changes for v5, v4, v3, v2: - use proper return value for tcon0 probe - add logic to get tcon0 divider values - simplify timings code to support burst mode - fix drq computation return values - update proper commit messages - rebase on master [1] https://patchwork.kernel.org/cover/10792981/ [2] https://patchwork.kernel.org/cover/10686655/ Any inputs? Jagan. Jagan Teki (10): drm/sun4i: sun6i_mipi_dsi: Compute burst mode loop N1 instruction delay drm/sun4i: sun6i_mipi_dsi: Support instruction loop selection drm/sun4i: sun6i_mipi_dsi: Setup burst mode timings drm/sun4i: sun6i_mipi_dsi: Fix TCON DRQ set bits drm/sun4i: sun6i_mipi_dsi: Simplify drq to support all modes drm/sun4i: tcon: Export get tcon0 routine drm/sun4i: sun6i_mipi_dsi: Probe tcon0 during dsi_bind drm/sun4i: sun6i_mipi_dsi: Setup burst mode drm/sun4i: sun6i_mipi_dsi: Enable trail_inv and trail_fill controls drm/sun4i: sun6i_mipi_dsi: Enable HBP, HSA_HSE for burst mode drivers/gpu/drm/sun4i/sun4i_tcon.c | 3 +- drivers/gpu/drm/sun4i/sun4i_tcon.h | 1 + drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c | 149 ++++++++++++++++++++++--- drivers/gpu/drm/sun4i/sun6i_mipi_dsi.h | 1 + 4 files changed, 138 insertions(+), 16 deletions(-)