[libcamera-devel,1/3] libcamera: camera_sensor: Add OV64A40 sensor properties
diff mbox series

Message ID 20231114102122.19712-2-jacopo.mondi@ideasonboard.com
State New
Headers show
Series
  • ipa: rpi: vc4: Add support for Arducam OV64A40
Related show

Commit Message

Jacopo Mondi Nov. 14, 2023, 10:21 a.m. UTC
From: Kieran Bingham <kieran.bingham@ideasonboard.com>

Add an entry for the Omnivision OV64A40 Sensor which has a square pixel
size of 1.008µm.

Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
---
 src/libcamera/camera_sensor_properties.cpp | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Laurent Pinchart Nov. 28, 2023, 4:34 p.m. UTC | #1
Hi Jacopo and Kieran,

Thank you for the patch.

On Tue, Nov 14, 2023 at 11:21:20AM +0100, Jacopo Mondi via libcamera-devel wrote:
> From: Kieran Bingham <kieran.bingham@ideasonboard.com>
> 
> Add an entry for the Omnivision OV64A40 Sensor which has a square pixel
> size of 1.008µm.
> 
> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
> Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
> ---
>  src/libcamera/camera_sensor_properties.cpp | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/src/libcamera/camera_sensor_properties.cpp b/src/libcamera/camera_sensor_properties.cpp
> index 27d6799a2686..2ba2d9818c7f 100644
> --- a/src/libcamera/camera_sensor_properties.cpp
> +++ b/src/libcamera/camera_sensor_properties.cpp
> @@ -208,6 +208,10 @@ const CameraSensorProperties *CameraSensorProperties::get(const std::string &sen
>  				 */
>  			},
>  		} },
> +		{ "ov64a40", {
> +			.unitCellSize = { 1008, 1008 },

Very precise :-)

> +			.testPatternModes = {},

The latest version of the drivers posted to the linux-media mailing list
doesn't implement the test pattern control, so this is right.

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

My understanding is that the sensor supports test patterns, and it seems
easy to implement. It's a very valuable feature, so when time permits,
it would be nice to add it.

> +		} },
>  		{ "ov8858", {
>  			.unitCellSize = { 1120, 1120 },
>  			.testPatternModes = {

Patch
diff mbox series

diff --git a/src/libcamera/camera_sensor_properties.cpp b/src/libcamera/camera_sensor_properties.cpp
index 27d6799a2686..2ba2d9818c7f 100644
--- a/src/libcamera/camera_sensor_properties.cpp
+++ b/src/libcamera/camera_sensor_properties.cpp
@@ -208,6 +208,10 @@  const CameraSensorProperties *CameraSensorProperties::get(const std::string &sen
 				 */
 			},
 		} },
+		{ "ov64a40", {
+			.unitCellSize = { 1008, 1008 },
+			.testPatternModes = {},
+		} },
 		{ "ov8858", {
 			.unitCellSize = { 1120, 1120 },
 			.testPatternModes = {