Skip to content

drm/mediatek: Add mt8195 DisplayPort driver

Markus Schneider-Pargmann dri-devel linux-arm-kernel linux-devicetree linux-mediatek linux-phy llvm oe-kbuild-all 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest7 patches 8 repliesIn review
  2. v47 patches 11 repliesSuperseded
  3. v36 patches 4 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v26 patches3 repliesSuperseded
v16 patches15 repliesSuperseded

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7dt-bindings: mediatek,dpi: Add DP_INTF compatibleDocumentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml+6 -52 replies
2/7dt-bindings: mediatek,dp: Add Display Port bindingDocumentation/devicetree/bindings/display/mediatek/mediatek,dp.yaml+87 -03 replies
3/7drm/edid: Add cea_sad helpers for freq/lengthdrivers/gpu/drm/drm_edid.c include/drm/drm_edid.h+90 -20 replies
4/7video/hdmi: Add audio_infoframe packing for DPdrivers/video/hdmi.c include/drm/drm_dp_helper.h include/linux/hdmi.h+72 -200 replies
5/7drm/mediatek: dpi: Add dpintf supportdrivers/gpu/drm/mediatek/mtk_dpi.c drivers/gpu/drm/mediatek/mtk_dpi_regs.h drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c +3 more+176 -470 replies
6/7phy: phy-mtk-dp: Add driver for DP phyMAINTAINERS drivers/phy/mediatek/Kconfig drivers/phy/mediatek/Makefile +1 more+229 -03 replies
7/7drm/mediatek: Add mt8195 DisplayPort driverdrivers/gpu/drm/mediatek/Kconfig drivers/gpu/drm/mediatek/Makefile drivers/gpu/drm/mediatek/mtk_dp.c +3 more+3359 -00 replies

Reviews trailers per patch

2 of 7 patches have a Reviewed-by or Acked-by.

PatchRob Herring
1/7R-b
2/7R-b
3/7
4/7
5/7
6/7
7/7

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

Read the v5 thread

Cover letter [PATCH v5 0/7] drm/mediatek: Add mt8195 DisplayPort driver

Hi everyone,

this series is built around the DisplayPort driver. The dpi/dpintf driver and the added helper functions are required for the DisplayPort driver to work.

In v5 I reworked the mtk-dpi so that dpintf is only using the same three clocks as dpi does. This lead to the removal of the separate dpintf binding document. Also there are minor updates to the mtk-dp binding and driver.

The series is based on v5.15-rc1 but also applies cleanly on linux-next.
Note: This patch series is currently tested on v5.10 and I am still working on testing it on v5.15.

Thanks in advance for any feedback and comments.

Best,
Markus

Functional dependencies are:
- Add Mediatek Soc DRM (vdosys0) support for mt8195
https://lore.kernel.org/linux-mediatek/[email protected]/
- Add MediaTek SoC DRM (vdosys1) support for mt8195
https://lore.kernel.org/linux-mediatek/[email protected]/

Older revisions:
RFC - https://lore.kernel.org/linux-mediatek/[email protected]/

v1  - https://lore.kernel.org/linux-mediatek/[email protected]/
v2  - https://lore.kernel.org/linux-mediatek/[email protected]/
v3  - https://lore.kernel.org/linux-mediatek/[email protected]/
v4  - https://lore.kernel.org/linux-mediatek/[email protected]/

Markus Schneider-Pargmann (7):
dt-bindings: mediatek,dpi: Add DP_INTF compatible
dt-bindings: mediatek,dp: Add Display Port binding drm/edid: Add cea_sad helpers for freq/length video/hdmi: Add audio_infoframe packing for DP drm/mediatek: dpi: Add dpintf support
phy: phy-mtk-dp: Add driver for DP phy drm/mediatek: Add mt8195 DisplayPort driver

 .../display/mediatek/mediatek,dp.yaml         |   87 +
 .../display/mediatek/mediatek,dpi.yaml        |   11 +-
 MAINTAINERS                                   |    1 +
 drivers/gpu/drm/drm_edid.c                    |   74 +
 drivers/gpu/drm/mediatek/Kconfig              |    7 +
 drivers/gpu/drm/mediatek/Makefile             |    2 +
 drivers/gpu/drm/mediatek/mtk_dp.c             | 2813 +++++++++++++++++
 drivers/gpu/drm/mediatek/mtk_dp_reg.h         |  535 ++++
 drivers/gpu/drm/mediatek/mtk_dpi.c            |  199 +-
 drivers/gpu/drm/mediatek/mtk_dpi_regs.h       |   12 +
 drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c   |    4 +
 drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h   |    1 +
 drivers/gpu/drm/mediatek/mtk_drm_drv.c        |    6 +-
 drivers/gpu/drm/mediatek/mtk_drm_drv.h        |    1 +
 drivers/phy/mediatek/Kconfig                  |    8 +
 drivers/phy/mediatek/Makefile                 |    1 +
 drivers/phy/mediatek/phy-mtk-dp.c             |  219 ++
 drivers/video/hdmi.c                          |   83 +-
 include/drm/drm_dp_helper.h                   |    2 +
 include/drm/drm_edid.h                        |   18 +-
 include/linux/hdmi.h                          |    7 +-
 include/linux/soc/mediatek/mtk-mmsys.h        |    2 +
 22 files changed, 4019 insertions(+), 74 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/display/mediatek/mediatek,dp.yaml
 create mode 100644 drivers/gpu/drm/mediatek/mtk_dp.c
 create mode 100644 drivers/gpu/drm/mediatek/mtk_dp_reg.h
 create mode 100644 drivers/phy/mediatek/phy-mtk-dp.c
Signature · 1 line
2.33.0