[v3,2/5] ipa: rpi: cam_helper: Add Sony IMX327
diff mbox series

Message ID 20241124192950.542686-3-geoffrey.vl@gmail.com
State Accepted
Headers show
Series
  • Add support for Sony IMX327 and IMX462 sensors
Related show

Commit Message

Geoffrey Van Landeghem Nov. 24, 2024, 7:29 p.m. UTC
The IMX327 sensor is largely compatible with the already supported
Sony IMX290 so we can reuse the same helpers for the analogue gain
conversion functions.

Signed-off-by: Geoffrey Van Landeghem <geoffrey.vl@gmail.com>
---
 src/ipa/rpi/cam_helper/cam_helper_imx290.cpp | 1 +
 1 file changed, 1 insertion(+)

Comments

Jacopo Mondi Nov. 25, 2024, 9:57 a.m. UTC | #1
Hi Geoffrey

On Sun, Nov 24, 2024 at 08:29:47PM +0100, Geoffrey Van Landeghem wrote:
> The IMX327 sensor is largely compatible with the already supported
> Sony IMX290 so we can reuse the same helpers for the analogue gain
> conversion functions.
>
> Signed-off-by: Geoffrey Van Landeghem <geoffrey.vl@gmail.com>

Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>

Thanks
  j

> ---
>  src/ipa/rpi/cam_helper/cam_helper_imx290.cpp | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/src/ipa/rpi/cam_helper/cam_helper_imx290.cpp b/src/ipa/rpi/cam_helper/cam_helper_imx290.cpp
> index 0cc24a6d..3b87751e 100644
> --- a/src/ipa/rpi/cam_helper/cam_helper_imx290.cpp
> +++ b/src/ipa/rpi/cam_helper/cam_helper_imx290.cpp
> @@ -73,4 +73,5 @@ static CamHelper *create()
>  }
>
>  static RegisterCamHelper reg("imx290", &create);
> +static RegisterCamHelper reg327("imx327", &create);
>  static RegisterCamHelper reg462("imx462", &create);
> --
> 2.43.0
>

Patch
diff mbox series

diff --git a/src/ipa/rpi/cam_helper/cam_helper_imx290.cpp b/src/ipa/rpi/cam_helper/cam_helper_imx290.cpp
index 0cc24a6d..3b87751e 100644
--- a/src/ipa/rpi/cam_helper/cam_helper_imx290.cpp
+++ b/src/ipa/rpi/cam_helper/cam_helper_imx290.cpp
@@ -73,4 +73,5 @@  static CamHelper *create()
 }
 
 static RegisterCamHelper reg("imx290", &create);
+static RegisterCamHelper reg327("imx327", &create);
 static RegisterCamHelper reg462("imx462", &create);