linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 0/7] drm/mediatek: Add support for HDMIv2 and DDCv2 IPs
@ 2024-11-20 12:45 AngeloGioacchino Del Regno
  2024-11-20 12:45 ` [PATCH v1 1/7] dt-bindings: display: mediatek: Add binding for HDMIv2 DDC AngeloGioacchino Del Regno
                   ` (6 more replies)
  0 siblings, 7 replies; 41+ messages in thread
From: AngeloGioacchino Del Regno @ 2024-11-20 12:45 UTC (permalink / raw)
  To: chunkuang.hu
  Cc: p.zabel, airlied, simona, maarten.lankhorst, mripard, tzimmermann,
	robh, krzk+dt, conor+dt, matthias.bgg, angelogioacchino.delregno,
	ck.hu, dri-devel, linux-mediatek, devicetree, linux-kernel,
	linux-arm-kernel, kernel

This series adds support for the HDMI-TX v2 Encoder and DDCv2, as found
in MT8195, MT8188 and their variants.

Tested on Genio 700 EVK:
 - ABIST ON: ok, pattern generated internally from HDMI is shown on
   HDMI screen at the correct resolution;
 - ABIST OFF + DPI Pattern Generator ON: ok, pattern coming from DPI is
   shown on HDMI screen at the correct resolution;
 - Can negotiate up to 4k60

and on MT8395 Radxa NIO 12L:
 - ABIST ON: ok, pattern generated internally from HDMI is shown on
   HDMI screen at the correct resolution;
 - ABIST OFF + DPI Pattern Generator ON: ok, pattern coming from DPI is
   shown on HDMI screen at the correct resolution;
 - Dual screen usecase validated (DSI + HDMI 3840x2160p 60Hz)
 - Can negotiate up to 4k60

Please note that this submission does *not* include support for HDCP
nor for CECv2, as I want this to be upstream before implementing
additional features which are not strictly required for simple
HDMI output.

AngeloGioacchino Del Regno (6):
  dt-bindings: display: mediatek: Add binding for HDMIv2 DDC
  dt-bindings: display: mediatek: Add binding for MT8195 HDMI-TX v2
  drm/mediatek: mtk_cec: Switch to register as module_platform_driver
  drm/mediatek: mtk_hdmi_ddc: Switch to register as
    module_platform_driver
  drm/mediatek: mtk_hdmi: Split driver and add common probe function
  drm/mediatek: Introduce HDMI/DDC v2 for MT8195/MT8188

Guillaume Ranquet (1):
  drm/mediatek: hdmi: Use regmap instead of iomem for main registers

 .../mediatek/mediatek,mt8195-hdmi-ddc.yaml    |   41 +
 .../mediatek/mediatek,mt8195-hdmi.yaml        |  150 ++
 drivers/gpu/drm/mediatek/Kconfig              |   19 +-
 drivers/gpu/drm/mediatek/Makefile             |    5 +
 drivers/gpu/drm/mediatek/mtk_cec.c            |    5 +-
 drivers/gpu/drm/mediatek/mtk_hdmi.c           |  843 ++--------
 drivers/gpu/drm/mediatek/mtk_hdmi.h           |   14 -
 drivers/gpu/drm/mediatek/mtk_hdmi_common.c    |  375 +++++
 drivers/gpu/drm/mediatek/mtk_hdmi_common.h    |  200 +++
 drivers/gpu/drm/mediatek/mtk_hdmi_ddc.c       |    4 +-
 drivers/gpu/drm/mediatek/mtk_hdmi_ddc_v2.c    |  401 +++++
 drivers/gpu/drm/mediatek/mtk_hdmi_regs_v2.h   |  249 +++
 drivers/gpu/drm/mediatek/mtk_hdmi_v2.c        | 1460 +++++++++++++++++
 13 files changed, 3060 insertions(+), 705 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/display/mediatek/mediatek,mt8195-hdmi-ddc.yaml
 create mode 100644 Documentation/devicetree/bindings/display/mediatek/mediatek,mt8195-hdmi.yaml
 delete mode 100644 drivers/gpu/drm/mediatek/mtk_hdmi.h
 create mode 100644 drivers/gpu/drm/mediatek/mtk_hdmi_common.c
 create mode 100644 drivers/gpu/drm/mediatek/mtk_hdmi_common.h
 create mode 100644 drivers/gpu/drm/mediatek/mtk_hdmi_ddc_v2.c
 create mode 100644 drivers/gpu/drm/mediatek/mtk_hdmi_regs_v2.h
 create mode 100644 drivers/gpu/drm/mediatek/mtk_hdmi_v2.c

