[PATCH 0/8] Prepare for new rkvdec variants
From: Detlev Casanova
Date: Mon Jun 23 2025 - 12:10:26 EST
This patch set introduces the necessary bits for new variants
implementations that do not modify the driver.
The driver changes will come in another patch set.
The first 4 patches document the device nodes and then add the nodes for
rk3588 and rk3576. I kept the R-b tag from Conor Dooley as the patch
didn't change much from [1]. I can remove it if needed.
Then a new v4l2 control for HEVC is added to be able to send the missing
RPS information to the driver.
Finally, the driver is unstaged as the TODO points are removed. I added
myself as maintainer for now as I'll be adding support for several
variants.
Those 3 parts can be applied separately and do not depend on each other.
Based on v6.16-rc3.
[1]: https://lore.kernel.org/all/20240620-unsmooth-surfer-b62ed94b4a5e@spud/
Detlev Casanova (8):
media: dt-bindings: rockchip: Document RK3588 Video Decoder bindings
media: dt-bindings: rockchip: Add RK3576 Video Decoder bindings
arm64: dts: rockchip: Add the vdpu381 Video Decoders on RK3588
arm64: dts: rockchip: Add the vdpu383 Video Decoder on rk3576
media: uapi: HEVC: Add v4l2_ctrl_hevc_ext_sps_rps control
media: v4l2-ctrls: Add hevc_ext_sps_rps control
media: rkvdec: Remove TODO file
media: rkvdec: Unstage the driver
.../bindings/media/rockchip,vdec.yaml | 80 ++++++++++++++++++-
.../media/v4l/ext-ctrls-codec-stateless.rst | 73 +++++++++++++++++
.../media/v4l/vidioc-queryctrl.rst | 6 ++
MAINTAINERS | 8 ++
arch/arm64/boot/dts/rockchip/rk3576.dtsi | 36 +++++++++
arch/arm64/boot/dts/rockchip/rk3588-base.dtsi | 74 +++++++++++++++++
drivers/media/platform/rockchip/Kconfig | 1 +
drivers/media/platform/rockchip/Makefile | 1 +
.../platform/rockchip}/rkvdec/Kconfig | 0
.../platform/rockchip}/rkvdec/Makefile | 0
.../platform/rockchip}/rkvdec/rkvdec-h264.c | 0
.../platform/rockchip}/rkvdec/rkvdec-regs.h | 0
.../platform/rockchip}/rkvdec/rkvdec-vp9.c | 0
.../platform/rockchip}/rkvdec/rkvdec.c | 0
.../platform/rockchip}/rkvdec/rkvdec.h | 0
drivers/media/v4l2-core/v4l2-ctrls-core.c | 9 +++
drivers/media/v4l2-core/v4l2-ctrls-defs.c | 5 ++
drivers/staging/media/Kconfig | 2 -
drivers/staging/media/Makefile | 1 -
drivers/staging/media/rkvdec/TODO | 11 ---
include/uapi/linux/v4l2-controls.h | 48 +++++++++++
include/uapi/linux/videodev2.h | 1 +
22 files changed, 339 insertions(+), 17 deletions(-)
rename drivers/{staging/media => media/platform/rockchip}/rkvdec/Kconfig (100%)
rename drivers/{staging/media => media/platform/rockchip}/rkvdec/Makefile (100%)
rename drivers/{staging/media => media/platform/rockchip}/rkvdec/rkvdec-h264.c (100%)
rename drivers/{staging/media => media/platform/rockchip}/rkvdec/rkvdec-regs.h (100%)
rename drivers/{staging/media => media/platform/rockchip}/rkvdec/rkvdec-vp9.c (100%)
rename drivers/{staging/media => media/platform/rockchip}/rkvdec/rkvdec.c (100%)
rename drivers/{staging/media => media/platform/rockchip}/rkvdec/rkvdec.h (100%)
delete mode 100644 drivers/staging/media/rkvdec/TODO
--
2.50.0