devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/5] Add support for video hardware codec of STMicroelectronics STM32 SoC series
@ 2023-10-10  9:16 Hugues Fruchet
  2023-10-10  9:16 ` [PATCH v2 1/5] dt-bindings: media: Document STM32MP25 VDEC & VENC video codecs Hugues Fruchet
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Hugues Fruchet @ 2023-10-10  9:16 UTC (permalink / raw)
  To: Ezequiel Garcia, Philipp Zabel, Andrzej Pietrasiewicz,
	Nicolas Dufresne, Sakari Ailus, Benjamin Gaignard,
	Laurent Pinchart, Daniel Almeida, Benjamin Mugnier,
	Heiko Stuebner, Mauro Carvalho Chehab, Hans Verkuil, linux-media,
	Maxime Coquelin, Alexandre Torgue, linux-stm32, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, devicetree, linux-arm-kernel,
	linux-kernel, linux-rockchip
  Cc: Hugues Fruchet, Marco Felsch, Adam Ford

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.

===========
= history =
===========
version 2:
   - Fix remarks from Krzysztof Kozlowski on v1:
    - single video-codec binding for both VDEC/VENC
    - get rid of "-names"
    - use of generic node name "video-codec"

version 1:
  - Initial submission

Hugues Fruchet (5):
  dt-bindings: media: Document STM32MP25 VDEC & VENC video codecs
  media: hantro: add support for STM32MP25 VDEC
  media: hantro: add support for STM32MP25 VENC
  arm64: dts: st: add video decoder support to stm32mp255
  arm64: dts: st: add video encoder support to stm32mp255

 .../media/st,stm32mp25-video-codec.yaml       |  58 +++++++
 arch/arm64/boot/dts/st/stm32mp251.dtsi        |  12 ++
 arch/arm64/boot/dts/st/stm32mp255.dtsi        |  17 ++
 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 ++++++++++++++++++
 9 files changed, 347 insertions(+), 3 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/media/st,stm32mp25-video-codec.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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-10-12 12:39 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-10  9:16 [PATCH v2 0/5] Add support for video hardware codec of STMicroelectronics STM32 SoC series Hugues Fruchet
2023-10-10  9:16 ` [PATCH v2 1/5] dt-bindings: media: Document STM32MP25 VDEC & VENC video codecs Hugues Fruchet
2023-10-11 15:55   ` Conor Dooley
2023-10-12  7:54     ` Hugues FRUCHET
2023-10-12 12:39   ` Krzysztof Kozlowski
2023-10-10  9:16 ` [PATCH v2 2/5] media: hantro: add support for STM32MP25 VDEC Hugues Fruchet
2023-10-10  9:16 ` [PATCH v2 3/5] media: hantro: add support for STM32MP25 VENC Hugues Fruchet
2023-10-10  9:16 ` [PATCH v2 4/5] arm64: dts: st: add video decoder support to stm32mp255 Hugues Fruchet
2023-10-10  9:16 ` [PATCH v2 5/5] arm64: dts: st: add video encoder " Hugues Fruchet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).