[v3,0/5] Add support for Sony IMX327 and IMX462 sensors
mbox series

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

Message

Geoffrey Van Landeghem Nov. 24, 2024, 7:29 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. 
V3 of this patch set focusses on better commit messages and also
includes an extra patch for setting the default black level for
Sony IMX290 (and IMX327 and IMX462) sensor(s).

Thanks,
Geoffrey

Geoffrey Van Landeghem (5):
  libcamera: libipa: camera_sensor: Provide helper and properties for
    Sony IMX462
  ipa: rpi: cam_helper: Add Sony IMX327
  ipa: raspberrypi: Add tuning file for IMX462 sensor
  ipa: raspberrypi: Add tuning file for IMX327 sensor
  libcamera: libipa: camera_sensor_helper: add IMX290 black level

 src/ipa/libipa/camera_sensor_helper.cpp       |   7 +
 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, 445 insertions(+)
 create mode 100644 src/ipa/rpi/vc4/data/imx327.json
 create mode 100644 src/ipa/rpi/vc4/data/imx462.json

Comments

Dave Stevenson Nov. 25, 2024, 6:22 p.m. UTC | #1
On Sun, 24 Nov 2024 at 19:29, 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/

V2 at
https://lore.kernel.org/linux-media/20241120-media-imx290-imx462-v2-0-7e562cf191d8@raspberrypi.com/
That now has Reviewed-by tags for all 3 patches, so should be good to go.

  Dave

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

I'll update the PR to match when I get a moment.

  Dave

> 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.
> V3 of this patch set focusses on better commit messages and also
> includes an extra patch for setting the default black level for
> Sony IMX290 (and IMX327 and IMX462) sensor(s).
>
> Thanks,
> Geoffrey
>
> Geoffrey Van Landeghem (5):
>   libcamera: libipa: camera_sensor: Provide helper and properties for
>     Sony IMX462
>   ipa: rpi: cam_helper: Add Sony IMX327
>   ipa: raspberrypi: Add tuning file for IMX462 sensor
>   ipa: raspberrypi: Add tuning file for IMX327 sensor
>   libcamera: libipa: camera_sensor_helper: add IMX290 black level
>
>  src/ipa/libipa/camera_sensor_helper.cpp       |   7 +
>  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, 445 insertions(+)
>  create mode 100644 src/ipa/rpi/vc4/data/imx327.json
>  create mode 100644 src/ipa/rpi/vc4/data/imx462.json
>
> --
> 2.43.0
>