media: vsp1: Add VSPX support
authorJacopo Mondi <jacopo.mondi+renesas@ideasonboard.com>
Tue, 17 Jun 2025 07:23:28 +0000 (09:23 +0200)
committerHans Verkuil <hverkuil@xs4all.nl>
Wed, 18 Jun 2025 07:20:47 +0000 (09:20 +0200)
commitd06c1a9f348d22478c6bc5684f9c990e15ada1e9
tree5de6cbb718082f09bf923f6618b3aefd74b726f6
parentfe2a3493c597869322c2e68ada77c44a84a42e81
media: vsp1: Add VSPX support

Add support for VSPX, a specialized version of the VSP2 that
transfers data to the ISP. The VSPX is composed of two RPF units
to read data from external memory and an IIF instance that performs
transfer towards the ISP.

The VSPX is supported through a newly introduced vsp1_vspx.c file that
exposes two interfaces: vsp1_vspx interface, declared in vsp1_vspx.h
for the vsp1 core to initialize and cleanup the VSPX, and a vsp1_isp
interface, declared in include/media/vsp1.h for the ISP driver to
control the VSPX operations.

Tested-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Jacopo Mondi <jacopo.mondi+renesas@ideasonboard.com>
Link: https://lore.kernel.org/r/20250617-b4-vspx-v13-1-9f4054c1c9af@ideasonboard.com
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
drivers/media/platform/renesas/vsp1/Makefile
drivers/media/platform/renesas/vsp1/vsp1.h
drivers/media/platform/renesas/vsp1/vsp1_drv.c
drivers/media/platform/renesas/vsp1/vsp1_regs.h
drivers/media/platform/renesas/vsp1/vsp1_vspx.c [new file with mode: 0644]
drivers/media/platform/renesas/vsp1/vsp1_vspx.h [new file with mode: 0644]
include/media/vsp1.h