[v2,0/4] Add support for Sony IMX327 and IMX462 sensors
mbox series

Message ID 20241118225310.446706-1-geoffrey.vl@gmail.com
Headers show
Series
  • Add support for Sony IMX327 and IMX462 sensors
Related show

Message

Geoffrey Van Landeghem Nov. 18, 2024, 10:53 p.m. UTC
Hi,
This patch-set comes as part of an ongoing effort to support Sony IMX327 and IMX462 sensors better in the linux kernel.
For the kernel, following changes are proposed upstream:

https://lore.kernel.org/linux-media/20241114-media-imx290-imx462-v1-0-c538a2e24786@raspberrypi.com/

Also discussed here:
https://github.com/raspberrypi/linux/pull/5859

After those changes have been applied, the 2 Starvis sensors will no longer be identied by libcamera as a IMX290 and therefore require this patch-set to work correctly. 

Thanks,
Geoffrey

Geoffrey Van Landeghem (4):
  libcamera: libipa: camera_sensor: Provide CameraSensorHelper and
    CameraSensorProperties for the Sony IMX462 image sensor.
  ipa: rpi: cam_helper: Add Sony IMX327
  ipa: raspberrypi: Add tuning file for IMX462 sensor
  ipa: raspberrypi: Add tuning file for IMX327 sensor

 src/ipa/libipa/camera_sensor_helper.cpp       |   5 +
 src/ipa/rpi/cam_helper/cam_helper_imx290.cpp  |   2 +
 src/ipa/rpi/vc4/data/imx327.json              | 215 ++++++++++++++++++
 src/ipa/rpi/vc4/data/imx462.json              | 215 ++++++++++++++++++
 src/ipa/rpi/vc4/data/meson.build              |   2 +
 .../sensor/camera_sensor_properties.cpp       |   4 +
 6 files changed, 443 insertions(+)
 create mode 100644 src/ipa/rpi/vc4/data/imx327.json
 create mode 100644 src/ipa/rpi/vc4/data/imx462.json

Comments

David Plowman Nov. 19, 2024, 9:21 a.m. UTC | #1
Hi Geoffrey

Thanks for the update!

On Mon, 18 Nov 2024 at 22:53, Geoffrey Van Landeghem
<geoffrey.vl@gmail.com> wrote:
>
> Hi,
> This patch-set comes as part of an ongoing effort to support Sony IMX327 and IMX462 sensors better in the linux kernel.
> For the kernel, following changes are proposed upstream:
>
> https://lore.kernel.org/linux-media/20241114-media-imx290-imx462-v1-0-c538a2e24786@raspberrypi.com/
>
> Also discussed here:
> https://github.com/raspberrypi/linux/pull/5859
>
> After those changes have been applied, the 2 Starvis sensors will no longer be identied by libcamera as a IMX290 and therefore require this patch-set to work correctly.
>
> Thanks,
> Geoffrey
>
> Geoffrey Van Landeghem (4):
>   libcamera: libipa: camera_sensor: Provide CameraSensorHelper and
>     CameraSensorProperties for the Sony IMX462 image sensor.
>   ipa: rpi: cam_helper: Add Sony IMX327
>   ipa: raspberrypi: Add tuning file for IMX462 sensor
>   ipa: raspberrypi: Add tuning file for IMX327 sensor
>
>  src/ipa/libipa/camera_sensor_helper.cpp       |   5 +
>  src/ipa/rpi/cam_helper/cam_helper_imx290.cpp  |   2 +
>  src/ipa/rpi/vc4/data/imx327.json              | 215 ++++++++++++++++++
>  src/ipa/rpi/vc4/data/imx462.json              | 215 ++++++++++++++++++
>  src/ipa/rpi/vc4/data/meson.build              |   2 +
>  .../sensor/camera_sensor_properties.cpp       |   4 +
>  6 files changed, 443 insertions(+)
>  create mode 100644 src/ipa/rpi/vc4/data/imx327.json
>  create mode 100644 src/ipa/rpi/vc4/data/imx462.json
>
> --
> 2.43.0
>

I guess I'm a bit curious just how similar these sensors are the the
290, but I'm fine with this support, so perhaps I can add

Reviewed-by: David Plowman <david.plowman@raspberrypi.com>

to all the patches in this set.

Thanks!
David