devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/4] media: Add Sony IMX585 image sensor support
@ 2025-08-10 22:09 Will Whang
  2025-08-10 22:09 ` [PATCH v2 1/4] dt-bindings: media: Add Sony IMX585 CMOS image sensor Will Whang
                   ` (3 more replies)
  0 siblings, 4 replies; 23+ messages in thread
From: Will Whang @ 2025-08-10 22:09 UTC (permalink / raw)
  To: Will Whang, Mauro Carvalho Chehab, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Shawn Guo, Sascha Hauer,
	Pengutronix Kernel Team, Fabio Estevam, Sakari Ailus
  Cc: linux-media, devicetree, linux-kernel, imx, linux-arm-kernel

Hi all,

This is v2 of the IMX585 series. It adds ClearHDR controls, fixes mono
format handling, and ensures HCG can’t be enabled while HDR is active.

Changes in v2:
  - Move to V4L2 active State API.
  - Shift the I2C registers read/write to v4l2-cci.
  - Remove IR Filter switch support.
  - Various log/trace noise trimmed or moved to debug print.
  - Lock/ignore HCG when HDR is enabled; mark control inactive.
  - Using compatible string for mono sensor.
  - dt-bindings: drop redundant maxItems/minItems/names,
    add "sony,imx585-mono", fix quoted string lint.

Features
==========
  * 4-lane or 2-lane MIPI-CSI-2 up to 2079 Mbps/lane
  * 4 K @ 60 fps 12-bit linear, 4 K @ 30 fps 16-bit Clear-HDR,
    4 K @ 30 fps 12-bit gradient compression Clear-HDR
    1080p binning mode, mono hardware variant, HCG support.
  * New Sensor Dependent V4L2 controls for
    HDR blending, grad-compression, HCG enable and Enable ClearHDR.
  * Blacklevel adjustments through V4L2_CID_BRIGHTNESS.
  * Multi Camera synchronization mode support.

Testing
==========
  - Platform: Raspberry Pi 5, 4 lanes
  - Formats: Y12/Y16 (mono), SRGGB12/SRGGB16 (color)
  - Verified HDR on/off toggling updates ranges (exposure/gain/HMAX/VMAX)
  - HCG is inactive and ignored when HDR=1; active in normal mode

Series layout
=============
  1. **dt-bindings: media: Add Sony IMX585 CMOS image sensor**
  2. **media: uapi: Add custom IMX585 control IDs**
  3. **media: i2c: imx585: Add Sony IMX585 image-sensor driver**
  4. **media: docs: Add userspace-API guide for the IMX585 driver**

Link to v1: https://lore.kernel.org/linux-media/20250702063836.3984-1-will@willwhang.com/

Thanks for reviewing!

Signed-off-by: Will Whang <will@willwhang.com>

Will Whang (4):
  dt-bindings: media: Add Sony IMX585 CMOS image sensor
  media: uapi: Add custom IMX585 control IDs
  media: i2c: imx585: Add Sony IMX585 image-sensor driver
  media: docs: Add userspace-API guide for the IMX585 driver

 .../bindings/media/i2c/sony,imx585.yaml       |  116 ++
 .../userspace-api/media/drivers/imx585.rst    |  122 ++
 .../userspace-api/media/drivers/index.rst     |    1 +
 MAINTAINERS                                   |    9 +
 drivers/media/i2c/Kconfig                     |    9 +
 drivers/media/i2c/Makefile                    |    1 +
 drivers/media/i2c/imx585.c                    | 1768 +++++++++++++++++
 include/uapi/linux/imx585.h                   |   20 +
 include/uapi/linux/v4l2-controls.h            |    6 +
 9 files changed, 2052 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/media/i2c/sony,imx585.yaml
 create mode 100644 Documentation/userspace-api/media/drivers/imx585.rst
 create mode 100644 drivers/media/i2c/imx585.c
 create mode 100644 include/uapi/linux/imx585.h

-- 
2.39.5


^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2025-08-17  6:13 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-10 22:09 [PATCH v2 0/4] media: Add Sony IMX585 image sensor support Will Whang
2025-08-10 22:09 ` [PATCH v2 1/4] dt-bindings: media: Add Sony IMX585 CMOS image sensor Will Whang
2025-08-11  8:00   ` Krzysztof Kozlowski
2025-08-12  2:47     ` Will Whang
2025-08-12  6:23       ` Krzysztof Kozlowski
2025-08-12  6:31         ` Will Whang
2025-08-12  6:47           ` Krzysztof Kozlowski
2025-08-12  9:55             ` Laurent Pinchart
2025-08-13  4:30               ` Will Whang
2025-08-13  6:00                 ` Krzysztof Kozlowski
2025-08-13  6:38                   ` Will Whang
2025-08-13  7:34                     ` Krzysztof Kozlowski
2025-08-10 22:09 ` [PATCH v2 2/4] media: uapi: Add custom IMX585 control IDs Will Whang
2025-08-10 22:09 ` [PATCH v2 3/4] media: i2c: imx585: Add Sony IMX585 image-sensor driver Will Whang
2025-08-11  8:05   ` Krzysztof Kozlowski
2025-08-11  8:06   ` Krzysztof Kozlowski
2025-08-16 19:44     ` Will Whang
2025-08-17  6:13       ` Krzysztof Kozlowski
2025-08-10 22:09 ` [PATCH v2 4/4] media: docs: Add userspace-API guide for the IMX585 driver Will Whang
2025-08-11 14:17   ` Dave Stevenson
2025-08-12  2:31     ` Will Whang
2025-08-12 11:28       ` Laurent Pinchart
2025-08-13  4:20         ` Will Whang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).