From patchwork Tue Apr 14 15:19:47 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adrian Ratiu X-Patchwork-Id: 11488253 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A75E092C for ; Tue, 14 Apr 2020 15:19:17 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 84B5520768 for ; Tue, 14 Apr 2020 15:19:17 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="pu/PMG6v" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 84B5520768 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=collabora.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org 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: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:In-Reply-To:References: List-Owner; bh=bs8BypTalAvzn1gZ3ei8SrfTUOkbmt72szNXWgqkS/I=; b=pu/PMG6vTkNWSu F3YC0z/7M7ZIwBFsdkn2LwjaqZmwAuNJQIFXrtI3N4zdjZO1J5EfojwrwLgkZBjP8RUMNMP1/FgWE edRmR6/XGYAJMx2jLb/ocYjaS2tVAwuSgRFZDKk+J7CFkdlUnx1FRi4jJRKF0m0ZWeF3pxaQqGIt1 /vJWJl4yVGDjKR+5VrW24Tav9vg9tTNW8fptiVURyX6MNG545jwswdtQQrHdGn59yt208mPgDEpEW dCUifm8dllZBiSI6nvskdhQp+/CH/08R3J2/8HFpKgF2ZfdYhQEsGY5znI5sUYdfevH9kRSFJ6vwD AgiJlSa6+NvXD1wjBN0A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jONLF-0002ah-7N; Tue, 14 Apr 2020 15:19:13 +0000 Received: from bhuna.collabora.co.uk ([2a00:1098:0:82:1000:25:2eeb:e3e3]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jONKu-0002Kc-Qx; Tue, 14 Apr 2020 15:18:54 +0000 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: aratiu) with ESMTPSA id 6FFF72A16F6 From: Adrian Ratiu To: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-rockchip@lists.infradead.org Subject: [PATCH v6 0/8] Genericize DW MIPI DSI bridge and add i.MX 6 driver Date: Tue, 14 Apr 2020 18:19:47 +0300 Message-Id: <20200414151955.311949-1-adrian.ratiu@collabora.com> X-Mailer: git-send-email 2.26.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200414_081853_002741_F2925A9A X-CRM114-Status: UNSURE ( 8.02 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.0 (/) X-Spam-Report: SpamAssassin version 3.4.4 on bombadil.infradead.org summary: Content analysis details: (-0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 UNPARSEABLE_RELAY Informational: message has unparseable relay lines X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jernej Skrabec , Heiko Stuebner , Jonas Karlman , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Andrzej Hajda , Laurent Pinchart , kernel@collabora.com, linux-stm32@st-md-mailman.stormreply.com, linux-imx@nxp.com Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org Hello everyone, Many thanks to all who have contributed to this new iteration, especially to Arnaud Ferraris for his stm32mp1 testing and to Adrian Pop for his stm32f7 testing & debugging help. Further testing, especially on Rockchip devices, is very much appreciated. All reported issues have been addressed and this series should apply cleanly on latest next-20200414 tree. Tested on imx6dl, stm32mp1 and stm32f7. Best wishes, Adrian Adrian Ratiu (8): drm: bridge: dw_mipi_dsi: add initial regmap infrastructure drm: bridge: dw_mipi_dsi: abstract register access using reg_fields drm: bridge: synopsis: add dsi v1.01 support drm: imx: Add i.MX 6 MIPI DSI host platform driver dt-bindings: display: add i.MX6 MIPI DSI host controller doc drm: stm: dw-mipi-dsi: let the bridge handle the HW version check drm: bridge: dw-mipi-dsi: split low power cfg register into fields drm: bridge: dw-mipi-dsi: fix bad register field offsets .../display/imx/fsl,mipi-dsi-imx6.yaml | 139 ++++ drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c | 691 +++++++++++++----- drivers/gpu/drm/imx/Kconfig | 7 + drivers/gpu/drm/imx/Makefile | 1 + drivers/gpu/drm/imx/dw_mipi_dsi-imx6.c | 409 +++++++++++ drivers/gpu/drm/stm/dw_mipi_dsi-stm.c | 12 +- 6 files changed, 1050 insertions(+), 209 deletions(-) create mode 100644 Documentation/devicetree/bindings/display/imx/fsl,mipi-dsi-imx6.yaml create mode 100644 drivers/gpu/drm/imx/dw_mipi_dsi-imx6.c