# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/display/mediatek/mediatek,mt8195-hdmi-ddc.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: MediaTek HDMI MT8195 series HDMI Display Data Channel (DDC)

maintainers:
  - AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
  - CK Hu <ck.hu@mediatek.com>

properties:
  compatible:
    oneOf:
      - const: mediatek,mt8195-hdmi-ddc
      - items:
          - const: mediatek,mt8188-hdmi-ddc
          - const: mediatek,mt8195-hdmi-ddc

  clocks:
    maxItems: 1

  power-domains:
    maxItems: 1

required:
  - compatible
  - clocks

additionalProperties: false

examples:
  - |
    hdmi {
        hdmi_ddc: i2c {
            compatible = "mediatek,mt8195-hdmi-ddc";
            clocks = <&clk26m>;
        };
    };
...
