18562e78cSNeil Armstrong# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 28562e78cSNeil Armstrong%YAML 1.2 38562e78cSNeil Armstrong--- 48562e78cSNeil Armstrong$id: http://devicetree.org/schemas/display/mediatek/mediatek,cec.yaml# 58562e78cSNeil Armstrong$schema: http://devicetree.org/meta-schemas/core.yaml# 68562e78cSNeil Armstrong 7*a612130cSKrzysztof Kozlowskititle: Mediatek HDMI CEC Controller 88562e78cSNeil Armstrong 98562e78cSNeil Armstrongmaintainers: 108562e78cSNeil Armstrong - CK Hu <ck.hu@mediatek.com> 118562e78cSNeil Armstrong - Jitao shi <jitao.shi@mediatek.com> 128562e78cSNeil Armstrong 138562e78cSNeil Armstrongdescription: | 148562e78cSNeil Armstrong The HDMI CEC controller handles hotplug detection and CEC communication. 158562e78cSNeil Armstrong 168562e78cSNeil Armstrongproperties: 178562e78cSNeil Armstrong compatible: 188562e78cSNeil Armstrong enum: 198562e78cSNeil Armstrong - mediatek,mt7623-cec 2015870b97SNeil Armstrong - mediatek,mt8167-cec 218562e78cSNeil Armstrong - mediatek,mt8173-cec 228562e78cSNeil Armstrong 238562e78cSNeil Armstrong reg: 248562e78cSNeil Armstrong maxItems: 1 258562e78cSNeil Armstrong 268562e78cSNeil Armstrong interrupts: 278562e78cSNeil Armstrong maxItems: 1 288562e78cSNeil Armstrong 298562e78cSNeil Armstrong clocks: 308562e78cSNeil Armstrong maxItems: 1 318562e78cSNeil Armstrong 328562e78cSNeil Armstrongrequired: 338562e78cSNeil Armstrong - compatible 348562e78cSNeil Armstrong - reg 358562e78cSNeil Armstrong - interrupts 368562e78cSNeil Armstrong - clocks 378562e78cSNeil Armstrong 388562e78cSNeil ArmstrongadditionalProperties: false 398562e78cSNeil Armstrong 408562e78cSNeil Armstrongexamples: 418562e78cSNeil Armstrong - | 428562e78cSNeil Armstrong #include <dt-bindings/clock/mt8173-clk.h> 438562e78cSNeil Armstrong #include <dt-bindings/interrupt-controller/arm-gic.h> 448562e78cSNeil Armstrong #include <dt-bindings/interrupt-controller/irq.h> 458562e78cSNeil Armstrong cec: cec@10013000 { 468562e78cSNeil Armstrong compatible = "mediatek,mt8173-cec"; 478562e78cSNeil Armstrong reg = <0x10013000 0xbc>; 488562e78cSNeil Armstrong interrupts = <GIC_SPI 167 IRQ_TYPE_LEVEL_LOW>; 498562e78cSNeil Armstrong clocks = <&infracfg CLK_INFRA_CEC>; 508562e78cSNeil Armstrong }; 518562e78cSNeil Armstrong 528562e78cSNeil Armstrong... 53