Skip to content

Commit fa56d8d

Browse files
6by9popcornmix
authored andcommitted
media: bcm2835-unicam: Add support for 14bit mono sources
Now that V4L2_PIX_FMT_Y14 and V4L2_PIX_FMT_Y14P are defined, allow passing 14bit mono data through the peripheral. Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
1 parent 9f71066 commit fa56d8d

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

‎drivers/media/platform/bcm2835/bcm2835-unicam.c‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,12 @@ static const struct unicam_fmt formats[] = {
341341
.code = MEDIA_BUS_FMT_Y12_1X12,
342342
.depth = 12,
343343
.csi_dt = 0x2c,
344+
}, {
345+
.fourcc = V4L2_PIX_FMT_Y14P,
346+
.repacked_fourcc = V4L2_PIX_FMT_Y14,
347+
.code = MEDIA_BUS_FMT_Y14_1X14,
348+
.depth = 14,
349+
.csi_dt = 0x2d,
344350
},
345351
/* Embedded data format */
346352
{

0 commit comments

Comments
 (0)