This patchset introduces support for VDEC video hardware decoder and VENC video hardware encoder of STMicroelectronics STM32MP25 SoC series. This initial support implements H264 decoding, VP8 decoding and JPEG encoding. This has been tested on STM32MP257F-EV1 evaluation board. Hugues Fruchet (7): dt-bindings: media: Document STM32MP25 VDEC video decoder media: hantro: add support for STM32MP25 VDEC dt-bindings: media: Document STM32MP25 VENC video encoder media: hantro: add support for STM32MP25 VENC arm64: dts: st: add soc & rifsc structure to stm32mp255 arm64: dts: st: add video decoder support to stm32mp255 arm64: dts: st: add video encoder support to stm32mp255 .../bindings/media/st,stm32mp25-vdec.yaml | 56 +++++++ .../bindings/media/st,stm32mp25-venc.yaml | 56 +++++++ arch/arm64/boot/dts/st/stm32mp251.dtsi | 12 ++ arch/arm64/boot/dts/st/stm32mp255.dtsi | 21 +++ drivers/media/platform/verisilicon/Kconfig | 14 +- drivers/media/platform/verisilicon/Makefile | 4 + .../media/platform/verisilicon/hantro_drv.c | 4 + .../media/platform/verisilicon/hantro_hw.h | 2 + .../platform/verisilicon/stm32mp25_vdec_hw.c | 92 +++++++++++ .../platform/verisilicon/stm32mp25_venc_hw.c | 147 ++++++++++++++++++ 10 files changed, 405 insertions(+), 3 deletions(-) create mode 100644 Documentation/devicetree/bindings/media/st,stm32mp25-vdec.yaml create mode 100644 Documentation/devicetree/bindings/media/st,stm32mp25-venc.yaml create mode 100644 drivers/media/platform/verisilicon/stm32mp25_vdec_hw.c create mode 100644 drivers/media/platform/verisilicon/stm32mp25_venc_hw.c -- 2.25.1