xref: /freebsd/sys/contrib/device-tree/Bindings/media/st,stm32mp25-video-codec.yaml (revision 7d0873ebb83b19ba1e8a89e679470d885efe12e3)
101950c46SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
201950c46SEmmanuel Vadot%YAML 1.2
301950c46SEmmanuel Vadot---
401950c46SEmmanuel Vadot$id: http://devicetree.org/schemas/media/st,stm32mp25-video-codec.yaml#
501950c46SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
601950c46SEmmanuel Vadot
701950c46SEmmanuel Vadottitle: STMicroelectronics STM32MP25 VDEC video decoder & VENC video encoder
801950c46SEmmanuel Vadot
901950c46SEmmanuel Vadotmaintainers:
1001950c46SEmmanuel Vadot  - Hugues Fruchet <hugues.fruchet@foss.st.com>
1101950c46SEmmanuel Vadot
1201950c46SEmmanuel Vadotdescription:
1301950c46SEmmanuel Vadot  The STMicroelectronics STM32MP25 SOCs embeds a VDEC video hardware
1401950c46SEmmanuel Vadot  decoder peripheral based on Verisilicon VC8000NanoD IP (former Hantro G1)
1501950c46SEmmanuel Vadot  and a VENC video hardware encoder peripheral based on Verisilicon
1601950c46SEmmanuel Vadot  VC8000NanoE IP (former Hantro H1).
1701950c46SEmmanuel Vadot
1801950c46SEmmanuel Vadotproperties:
1901950c46SEmmanuel Vadot  compatible:
2001950c46SEmmanuel Vadot    enum:
2101950c46SEmmanuel Vadot      - st,stm32mp25-vdec
2201950c46SEmmanuel Vadot      - st,stm32mp25-venc
2301950c46SEmmanuel Vadot
2401950c46SEmmanuel Vadot  reg:
2501950c46SEmmanuel Vadot    maxItems: 1
2601950c46SEmmanuel Vadot
2701950c46SEmmanuel Vadot  interrupts:
2801950c46SEmmanuel Vadot    maxItems: 1
2901950c46SEmmanuel Vadot
3001950c46SEmmanuel Vadot  clocks:
3101950c46SEmmanuel Vadot    maxItems: 1
3201950c46SEmmanuel Vadot
33*7d0873ebSEmmanuel Vadot  access-controllers:
34*7d0873ebSEmmanuel Vadot    minItems: 1
35*7d0873ebSEmmanuel Vadot    maxItems: 2
36*7d0873ebSEmmanuel Vadot
3701950c46SEmmanuel Vadotrequired:
3801950c46SEmmanuel Vadot  - compatible
3901950c46SEmmanuel Vadot  - reg
4001950c46SEmmanuel Vadot  - interrupts
4101950c46SEmmanuel Vadot  - clocks
4201950c46SEmmanuel Vadot
4301950c46SEmmanuel VadotadditionalProperties: false
4401950c46SEmmanuel Vadot
4501950c46SEmmanuel Vadotexamples:
4601950c46SEmmanuel Vadot  - |
4701950c46SEmmanuel Vadot    #include <dt-bindings/interrupt-controller/arm-gic.h>
4801950c46SEmmanuel Vadot    video-codec@580d0000 {
4901950c46SEmmanuel Vadot        compatible = "st,stm32mp25-vdec";
5001950c46SEmmanuel Vadot        reg = <0x580d0000 0x3c8>;
5101950c46SEmmanuel Vadot        interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>;
5201950c46SEmmanuel Vadot        clocks = <&ck_icn_p_vdec>;
5301950c46SEmmanuel Vadot    };
54