xref: /freebsd-src/sys/contrib/device-tree/Bindings/display/mediatek/mediatek,cec.yaml (revision 8bab661a3316d8bd9b9fbd11a3b4371b91507bd2)
15956d97fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
25956d97fSEmmanuel Vadot%YAML 1.2
35956d97fSEmmanuel Vadot---
45956d97fSEmmanuel Vadot$id: http://devicetree.org/schemas/display/mediatek/mediatek,cec.yaml#
55956d97fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
65956d97fSEmmanuel Vadot
7*8bab661aSEmmanuel Vadottitle: Mediatek HDMI CEC Controller
85956d97fSEmmanuel Vadot
95956d97fSEmmanuel Vadotmaintainers:
105956d97fSEmmanuel Vadot  - CK Hu <ck.hu@mediatek.com>
115956d97fSEmmanuel Vadot  - Jitao shi <jitao.shi@mediatek.com>
125956d97fSEmmanuel Vadot
135956d97fSEmmanuel Vadotdescription: |
145956d97fSEmmanuel Vadot  The HDMI CEC controller handles hotplug detection and CEC communication.
155956d97fSEmmanuel Vadot
165956d97fSEmmanuel Vadotproperties:
175956d97fSEmmanuel Vadot  compatible:
185956d97fSEmmanuel Vadot    enum:
195956d97fSEmmanuel Vadot      - mediatek,mt7623-cec
205956d97fSEmmanuel Vadot      - mediatek,mt8167-cec
215956d97fSEmmanuel Vadot      - mediatek,mt8173-cec
225956d97fSEmmanuel Vadot
235956d97fSEmmanuel Vadot  reg:
245956d97fSEmmanuel Vadot    maxItems: 1
255956d97fSEmmanuel Vadot
265956d97fSEmmanuel Vadot  interrupts:
275956d97fSEmmanuel Vadot    maxItems: 1
285956d97fSEmmanuel Vadot
295956d97fSEmmanuel Vadot  clocks:
305956d97fSEmmanuel Vadot    maxItems: 1
315956d97fSEmmanuel Vadot
325956d97fSEmmanuel Vadotrequired:
335956d97fSEmmanuel Vadot  - compatible
345956d97fSEmmanuel Vadot  - reg
355956d97fSEmmanuel Vadot  - interrupts
365956d97fSEmmanuel Vadot  - clocks
375956d97fSEmmanuel Vadot
385956d97fSEmmanuel VadotadditionalProperties: false
395956d97fSEmmanuel Vadot
405956d97fSEmmanuel Vadotexamples:
415956d97fSEmmanuel Vadot  - |
425956d97fSEmmanuel Vadot    #include <dt-bindings/clock/mt8173-clk.h>
435956d97fSEmmanuel Vadot    #include <dt-bindings/interrupt-controller/arm-gic.h>
445956d97fSEmmanuel Vadot    #include <dt-bindings/interrupt-controller/irq.h>
455956d97fSEmmanuel Vadot    cec: cec@10013000 {
465956d97fSEmmanuel Vadot        compatible = "mediatek,mt8173-cec";
475956d97fSEmmanuel Vadot        reg = <0x10013000 0xbc>;
485956d97fSEmmanuel Vadot        interrupts = <GIC_SPI 167 IRQ_TYPE_LEVEL_LOW>;
495956d97fSEmmanuel Vadot        clocks = <&infracfg CLK_INFRA_CEC>;
505956d97fSEmmanuel Vadot    };
515956d97fSEmmanuel Vadot
525956d97fSEmmanuel Vadot...
53