1*c69dff4fSKrzysztof Kozlowski# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2*c69dff4fSKrzysztof Kozlowski%YAML 1.2
3*c69dff4fSKrzysztof Kozlowski---
4*c69dff4fSKrzysztof Kozlowski$id: http://devicetree.org/schemas/media/cec/nvidia,tegra114-cec.yaml#
5*c69dff4fSKrzysztof Kozlowski$schema: http://devicetree.org/meta-schemas/core.yaml#
6*c69dff4fSKrzysztof Kozlowski
7*c69dff4fSKrzysztof Kozlowskititle: NVIDIA Tegra HDMI CEC
8*c69dff4fSKrzysztof Kozlowski
9*c69dff4fSKrzysztof Kozlowskimaintainers:
10*c69dff4fSKrzysztof Kozlowski  - Hans Verkuil <hverkuil-cisco@xs4all.nl>
11*c69dff4fSKrzysztof Kozlowski
12*c69dff4fSKrzysztof KozlowskiallOf:
13*c69dff4fSKrzysztof Kozlowski  - $ref: cec-common.yaml#
14*c69dff4fSKrzysztof Kozlowski
15*c69dff4fSKrzysztof Kozlowskiproperties:
16*c69dff4fSKrzysztof Kozlowski  compatible:
17*c69dff4fSKrzysztof Kozlowski    enum:
18*c69dff4fSKrzysztof Kozlowski      - nvidia,tegra114-cec
19*c69dff4fSKrzysztof Kozlowski      - nvidia,tegra124-cec
20*c69dff4fSKrzysztof Kozlowski      - nvidia,tegra210-cec
21*c69dff4fSKrzysztof Kozlowski
22*c69dff4fSKrzysztof Kozlowski  clocks:
23*c69dff4fSKrzysztof Kozlowski    maxItems: 1
24*c69dff4fSKrzysztof Kozlowski
25*c69dff4fSKrzysztof Kozlowski  clock-names:
26*c69dff4fSKrzysztof Kozlowski    items:
27*c69dff4fSKrzysztof Kozlowski      - const: cec
28*c69dff4fSKrzysztof Kozlowski
29*c69dff4fSKrzysztof Kozlowski  interrupts:
30*c69dff4fSKrzysztof Kozlowski    maxItems: 1
31*c69dff4fSKrzysztof Kozlowski
32*c69dff4fSKrzysztof Kozlowski  reg:
33*c69dff4fSKrzysztof Kozlowski    maxItems: 1
34*c69dff4fSKrzysztof Kozlowski
35*c69dff4fSKrzysztof Kozlowskirequired:
36*c69dff4fSKrzysztof Kozlowski  - compatible
37*c69dff4fSKrzysztof Kozlowski  - clocks
38*c69dff4fSKrzysztof Kozlowski  - clock-names
39*c69dff4fSKrzysztof Kozlowski  - hdmi-phandle
40*c69dff4fSKrzysztof Kozlowski  - interrupts
41*c69dff4fSKrzysztof Kozlowski  - reg
42*c69dff4fSKrzysztof Kozlowski
43*c69dff4fSKrzysztof KozlowskiunevaluatedProperties: false
44*c69dff4fSKrzysztof Kozlowski
45*c69dff4fSKrzysztof Kozlowskiexamples:
46*c69dff4fSKrzysztof Kozlowski  - |
47*c69dff4fSKrzysztof Kozlowski    #include <dt-bindings/clock/tegra124-car.h>
48*c69dff4fSKrzysztof Kozlowski    #include <dt-bindings/interrupt-controller/arm-gic.h>
49*c69dff4fSKrzysztof Kozlowski
50*c69dff4fSKrzysztof Kozlowski    cec@70015000 {
51*c69dff4fSKrzysztof Kozlowski        compatible = "nvidia,tegra124-cec";
52*c69dff4fSKrzysztof Kozlowski        reg = <0x70015000 0x00001000>;
53*c69dff4fSKrzysztof Kozlowski        interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
54*c69dff4fSKrzysztof Kozlowski        clocks = <&tegra_car TEGRA124_CLK_CEC>;
55*c69dff4fSKrzysztof Kozlowski        clock-names = "cec";
56*c69dff4fSKrzysztof Kozlowski        hdmi-phandle = <&hdmi>;
57*c69dff4fSKrzysztof Kozlowski    };
58