Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2347059ybb; Mon, 30 Mar 2020 04:35:30 -0700 (PDT) X-Google-Smtp-Source: ADFU+vt9PLdJuCMR/NF2Y7MX0ujCRhgfd+3SuL+Ner8wwUGnjas6h7QLsJd+h++QxuqJihaOQqsw X-Received: by 2002:a9d:23a6:: with SMTP id t35mr9439354otb.154.1585568130120; Mon, 30 Mar 2020 04:35:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585568130; cv=none; d=google.com; s=arc-20160816; b=o8G4ATUi8ZT+kGL9vRsgCsRLNfcsRKBs3+zKWjDmNtbAje0hl2cxSQqexTg2CvnCkr RSHfMnRrLrGKN8CYewRu9mnl/yuIWZcolI+j8ZmgET++Eh5T/DdhkXNB1GVmQiq419i+ JEzqVrzUdFwe2W5IjhTGsO6WrFFYJcN7+ORo9YebQZ3RJmRgZpxGkBxM8VoqA7YtzhcY t0jhss9KdObycK46mekUsRFGV4zGTJIW3Me40FoU2xq4ECD0hULeKaNrU75pPlumg95v TRqMq1pVABC6cEqobs+uRpsH23wAH7ql5Cv6BLzoedjoXBRUhKs3GlRYlBpoGQfFz/I6 Gy9A== 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 :message-id:date:subject:cc:to:from; bh=5rPYVKto2dPy+PC/bLoRBd3pIk0xPik61ZUu4O5ReDE=; b=FhKyr6OEKnoGr/+OQY2vDHOqPZaPxUEj95mbQGU+3WsqrrLM2/wW1iTJFQl8xYlZWQ ofQ9CbMn8f2xi7kGQgla5/nB06ok5uYOwV4z5+ddg5YyfuO8TjiIVLdfi4GsTe9wdD9h vGlgie9QMbUJnNocn8vbNzBG4Bm3hYUBSbO3KjkKPx5bLuNpwO46xdeDpQZlNrpvDYBW tYAoSu003WDqK1ROCyPZadQZ/4YOI0tDqJDiF7YnYBajXlooOUFSCO4kW8DqxNbnerSe WhV9WQTzwEtD+zyVSX+rmLPQ3CG2Z2sdviFV04DdUOFhYQgaQRqP+zZWdwrBwHhuuWxF C8Ag== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u10si5792457oib.91.2020.03.30.04.35.11; Mon, 30 Mar 2020 04:35:30 -0700 (PDT) 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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729788AbgC3Let (ORCPT + 99 others); Mon, 30 Mar 2020 07:34:49 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:58998 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729237AbgC3Let (ORCPT ); Mon, 30 Mar 2020 07:34:49 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: aratiu) with ESMTPSA id 0545E292556 From: Adrian Ratiu To: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Cc: linux-stm32@st-md-mailman.stormreply.com, linux-rockchip@lists.infradead.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-imx@nxp.com, kernel@collabora.com, Andrzej Hajda , Laurent Pinchart , Jonas Karlman , Jernej Skrabec Subject: [PATCH v5 0/5] Genericize DW MIPI DSI bridge and add i.MX 6 driver Date: Mon, 30 Mar 2020 14:35:37 +0300 Message-Id: <20200330113542.181752-1-adrian.ratiu@collabora.com> X-Mailer: git-send-email 2.26.0 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 Hello everyone, The v5 series is a significantly cleaned up version from v4, started by Ezequiel Garcia's suggestion of splitting out the regmap infrastructure from the drivers (thank you!). Turns out no changes are required to the existing drivers and the bridge can transparently take care of the layout logic, so there's no need to expose the regmap via plat_data anymore. Starting from this version I also opted to add per-patch changelogs. All review comments up to now have been addressed. Tested on IMX6DL. Adrian Ratiu (5): 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 .../display/imx/fsl,mipi-dsi-imx6.yaml | 134 ++++ drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c | 683 +++++++++++++----- drivers/gpu/drm/imx/Kconfig | 7 + drivers/gpu/drm/imx/Makefile | 1 + drivers/gpu/drm/imx/dw_mipi_dsi-imx6.c | 399 ++++++++++ 5 files changed, 1049 insertions(+), 175 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 -- 2.26.0