Patch Detail
Show a patch.
GET /api/patches/4165/?format=api
{ "id": 4165, "url": "https://patchwork.libcamera.org/api/patches/4165/?format=api", "web_url": "https://patchwork.libcamera.org/patch/4165/", "project": { "id": 1, "url": "https://patchwork.libcamera.org/api/projects/1/?format=api", "name": "libcamera", "link_name": "libcamera", "list_id": "libcamera_core", "list_email": "libcamera-devel@lists.libcamera.org", "web_url": "", "scm_url": "", "webscm_url": "" }, "msgid": "<20200623164911.45147-3-jacopo@jmondi.org>", "date": "2020-06-23T16:49:10", "name": "[libcamera-devel,18/25] media: ov5647: Add SGGBR10_1X10 modes", "commit_ref": null, "pull_url": null, "state": "not-applicable", "archived": false, "hash": "57f6250ed22f82582401f8f25d076abd5a92135e", "submitter": { "id": 3, "url": "https://patchwork.libcamera.org/api/people/3/?format=api", "name": "Jacopo Mondi", "email": "jacopo@jmondi.org" }, "delegate": { "id": 15, "url": "https://patchwork.libcamera.org/api/users/15/?format=api", "username": "jmondi", "first_name": "Jacopo", "last_name": "Mondi", "email": "jacopo@jmondi.org" }, "mbox": "https://patchwork.libcamera.org/patch/4165/mbox/", "series": [ { "id": 1030, "url": "https://patchwork.libcamera.org/api/series/1030/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=1030", "date": "2020-06-23T10:07:50", "name": "media: ov5647: Support RaspberryPi Camera Module v1", "version": 1, "mbox": "https://patchwork.libcamera.org/series/1030/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/4165/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/4165/checks/", "tags": {}, "headers": { "Return-Path": "<jacopo@jmondi.org>", "Received": [ "from relay11.mail.gandi.net (relay11.mail.gandi.net\n\t[217.70.178.231])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 994A260103\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 23 Jun 2020 18:46:20 +0200 (CEST)", "from uno.lan (93-34-118-233.ip49.fastwebnet.it [93.34.118.233])\n\t(Authenticated sender: jacopo@jmondi.org)\n\tby relay11.mail.gandi.net (Postfix) with ESMTPSA id 7385B10000A;\n\tTue, 23 Jun 2020 16:46:17 +0000 (UTC)" ], "From": "Jacopo Mondi <jacopo@jmondi.org>", "To": "mchehab@kernel.org, sakari.ailus@linux.intel.com, hverkuil@xs4all.nl,\n\tlaurent.pinchart@ideasonboard.com, roman.kovalivskyi@globallogic.com, \n\tdave.stevenson@raspberrypi.org, naush@raspberrypi.com", "Cc": "mrodin@de.adit-jv.com, hugues.fruchet@st.com, mripard@kernel.org,\n\taford173@gmail.com, sudipi@jp.adit-jv.com, andrew_gabbasov@mentor.com,\n\terosca@de.adit-jv.com, linux-media@vger.kernel.org,\n\tlibcamera-devel@lists.libcamera.org, Jacopo Mondi <jacopo@jmondi.org>", "Date": "Tue, 23 Jun 2020 18:49:10 +0200", "Message-Id": "<20200623164911.45147-3-jacopo@jmondi.org>", "X-Mailer": "git-send-email 2.27.0", "In-Reply-To": "<20200623100815.10674-1-jacopo@jmondi.org>", "References": "<20200623100815.10674-1-jacopo@jmondi.org>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[libcamera-devel] [PATCH 18/25] media: ov5647: Add SGGBR10_1X10\n\tmodes", "X-BeenThere": "libcamera-devel@lists.libcamera.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "<libcamera-devel.lists.libcamera.org>", "List-Unsubscribe": "<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>", "List-Archive": "<https://lists.libcamera.org/pipermail/libcamera-devel/>", "List-Post": "<mailto:libcamera-devel@lists.libcamera.org>", "List-Help": "<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>", "List-Subscribe": "<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>", "X-List-Received-Date": "Tue, 23 Jun 2020 16:46:20 -0000" }, "content": "Add 4 additional sensor modes in SBGGR10_1X10 format.\n\nAdd the following resolutions in SBGGR10_1X10 format:\n- 2592x1944 full resolution\n- 1920x1080 1080p cropped\n- 1296x972 2x2 binned\n- 640x480 2x2 binned, 2x2 subsampled\n\nThe register lists and modes definition have been upported from the\nRaspberryPi BSP at revision:\ncommit 581dfda6d0a62 (\"media: i2c: ov5647: Advertise the correct exposure range\")\n\nSigned-off-by: Jacopo Mondi <jacopo@jmondi.org>\n---\n drivers/media/i2c/ov5647.c | 441 +++++++++++++++++++++++++++++++++++++\n 1 file changed, 441 insertions(+)", "diff": "diff --git a/drivers/media/i2c/ov5647.c b/drivers/media/i2c/ov5647.c\nindex c36d6b92b97a0..af9e6d43967d8 100644\n--- a/drivers/media/i2c/ov5647.c\n+++ b/drivers/media/i2c/ov5647.c\n@@ -205,6 +205,367 @@ static struct regval_list ov5647_640x480_sbggr8[] = {\n \t{0x0100, 0x01},\n };\n \n+static struct regval_list ov5647_2592x1944_sbggr10[] = {\n+\t{0x0100, 0x00},\n+\t{0x0103, 0x01},\n+\t{0x3034, 0x1a},\n+\t{0x3035, 0x21},\n+\t{0x3036, 0x69},\n+\t{0x303c, 0x11},\n+\t{0x3106, 0xf5},\n+\t{0x3821, 0x06},\n+\t{0x3820, 0x00},\n+\t{0x3827, 0xec},\n+\t{0x370c, 0x03},\n+\t{0x3612, 0x5b},\n+\t{0x3618, 0x04},\n+\t{0x5000, 0x06},\n+\t{0x5002, 0x41},\n+\t{0x5003, 0x08},\n+\t{0x5a00, 0x08},\n+\t{0x3000, 0x00},\n+\t{0x3001, 0x00},\n+\t{0x3002, 0x00},\n+\t{0x3016, 0x08},\n+\t{0x3017, 0xe0},\n+\t{0x3018, 0x44},\n+\t{0x301c, 0xf8},\n+\t{0x301d, 0xf0},\n+\t{0x3a18, 0x00},\n+\t{0x3a19, 0xf8},\n+\t{0x3c01, 0x80},\n+\t{0x3b07, 0x0c},\n+\t{0x380c, 0x0b},\n+\t{0x380d, 0x1c},\n+\t{0x3814, 0x11},\n+\t{0x3815, 0x11},\n+\t{0x3708, 0x64},\n+\t{0x3709, 0x12},\n+\t{0x3808, 0x0a},\n+\t{0x3809, 0x20},\n+\t{0x380a, 0x07},\n+\t{0x380b, 0x98},\n+\t{0x3800, 0x00},\n+\t{0x3801, 0x00},\n+\t{0x3802, 0x00},\n+\t{0x3803, 0x00},\n+\t{0x3804, 0x0a},\n+\t{0x3805, 0x3f},\n+\t{0x3806, 0x07},\n+\t{0x3807, 0xa3},\n+\t{0x3811, 0x10},\n+\t{0x3813, 0x06},\n+\t{0x3630, 0x2e},\n+\t{0x3632, 0xe2},\n+\t{0x3633, 0x23},\n+\t{0x3634, 0x44},\n+\t{0x3636, 0x06},\n+\t{0x3620, 0x64},\n+\t{0x3621, 0xe0},\n+\t{0x3600, 0x37},\n+\t{0x3704, 0xa0},\n+\t{0x3703, 0x5a},\n+\t{0x3715, 0x78},\n+\t{0x3717, 0x01},\n+\t{0x3731, 0x02},\n+\t{0x370b, 0x60},\n+\t{0x3705, 0x1a},\n+\t{0x3f05, 0x02},\n+\t{0x3f06, 0x10},\n+\t{0x3f01, 0x0a},\n+\t{0x3a08, 0x01},\n+\t{0x3a09, 0x28},\n+\t{0x3a0a, 0x00},\n+\t{0x3a0b, 0xf6},\n+\t{0x3a0d, 0x08},\n+\t{0x3a0e, 0x06},\n+\t{0x3a0f, 0x58},\n+\t{0x3a10, 0x50},\n+\t{0x3a1b, 0x58},\n+\t{0x3a1e, 0x50},\n+\t{0x3a11, 0x60},\n+\t{0x3a1f, 0x28},\n+\t{0x4001, 0x02},\n+\t{0x4004, 0x04},\n+\t{0x4000, 0x09},\n+\t{0x4837, 0x19},\n+\t{0x4800, 0x24},\n+\t{0x3503, 0x03},\n+\t{0x0100, 0x01},\n+};\n+\n+static struct regval_list ov5647_1080p30_sbggr10[] = {\n+\t{0x0100, 0x00},\n+\t{0x0103, 0x01},\n+\t{0x3034, 0x1a},\n+\t{0x3035, 0x21},\n+\t{0x3036, 0x62},\n+\t{0x303c, 0x11},\n+\t{0x3106, 0xf5},\n+\t{0x3821, 0x06},\n+\t{0x3820, 0x00},\n+\t{0x3827, 0xec},\n+\t{0x370c, 0x03},\n+\t{0x3612, 0x5b},\n+\t{0x3618, 0x04},\n+\t{0x5000, 0x06},\n+\t{0x5002, 0x41},\n+\t{0x5003, 0x08},\n+\t{0x5a00, 0x08},\n+\t{0x3000, 0x00},\n+\t{0x3001, 0x00},\n+\t{0x3002, 0x00},\n+\t{0x3016, 0x08},\n+\t{0x3017, 0xe0},\n+\t{0x3018, 0x44},\n+\t{0x301c, 0xf8},\n+\t{0x301d, 0xf0},\n+\t{0x3a18, 0x00},\n+\t{0x3a19, 0xf8},\n+\t{0x3c01, 0x80},\n+\t{0x3b07, 0x0c},\n+\t{0x380c, 0x09},\n+\t{0x380d, 0x70},\n+\t{0x3814, 0x11},\n+\t{0x3815, 0x11},\n+\t{0x3708, 0x64},\n+\t{0x3709, 0x12},\n+\t{0x3808, 0x07},\n+\t{0x3809, 0x80},\n+\t{0x380a, 0x04},\n+\t{0x380b, 0x38},\n+\t{0x3800, 0x01},\n+\t{0x3801, 0x5c},\n+\t{0x3802, 0x01},\n+\t{0x3803, 0xb2},\n+\t{0x3804, 0x08},\n+\t{0x3805, 0xe3},\n+\t{0x3806, 0x05},\n+\t{0x3807, 0xf1},\n+\t{0x3811, 0x04},\n+\t{0x3813, 0x02},\n+\t{0x3630, 0x2e},\n+\t{0x3632, 0xe2},\n+\t{0x3633, 0x23},\n+\t{0x3634, 0x44},\n+\t{0x3636, 0x06},\n+\t{0x3620, 0x64},\n+\t{0x3621, 0xe0},\n+\t{0x3600, 0x37},\n+\t{0x3704, 0xa0},\n+\t{0x3703, 0x5a},\n+\t{0x3715, 0x78},\n+\t{0x3717, 0x01},\n+\t{0x3731, 0x02},\n+\t{0x370b, 0x60},\n+\t{0x3705, 0x1a},\n+\t{0x3f05, 0x02},\n+\t{0x3f06, 0x10},\n+\t{0x3f01, 0x0a},\n+\t{0x3a08, 0x01},\n+\t{0x3a09, 0x4b},\n+\t{0x3a0a, 0x01},\n+\t{0x3a0b, 0x13},\n+\t{0x3a0d, 0x04},\n+\t{0x3a0e, 0x03},\n+\t{0x3a0f, 0x58},\n+\t{0x3a10, 0x50},\n+\t{0x3a1b, 0x58},\n+\t{0x3a1e, 0x50},\n+\t{0x3a11, 0x60},\n+\t{0x3a1f, 0x28},\n+\t{0x4001, 0x02},\n+\t{0x4004, 0x04},\n+\t{0x4000, 0x09},\n+\t{0x4837, 0x19},\n+\t{0x4800, 0x34},\n+\t{0x3503, 0x03},\n+\t{0x0100, 0x01},\n+};\n+\n+static struct regval_list ov5647_2x2binned_sbggr10[] = {\n+\t{0x0100, 0x00},\n+\t{0x0103, 0x01},\n+\t{0x3034, 0x1a},\n+\t{0x3035, 0x21},\n+\t{0x3036, 0x62},\n+\t{0x303c, 0x11},\n+\t{0x3106, 0xf5},\n+\t{0x3827, 0xec},\n+\t{0x370c, 0x03},\n+\t{0x3612, 0x59},\n+\t{0x3618, 0x00},\n+\t{0x5000, 0x06},\n+\t{0x5002, 0x41},\n+\t{0x5003, 0x08},\n+\t{0x5a00, 0x08},\n+\t{0x3000, 0x00},\n+\t{0x3001, 0x00},\n+\t{0x3002, 0x00},\n+\t{0x3016, 0x08},\n+\t{0x3017, 0xe0},\n+\t{0x3018, 0x44},\n+\t{0x301c, 0xf8},\n+\t{0x301d, 0xf0},\n+\t{0x3a18, 0x00},\n+\t{0x3a19, 0xf8},\n+\t{0x3c01, 0x80},\n+\t{0x3b07, 0x0c},\n+\t{0x3800, 0x00},\n+\t{0x3801, 0x00},\n+\t{0x3802, 0x00},\n+\t{0x3803, 0x00},\n+\t{0x3804, 0x0a},\n+\t{0x3805, 0x3f},\n+\t{0x3806, 0x07},\n+\t{0x3807, 0xa3},\n+\t{0x3808, 0x05},\n+\t{0x3809, 0x10},\n+\t{0x380a, 0x03},\n+\t{0x380b, 0xcc},\n+\t{0x380c, 0x07},\n+\t{0x380d, 0x68},\n+\t{0x3811, 0x0c},\n+\t{0x3813, 0x06},\n+\t{0x3814, 0x31},\n+\t{0x3815, 0x31},\n+\t{0x3630, 0x2e},\n+\t{0x3632, 0xe2},\n+\t{0x3633, 0x23},\n+\t{0x3634, 0x44},\n+\t{0x3636, 0x06},\n+\t{0x3620, 0x64},\n+\t{0x3621, 0xe0},\n+\t{0x3600, 0x37},\n+\t{0x3704, 0xa0},\n+\t{0x3703, 0x5a},\n+\t{0x3715, 0x78},\n+\t{0x3717, 0x01},\n+\t{0x3731, 0x02},\n+\t{0x370b, 0x60},\n+\t{0x3705, 0x1a},\n+\t{0x3f05, 0x02},\n+\t{0x3f06, 0x10},\n+\t{0x3f01, 0x0a},\n+\t{0x3a08, 0x01},\n+\t{0x3a09, 0x28},\n+\t{0x3a0a, 0x00},\n+\t{0x3a0b, 0xf6},\n+\t{0x3a0d, 0x08},\n+\t{0x3a0e, 0x06},\n+\t{0x3a0f, 0x58},\n+\t{0x3a10, 0x50},\n+\t{0x3a1b, 0x58},\n+\t{0x3a1e, 0x50},\n+\t{0x3a11, 0x60},\n+\t{0x3a1f, 0x28},\n+\t{0x4001, 0x02},\n+\t{0x4004, 0x04},\n+\t{0x4000, 0x09},\n+\t{0x4837, 0x16},\n+\t{0x4800, 0x24},\n+\t{0x3503, 0x03},\n+\t{0x3820, 0x41},\n+\t{0x3821, 0x07},\n+\t{0x350a, 0x00},\n+\t{0x350b, 0x10},\n+\t{0x3500, 0x00},\n+\t{0x3501, 0x1a},\n+\t{0x3502, 0xf0},\n+\t{0x3212, 0xa0},\n+\t{0x0100, 0x01},\n+};\n+\n+static struct regval_list ov5647_640x480_sbggr10[] = {\n+\t{0x0100, 0x00},\n+\t{0x0103, 0x01},\n+\t{0x3035, 0x11},\n+\t{0x3036, 0x46},\n+\t{0x303c, 0x11},\n+\t{0x3821, 0x07},\n+\t{0x3820, 0x41},\n+\t{0x370c, 0x03},\n+\t{0x3612, 0x59},\n+\t{0x3618, 0x00},\n+\t{0x5000, 0x06},\n+\t{0x5003, 0x08},\n+\t{0x5a00, 0x08},\n+\t{0x3000, 0xff},\n+\t{0x3001, 0xff},\n+\t{0x3002, 0xff},\n+\t{0x301d, 0xf0},\n+\t{0x3a18, 0x00},\n+\t{0x3a19, 0xf8},\n+\t{0x3c01, 0x80},\n+\t{0x3b07, 0x0c},\n+\t{0x380c, 0x07},\n+\t{0x380d, 0x3c},\n+\t{0x3814, 0x35},\n+\t{0x3815, 0x35},\n+\t{0x3708, 0x64},\n+\t{0x3709, 0x52},\n+\t{0x3808, 0x02},\n+\t{0x3809, 0x80},\n+\t{0x380a, 0x01},\n+\t{0x380b, 0xe0},\n+\t{0x3800, 0x00},\n+\t{0x3801, 0x10},\n+\t{0x3802, 0x00},\n+\t{0x3803, 0x00},\n+\t{0x3804, 0x0a},\n+\t{0x3805, 0x2f},\n+\t{0x3806, 0x07},\n+\t{0x3807, 0x9f},\n+\t{0x3630, 0x2e},\n+\t{0x3632, 0xe2},\n+\t{0x3633, 0x23},\n+\t{0x3634, 0x44},\n+\t{0x3620, 0x64},\n+\t{0x3621, 0xe0},\n+\t{0x3600, 0x37},\n+\t{0x3704, 0xa0},\n+\t{0x3703, 0x5a},\n+\t{0x3715, 0x78},\n+\t{0x3717, 0x01},\n+\t{0x3731, 0x02},\n+\t{0x370b, 0x60},\n+\t{0x3705, 0x1a},\n+\t{0x3f05, 0x02},\n+\t{0x3f06, 0x10},\n+\t{0x3f01, 0x0a},\n+\t{0x3a08, 0x01},\n+\t{0x3a09, 0x2e},\n+\t{0x3a0a, 0x00},\n+\t{0x3a0b, 0xfb},\n+\t{0x3a0d, 0x02},\n+\t{0x3a0e, 0x01},\n+\t{0x3a0f, 0x58},\n+\t{0x3a10, 0x50},\n+\t{0x3a1b, 0x58},\n+\t{0x3a1e, 0x50},\n+\t{0x3a11, 0x60},\n+\t{0x3a1f, 0x28},\n+\t{0x4001, 0x02},\n+\t{0x4004, 0x02},\n+\t{0x4000, 0x09},\n+\t{0x3000, 0x00},\n+\t{0x3001, 0x00},\n+\t{0x3002, 0x00},\n+\t{0x3017, 0xe0},\n+\t{0x301c, 0xfc},\n+\t{0x3636, 0x06},\n+\t{0x3016, 0x08},\n+\t{0x3827, 0xec},\n+\t{0x3018, 0x44},\n+\t{0x3035, 0x21},\n+\t{0x3106, 0xf5},\n+\t{0x3034, 0x1a},\n+\t{0x301c, 0xf8},\n+\t{0x4800, 0x34},\n+\t{0x3503, 0x03},\n+\t{0x0100, 0x01},\n+};\n+\n static struct ov5647_mode ov5647_sbggr8_modes[] = {\n \t/* 8-bit VGA mode: Uncentred crop 2x2 binned 1296x972 image. */\n \t{\n@@ -226,12 +587,92 @@ static struct ov5647_mode ov5647_sbggr8_modes[] = {\n \t},\n };\n \n+static struct ov5647_mode ov5647_sbggr10_modes[] = {\n+\t/* 2592x1944 full resolution full FOV 10-bit mode. */\n+\t{\n+\t\t.format = {\n+\t\t\t.code\t\t= MEDIA_BUS_FMT_SBGGR10_1X10,\n+\t\t\t.colorspace\t= V4L2_COLORSPACE_SRGB,\n+\t\t\t.field\t\t= V4L2_FIELD_NONE,\n+\t\t\t.width\t\t= 2592,\n+\t\t\t.height\t\t= 1944\n+\t\t},\n+\t\t.crop = {\n+\t\t\t.left\t\t= 0,\n+\t\t\t.top\t\t= 0,\n+\t\t\t.width\t\t= 2592,\n+\t\t\t.height\t\t= 1944\n+\t\t},\n+\t\t.reg_list\t= ov5647_2592x1944_sbggr10,\n+\t\t.num_regs\t= ARRAY_SIZE(ov5647_2592x1944_sbggr10)\n+\t},\n+\t/* 1080p30 10-bit mode. Full resolution centre-cropped down to 1080p. */\n+\t{\n+\t\t.format = {\n+\t\t\t.code\t\t= MEDIA_BUS_FMT_SBGGR10_1X10,\n+\t\t\t.colorspace\t= V4L2_COLORSPACE_SRGB,\n+\t\t\t.field\t\t= V4L2_FIELD_NONE,\n+\t\t\t.width\t\t= 1920,\n+\t\t\t.height\t\t= 1080\n+\t\t},\n+\t\t.crop = {\n+\t\t\t.left\t\t= 348,\n+\t\t\t.top\t\t= 434,\n+\t\t\t.width\t\t= 1928,\n+\t\t\t.height\t\t= 1080,\n+\t\t},\n+\t\t.reg_list\t= ov5647_1080p30_sbggr10,\n+\t\t.num_regs\t= ARRAY_SIZE(ov5647_1080p30_sbggr10)\n+\t},\n+\t/* 2x2 binned full FOV 10-bit mode. */\n+\t{\n+\t\t.format = {\n+\t\t\t.code\t\t= MEDIA_BUS_FMT_SBGGR10_1X10,\n+\t\t\t.colorspace\t= V4L2_COLORSPACE_SRGB,\n+\t\t\t.field\t\t= V4L2_FIELD_NONE,\n+\t\t\t.width\t\t= 1296,\n+\t\t\t.height\t\t= 972\n+\t\t},\n+\t\t.crop = {\n+\t\t\t.left\t\t= 0,\n+\t\t\t.top\t\t= 0,\n+\t\t\t.width\t\t= 2592,\n+\t\t\t.height\t\t= 1944,\n+\t\t},\n+\t\t.reg_list\t= ov5647_2x2binned_sbggr10,\n+\t\t.num_regs\t= ARRAY_SIZE(ov5647_2x2binned_sbggr10)\n+\t},\n+\t/* 10-bit VGA full FOV 60fps. 2x2 binned and subsampled down to VGA. */\n+\t{\n+\t\t.format = {\n+\t\t\t.code\t\t= MEDIA_BUS_FMT_SBGGR10_1X10,\n+\t\t\t.colorspace\t= V4L2_COLORSPACE_SRGB,\n+\t\t\t.field\t\t= V4L2_FIELD_NONE,\n+\t\t\t.width\t\t= 640,\n+\t\t\t.height\t\t= 480\n+\t\t},\n+\t\t.crop = {\n+\t\t\t.left\t\t= 16,\n+\t\t\t.top\t\t= 0,\n+\t\t\t.width\t\t= 2560,\n+\t\t\t.height\t\t= 1920,\n+\t\t},\n+\t\t.reg_list\t= ov5647_640x480_sbggr10,\n+\t\t.num_regs\t= ARRAY_SIZE(ov5647_640x480_sbggr10)\n+\t},\n+};\n+\n static const struct ov5647_format_list ov5647_formats[] = {\n \t{\n \t\t.mbus_code\t= MEDIA_BUS_FMT_SBGGR8_1X8,\n \t\t.modes\t\t= ov5647_sbggr8_modes,\n \t\t.num_modes\t= ARRAY_SIZE(ov5647_sbggr8_modes),\n \t},\n+\t{\n+\t\t.mbus_code\t= MEDIA_BUS_FMT_SBGGR10_1X10,\n+\t\t.modes\t\t= ov5647_sbggr10_modes,\n+\t\t.num_modes\t= ARRAY_SIZE(ov5647_sbggr10_modes),\n+\t},\n };\n \n #define OV5647_NUM_FORMATS\t(ARRAY_SIZE(ov5647_formats))\n", "prefixes": [ "libcamera-devel", "18/25" ] }