mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 17:18:59 +00:00
8c405cdccc
The patches were generated from the RPi repo with the following command: git format-patch v6.6.34..rpi-6.1.y Some patches needed rebasing and, as usual, the applied and reverted, wireless drivers, Github workflows, READMEs and defconfigs patches were removed. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
53 lines
1.5 KiB
Diff
53 lines
1.5 KiB
Diff
From 7bd5c813607448477a67a4509bebff0177ced00d Mon Sep 17 00:00:00 2001
|
|
From: Naushir Patuck <naush@raspberrypi.com>
|
|
Date: Thu, 16 Nov 2023 14:28:55 +0000
|
|
Subject: [PATCH 0730/1085] drivers: media: cfe: Add 16-bit and compressed mono
|
|
format support
|
|
|
|
Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
|
|
---
|
|
.../media/platform/raspberrypi/rp1_cfe/cfe_fmts.h | 14 ++++++++++----
|
|
1 file changed, 10 insertions(+), 4 deletions(-)
|
|
|
|
--- a/drivers/media/platform/raspberrypi/rp1_cfe/cfe_fmts.h
|
|
+++ b/drivers/media/platform/raspberrypi/rp1_cfe/cfe_fmts.h
|
|
@@ -249,28 +249,34 @@ static const struct cfe_fmt formats[] =
|
|
.code = MEDIA_BUS_FMT_Y10_1X10,
|
|
.depth = 10,
|
|
.csi_dt = 0x2b,
|
|
- .remap = { V4L2_PIX_FMT_Y16 },
|
|
+ .remap = { V4L2_PIX_FMT_Y16, V4L2_PIX_FMT_PISP_COMP1_MONO },
|
|
},
|
|
{
|
|
.fourcc = V4L2_PIX_FMT_Y12P,
|
|
.code = MEDIA_BUS_FMT_Y12_1X12,
|
|
.depth = 12,
|
|
.csi_dt = 0x2c,
|
|
- .remap = { V4L2_PIX_FMT_Y16 },
|
|
+ .remap = { V4L2_PIX_FMT_Y16, V4L2_PIX_FMT_PISP_COMP1_MONO },
|
|
},
|
|
{
|
|
.fourcc = V4L2_PIX_FMT_Y14P,
|
|
.code = MEDIA_BUS_FMT_Y14_1X14,
|
|
.depth = 14,
|
|
.csi_dt = 0x2d,
|
|
- .remap = { V4L2_PIX_FMT_Y16 },
|
|
+ .remap = { V4L2_PIX_FMT_Y16, V4L2_PIX_FMT_PISP_COMP1_MONO },
|
|
},
|
|
{
|
|
.fourcc = V4L2_PIX_FMT_Y16,
|
|
+ .code = MEDIA_BUS_FMT_Y16_1X16,
|
|
.depth = 16,
|
|
.flags = CFE_FORMAT_FLAG_FE_OUT,
|
|
},
|
|
-
|
|
+ {
|
|
+ .fourcc = V4L2_PIX_FMT_PISP_COMP1_MONO,
|
|
+ .code = MEDIA_BUS_FMT_Y16_1X16,
|
|
+ .depth = 8,
|
|
+ .flags = CFE_FORMAT_FLAG_FE_OUT,
|
|
+ },
|
|
/* Embedded data format */
|
|
{
|
|
.fourcc = V4L2_META_FMT_SENSOR_DATA,
|