summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Hollinghurst <nick.hollinghurst@raspberrypi.com>2022-12-08 13:53:16 +0000
committerNaushir Patuck <naush@raspberrypi.com>2024-06-17 10:44:40 +0100
commit6310d5971bcdd5fa4072f56db93c7197daa09a85 (patch)
tree9e79bc9ab9060548688b905522a635174137c62d
parenta15c4316666247021f0c946ac91e5b99c7a4a7dd (diff)
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 <nick.hollinghurst@raspberrypi.com> Signed-off-by: Naushir Patuck <naush@raspberrypi.com> Reviewed-by: Naushir Patuck <naush@raspberrypi.com> Reviewed-by: David Plowman <david.plowman@raspberrypi.com>
-rw-r--r--src/libcamera/sensor/camera_sensor_properties.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/libcamera/sensor/camera_sensor_properties.cpp b/src/libcamera/sensor/camera_sensor_properties.cpp
index b18524d8..8ea1c6c5 100644
--- a/src/libcamera/sensor/camera_sensor_properties.cpp
+++ b/src/libcamera/sensor/camera_sensor_properties.cpp
@@ -149,6 +149,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 = {