From 9cde63a7521613b424dd17f30d1929fe6b9d91de Mon Sep 17 00:00:00 2001 From: Nick Hollinghurst Date: Thu, 8 Dec 2022 13:53:16 +0000 Subject: RASPBERRYPI ONLY: Add Sony IMX708 sensor properties The IMX708 sensor driver advertises its module variants (narrow/wide angle lens, IR block/pass) by modifying the media entity name string. So add duplicate entries for each variant. Signed-off-by: Nick Hollinghurst Signed-off-by: Naushir Patuck Reviewed-by: Naushir Patuck Reviewed-by: David Plowman --- src/libcamera/camera_sensor_properties.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/libcamera/camera_sensor_properties.cpp b/src/libcamera/camera_sensor_properties.cpp index 27d6799a..d8e1f9be 100644 --- a/src/libcamera/camera_sensor_properties.cpp +++ b/src/libcamera/camera_sensor_properties.cpp @@ -137,6 +137,18 @@ const CameraSensorProperties *CameraSensorProperties::get(const std::string &sen { controls::draft::TestPatternModePn9, 4 }, }, } }, + { "imx708_noir", { + .unitCellSize = { 1400, 1400 }, + .testPatternModes = {}, + } }, + { "imx708_wide", { + .unitCellSize = { 1400, 1400 }, + .testPatternModes = {}, + } }, + { "imx708_wide_noir", { + .unitCellSize = { 1400, 1400 }, + .testPatternModes = {}, + } }, { "ov2685", { .unitCellSize = { 1750, 1750 }, .testPatternModes = { -- cgit v1.2.1