xref: /linux/Documentation/devicetree/bindings/media/st,stm32mp25-video-codec.yaml (revision 90d32e92011eaae8e70a9169b4e7acf4ca8f9d3a)
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/media/st,stm32mp25-video-codec.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: STMicroelectronics STM32MP25 VDEC video decoder & VENC video encoder
8
9maintainers:
10  - Hugues Fruchet <hugues.fruchet@foss.st.com>
11
12description:
13  The STMicroelectronics STM32MP25 SOCs embeds a VDEC video hardware
14  decoder peripheral based on Verisilicon VC8000NanoD IP (former Hantro G1)
15  and a VENC video hardware encoder peripheral based on Verisilicon
16  VC8000NanoE IP (former Hantro H1).
17
18properties:
19  compatible:
20    enum:
21      - st,stm32mp25-vdec
22      - st,stm32mp25-venc
23
24  reg:
25    maxItems: 1
26
27  interrupts:
28    maxItems: 1
29
30  clocks:
31    maxItems: 1
32
33  access-controllers:
34    minItems: 1
35    maxItems: 2
36
37required:
38  - compatible
39  - reg
40  - interrupts
41  - clocks
42
43additionalProperties: false
44
45examples:
46  - |
47    #include <dt-bindings/interrupt-controller/arm-gic.h>
48    video-codec@580d0000 {
49        compatible = "st,stm32mp25-vdec";
50        reg = <0x580d0000 0x3c8>;
51        interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>;
52        clocks = <&ck_icn_p_vdec>;
53    };
54