Skip to content

Genericize DW MIPI DSI bridge and add i.MX 6 driver

Adrian Ratiu dri-devel linux-arm-kernel linux-devicetree linux-rockchip lkml 10 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v9 Latest posting 2/211 patches 14 repliesIn review
  2. v9 posting 1/211 patches 3 repliesSuperseded
  3. v810 patches 10 repliesSuperseded
Earlier versions · 7
VersionPostedPatchesRepliesStatus
v78 patches15 repliesSuperseded
v68 patches10 repliesSuperseded
v55 patches16 repliesSuperseded
v44 patches5 repliesSuperseded
v34 patches5 repliesSuperseded
v24 patches5 repliesSuperseded
v14 patches5 repliesSuperseded

Patches in v9 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11drm: bridge: dw_mipi_dsi: add initial regmap infrastructuredrivers/gpu/drm/bridge/synopsys/Kconfig drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c+121 -900 replies
2/11drm: bridge: dw_mipi_dsi: abstract register access using reg_fieldsdrivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c+347 -1520 replies
3/11drm: bridge: dw_mipi_dsi: add dsi v1.01 supportdrivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c+119 -61 reply
4/11drm: bridge: dw_mipi_dsi: remove bind/unbind APIdrivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c+3 -261 reply
5/11dt-bindings: display: add i.MX6 MIPI DSI host controller docDocumentation/devicetree/bindings/display/imx/fsl,mipi-dsi-imx6.yaml+112 -01 reply
6/11ARM: dts: imx6qdl: add missing mipi dsi propertiesarch/arm/boot/dts/imx6qdl.dtsi+8 -00 replies
7/11drm: imx: Add i.MX 6 MIPI DSI host platform driverdrivers/gpu/drm/imx/Kconfig drivers/gpu/drm/imx/Makefile drivers/gpu/drm/imx/dw_mipi_dsi-imx6.c+408 -00 replies
8/11drm: stm: dw-mipi-dsi: let the bridge handle the HW version checkdrivers/gpu/drm/stm/dw_mipi_dsi-stm.c+7 -90 replies
9/11drm: bridge: dw-mipi-dsi: split low power cfg register into fieldsdrivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c+33 -721 reply
10/11drm: bridge: dw-mipi-dsi: fix bad register field offsetsdrivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c+23 -231 reply
11/11Documentation: gpu: todo: Add dw-mipi-dsi consolidation planDocumentation/gpu/todo.rst+25 -00 replies

Reviews trailers per patch

4 of 11 patches have a Reviewed-by or Acked-by.

PatchEnric Balletbo i SerraAdrian PopArnaud FerrarisEmil VelikovYannick FertréRob Herring
1/11R-b T-b T-b
2/11T-b T-b R-b
3/11T-b T-b T-b
4/11T-b
5/11T-b T-b R-b
6/11
7/11T-b T-b R-b
8/11T-b T-b
9/11T-b T-b T-b
10/11T-b T-b T-b
11/11

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 6 reviewers.

Read the v9 thread

Cover letter [PATCH v9 00/11] Genericize DW MIPI DSI bridge and add i.MX 6 driver

[Re-submitting to cc dri-devel, sorry about the noise]

Hello all,

v9 cleanly applies on top of latest next-20200609 tree.

v9 does not depend on other patches as the last binding doc has been merged.

All feedback up to this point has been addressed. Specific details in individual patch changelogs.

The biggest changes are the deprecation of the Synopsys DW bridge bind() API in favor of of_drm_find_bridge() and .attach callbacks, the addition of a TODO entry which outlines future planned bridge driver refactorings and a reordering of some i.MX 6 patches to appease checkpatch.

The idea behind the TODO is to get this regmap and i.MX 6 driver merged and then do the rest of refactorings in-tree because it's easier and the refactorings themselves are out-of-scope of this series which is adding i.MX 6 support and is quite big already, so please, if there are more refactoring ideas, let's add them to the TODO doc. :) I intend to tackle those after this series is merged to avoid two complex inter-dependent simultaneous series.

As always more testing is welcome especially on Rockchip and STM SoCs.

Big thank you to everyone who has contributed to this up to now, Adrian

Adrian Ratiu (11):
drm: bridge: dw_mipi_dsi: add initial regmap infrastructure
drm: bridge: dw_mipi_dsi: abstract register access using reg_fields
drm: bridge: dw_mipi_dsi: add dsi v1.01 support
drm: bridge: dw_mipi_dsi: remove bind/unbind API
dt-bindings: display: add i.MX6 MIPI DSI host controller doc
ARM: dts: imx6qdl: add missing mipi dsi properties
drm: imx: Add i.MX 6 MIPI DSI host platform driver
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
Documentation: gpu: todo: Add dw-mipi-dsi consolidation plan

 .../display/imx/fsl,mipi-dsi-imx6.yaml        | 112 +++
 Documentation/gpu/todo.rst                    |  25 +
 arch/arm/boot/dts/imx6qdl.dtsi                |   8 +
 drivers/gpu/drm/bridge/synopsys/Kconfig       |   1 +
 drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c | 713 ++++++++++++------
 drivers/gpu/drm/imx/Kconfig                   |   8 +
 drivers/gpu/drm/imx/Makefile                  |   1 +
 drivers/gpu/drm/imx/dw_mipi_dsi-imx6.c        | 399 ++++++++++
 .../gpu/drm/rockchip/dw-mipi-dsi-rockchip.c   |   7 +-
 drivers/gpu/drm/stm/dw_mipi_dsi-stm.c         |  16 +-
 10 files changed, 1059 insertions(+), 231 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
Signature · 6 lines
2.27.0

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel