[PATCH v1 00/17] Add MT8195 HDMI support

From: Guillaume Ranquet
Date: Mon Sep 19 2022 - 12:59:50 EST


Add support for HDMI Tx on MT8195.

This includes a split of the current "legacy" hdmi driver into a common
library of functions and a two dedicated compilation units with specific
code for mt8167 and another for the "new" mt8195 SoC.

Support for the new mt8195 hdmi phy and the dpi/drm_drv adjustements to
support hdmi.

Based on next-20220919

Signed-off-by: Guillaume Ranquet <granquet@xxxxxxxxxxxx>

---
Guillaume Ranquet (15):
dt-bindings: phy: mediatek: hdmi-phy: Add mt8195 compatible
dt-bindings: display: mediatek: add MT8195 hdmi bindings
drm/mediatek: hdmi: use a syscon/regmap instead of iomem
dt-bindings: mediatek: set the hdmi to be compatible with syscon
drm/mediatek: extract common functions from the mtk hdmi driver
drm/mediatek: hdmi: add cec flag
drm/mediatek: hdmi: add connector flag
drm/mediatek: hdmi: add frame_colorimetry flag
drm/mediatek: hdmi: add mt8195 support
drm/mediatek: hdmi: mt8195: add audio support
phy: phy-mtk-hdmi: Add generic phy configure callback
phy: mediatek: add support for phy-mtk-hdmi-mt8195
dt-bindings: display: mediatek: dpi: Add compatible for MediaTek MT8195
drm/mediatek: dpi: Add mt8195 hdmi to DPI driver
drm/mediatek: Add mt8195-dpi support to drm_drv

Pablo Sun (2):
dt-bindings: clk: mediatek: Add MT8195 DPI clocks
clk: mediatek: add VDOSYS1 clock

.../bindings/display/mediatek/mediatek,dpi.yaml | 1 +
.../bindings/display/mediatek/mediatek,hdmi.yaml | 91 +-
.../display/mediatek/mediatek,mt8195-hdmi-ddc.yaml | 45 +
.../devicetree/bindings/phy/mediatek,hdmi-phy.yaml | 1 +
arch/arm64/boot/dts/mediatek/mt8173.dtsi | 2 +-
drivers/clk/mediatek/clk-mt8195-vdo1.c | 11 +
drivers/gpu/drm/mediatek/Makefile | 5 +-
drivers/gpu/drm/mediatek/mtk_dpi.c | 143 +-
drivers/gpu/drm/mediatek/mtk_dpi_regs.h | 5 +
drivers/gpu/drm/mediatek/mtk_drm_drv.c | 2 +
drivers/gpu/drm/mediatek/mtk_hdmi.c | 647 +-------
drivers/gpu/drm/mediatek/mtk_hdmi.h | 16 +
drivers/gpu/drm/mediatek/mtk_hdmi_common.c | 477 ++++++
drivers/gpu/drm/mediatek/mtk_hdmi_common.h | 225 +++
drivers/gpu/drm/mediatek/mtk_mt8195_hdmi.c | 1602 ++++++++++++++++++++
drivers/gpu/drm/mediatek/mtk_mt8195_hdmi.h | 31 +
drivers/gpu/drm/mediatek/mtk_mt8195_hdmi_ddc.c | 539 +++++++
drivers/gpu/drm/mediatek/mtk_mt8195_hdmi_regs.h | 329 ++++
drivers/phy/mediatek/Makefile | 1 +
drivers/phy/mediatek/phy-mtk-hdmi-mt8195.c | 673 ++++++++
drivers/phy/mediatek/phy-mtk-hdmi-mt8195.h | 204 +++
drivers/phy/mediatek/phy-mtk-hdmi.c | 15 +
drivers/phy/mediatek/phy-mtk-hdmi.h | 2 +
include/dt-bindings/clock/mt8195-clk.h | 4 +-
24 files changed, 4429 insertions(+), 642 deletions(-)
---
base-commit: ec65813678c97a05766d29f1ec40bdf1b30bc3d6
change-id: 20220919-hdmi_mtk

Best regards,
--
Guillaume Ranquet <granquet@xxxxxxxxxxxx>