Re: [PATCH v2 27/46] dt-bindings: display: mediatek: Introduce Digital Video Output HW

From: AngeloGioacchino Del Regno

Date: Tue Nov 24 2026 - 06:30:34 EST


On 11/24/26 07:13, CK Hu (胡俊光) wrote:
On Mon, 2026-11-23 at 11:05 +0100, AngeloGioacchino Del Regno wrote:
On 11/20/26 03:17, CK Hu (胡俊光) wrote:
On Tue, 2026-07-14 at 13:43 +0200, AngeloGioacchino Del Regno wrote:
Add documentation for the Digital Video Output (DVO) IP found in
the newer generation SoCs MT8196, MT8189 and their variants.

This is effectively a more capable block replacing the DisplayPort
Interface (DPI/DP_INTF) one found in older SoCs.

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@xxxxxxxxxxxxx>
---
.../display/mediatek/mediatek,mt8196-dvo.yaml | 143 ++++++++++++++++++
1 file changed, 143 insertions(+)
create mode 100644 Documentation/devicetree/bindings/display/mediatek/mediatek,mt8196-dvo.yaml

diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,mt8196-dvo.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,mt8196-dvo.yaml
new file mode 100644
index 000000000000..b38960327ca1
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,mt8196-dvo.yaml

This file would include multiple SoC dvo, so it's better to use mediatek,dvo.yaml.

Devicetree bindings maintainers will disagree with this statement ;-)

Oh, it seems many mediatek display binding document should change file name.


Yeah, but changing file names should be an ABI breakage (is it?), so we just avoid
adding more "wrong" files :-)



@@ -0,0 +1,143 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: https://urldefense.com/v3/__http://devicetree.org/schemas/display/mediatek/mediatek,mt8196-dvo.yaml*__;Iw!!CTRNKA9wMg0ARbw!n3pk94kKoN-7zfem5SHfJn_ixDmAleFOW2dJwmZ8W5gJz-iEQGAN6yOkpupaMXAvAlr3KfAndB5Fjy57tNXsxA_uvNy3$
+$schema: https://urldefense.com/v3/__http://devicetree.org/meta-schemas/core.yaml*__;Iw!!CTRNKA9wMg0ARbw!n3pk94kKoN-7zfem5SHfJn_ixDmAleFOW2dJwmZ8W5gJz-iEQGAN6yOkpupaMXAvAlr3KfAndB5Fjy57tNXsxNztWOiH$
+
+title: MediaTek Digital Video Output (DVO) Controller
+
+maintainers:
+ - AngeloGioacchino Del Regno <angelogioacchino.delregno@xxxxxxxxxxxxx>
+
+description:
+ The MediaTek Digital Video Output (DVO) hardware provides 120-bits (4P) data,
+ video timing and info data for the Embedded DisplayPort, hardware-abstracting

From the compatible listed below, DVO not only for eDP, but also DP, right?


Yeah, on MT8189 it's also for DP.

So the description should be:

The MediaTek Digital Video Output (DVO) hardware provides 120-bits (4P) data,
video timing and info data for the (Embedded) DisplayPort


+ the previous generation Display Port Interface (DPI/DP_INTF) blocks, other
+ than providing new capabilities.

No new capability? But what you list below is new capability or the same as DPI/DP_INTF?


The new capabilities include PSR and MSO, other than the 4T1R in output (as DP_INTF
did support that but only for very specific configurations).

My English is not good. I just thought 'other than' means 'not'.


Haha, no worries!!


+ This hardware block supports 1/2/4 pixels per iteration in both its input and
+ output and provides 8/10-bit RGB, YUV422 and YUV444 data formats in output,
+ other than supporting input/output video window cropping and padding.
+ Digital Video Output also provides Panel Self Refresh (PSR) and Multi-SST
+ Operation (MSO) features for eDP 1.3/1.4.
+
+properties:
+ compatible:
+ enum:
+ - mediatek,mt8189-dp-dvo
+ - mediatek,mt8189-edp-dvo

This series is so large, so it's better to drop any thing that is not related to mt8196 and you could add them back later.

Are you sure you want me to drop that?

It's just 10 lines of code and some platform data really, I don't think it's all
that much to justify dropping it?

If you keep mt8189 compatible here, you should describe what's the difference of these compatible.
Maybe every reviewer see this would ask you again because this series is for mt8196.
Remove them is much easier. If you keep them, introduce them.

I understand what you're trying to do here, thank you.

Adding a simple phrase in the commit description for this binding saying what is
the difference between 8196 and 8189 shouldn't be a big deal though...

Removing the MT8189 code takes more time compared to just adding a phrase here! :-)

Cheers,
Angelo


Regards,
CK


Cheers,
Angelo


Regards,
CK

+ - mediatek,mt8196-edp-dvo
+
+ reg:
+ maxItems: 1
+
+ interrupts:
+ maxItems: 1
+