]> git.ipfire.org Git - thirdparty/linux.git/commit
media: rcar-vin: Add support for RAW10
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Wed, 4 Sep 2024 15:06:56 +0000 (17:06 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 16 Oct 2024 07:32:39 +0000 (09:32 +0200)
commit1b7e7240eaf39aeebed08e09d0aae86f5f207286
tree2ab4fdf567488394117b66a55ec231ff18b03712
parent27d23cecf33a0d4d95e91dc3524dda4dc3815b06
media: rcar-vin: Add support for RAW10

Some R-Car SoCs are capable of capturing RAW10. Extend the format
enumeration, validation and setup to expose and configure for this
format if the particular device supports it.

The VIN is usually capable of converting from most media bus formats to
a range of different pixel formats. However if the input media bus
format is a RAW10 format this is not possible so the corresponding pixel
output format is forced.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/renesas/rcar-vin/rcar-core.c
drivers/media/platform/renesas/rcar-vin/rcar-dma.c
drivers/media/platform/renesas/rcar-vin/rcar-v4l2.c
drivers/media/platform/renesas/rcar-vin/rcar-vin.h