1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/display/med 4 $id: http://devicetree.org/schemas/display/mediatek/mediatek,cec.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Mediatek HDMI CEC Controller 7 title: Mediatek HDMI CEC Controller 8 8 9 maintainers: 9 maintainers: 10 - CK Hu <ck.hu@mediatek.com> 10 - CK Hu <ck.hu@mediatek.com> 11 - Jitao shi <jitao.shi@mediatek.com> 11 - Jitao shi <jitao.shi@mediatek.com> 12 12 13 description: | 13 description: | 14 The HDMI CEC controller handles hotplug dete 14 The HDMI CEC controller handles hotplug detection and CEC communication. 15 15 16 properties: 16 properties: 17 compatible: 17 compatible: 18 enum: 18 enum: 19 - mediatek,mt7623-cec 19 - mediatek,mt7623-cec 20 - mediatek,mt8167-cec 20 - mediatek,mt8167-cec 21 - mediatek,mt8173-cec 21 - mediatek,mt8173-cec 22 22 23 reg: 23 reg: 24 maxItems: 1 24 maxItems: 1 25 25 26 interrupts: 26 interrupts: 27 maxItems: 1 27 maxItems: 1 28 28 29 clocks: 29 clocks: 30 maxItems: 1 30 maxItems: 1 31 31 32 required: 32 required: 33 - compatible 33 - compatible 34 - reg 34 - reg 35 - interrupts 35 - interrupts 36 - clocks 36 - clocks 37 37 38 additionalProperties: false 38 additionalProperties: false 39 39 40 examples: 40 examples: 41 - | 41 - | 42 #include <dt-bindings/clock/mt8173-clk.h> 42 #include <dt-bindings/clock/mt8173-clk.h> 43 #include <dt-bindings/interrupt-controller 43 #include <dt-bindings/interrupt-controller/arm-gic.h> 44 #include <dt-bindings/interrupt-controller 44 #include <dt-bindings/interrupt-controller/irq.h> 45 cec: cec@10013000 { 45 cec: cec@10013000 { 46 compatible = "mediatek,mt8173-cec"; 46 compatible = "mediatek,mt8173-cec"; 47 reg = <0x10013000 0xbc>; 47 reg = <0x10013000 0xbc>; 48 interrupts = <GIC_SPI 167 IRQ_TYPE_LEV 48 interrupts = <GIC_SPI 167 IRQ_TYPE_LEVEL_LOW>; 49 clocks = <&infracfg CLK_INFRA_CEC>; 49 clocks = <&infracfg CLK_INFRA_CEC>; 50 }; 50 }; 51 51 52 ... 52 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.