1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/display/mediatek/mediatek,hdmi-ddc.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Mediatek HDMI DDC 8 9maintainers: 10 - CK Hu <ck.hu@mediatek.com> 11 - Jitao shi <jitao.shi@mediatek.com> 12 13description: | 14 The HDMI DDC i2c controller is used to interface with the HDMI DDC pins. 15 16properties: 17 compatible: 18 enum: 19 - mediatek,mt7623-hdmi-ddc 20 - mediatek,mt8167-hdmi-ddc 21 - mediatek,mt8173-hdmi-ddc 22 23 reg: 24 maxItems: 1 25 26 interrupts: 27 maxItems: 1 28 29 clocks: 30 maxItems: 1 31 32 clock-names: 33 items: 34 - const: ddc-i2c 35 36required: 37 - compatible 38 - reg 39 - interrupts 40 - clocks 41 - clock-names 42 43additionalProperties: false 44 45examples: 46 - | 47 #include <dt-bindings/clock/mt8173-clk.h> 48 #include <dt-bindings/interrupt-controller/arm-gic.h> 49 #include <dt-bindings/interrupt-controller/irq.h> 50 hdmi_ddc0: i2c@11012000 { 51 compatible = "mediatek,mt8173-hdmi-ddc"; 52 reg = <0x11012000 0x1c>; 53 interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_LOW>; 54 clocks = <&pericfg CLK_PERI_I2C5>; 55 clock-names = "ddc-i2c"; 56 }; 57 58... 59