mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-14 00:39:30 -04:00
media: rcar-csi2: Add RAW10 and RAW12 formats
Add RAW10 and RAW12 formats. We only need to add the entries to the rcar_csi2_format list. Signed-off-by: Tomi Valkeinen <tomi.valkeinen+renesas@ideasonboard.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
This commit is contained in:
committed by
Hans Verkuil
parent
cc2022cbb9
commit
a383cb7afc
@@ -660,6 +660,38 @@ static const struct rcar_csi2_format rcar_csi2_formats[] = {
|
||||
.code = MEDIA_BUS_FMT_SRGGB8_1X8,
|
||||
.datatype = MIPI_CSI2_DT_RAW8,
|
||||
.bpp = 8,
|
||||
}, {
|
||||
.code = MEDIA_BUS_FMT_SBGGR10_1X10,
|
||||
.datatype = MIPI_CSI2_DT_RAW10,
|
||||
.bpp = 10,
|
||||
}, {
|
||||
.code = MEDIA_BUS_FMT_SGBRG10_1X10,
|
||||
.datatype = MIPI_CSI2_DT_RAW10,
|
||||
.bpp = 10,
|
||||
}, {
|
||||
.code = MEDIA_BUS_FMT_SGRBG10_1X10,
|
||||
.datatype = MIPI_CSI2_DT_RAW10,
|
||||
.bpp = 10,
|
||||
}, {
|
||||
.code = MEDIA_BUS_FMT_SRGGB10_1X10,
|
||||
.datatype = MIPI_CSI2_DT_RAW10,
|
||||
.bpp = 10,
|
||||
}, {
|
||||
.code = MEDIA_BUS_FMT_SBGGR12_1X12,
|
||||
.datatype = MIPI_CSI2_DT_RAW12,
|
||||
.bpp = 12,
|
||||
}, {
|
||||
.code = MEDIA_BUS_FMT_SGBRG12_1X12,
|
||||
.datatype = MIPI_CSI2_DT_RAW12,
|
||||
.bpp = 12,
|
||||
}, {
|
||||
.code = MEDIA_BUS_FMT_SGRBG12_1X12,
|
||||
.datatype = MIPI_CSI2_DT_RAW12,
|
||||
.bpp = 12,
|
||||
}, {
|
||||
.code = MEDIA_BUS_FMT_SRGGB12_1X12,
|
||||
.datatype = MIPI_CSI2_DT_RAW12,
|
||||
.bpp = 12,
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user