xref: /linux/Documentation/devicetree/bindings/media/cec/st,stm32-cec.yaml (revision 621cde16e49b3ecf7d59a8106a20aaebfb4a59a9)
18f437662SKrzysztof Kozlowski# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
28f437662SKrzysztof Kozlowski%YAML 1.2
38f437662SKrzysztof Kozlowski---
48f437662SKrzysztof Kozlowski$id: http://devicetree.org/schemas/media/cec/st,stm32-cec.yaml#
58f437662SKrzysztof Kozlowski$schema: http://devicetree.org/meta-schemas/core.yaml#
68f437662SKrzysztof Kozlowski
78f437662SKrzysztof Kozlowskititle: STMicroelectronics STM32 CEC
88f437662SKrzysztof Kozlowski
98f437662SKrzysztof Kozlowskimaintainers:
108f437662SKrzysztof Kozlowski  - Yannick Fertre <yannick.fertre@foss.st.com>
118f437662SKrzysztof Kozlowski
128f437662SKrzysztof Kozlowskiproperties:
138f437662SKrzysztof Kozlowski  compatible:
148f437662SKrzysztof Kozlowski    const: st,stm32-cec
158f437662SKrzysztof Kozlowski
168f437662SKrzysztof Kozlowski  reg:
178f437662SKrzysztof Kozlowski    maxItems: 1
188f437662SKrzysztof Kozlowski
198f437662SKrzysztof Kozlowski  interrupts:
208f437662SKrzysztof Kozlowski    maxItems: 1
218f437662SKrzysztof Kozlowski
228f437662SKrzysztof Kozlowski  clocks:
238f437662SKrzysztof Kozlowski    items:
248f437662SKrzysztof Kozlowski      - description: Module Clock
258f437662SKrzysztof Kozlowski      - description: Bus Clock
268f437662SKrzysztof Kozlowski
278f437662SKrzysztof Kozlowski  clock-names:
288f437662SKrzysztof Kozlowski    items:
298f437662SKrzysztof Kozlowski      - const: cec
308f437662SKrzysztof Kozlowski      - const: hdmi-cec
318f437662SKrzysztof Kozlowski
32*02ec75edSGatien Chevallier  access-controllers:
33*02ec75edSGatien Chevallier    minItems: 1
34*02ec75edSGatien Chevallier    maxItems: 2
35*02ec75edSGatien Chevallier
368f437662SKrzysztof Kozlowskirequired:
378f437662SKrzysztof Kozlowski  - compatible
388f437662SKrzysztof Kozlowski  - reg
398f437662SKrzysztof Kozlowski  - interrupts
408f437662SKrzysztof Kozlowski  - clocks
418f437662SKrzysztof Kozlowski  - clock-names
428f437662SKrzysztof Kozlowski
438f437662SKrzysztof KozlowskiadditionalProperties: false
448f437662SKrzysztof Kozlowski
458f437662SKrzysztof Kozlowskiexamples:
468f437662SKrzysztof Kozlowski  - |
478f437662SKrzysztof Kozlowski    #include <dt-bindings/interrupt-controller/arm-gic.h>
488f437662SKrzysztof Kozlowski    #include <dt-bindings/clock/stm32mp1-clks.h>
498f437662SKrzysztof Kozlowski    cec: cec@40006c00 {
508f437662SKrzysztof Kozlowski        compatible = "st,stm32-cec";
518f437662SKrzysztof Kozlowski        reg = <0x40006c00 0x400>;
528f437662SKrzysztof Kozlowski        interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>;
538f437662SKrzysztof Kozlowski        clocks = <&rcc CEC_K>, <&clk_lse>;
548f437662SKrzysztof Kozlowski        clock-names = "cec", "hdmi-cec";
558f437662SKrzysztof Kozlowski    };
568f437662SKrzysztof Kozlowski
578f437662SKrzysztof Kozlowski...
58