linux-renesas-soc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
To: linux-renesas-soc@vger.kernel.org
Cc: Kieran Bingham <kieran.bingham@ideasonboard.com>,
	LUU HOAI <hoai.luu.ub@renesas.com>
Subject: [RFC PATCH 00/15] R-Car V3U: DSI encoder driver
Date: Wed, 23 Jun 2021 06:46:41 +0300	[thread overview]
Message-ID: <20210623034656.10316-1-laurent.pinchart+renesas@ideasonboard.com> (raw)

Hello,

This patch series adds a driver for the DSI encoder found in the R-Car
V3U SoC, which is the first SoC in the family that supports DSI.

The driver is based on an implementation from the BSP written by Luu
Hoai, taken as-is in patch 02/15. The subsequent patches are cleanups.
I'm posting this version as an RFC to allow Luu to review the cleanups,
if desired. I've thus restricted the audience to the linux-renesas-soc
mailing list. The next, non-RFC version will squash all driver patches
into one and will be posted to dri-devel.

There's one open question related to whether the DSI encoder clock needs
to be controlled explicitly by the DU or not. Depending on the outcome
of the tests, the driver could be further simplified.

Kieran Bingham (2):
  drm: rcar-du: dsi: Use the correct compatible
  drm: rcar-du: dsi: Include the DSI header

LUU HOAI (1):
  drm: rcar-du: Add R-Car DSI driver

Laurent Pinchart (12):
  dt-bindings: display: bridge: Add binding for R-Car MIPI DSI/CSI-2 TX
  drm: rcar-du: dsi: Reorganize probe function
  drm: rcar-du: dsi: Use dev_err_probe()
  drm: rcar-du: dsi: Shorten mipi_dsi variable name to dsi
  drm: rcar-du: dsi: Use dsi->dev consistently in probe()
  drm: rcar-du: dsi: Get next bridge in probe()
  drm: rcar-du: dsi: Simplify DT parsing
  drm: rcar-du: dsi: Add error handling in rcar_mipi_dsi_clk_enable()
  drm: rcar-du: dsi: Simplify error handling in rcar_mipi_dsi_enable()
  drm: rcar-du: dsi: Turn container_of() wrappers to inline functions
  drm: rcar-du: dsi: Various style and typo fixes
  drm: rcar-du: dsi: Use read_poll_timeout()

 .../display/bridge/renesas,dsi-csi2-tx.yaml   | 118 +++
 drivers/gpu/drm/rcar-du/Kconfig               |   6 +
 drivers/gpu/drm/rcar-du/Makefile              |   1 +
 drivers/gpu/drm/rcar-du/rcar_mipi_dsi.c       | 813 ++++++++++++++++++
 drivers/gpu/drm/rcar-du/rcar_mipi_dsi.h       |  26 +
 drivers/gpu/drm/rcar-du/rcar_mipi_dsi_regs.h  | 172 ++++
 6 files changed, 1136 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/display/bridge/renesas,dsi-csi2-tx.yaml
 create mode 100644 drivers/gpu/drm/rcar-du/rcar_mipi_dsi.c
 create mode 100644 drivers/gpu/drm/rcar-du/rcar_mipi_dsi.h
 create mode 100644 drivers/gpu/drm/rcar-du/rcar_mipi_dsi_regs.h

-- 
Regards,

Laurent Pinchart


             reply	other threads:[~2021-06-23  3:47 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-23  3:46 Laurent Pinchart [this message]
2021-06-23  3:46 ` [RFC PATCH 01/15] dt-bindings: display: bridge: Add binding for R-Car MIPI DSI/CSI-2 TX Laurent Pinchart
2021-06-23  9:06   ` Kieran Bingham
2021-06-23 13:06     ` Laurent Pinchart
2021-06-23 13:12     ` Geert Uytterhoeven
2021-06-23 14:36       ` Kieran Bingham
2021-06-23  3:46 ` [RFC PATCH 02/15] drm: rcar-du: Add R-Car DSI driver Laurent Pinchart
2021-06-23  3:46 ` [RFC PATCH 03/15] drm: rcar-du: dsi: Use the correct compatible Laurent Pinchart
2021-06-23  3:46 ` [RFC PATCH 04/15] drm: rcar-du: dsi: Reorganize probe function Laurent Pinchart
2021-06-23  3:46 ` [RFC PATCH 05/15] drm: rcar-du: dsi: Use dev_err_probe() Laurent Pinchart
2021-06-23  3:46 ` [RFC PATCH 06/15] drm: rcar-du: dsi: Shorten mipi_dsi variable name to dsi Laurent Pinchart
2021-06-23  3:46 ` [RFC PATCH 07/15] drm: rcar-du: dsi: Use dsi->dev consistently in probe() Laurent Pinchart
2021-06-23  3:46 ` [RFC PATCH 08/15] drm: rcar-du: dsi: Get next bridge " Laurent Pinchart
2021-06-23  3:46 ` [RFC PATCH 09/15] drm: rcar-du: dsi: Simplify DT parsing Laurent Pinchart
2021-06-23  3:46 ` [RFC PATCH 10/15] drm: rcar-du: dsi: Add error handling in rcar_mipi_dsi_clk_enable() Laurent Pinchart
2021-06-23  3:46 ` [RFC PATCH 11/15] drm: rcar-du: dsi: Simplify error handling in rcar_mipi_dsi_enable() Laurent Pinchart
2021-06-23  3:46 ` [RFC PATCH 12/15] drm: rcar-du: dsi: Turn container_of() wrappers to inline functions Laurent Pinchart
2021-06-23  3:46 ` [RFC PATCH 13/15] drm: rcar-du: dsi: Various style and typo fixes Laurent Pinchart
2021-06-23  3:46 ` [RFC PATCH 14/15] drm: rcar-du: dsi: Use read_poll_timeout() Laurent Pinchart
2021-06-23  3:46 ` [RFC PATCH 15/15] drm: rcar-du: dsi: Include the DSI header Laurent Pinchart
2021-06-23 11:00 ` [RFC PATCH 16/15] rcar-du: dsi: Unexport clock functions Kieran Bingham
2021-06-23 13:11   ` Laurent Pinchart
2021-06-23 11:23 ` [RFC PATCH 00/15] R-Car V3U: DSI encoder driver Kieran Bingham

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210623034656.10316-1-laurent.pinchart+renesas@ideasonboard.com \
    --to=laurent.pinchart+renesas@ideasonboard.com \
    --cc=hoai.luu.ub@renesas.com \
    --cc=kieran.bingham@ideasonboard.com \
    --cc=linux-renesas-soc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).