-- 
2.47.0



^ permalink raw reply	[flat|nested] 41+ messages in thread

end of thread, other threads:[~2024-12-05  9:30 UTC | newest]

Thread overview: 41+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-20 12:45 [PATCH v1 0/7] drm/mediatek: Add support for HDMIv2 and DDCv2 IPs AngeloGioacchino Del Regno
2024-11-20 12:45 ` [PATCH v1 1/7] dt-bindings: display: mediatek: Add binding for HDMIv2 DDC AngeloGioacchino Del Regno
2024-11-21 21:02   ` Rob Herring
2024-11-25 14:30     ` AngeloGioacchino Del Regno
2024-12-03 16:50   ` Rob Herring (Arm)
2024-11-20 12:45 ` [PATCH v1 2/7] dt-bindings: display: mediatek: Add binding for MT8195 HDMI-TX v2 AngeloGioacchino Del Regno
2024-11-20 14:29   ` Rob Herring (Arm)
2024-11-28  6:02   ` CK Hu (胡俊光)
2024-11-28 10:32     ` AngeloGioacchino Del Regno
2024-11-29  2:51       ` CK Hu (胡俊光)
2024-12-04 15:01         ` AngeloGioacchino Del Regno
2024-11-20 12:45 ` [PATCH v1 3/7] drm/mediatek: mtk_cec: Switch to register as module_platform_driver AngeloGioacchino Del Regno
2024-11-22 14:59   ` kernel test robot
2024-11-20 12:45 ` [PATCH v1 4/7] drm/mediatek: mtk_hdmi_ddc: " AngeloGioacchino Del Regno
2024-11-20 12:45 ` [PATCH v1 5/7] drm/mediatek: hdmi: Use regmap instead of iomem for main registers AngeloGioacchino Del Regno
2024-11-20 12:45 ` [PATCH v1 6/7] drm/mediatek: mtk_hdmi: Split driver and add common probe function AngeloGioacchino Del Regno
2024-11-29  4:02   ` CK Hu (胡俊光)
2024-11-29  7:28   ` CK Hu (胡俊光)
2024-12-02  2:52   ` CK Hu (胡俊光)
2024-12-05  3:16   ` CK Hu (胡俊光)
2024-11-20 12:45 ` [PATCH v1 7/7] drm/mediatek: Introduce HDMI/DDC v2 for MT8195/MT8188 AngeloGioacchino Del Regno
2024-11-22  9:20   ` Maxime Ripard
2024-11-25  9:40     ` AngeloGioacchino Del Regno
2024-11-25 10:13       ` Maxime Ripard
2024-11-26  7:42   ` CK Hu (胡俊光)
2024-11-26  8:57     ` AngeloGioacchino Del Regno
2024-11-27  3:08       ` CK Hu (胡俊光)
2024-11-27  8:42         ` AngeloGioacchino Del Regno
2024-11-29  5:53   ` CK Hu (胡俊光)
2024-12-02  5:18   ` CK Hu (胡俊光)
2024-12-02  7:27   ` CK Hu (胡俊光)
2024-12-04 14:44     ` AngeloGioacchino Del Regno
2024-12-05  2:42       ` CK Hu (胡俊光)
2024-12-05  2:48         ` CK Hu (胡俊光)
2024-12-05  9:28           ` AngeloGioacchino Del Regno
2024-12-03  7:44   ` CK Hu (胡俊光)
2024-12-04  7:08   ` CK Hu (胡俊光)
2024-12-04  9:41   ` CK Hu (胡俊光)
2024-12-04  9:46   ` CK Hu (胡俊光)
2024-12-05  3:40   ` CK Hu (胡俊光)
2024-12-05  8:35   ` CK Hu (胡俊光)

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).