[libcamera-devel] [PATCH] libipa: camera_sensor_helper: Add IMX327 helper

Benjamin Bara bbara93 at gmail.com
Fri May 19 17:48:13 CEST 2023


From: Benjamin Bara <benjamin.bara at skidata.com>

Add support for the Sony IMX327, which is added to the kernel with
commit 2d41947ec2c0 ("media: i2c: imx290: Add support for imx327
variant"). It is basically a derivate of the IMX290, therefore also
derive the helper.

Signed-off-by: Benjamin Bara <benjamin.bara at skidata.com>
---
 src/ipa/libipa/camera_sensor_helper.cpp | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/ipa/libipa/camera_sensor_helper.cpp b/src/ipa/libipa/camera_sensor_helper.cpp
index 21cdabd1..2eebd7ab 100644
--- a/src/ipa/libipa/camera_sensor_helper.cpp
+++ b/src/ipa/libipa/camera_sensor_helper.cpp
@@ -428,6 +428,11 @@ public:
 };
 REGISTER_CAMERA_SENSOR_HELPER("imx290", CameraSensorHelperImx290)
 
+class CameraSensorHelperImx327 : public CameraSensorHelperImx290
+{
+};
+REGISTER_CAMERA_SENSOR_HELPER("imx327", CameraSensorHelperImx327)
+
 class CameraSensorHelperImx296 : public CameraSensorHelper
 {
 public:
-- 
2.34.1



More information about the libcamera-devel mailing list