From patchwork Fri Feb 8 09:53:13 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 10802569 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 17BBC746 for ; Fri, 8 Feb 2019 09:53:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 06A822DD62 for ; Fri, 8 Feb 2019 09:53:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EE0F12DD65; Fri, 8 Feb 2019 09:53:31 +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 AA0062DD62 for ; Fri, 8 Feb 2019 09:53:31 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D1F606ED5E; Fri, 8 Feb 2019 09:53:30 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net [217.70.183.193]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1BC4D6ED5E for ; Fri, 8 Feb 2019 09:53:28 +0000 (UTC) X-Originating-IP: 90.88.22.177 Received: from localhost (aaubervilliers-681-1-80-177.w90-88.abo.wanadoo.fr [90.88.22.177]) (Authenticated sender: maxime.ripard@bootlin.com) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id B810124001A; Fri, 8 Feb 2019 09:53:24 +0000 (UTC) From: Maxime Ripard To: Maarten Lankhorst , Sean Paul , Maxime Ripard Subject: [PATCH v2 0/9] drm/sun4i: dsi: Add burst mode support Date: Fri, 8 Feb 2019 10:53:13 +0100 Message-Id: X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 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: bbrezillon@kernel.org, dri-devel@lists.freedesktop.org, Paul Kocialkowski , Chen-Yu Tsai , Thomas Petazzoni , Jagan Teki , linux-arm-kernel@lists.infradead.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Hi, Here is a series implementing the burst mode support for DSI. It's been tested on an A33 board with the panel supported on the last patch, which should remove all quirks due to a different SoC from the equation. Let me know what you think, Maxime Changes from v2: - Change the start delay calculation according to the legacy driver in Allwinner's BSP - Fixed the edge calculation to add the same parentheses around the factors - Added a bunch of fixes to timings - Added a patch to make hblk computation more accurate, and added a comment - Renamed the panel to Ronbo and fixed a bunch of things - Added the Reviewed-By Konstantin Sudakov (2): drm/sun4i: dsi: Add burst support drm/panel: Add Ronbo RB070D30 panel Maxime Ripard (7): fixup! ARM: dts: sun8i-a33: bridgemate: Enable display support drm/sun4i: dsi: Restrict DSI tcon clock divider drm/sun4i: dsi: Change the start delay calculation drm/sun4i: dsi: Enforce boundaries on the start delay drm/sun4i: dsi: Fix front vs back porch calculation drm/sun4i: dsi: Fix DRQ calculation drm/sun4i: dsi: Rework a bit the hblk calculation arch/arm/boot/dts/sun8i-a33-bridgemate-bm3.dts | 2 +- drivers/gpu/drm/panel/Kconfig | 9 +- drivers/gpu/drm/panel/Makefile | 1 +- drivers/gpu/drm/panel/panel-ronbo-rb070d30.c | 262 ++++++++++++++++++- drivers/gpu/drm/sun4i/sun4i_tcon.c | 4 +- drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c | 183 ++++++++++--- drivers/gpu/drm/sun4i/sun6i_mipi_dsi.h | 2 +- 7 files changed, 420 insertions(+), 43 deletions(-) create mode 100644 drivers/gpu/drm/panel/panel-ronbo-rb070d30.c base-commit: f6028e7e48b0f3865b0837d400ca783d3d200b62