Tom Rini | 6bb92fc | 2024-05-20 09:54:58 -0600 | [diff] [blame] | 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 | |
| 7 | title: STMicroelectronics STM32MP25 VDEC video decoder & VENC video encoder |
| 8 | |
| 9 | maintainers: |
| 10 | - Hugues Fruchet <hugues.fruchet@foss.st.com> |
| 11 | |
| 12 | description: |
| 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 | |
| 18 | properties: |
| 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 | required: |
| 34 | - compatible |
| 35 | - reg |
| 36 | - interrupts |
| 37 | - clocks |
| 38 | |
| 39 | additionalProperties: false |
| 40 | |
| 41 | examples: |
| 42 | - | |
| 43 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
| 44 | video-codec@580d0000 { |
| 45 | compatible = "st,stm32mp25-vdec"; |
| 46 | reg = <0x580d0000 0x3c8>; |
| 47 | interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>; |
| 48 | clocks = <&ck_icn_p_vdec>; |
| 49 | }; |