xref: /linux/Documentation/devicetree/bindings/media/cec/st,stm32-cec.yaml (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/media/cec/st,stm32-cec.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: STMicroelectronics STM32 CEC
8
9maintainers:
10  - Yannick Fertre <yannick.fertre@foss.st.com>
11
12properties:
13  compatible:
14    const: st,stm32-cec
15
16  reg:
17    maxItems: 1
18
19  interrupts:
20    maxItems: 1
21
22  clocks:
23    items:
24      - description: Module Clock
25      - description: Bus Clock
26
27  clock-names:
28    items:
29      - const: cec
30      - const: hdmi-cec
31
32  access-controllers:
33    minItems: 1
34    maxItems: 2
35
36required:
37  - compatible
38  - reg
39  - interrupts
40  - clocks
41  - clock-names
42
43additionalProperties: false
44
45examples:
46  - |
47    #include <dt-bindings/interrupt-controller/arm-gic.h>
48    #include <dt-bindings/clock/stm32mp1-clks.h>
49    cec: cec@40006c00 {
50        compatible = "st,stm32-cec";
51        reg = <0x40006c00 0x400>;
52        interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>;
53        clocks = <&rcc CEC_K>, <&clk_lse>;
54        clock-names = "cec", "hdmi-cec";
55    };
56
57...
58