[2/4] libcamera: libipa: camera_sensor: Add Sony IMX327 cam helper
diff mbox series

Message ID 20241113223556.413637-3-geoffrey.vl@gmail.com
State New
Headers show
Series
  • [1/4] libcamera: libipa: camera_sensor: Add Sony IMX462 sensor properties
Related show

Commit Message

Geoffrey Van Landeghem Nov. 13, 2024, 10:35 p.m. UTC
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. 14, 2024, 9 a.m. UTC | #1
Hi Geoffrey

On Wed, Nov 13, 2024 at 11:35:55PM +0100, Geoffrey Van Landeghem wrote:
> Signed-off-by: Geoffrey Van Landeghem <geoffrey.vl@gmail.com>
> ---
>  src/ipa/rpi/cam_helper/cam_helper_imx290.cpp | 1 +

Why this has not been added to
src/ipa/libipa/camera_sensor_helpers.cpp and
src/libcamera/sensor/camera_sensor_properties.cpp ?


>  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
>
Dave Stevenson Nov. 14, 2024, 11:37 a.m. UTC | #2
Hi Jacopo

On Thu, 14 Nov 2024 at 09:00, Jacopo Mondi
<jacopo.mondi@ideasonboard.com> wrote:
>
> Hi Geoffrey
>
> On Wed, Nov 13, 2024 at 11:35:55PM +0100, Geoffrey Van Landeghem wrote:
> > Signed-off-by: Geoffrey Van Landeghem <geoffrey.vl@gmail.com>
> > ---
> >  src/ipa/rpi/cam_helper/cam_helper_imx290.cpp | 1 +
>
> Why this has not been added to
> src/ipa/libipa/camera_sensor_helpers.cpp and
> src/libcamera/sensor/camera_sensor_properties.cpp ?

Because it's already there
https://git.linuxtv.org/libcamera.git/tree/src/ipa/libipa/camera_sensor_helper.cpp#n596
https://git.linuxtv.org/libcamera.git/tree/src/libcamera/sensor/camera_sensor_properties.cpp#n133

  Dave

>
>
> >  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
> >
Laurent Pinchart Nov. 15, 2024, 12:33 a.m. UTC | #3
On Thu, Nov 14, 2024 at 11:37:35AM +0000, Dave Stevenson wrote:
> On Thu, 14 Nov 2024 at 09:00, Jacopo Mondi wrote:
> > On Wed, Nov 13, 2024 at 11:35:55PM +0100, Geoffrey Van Landeghem wrote:
> > > Signed-off-by: Geoffrey Van Landeghem <geoffrey.vl@gmail.com>
> > > ---
> > >  src/ipa/rpi/cam_helper/cam_helper_imx290.cpp | 1 +
> >
> > Why this has not been added to
> > src/ipa/libipa/camera_sensor_helpers.cpp and
> > src/libcamera/sensor/camera_sensor_properties.cpp ?
> 
> Because it's already there
> https://git.linuxtv.org/libcamera.git/tree/src/ipa/libipa/camera_sensor_helper.cpp#n596
> https://git.linuxtv.org/libcamera.git/tree/src/libcamera/sensor/camera_sensor_properties.cpp#n133

imx327 is, but imx462 is missing. Geoffrey, could you please add the
imx462 to the above files in the next version of this patch series ?

> > >  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);
Geoffrey Van Landeghem Nov. 15, 2024, 7:51 a.m. UTC | #4
Hi Laurent, not sure if I follow here but that's what I did in patch 1/4.
See https://lists.libcamera.org/pipermail/libcamera-devel/2024-November/046559.html.

Or do you mean I should squash patch 2/4 into 1/4?

Kind regards,
Geoffrey Van Landeghem

Op vr 15 nov 2024 om 01:33 schreef Laurent Pinchart
<laurent.pinchart@ideasonboard.com>:
>
> On Thu, Nov 14, 2024 at 11:37:35AM +0000, Dave Stevenson wrote:
> > On Thu, 14 Nov 2024 at 09:00, Jacopo Mondi wrote:
> > > On Wed, Nov 13, 2024 at 11:35:55PM +0100, Geoffrey Van Landeghem wrote:
> > > > Signed-off-by: Geoffrey Van Landeghem <geoffrey.vl@gmail.com>
> > > > ---
> > > >  src/ipa/rpi/cam_helper/cam_helper_imx290.cpp | 1 +
> > >
> > > Why this has not been added to
> > > src/ipa/libipa/camera_sensor_helpers.cpp and
> > > src/libcamera/sensor/camera_sensor_properties.cpp ?
> >
> > Because it's already there
> > https://git.linuxtv.org/libcamera.git/tree/src/ipa/libipa/camera_sensor_helper.cpp#n596
> > https://git.linuxtv.org/libcamera.git/tree/src/libcamera/sensor/camera_sensor_properties.cpp#n133
>
> imx327 is, but imx462 is missing. Geoffrey, could you please add the
> imx462 to the above files in the next version of this patch series ?
>
> > > >  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);
>
> --
> Regards,
>
> Laurent Pinchart
Laurent Pinchart Nov. 15, 2024, 1:15 p.m. UTC | #5
On Fri, Nov 15, 2024 at 08:51:15AM +0100, Geoffrey Van Landeghem wrote:
> Hi Laurent, not sure if I follow here but that's what I did in patch 1/4.
> See https://lists.libcamera.org/pipermail/libcamera-devel/2024-November/046559.html.

My bad, seems I should have started by waking up before replying.

> Or do you mean I should squash patch 2/4 into 1/4?

No, you've done it right.

By the way, the title of this patch should be "ipa: rpi: cam_helper: Add
Sony IMX327" as it doesn't touch libipa.

> Op vr 15 nov 2024 om 01:33 schreef Laurent Pinchart:
> > On Thu, Nov 14, 2024 at 11:37:35AM +0000, Dave Stevenson wrote:
> > > On Thu, 14 Nov 2024 at 09:00, Jacopo Mondi wrote:
> > > > On Wed, Nov 13, 2024 at 11:35:55PM +0100, Geoffrey Van Landeghem wrote:
> > > > > Signed-off-by: Geoffrey Van Landeghem <geoffrey.vl@gmail.com>
> > > > > ---
> > > > >  src/ipa/rpi/cam_helper/cam_helper_imx290.cpp | 1 +
> > > >
> > > > Why this has not been added to
> > > > src/ipa/libipa/camera_sensor_helpers.cpp and
> > > > src/libcamera/sensor/camera_sensor_properties.cpp ?
> > >
> > > Because it's already there
> > > https://git.linuxtv.org/libcamera.git/tree/src/ipa/libipa/camera_sensor_helper.cpp#n596
> > > https://git.linuxtv.org/libcamera.git/tree/src/libcamera/sensor/camera_sensor_properties.cpp#n133
> >
> > imx327 is, but imx462 is missing. Geoffrey, could you please add the
> > imx462 to the above files in the next version of this patch series ?
> >
> > > > >  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);

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);