xref: /openbmc/linux/Documentation/devicetree/bindings/display/mediatek/mediatek,cec.yaml (revision 7ae9fb1b7ecbb5d85d07857943f677fd1a559b18)
1 8562e78cSNeil Armstrong# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 8562e78cSNeil Armstrong%YAML 1.2
3 8562e78cSNeil Armstrong---
4 8562e78cSNeil Armstrong$id: http://devicetree.org/schemas/display/mediatek/mediatek,cec.yaml#
5 8562e78cSNeil Armstrong$schema: http://devicetree.org/meta-schemas/core.yaml#
6 8562e78cSNeil Armstrong
7 *a612130cSKrzysztof Kozlowskititle: Mediatek HDMI CEC Controller
8 8562e78cSNeil Armstrong
9 8562e78cSNeil Armstrongmaintainers:
10 8562e78cSNeil Armstrong  - CK Hu <ck.hu@mediatek.com>
11 8562e78cSNeil Armstrong  - Jitao shi <jitao.shi@mediatek.com>
12 8562e78cSNeil Armstrong
13 8562e78cSNeil Armstrongdescription: |
14 8562e78cSNeil Armstrong  The HDMI CEC controller handles hotplug detection and CEC communication.
15 8562e78cSNeil Armstrong
16 8562e78cSNeil Armstrongproperties:
17 8562e78cSNeil Armstrong  compatible:
18 8562e78cSNeil Armstrong    enum:
19 8562e78cSNeil Armstrong      - mediatek,mt7623-cec
20 15870b97SNeil Armstrong      - mediatek,mt8167-cec
21 8562e78cSNeil Armstrong      - mediatek,mt8173-cec
22 8562e78cSNeil Armstrong
23 8562e78cSNeil Armstrong  reg:
24 8562e78cSNeil Armstrong    maxItems: 1
25 8562e78cSNeil Armstrong
26 8562e78cSNeil Armstrong  interrupts:
27 8562e78cSNeil Armstrong    maxItems: 1
28 8562e78cSNeil Armstrong
29 8562e78cSNeil Armstrong  clocks:
30 8562e78cSNeil Armstrong    maxItems: 1
31 8562e78cSNeil Armstrong
32 8562e78cSNeil Armstrongrequired:
33 8562e78cSNeil Armstrong  - compatible
34 8562e78cSNeil Armstrong  - reg
35 8562e78cSNeil Armstrong  - interrupts
36 8562e78cSNeil Armstrong  - clocks
37 8562e78cSNeil Armstrong
38 8562e78cSNeil ArmstrongadditionalProperties: false
39 8562e78cSNeil Armstrong
40 8562e78cSNeil Armstrongexamples:
41 8562e78cSNeil Armstrong  - |
42 8562e78cSNeil Armstrong    #include <dt-bindings/clock/mt8173-clk.h>
43 8562e78cSNeil Armstrong    #include <dt-bindings/interrupt-controller/arm-gic.h>
44 8562e78cSNeil Armstrong    #include <dt-bindings/interrupt-controller/irq.h>
45 8562e78cSNeil Armstrong    cec: cec@10013000 {
46 8562e78cSNeil Armstrong        compatible = "mediatek,mt8173-cec";
47 8562e78cSNeil Armstrong        reg = <0x10013000 0xbc>;
48 8562e78cSNeil Armstrong        interrupts = <GIC_SPI 167 IRQ_TYPE_LEVEL_LOW>;
49 8562e78cSNeil Armstrong        clocks = <&infracfg CLK_INFRA_CEC>;
50 8562e78cSNeil Armstrong    };
51 8562e78cSNeil Armstrong
52 8562e78cSNeil Armstrong...
53