Skip to content

RFC drm: bridge: Samsung MIPI DSIM bridge

Jagan Teki dri-devel linux-arm-kernel linux-devicetree linux-samsung-soc oe-kbuild-all 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest17 patches 29 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/17drm/exynos: dsi: Convert to bridge driverdrivers/gpu/drm/exynos/exynos_drm_dsi.c+39 -181 reply
2/17drm/exynos: dsi: Handle drm_device for bridgedrivers/gpu/drm/exynos/exynos_drm_dsi.c+12 -51 reply
3/17drm/exynos: dsi: Use the drm_panel_bridge APIdrivers/gpu/drm/exynos/exynos_drm_dsi.c+23 -1444 replies
4/17drm/exynos: dsi: Create bridge connector for encoderdrivers/gpu/drm/exynos/exynos_drm_dsi.c+13 -10 replies
5/17drm/exynos: dsi: Get the mode from bridgedrivers/gpu/drm/exynos/exynos_drm_dsi.c+12 -13 replies
6/17drm/exynos: dsi: Handle exynos specifics via driver_datadrivers/gpu/drm/exynos/exynos_drm_dsi.c+29 -85 replies
7/17drm: bridge: Move exynos_drm_dsi into bridgesMAINTAINERS drivers/gpu/drm/bridge/Kconfig drivers/gpu/drm/bridge/Makefile +3 more+246 -2240 replies
8/17dt-bindings: display: bridge: Add Samsung MIPI DSIM bridgeDocumentation/devicetree/bindings/display/bridge/samsung,mipi-dsim.yaml Documentation/devicetree/bindings/display/exynos/exynos_dsim.txt MAINTAINERS+279 -902 replies
9/17drm: bridge: samsung-dsim: Add module init, exitdrivers/gpu/drm/bridge/samsung-dsim.c+22 -00 replies
10/17drm: bridge: samsung-dsim: Update the of_node for port(s)drivers/gpu/drm/bridge/samsung-dsim.c+14 -50 replies
11/17drm: bridge: samsung-dsim: Find the possible DSI devicesdrivers/gpu/drm/bridge/samsung-dsim.c+17 -30 replies
12/17dt-bindings: display: bridge: samsung, mipi-dsim: Add i.MX8MM supportDocumentation/devicetree/bindings/display/bridge/samsung,mipi-dsim.yaml+83 -11 reply
13/17drm: bridge: samsung-dsim: Add i.MX8MM supportdrivers/gpu/drm/bridge/samsung-dsim.c+31 -00 replies
14/17drm: bridge: samsung-dsim: Add input_bus_flagsdrivers/gpu/drm/bridge/samsung-dsim.c+5 -00 replies
15/17drm: bridge: samsung-dsim: Move DSI init in bridge enabledrivers/gpu/drm/bridge/samsung-dsim.c+7 -70 replies
16/17drm: bridge: samsung-dsim: Fix PLL_P offsetdrivers/gpu/drm/bridge/samsung-dsim.c+10 -21 reply
17/17drm: bridge: samsung-dsim: Add bridge mode_fixupdrivers/gpu/drm/bridge/samsung-dsim.c+11 -01 reply

Reviews trailers per patch

1 of 17 patches has a Reviewed-by or Acked-by.

PatchSam Ravnborg
1/17
2/17A-b
3/17
4/17
5/17
6/17
7/17
8/17
9/17
10/17
11/17
12/17
13/17
14/17
15/17
16/17
17/17

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [RFC PATCH 00/17] drm: bridge: Samsung MIPI DSIM bridge

This series supports common bridge support for Samsung MIPI DSIM which is used in Exynos and i.MX8MM SoC's.

The final bridge supports both the Exynos and i.MX8MM DSI devices.

Right now bridge offers two sets of implementations.

A. With component_ops and exynos specific code exclusively for exynos dsi drivers and it's legacy bindings.

B. Without componenet_ops for newly implemented bridges and its users like i.MX8MM.

The future plan is to fix the implementation A) by dropping component_ops and fixing exynos specific code in order to make the bridge more mature to use and the same is mentioned in drivers TODO.

Patch 0001 - 0006: Bridge conversion
Patch 0007 - 0017: Samsung MIPI DSIM bridge fixes, additions

Tested in Engicam i.Core MX8M Mini SoM.

Anyone interest, please have a look on this repo
https://github.com/openedev/linux/tree/070421-imx8mm-dsim

Would appreciate anyone from the exynos team to test it on the exynos platform?

Any inputs?
Jagan.

Jagan Teki (17):
drm/exynos: dsi: Convert to bridge driver
drm/exynos: dsi: Handle drm_device for bridge
drm/exynos: dsi: Use the drm_panel_bridge API
drm/exynos: dsi: Create bridge connector for encoder drm/exynos: dsi: Get the mode from bridge
drm/exynos: dsi: Handle exynos specifics via driver_data
drm: bridge: Move exynos_drm_dsi into bridges
dt-bindings: display: bridge: Add Samsung MIPI DSIM bridge
drm: bridge: samsung-dsim: Add module init, exit
drm: bridge: samsung-dsim: Update the of_node for port(s)
drm: bridge: samsung-dsim: Find the possible DSI devices
dt-bindings: display: bridge: samsung,mipi-dsim: Add i.MX8MM support
drm: bridge: samsung-dsim: Add i.MX8MM support
drm: bridge: samsung-dsim: Add input_bus_flags
drm: bridge: samsung-dsim: Move DSI init in bridge enable
drm: bridge: samsung-dsim: Fix PLL_P offset
drm: bridge: samsung-dsim: Add bridge mode_fixup

 .../display/bridge/samsung,mipi-dsim.yaml     | 360 +++++++++
 .../bindings/display/exynos/exynos_dsim.txt   |  90 ---
 MAINTAINERS                                   |  12 +
 drivers/gpu/drm/bridge/Kconfig                |  15 +
 drivers/gpu/drm/bridge/Makefile               |   1 +
 .../samsung-dsim.c}                           | 758 ++++++++++--------
 drivers/gpu/drm/exynos/Kconfig                |   9 -
 drivers/gpu/drm/exynos/Makefile               |   1 -
 8 files changed, 795 insertions(+), 451 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/display/bridge/samsung,mipi-dsim.yaml
 delete mode 100644 Documentation/devicetree/bindings/display/exynos/exynos_dsim.txt
 rename drivers/gpu/drm/{exynos/exynos_drm_dsi.c => bridge/samsung-dsim.c} (69%)
Signature · 1 line
2.25.1